/* =========================================================================
   CiteSprout — visual system

   Direction: risograph editorial. The product exists to find out whether a
   brand gets QUOTED, so its material world is print: small-press riso, hairline
   rules, a big magazine-cover statistic, two flat inks that overlap.

   Two inks carry the whole design - riso blue for structure, riso pink for the
   one thing that matters (the score). Semantic colours for cited / disparaged /
   unavailable are kept deliberately separate from those two, so "this is the
   accent" never gets confused with "this is a finding".

   Deliberately single-theme: one committed light palette, no dark variant. Every
   colour is painted explicitly from a token so the page never borrows a host
   background.
   ========================================================================= */

:root {
  --paper: #fbf8f3;
  --paper-raised: #ffffff;
  --paper-sunk: #f3efe7;

  --ink: #14161a;
  --ink-soft: #55524c;
  --ink-faint: #8a857c;

  --rule: #e2dcd0;
  --rule-strong: #cfc7b6;

  /* The two riso inks. */
  --blue: #2b4c9b;
  --blue-soft: #eaeefa;
  --pink: #e82b86;
  --pink-soft: #fdeaf3;

  /* Findings. Never reused as decoration. */
  --cited: #2f6f4a;
  --cited-bg: #e6f1e9;
  --negative: #a8541b;
  --negative-bg: #fbeee0;
  --absent: #6b6862;
  --absent-bg: #efece6;
  --failed: #9d2f2f;
  --failed-bg: #f8e8e6;

  --shadow: 0 1px 2px rgba(20, 22, 26, 0.05), 0 8px 24px -12px rgba(20, 22, 26, 0.18);

  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, "Cascadia Mono", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--pink-soft); color: var(--ink); }

.page {
  max-width: 62rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 6rem;
}

/* ---------------------------------------------------------------- masthead */

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 2.5rem;
}

.masthead h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1;
}

/* The sprout: a small riso-pink mark that reads as a leaf without an emoji. */
.masthead h1::after {
  content: "";
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.18em;
  background: var(--pink);
  border-radius: 0 100% 0 100%;
  transform: translateY(-0.18em) rotate(-12deg);
}

.masthead-name { display: flex; flex-direction: column; gap: 0.4rem; }

.tagline {
  margin: 0;
  max-width: 34rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.tagline strong { color: var(--pink); font-weight: 650; }

.masthead .subject {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------- audit form */

.audit-form {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--blue);
  border-radius: 3px;
  padding: 1.4rem 1.5rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
}

.audit-form h2 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin: 0 0 1rem;
}

.audit-form form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.audit-form .field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1 1 22rem;
  min-width: 0;
}

.audit-form label {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.audit-form .sub { text-transform: none; letter-spacing: 0; }

.audit-form input {
  font-family: var(--display);
  font-size: 1.35rem;
  padding: 0.45rem 0;
  border: 0;
  border-bottom: 1.5px solid var(--rule-strong);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  transition: border-color 0.15s ease;
}

.audit-form input::placeholder { color: var(--ink-faint); opacity: 0.65; }

.audit-form input:focus {
  outline: none;
  border-bottom-color: var(--pink);
}

.audit-form button {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 550;
  padding: 0.7rem 1.5rem;
  border: 0;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.08s ease;
}

.audit-form button:hover:not(:disabled) { background: var(--blue); }
.audit-form button:active:not(:disabled) { transform: translateY(1px); }
.audit-form button:disabled { opacity: 0.5; cursor: progress; }

.audit-form button:focus-visible,
.audit-form input:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.audit-status {
  flex: 1 1 100%;
  margin: 0.35rem 0 0;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
  min-height: 1.3em;
}

.audit-profile {
  flex: 1 1 100%;
  margin: 0.1rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--rule);
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.audit-profile strong { color: var(--ink); font-weight: 600; }
.audit-profile em { color: var(--blue); font-style: normal; }

/* ------------------------------------------------------------- score block */

/* The label and the note used to share one "meta" area, held apart only by the
   score number's height via align-self end/start. That silently overlapped
   whenever the note grew or the number shrank — "GEO SCORE" printed straight
   through the explainer. Separate rows make the collision structurally
   impossible at any text length. */
.score-block {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "value label"
    "value note"
    "rates rates";
  grid-template-rows: auto auto auto;
  gap: 0 2rem;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 2rem;
}

.score-block .label {
  grid-area: label;
  align-self: end;
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  margin: 0 0 0.15rem;
}

/* A label under "No data yet" carries no information. */
.score-block:has(.score-value.no-data) .label {
  display: none;
}

/* The one magazine-cover moment. Everything else stays quiet around it. */
.score-value {
  grid-area: value;
  font-family: var(--display);
  font-size: clamp(4.5rem, 15vw, 8.5rem);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--pink);
  margin: 0;
}

/* "No data yet" must not shout in the accent — it isn't a score. Matches the
   `no-data` class app.js actually sets; an earlier `.is-empty` selector never
   applied, so the empty state rendered at full 8rem in pink. */
.score-value.no-data {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink-faint);
}

.weighting {
  grid-area: note;
  align-self: start;
  max-width: 34ch;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
  border-left: 2px solid var(--blue);
  padding-left: 0.7rem;
}

.category-rates {
  grid-area: rates;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.category-rate {
  background: var(--paper-sunk);
  border-radius: 3px;
  padding: 0.7rem 0.85rem;
}

.category-name {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-faint);
}

.category-value {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  margin-top: 0.1rem;
}

.category-detail {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
}

/* Not enough evidence is a different statement from a low score. */
.category-rate.insufficient { background: transparent; border: 1px dashed var(--rule-strong); }
.category-rate.insufficient .category-value { font-size: 0.95rem; color: var(--ink-faint); font-family: var(--sans); }

/* ----------------------------------------------------------------- models */

.models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.model-card {
  background: var(--paper);
  padding: 1rem 1.15rem;
}

.model-card .label {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin: 0;
}

/* Same rule for the per-model cards. */
.model-score.no-data {
  font-size: 1.05rem;
  color: var(--ink-faint);
  font-family: var(--sans);
}

.model-score {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  margin: 0.15rem 0 0;
}

.model-note {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------- transcripts */

.transcripts-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 0.9rem;
}

.transcripts-head h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}

.transcripts-head .hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.rows {
  border-top: 1px solid var(--ink);
}

/* Dense and scannable — a rank list, not a stack of cards. */
.row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 0.5rem 1rem;
  align-items: center;
  width: 100%;
  padding: 0.85rem 0.6rem 0.85rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  border-left: 2px solid transparent;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background 0.12s ease, border-left-color 0.12s ease;
}

.row:hover { background: var(--paper-sunk); border-left-color: var(--pink); }
.row:focus-visible { outline: 2px solid var(--pink); outline-offset: -2px; }

.row-prompt {
  min-width: 0;
  overflow-wrap: anywhere;
}

.row-category,
.row-model,
.row-retries {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  white-space: nowrap;
}

.row-category { color: var(--blue); }

.badge {
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Four genuinely different findings, four different reads. "Disparaged" must
   never look like "absent" — same score effect, opposite meaning. */
.badge-cited     { background: var(--cited-bg);    color: var(--cited); }
.badge-negative  { background: var(--negative-bg); color: var(--negative); }
.badge-absent    { background: var(--absent-bg);   color: var(--absent); }
.badge-failed    { background: var(--failed-bg);   color: var(--failed); }

.row-cited    { border-left-color: color-mix(in srgb, var(--cited) 45%, transparent); }
.row-negative { border-left-color: color-mix(in srgb, var(--negative) 45%, transparent); }
.row-failed   { opacity: 0.62; }

.empty {
  padding: 2.5rem 0;
  text-align: center;
  color: var(--ink-faint);
}

/* ------------------------------------------------------------------ detail */

/* `display: flex` below outranks the `hidden` attribute's `display: none`, so
   the overlay would sit open on page load. Restore it explicitly. */
.detail-backdrop[hidden] { display: none; }

.detail-backdrop {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--ink) 45%, transparent);
  backdrop-filter: blur(2px);
  display: flex;
  justify-content: flex-end;
  z-index: 50;
}

.detail {
  position: relative;
  width: min(46rem, 100%);
  height: 100%;
  overflow-y: auto;
  background: var(--paper);
  border-left: 3px solid var(--pink);
  padding: 2.25rem 2rem 4rem;
  box-shadow: -12px 0 40px -20px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: no-preference) {
  .detail { animation: slide-in 0.22s cubic-bezier(0.16, 1, 0.3, 1); }
  @keyframes slide-in { from { transform: translateX(2.5rem); opacity: 0; } }
}

.detail-close {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  width: 2rem;
  height: 2rem;
  font-size: 1.5rem;
  line-height: 1;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-faint);
  cursor: pointer;
}
.detail-close:hover { background: var(--paper-sunk); color: var(--ink); }
.detail-close:focus-visible { outline: 2px solid var(--pink); }

.detail-head {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.prompt-text {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.4;
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.raw-response {
  font-size: 0.92rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 0 0 1.5rem;
}

/* The receipt: where the brand actually appeared, in the accent. */
.brand-hit {
  background: var(--pink-soft);
  color: var(--ink);
  border-bottom: 1.5px solid var(--pink);
  padding: 0.05em 0.15em;
  font-weight: 600;
}

.citations, .provenance, .retry-history {
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
  margin-top: 1.25rem;
}

.citations ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.citations li { margin-bottom: 0.3rem; overflow-wrap: anywhere; }
.citations a { color: var(--blue); }
.no-citations { color: var(--ink-faint); font-style: italic; }

.provenance {
  font-family: var(--mono);
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--ink-faint);
}
.provenance strong { color: var(--ink-soft); font-weight: 500; }

.sentiment-note { font-size: 0.85rem; color: var(--negative); margin: 0.5rem 0 0; }

.retry-history summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ink-faint);
}
.retry-attempt {
  margin-top: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: var(--failed-bg);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.73rem;
  color: var(--ink-soft);
}

/* An unavailable call is missing evidence, not a finding. Muted on purpose. */
.unavailable-card, .unavailable-detail {
  background: var(--paper-sunk);
  border: 1px dashed var(--rule-strong);
  border-radius: 3px;
  padding: 1rem 1.15rem;
  color: var(--ink-faint);
}
.unavailable-title { font-weight: 600; color: var(--ink-soft); margin: 0 0 0.25rem; }
.unavailable-note { margin: 0; font-size: 0.85rem; }

@media (max-width: 40rem) {
  .page { padding: 2rem 1.1rem 4rem; }
  .score-block { grid-template-columns: 1fr; grid-template-areas: "value" "label" "note" "rates"; gap: 0.5rem 0; }
  .weighting { border-left: 0; padding-left: 0; }
  .row { grid-template-columns: 1fr auto; }
  .row-model, .row-retries { display: none; }
  .detail { padding: 2rem 1.15rem 3rem; }
}

/* Non-fatal notes. Amber, not red: the run succeeded, it is just narrower than
   ideal, and the affected categories will say "insufficient data" themselves. */
.audit-warnings {
  flex: 1 1 100%;
  margin: 0.4rem 0 0;
  padding: 0.55rem 0.75rem;
  border-left: 2px solid var(--negative);
  background: var(--negative-bg);
  border-radius: 0 3px 3px 0;
  font-size: 0.84rem;
  color: var(--negative);
}

/* ------------------------------------------------------------- diagnostics */

.diagnostics {
  border: 1px solid var(--rule);
  border-radius: 3px;
  margin-bottom: 2.5rem;
  background: var(--paper-raised);
}

.diag-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
}

.diag-head h2 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin: 0;
}

.diag-toggle {
  font-family: var(--mono);
  font-size: 0.76rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}
.diag-toggle:hover { border-color: var(--blue); color: var(--blue); }
.diag-toggle:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.diag-body {
  border-top: 1px solid var(--rule);
  padding: 0.5rem 1.1rem 1rem;
  max-height: 22rem;
  overflow-y: auto;
}

.diag-empty {
  margin: 0.6rem 0;
  font-size: 0.86rem;
  color: var(--ink-faint);
}

.diag-item {
  display: grid;
  gap: 0.15rem;
  padding: 0.65rem 0 0.65rem 0.75rem;
  border-left: 2px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
}
.diag-item:last-child { border-bottom: 0; }

/* Four failure classes, four reads — a failed call is missing evidence, a
   shortfall is thin evidence, and they should never look identical. */
.diag-failed      { border-left-color: var(--failed); }
.diag-unparseable { border-left-color: var(--negative); }
.diag-sentiment   { border-left-color: var(--absent); }
.diag-shortfall   { border-left-color: var(--blue); }

.diag-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
}
.diag-detail { font-size: 0.84rem; color: var(--ink-soft); }
.diag-prompt {
  font-size: 0.78rem;
  color: var(--ink-faint);
  font-style: italic;
}

/* --------------------------------------------------------- cat companion */

/* An audit is minutes of nothing visibly happening. A cat padding across the
   bottom of the page says "still alive" more warmly than a spinner does. */
.cat-lane {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 68px;
  pointer-events: none;
  overflow: hidden;
  z-index: 40;
}

.cat {
  position: absolute;
  bottom: 10px;
  left: -90px;
  width: 62px;
  height: 40px;
  animation: cat-walk 14s linear infinite;
}

.cat-body {
  position: absolute;
  bottom: 8px;
  left: 6px;
  width: 42px;
  height: 22px;
  background: var(--ink);
  border-radius: 14px 16px 12px 12px;
}

.cat-head {
  position: absolute;
  bottom: 18px;
  left: 36px;
  width: 24px;
  height: 21px;
  background: var(--ink);
  border-radius: 50% 50% 45% 45%;
}

.cat-ear {
  position: absolute;
  top: -6px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 9px solid var(--ink);
}
.cat-ear-l { left: 2px; transform: rotate(-12deg); }
.cat-ear-r { right: 2px; transform: rotate(12deg); }

.cat-eye {
  position: absolute;
  top: 8px;
  width: 3px;
  height: 3px;
  background: var(--paper);
  border-radius: 50%;
}
.cat-eye-l { left: 7px; }
.cat-eye-r { left: 15px; }

.cat-nose {
  position: absolute;
  top: 13px;
  left: 11px;
  width: 4px;
  height: 3px;
  background: var(--pink);
  border-radius: 50%;
}

.cat-tail {
  position: absolute;
  bottom: 24px;
  left: -7px;
  width: 15px;
  height: 17px;
  border: 3.5px solid var(--ink);
  border-color: var(--ink) transparent transparent var(--ink);
  border-radius: 14px 0 0 0;
  transform-origin: bottom right;
  animation: cat-tail 0.9s ease-in-out infinite;
  z-index: 1;
}

.cat-leg {
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 10px;
  background: var(--ink);
  border-radius: 0 0 3px 3px;
  transform-origin: top center;
}
.cat-leg-1 { left: 12px; animation: cat-step 0.45s ease-in-out infinite; }
.cat-leg-2 { left: 20px; animation: cat-step 0.45s ease-in-out infinite reverse; }
.cat-leg-3 { left: 33px; animation: cat-step 0.45s ease-in-out infinite reverse; }
.cat-leg-4 { left: 41px; animation: cat-step 0.45s ease-in-out infinite; }

@keyframes cat-walk {
  0%   { transform: translateX(0) scaleX(1); }
  48%  { transform: translateX(calc(100vw + 90px)) scaleX(1); }
  50%  { transform: translateX(calc(100vw + 90px)) scaleX(-1); }
  98%  { transform: translateX(0) scaleX(-1); }
  100% { transform: translateX(0) scaleX(1); }
}
@keyframes cat-step { 0%, 100% { transform: rotate(16deg); } 50% { transform: rotate(-16deg); } }
@keyframes cat-tail { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(20deg); } }

/* Motion is decorative here. Park the cat and let it sit still. */
@media (prefers-reduced-motion: reduce) {
  .cat { animation: none; left: 24px; }
  .cat-leg, .cat-tail { animation: none; }
}

/* ------------------------------------------------------------- suggestions */

.suggestions { margin-bottom: 2.5rem; }

.suggestions h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 1rem;
}

.sugg {
  border: 1px solid var(--rule);
  border-left: 3px solid var(--pink);
  border-radius: 3px;
  background: var(--paper-raised);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.75rem;
}

/* The two kinds you can act on today read in the accent; the rest sit quieter. */
.sugg-category_gap { border-left-color: var(--blue); }
.sugg-coverage     { border-left-color: var(--rule-strong); }
.sugg-sentiment    { border-left-color: var(--negative); }

.sugg-title {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.sugg-detail { margin: 0 0 0.6rem; font-size: 0.92rem; line-height: 1.6; color: var(--ink-soft); }

.sugg-evidence {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink);
}

.sugg-tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--pink-soft);
  color: var(--pink);
  padding: 0.16rem 0.45rem;
  border-radius: 999px;
  margin-right: 0.4rem;
}

.sugg-method {
  margin: 0.5rem 0 0;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--rule);
  font-size: 0.8rem;
  color: var(--ink-faint);
}
.sugg-method strong { color: var(--blue); }

/* -------------------------------------------------------------- methodology */

.method {
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--paper-sunk);
  margin-bottom: 2.5rem;
}

.method-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.1rem;
}

.method-head h2 {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin: 0;
}

.method-body {
  border-top: 1px solid var(--rule);
  padding: 1rem 1.4rem 1.2rem;
}

.method-steps { margin: 0; padding-left: 1.2rem; }
.method-steps li { margin-bottom: 0.85rem; font-size: 0.9rem; line-height: 1.6; color: var(--ink-soft); }
.method-steps strong { color: var(--ink); }
.method-steps em { color: var(--blue); font-style: normal; }

.method-note {
  margin: 0.9rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--ink-faint);
}
