/* ── CommHub brand tokens (ported from the React app) ─────────── */
:root {
  --ink:      #1a1a1a;
  --slate:    #5c5c5c;
  --muted:    #9aa0a6;
  --line:     #e0e0e0;
  --surface:  #f7f7f5;
  --card:     #ffffff;
  --accent:   #238555;
  --accent-h: #1b6842;
  --accent-s: #e6f3ec;
  --danger:   #d32f2f;
  --warn:     #f5c400;
  --font:     -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sidebar-w: 15rem;
  --header-h: 3.5rem;
  --content-max: 87.5rem;
  --page-pad: 1rem;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
}

a { color: var(--accent); text-decoration: none; }
code { background: var(--accent-s); color: var(--accent-h); padding: 0 .25rem; border-radius: 4px; }

/* ── App shell ────────────────────────────────────────────────── */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }

.app-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: .75rem;
  padding: 0 var(--page-pad);
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

.menu-toggle {
  background: none; border: none; cursor: pointer;
  color: var(--ink); padding: 6px; display: inline-flex; align-items: center;
}

.app-brand { display: inline-flex; align-items: center; }
.app-brand-mark { font-weight: 800; font-size: 1.1rem; color: var(--accent); letter-spacing: -0.02em; }
.app-header-spacer { flex: 1; }

.app-body { flex: 1; display: flex; }

.app-sidebar {
  width: var(--sidebar-w);
  flex-shrink: 0;
  background: var(--card);
  border-right: 1px solid var(--line);
  padding: 1rem .5rem;
  position: sticky;
  top: var(--header-h);
  align-self: flex-start;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.app-nav { display: flex; flex-direction: column; gap: .25rem; }
.app-nav-link {
  display: block; padding: .625rem .75rem; border-radius: 10px;
  color: var(--ink); font-weight: 600;
}
.app-nav-link:hover { background: var(--accent-s); }
.app-nav-link.is-active { background: var(--accent-s); color: var(--accent); font-weight: 700; }

.app-main {
  flex: 1;
  max-width: var(--content-max);
  width: 100%;
  margin: 0 auto;
  padding: var(--page-pad);
}

/* ── Cards, buttons, text ─────────────────────────────────────── */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.page-title { margin: 0 0 .5rem; font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.muted { color: var(--slate); }

.btn-accent {
  background: var(--accent); color: #fff; border: none;
  border-radius: 999px; padding: .625rem 1.1rem;
  font-family: inherit; font-weight: 700; cursor: pointer;
}
.btn-accent:hover { background: var(--accent-h); }

/* ── Messages ─────────────────────────────────────────────────── */
.messages { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.alert { border-radius: 10px; padding: .625rem .875rem; font-size: .9rem; }
.alert-success { background: var(--accent-s); border: 1px solid #9fd4b5; color: var(--accent-h); }
.alert-error, .alert-danger { background: #fdecea; border: 1px solid #f5c6cb; color: var(--danger); }

/* ── Mobile: hamburger drawer ─────────────────────────────────── */
@media (max-width: 1023px) {
  .app-sidebar {
    position: fixed; top: var(--header-h); left: 0; bottom: 0;
    width: min(80vw, var(--sidebar-w));
    transform: translateX(-100%);
    transition: transform .2s ease;
    z-index: 40;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  body.is-nav-open .app-sidebar { transform: translateX(0); }
}

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
}

/* ── Nav footer (settings / login / logout) ───────────────────── */
.app-nav-foot { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .25rem; }
.app-nav-link.is-login, .app-nav-link.is-logout { color: var(--accent); font-weight: 700; }

/* ── Home page ────────────────────────────────────────────────── */
.home-head { margin-bottom: 1.25rem; }
.guest-banner {
  margin-top: .5rem; background: var(--accent); color: #fff;
  border-radius: 10px; padding: .625rem .875rem; font-size: .9rem;
}
.guest-banner a { color: #fff; text-decoration: underline; font-weight: 700; }

.home-group { margin-bottom: 1.5rem; }
.home-group-title { font-size: 1rem; font-weight: 800; color: var(--slate); margin: 0 0 .625rem; }

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap, .5rem);
}
@media (min-width: 768px) { .tile-grid { grid-template-columns: repeat(4, 1fr); } }

.tile {
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 6.875rem;
  padding: .875rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
}
.tile:hover { border-color: var(--accent); background: var(--accent-s); }
.tile-label { font-weight: 800; font-size: 1rem; }
.tile-caption { font-size: .8rem; color: var(--slate); margin-top: .15rem; }
.tile-danger { border-color: #f3c6c6; }
.tile-danger:hover { border-color: var(--danger); background: #fdecea; }
.tile-danger .tile-label { color: var(--danger); }

/* ── Auth (login) ─────────────────────────────────────────────── */
.auth-wrap { max-width: 26rem; margin: 2rem auto; }
.auth-card { display: flex; flex-direction: column; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field-label { font-weight: 700; font-size: .85rem; }
.field input {
  width: 100%; padding: .625rem .75rem; font-family: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--card);
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35,133,85,.12); }
.field-error { color: var(--danger); font-size: .8rem; margin: 0; }
.btn-block { width: 100%; }
.auth-alt { text-align: center; margin-top: 1rem; }

/* ── List pages (Jobs, etc.) ──────────────────────────────────── */
.list-head { margin-bottom: 1rem; }
.list-search { display: flex; gap: .5rem; margin-bottom: 1rem; }
.search-input {
  flex: 1; padding: .625rem .75rem; font-family: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--card);
}
.search-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35,133,85,.12); }

.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.chip {
  padding: .375rem .75rem; border-radius: 999px; font-size: .85rem; font-weight: 600;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.chip.is-on { background: var(--accent); color: #fff; border-color: var(--accent); }

.card-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap, .5rem); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.list-card {
  display: flex; flex-direction: column; gap: .5rem;
  padding: var(--card-pad, .875rem);
  background: var(--card); border: 1px solid var(--line);
  border-radius: 1rem; color: inherit;
}
.list-card:hover { border-color: var(--accent); }
.list-card-title { margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--ink); line-height: 1.25; }
.list-card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.list-card-desc { margin: 0; font-size: .9rem; }
.list-card-footer { margin-top: auto; display: flex; gap: .35rem; font-size: .82rem; }

.pill {
  display: inline-flex; align-items: center;
  background: var(--accent-s); color: var(--accent);
  padding: .2rem .55rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700;
}

.empty-state { text-align: center; padding: 3rem 1rem; }

/* ── Detail page ──────────────────────────────────────────────── */
.back-link { display: inline-block; margin-bottom: 1rem; font-weight: 700; }
.detail { display: flex; flex-direction: column; gap: .75rem; }
.detail-meta { display: flex; flex-direction: column; gap: .1rem; margin-bottom: .25rem; }
.meta-row { display: flex; justify-content: space-between; align-items: baseline; padding: .35rem 0; gap: 1rem; }
.meta-val { font-weight: 700; text-align: right; }
.detail-title { margin: .25rem 0; font-size: 1.5rem; font-weight: 800; }
.detail-desc { font-size: .95rem; line-height: 1.6; white-space: pre-wrap; }

.btn-whatsapp {
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; border-radius: 28px;
  padding: .875rem 1.25rem; font-weight: 700; margin: .5rem 0 1rem;
}
.btn-whatsapp:hover { filter: brightness(0.96); color: #fff; }

.detail-poster {
  display: flex; align-items: center; gap: .75rem;
  padding-top: 1rem; border-top: 1px solid var(--line); margin-top: .5rem;
}
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.poster-name { margin: 0; font-weight: 700; }
.posted-at { font-size: .8rem; }

/* For Sale: free badge variant */
.pill-free { background: var(--accent); color: #fff; }

/* Business social links */
.social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0 .5rem; }
.social-link {
  padding: .4rem .8rem; border-radius: 999px; font-weight: 700; font-size: .85rem;
  background: var(--accent-s); color: var(--accent);
}
.social-link:hover { background: var(--accent); color: #fff; }

/* ── Announcements ────────────────────────────────────────────── */
.group-head { margin-bottom: 1rem; }
.section-title { font-size: 1.05rem; font-weight: 800; margin: 1rem 0 .75rem; }
.post-list { display: flex; flex-direction: column; gap: .75rem; }
.announce-post {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 1rem; position: relative;
}
.announce-post.is-pinned { border-color: var(--accent); background: var(--accent-s); }
.pin-tag { font-size: .72rem; font-weight: 800; color: var(--accent); text-transform: uppercase; }
.announce-title { margin: .15rem 0 .35rem; font-size: 1.05rem; font-weight: 800; }
.announce-message { margin: 0 0 .5rem; font-size: .95rem; line-height: 1.55; white-space: pre-wrap; }

/* ── Emergencies ──────────────────────────────────────────────── */
.emerg-group { margin-bottom: 1.5rem; }
.emerg-list { display: flex; flex-direction: column; gap: .5rem; }
.emerg-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: .875rem 1rem;
}
.emerg-info { min-width: 0; }
.emerg-name { margin: 0; font-weight: 700; }
.emerg-note { margin: .15rem 0 0; font-size: .82rem; }
.emerg-action { flex-shrink: 0; }
.btn-call {
  display: inline-block; background: var(--danger); color: #fff;
  padding: .5rem 1rem; border-radius: 999px; font-weight: 800; font-size: .9rem;
}
.btn-call:hover { color: #fff; filter: brightness(0.95); }
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }

/* ── Info centre (FAQ) ────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: .875rem 1rem;
}
.faq-item[open] { border-color: var(--accent); }
.faq-q { font-weight: 700; cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::before { content: "+ "; color: var(--accent); font-weight: 800; }
.faq-item[open] .faq-q::before { content: "\2212 "; }
.faq-a { margin-top: .625rem; font-size: .95rem; line-height: 1.6; color: var(--slate); white-space: pre-wrap; }

/* Form select (register language) */
.field select {
  width: 100%; padding: .625rem .75rem; font-family: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--card);
}
.field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35,133,85,.12); }
.study-cta { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }

/* ── Post forms ───────────────────────────────────────────────── */
.list-head-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.form-card { max-width: 34rem; }
.stacked-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.field-input {
  width: 100%; padding: .625rem .75rem; font-family: inherit; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--card);
}
.field-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35,133,85,.12); }
select.field-input { appearance: auto; }

/* ══ Landing page (pixel-faithful port of the React LandingPage) ══ */
:root {
  --gap-lg: 0.75rem;
  --text-xs: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
  --text-sm: clamp(0.8125rem, 0.78rem + 0.18vw, 0.9375rem);
  --text-landing: clamp(0.9375rem, 0.9rem + 0.22vw, 1.0625rem);
  --text-xl: clamp(1.5rem, 1.3rem + 0.6vw, 2rem);
  --cta: #238555;
  --cta-h: #1b6842;
  --mark: #b5446a;
}

.landing-body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font); }

.auth-stage {
  width: 100%;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  position: relative;
}

.auth-stage-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('../img/landing-ocean-view.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.auth-stage-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15, 32, 24, 0.28) 0%,
    rgba(0, 0, 0, 0.22) 45%,
    rgba(15, 32, 24, 0.38) 100%);
}

.auth-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26.25rem;
  margin: 0 auto;
  max-height: min(92svh, 56rem);
  overflow-y: auto;
  padding: 0.875rem 1.5rem 1.5rem;
  box-sizing: border-box;
  background: var(--card);
  border-radius: 1rem;
  box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.18);
}
.auth-shell-landing { max-width: 32rem; }

/* Brand lockup (large, stacked) */
.brand-lockup { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent); max-width: 100%; }
.brand-lockup svg { display: block; flex-shrink: 0; color: var(--mark); }
.brand-wordmark { font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.brand-lockup-lg { flex-direction: column; align-items: flex-start; gap: 0.4rem; margin-bottom: 16px; }
.brand-lockup-lg .brand-wordmark { font-size: 1.1rem; }

.landing-kicker {
  margin: 0 0 8px; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.04em; color: var(--accent); text-transform: uppercase;
}
.landing-title {
  margin: 0 0 0.75rem; color: var(--ink);
  font-size: var(--text-xl); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em;
}
.landing-subtitle { margin: 0 0 20px; font-size: var(--text-landing); color: var(--slate); line-height: 1.5; }
.landing-because { margin: 0 0 14px; font-size: var(--text-landing); font-weight: 700; color: var(--ink); }

.landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: var(--gap-lg);
  margin-bottom: 1.5rem;
}

.landing-choice {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1.125rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #f5f5f5;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  position: relative;
}
.landing-choice-wide { grid-column: 1 / -1; }
.landing-choice:hover { border-color: var(--accent); }
.landing-choice-input { position: absolute; opacity: 0; pointer-events: none; }
.landing-choice:has(.landing-choice-input:checked) {
  border-color: var(--accent);
  background: var(--accent-s);
  color: var(--accent-h);
}
.landing-choice-title { display: block; margin: 0 0 4px; font-weight: 700; font-size: var(--text-landing); color: inherit; }
.landing-choice-sub { display: block; margin: 0; font-size: var(--text-sm); color: var(--slate); }
.landing-choice:has(.landing-choice-input:checked) .landing-choice-sub { color: var(--accent-h); }

.btn-primary {
  display: block; width: 100%;
  background: var(--cta); color: #fff; border: none;
  border-radius: 28px; padding: 1rem;
  font-size: var(--text-landing); font-weight: 600; font-family: inherit;
  cursor: pointer; transition: background 0.15s, transform 0.1s; text-align: center;
  margin-bottom: 12px;
}
.btn-primary:hover { background: var(--cta-h); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.btn-ghost {
  display: block; width: 100%;
  background: transparent; color: var(--accent); border: none;
  border-radius: 28px; padding: 0.875rem;
  font-size: var(--text-landing); font-weight: 600; font-family: inherit;
  cursor: pointer; transition: background 0.15s; text-align: center; text-decoration: none;
  margin-bottom: 16px;
}
.btn-ghost:hover { background: var(--accent-s); }

.landing-login { margin: 0; text-align: center; font-size: var(--text-sm); color: var(--slate); }
.landing-login a { color: var(--accent); font-weight: 700; }

/* ══ Auth pages (login / register) — faithful port of React ══════ */
.auth-lang { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.auth-lang select {
  padding: .4rem .6rem; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--card); font-family: inherit; font-size: .85rem; color: var(--ink);
}
.auth-back {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--ink); font-size: .95rem; font-weight: 500;
  margin-bottom: 20px; text-decoration: none; background: none; border: none;
  padding: 0; cursor: pointer; font-family: inherit;
}
.auth-brand { margin-bottom: 28px; }
.auth-title {
  margin: 0 0 8px; font-size: 1.75rem; font-weight: 800;
  color: var(--ink); letter-spacing: -0.02em;
}
.auth-subtitle { margin: 0 0 28px; font-size: .95rem; color: var(--slate); line-height: 1.5; }

/* Field styling (matches React .field-label / .field-input / .required-mark) */
.auth-field { margin-bottom: 20px; }
.field-label {
  display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); margin-bottom: 6px;
}
.required-mark {
  display: inline-block; color: var(--danger); font-size: 1.35rem; font-weight: 800;
  line-height: 1; margin-left: 6px; vertical-align: -2px;
}
.field-input {
  display: block; width: 100%; max-width: 100%; box-sizing: border-box;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 0.75rem 0.875rem; font-size: 1rem; color: var(--ink);
  font-family: inherit; transition: border-color 0.15s; outline: none;
}
.field-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(35,133,85,0.12); }
.field-input.error { border-color: var(--danger); }
textarea.field-input { resize: vertical; }
.field-error { font-size: .9rem; color: var(--danger); margin: 6px 0 0; }
.field-hint { margin: 6px 0 0; font-size: 13px; color: var(--slate); }

/* Two-column name row */
.form-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.75rem; margin-bottom: 1.25rem;
}

/* Password field with show/hide eye */
.password-wrap { position: relative; }
.password-wrap .field-input { padding-right: 48px; }
.password-toggle {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 4px;
  display: flex; align-items: center; color: var(--slate);
}

.auth-link-row { text-align: center; font-size: .9rem; color: var(--slate); margin-top: 20px; }
.auth-link-row a { color: var(--accent); font-weight: 700; text-decoration: none; }
.auth-link-row.tight { margin-top: 12px; }
.auth-forgot {
  background: none; border: none; padding: 0; color: var(--accent);
  font-size: .9rem; font-weight: 600; cursor: pointer; font-family: inherit; margin: 0 0 24px;
  display: inline-block; text-decoration: none;
}

/* Role choice cards (register step 1) */
.role-cards { display: flex; flex-direction: column; gap: 12px; }
.role-card {
  display: block; width: 100%; text-align: left; padding: 18px 16px;
  border-radius: 14px; border: 1.5px solid var(--line); background: var(--card);
  cursor: pointer; font-family: inherit; text-decoration: none;
}
.role-card:hover { border-color: var(--accent); }
.role-card-title { display: block; font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.role-card-hint { display: block; margin-top: 6px; font-size: 14px; color: var(--slate); line-height: 1.45; font-weight: 500; }

/* Researcher intro (matches React ResearcherIntroStep) */
.researcher-intro-logo {
  display: inline-flex;
  background: #fff;
  border-radius: 12px;
  padding: 6px 10px;
  margin-bottom: 16px;
}
.researcher-intro-badge {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.researcher-intro-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.researcher-intro-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.researcher-intro-video-placeholder {
  padding: 24px;
  margin-bottom: 16px;
  text-align: center;
  background: var(--accent-s, #e8f5ee);
  color: var(--slate);
  font-size: 0.88rem;
}
.researcher-info-block {
  padding: 18px 20px;
  margin-bottom: 12px;
}
.researcher-info-block h2 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}
.researcher-info-block > p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}
.researcher-testimonials-title {
  margin: 0 0 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}
.researcher-quote {
  margin: 0 0 12px;
  padding: 12px 14px;
  background: var(--surface, #f7f8f6);
  border-radius: 10px;
  border-left: 3px solid var(--gold, #d4a017);
  font-size: 0.85rem;
  color: var(--slate);
  line-height: 1.5;
}
[inert] {
  pointer-events: none;
  user-select: none;
}

.researcher-quote footer {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
}
