/* ═══════════════════════════════════════════════════════════════
   public/css/askfox.css
   /ask-fox/ — the Letters desk. Sits on members/css/profile_v2.css
   (paper ground, pv2-* cards, fields and buttons) and adds only the
   masthead, the topic chips and the side panels.
   ═══════════════════════════════════════════════════════════════ */

.af { max-width: 1080px; }

/* ── Masthead ─────────────────────────────────────────────────── */
.af-mast { display: flex; flex-direction: column; gap: 6px; }
.af-mast__line {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  padding-bottom: 8px; border-bottom: 1px solid var(--pv-rule-2);
  font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--pv-ink-3);
}
.af-mast__title {
  margin: 10px 0 0;
  font: 900 italic 44px/1.05 'Playfair Display', Georgia, serif;
  color: var(--pv-ink);
}
.af-mast__title span { color: var(--pv-gold-ink); }
.af-mast__sub {
  margin: 0; max-width: 560px;
  font: italic 17px/1.5 'Playfair Display', Georgia, serif; color: var(--pv-ink-2);
}

/* ── Layout ───────────────────────────────────────────────────── */
.af-cols { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.af-main .pv2-field select,
.af-main .pv2-field input[type="email"] {
  width: 100%; box-sizing: border-box; min-height: 46px; padding: 11px 14px;
  border: 1px solid var(--pv-rule-2); border-radius: 10px; background: #FFFFFF;
  font: 500 16px 'DM Sans', system-ui, sans-serif; color: var(--pv-ink);
}
.af-main .pv2-field select:focus,
.af-main .pv2-field input[type="email"]:focus {
  outline: none; border-color: var(--pv-gold-ink); box-shadow: 0 0 0 3px rgb(212 175 55 / 22%);
}
.af-main .pv2-field textarea { min-height: 160px; }
.af-main [hidden] { display: none !important; }

/* Honeypot: off-screen, not display:none, so naive bots still see it. */
.af-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Topic chips (radio buttons) ──────────────────────────────── */
.af-topics { display: flex; flex-wrap: wrap; gap: 8px; }
.af-topic { position: relative; display: inline-flex; cursor: pointer; }
.af-topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.af-topic span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--pv-rule-2); background: var(--pv-card);
  font-size: 13px; font-weight: 600; color: var(--pv-ink-2);
}
.af-topic:hover span { background: var(--pv-gold-wash); border-color: var(--pv-gold-line); }
.af-topic input:checked + span { background: var(--pv-ink); border-color: var(--pv-ink); color: #FFFFFF; }
.af-topic input:focus-visible + span { outline: 2px solid var(--pv-gold-ink); outline-offset: 2px; }

/* ── Side panels ──────────────────────────────────────────────── */
.af-side { display: flex; flex-direction: column; gap: 20px; }
.af-panel { padding-top: 12px; border-top: 1px solid var(--pv-rule-2); display: flex; flex-direction: column; gap: 8px; }
.af-panel--gold { border-top: 3px solid var(--pv-gold); }
.af-links, .af-steps { margin: 0; padding-left: 18px; font-size: 13px; color: var(--pv-ink-2); display: flex; flex-direction: column; gap: 6px; }
.af-links { list-style: disc; }
.af-steps { list-style: decimal; }
.af-links a { font-weight: 600; }
.af-care { margin: 0; font-size: 12px; color: var(--pv-ink-3); }

/* ── Sent page ────────────────────────────────────────────────── */
.af-sent { max-width: 640px; }
.af-sent__ref { margin: 0; font-size: 16px; }

@media (max-width: 860px) {
  .af-cols { grid-template-columns: minmax(0, 1fr); }
  .af-mast__title { font-size: 36px; }
  .af-topic span { min-height: 44px; }
}

