/* ============================================================
   Equalora — shared styles
   Locked palette (finalized 2026-07-11, jewel-teal + turmeric + orange pop):
     Botanical Night  #032021  darkest — page canvas (body, ~50%)
     Ghostlands Coal  #073B48  header / footer surfaces (~20%)
     Moroccan Blue    #135D71  hero surface (~10%)
     Biscay Bay       #037D88  links, secondary accents on dark (~10%)
     Kabalite Green   #009B6E  Low priority / success (~2.5%)
     Turmeric Tea     #D6902E  Medium priority / wordmark "EQ" / secondary accent (~2.5%)
     Pop Orange       #FF5B1F  THE accent — reserved for exactly three spots:
                                primary CTA button, High-priority label, portal status dot (~5%)
     Ivory            #ECE7DC  light text on dark surfaces
     Card surfaces stay light (white) by design — dense form/portal text needs
     reliable WCAG contrast that a near-black background can't guarantee.
   Type: Fraunces (headlines/wordmark), Inter (body/UI)
   ============================================================ */

:root {
  --botanical: #032021;
  --ghostlands: #073B48;
  --moroccan: #135D71;
  --biscay: #037D88;
  --kabalite: #009B6E;
  --turmeric: #D6902E;
  --pop-orange: #FF5B1F;
  --ivory: #ECE7DC;
  --ivory-muted: rgba(236, 231, 220, 0.72);

  --card-bg: #FFFFFF;
  --card-border: #D7DED8;
  --card-border-strong: #B9D4CE;
  --field-bg: #F4F1EA;
  --card-text: #1E2F30;

  --white: #FFFFFF;
  --error: #E4483D;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 14px rgba(3, 32, 33, 0.35);
  --maxw: 960px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--botanical);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1.0625rem;          /* 17px ≥ 16px requirement */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Accessibility helpers ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ghostlands);
  color: var(--ivory);
  padding: 0.6rem 1rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--pop-orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Layout ---------- */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header ---------- */

.site-header {
  padding: 1rem 0;
  background: var(--ghostlands);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  color: var(--ivory);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.wordmark .eq { color: var(--turmeric); }
.wordmark img { width: 34px; height: 34px; display: block; }

.header-nav a {
  color: var(--biscay);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.4rem 0.2rem;
}
.header-nav a:hover, .header-nav a:focus { color: var(--ivory); text-decoration: underline; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 3.5rem;
  text-align: center;
  /* soft blurred jewel-teal wash (brand board) */
  background:
    radial-gradient(60rem 30rem at 15% -10%, rgba(3, 125, 136, 0.30), transparent 60%),
    radial-gradient(50rem 26rem at 90% 110%, rgba(214, 144, 46, 0.16), transparent 55%),
    var(--moroccan);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.1rem);
  line-height: 1.15;
  margin: 0.5rem auto 1rem;
  max-width: 21ch;
  color: var(--ivory);
}

.hero .sub {
  font-size: 1.125rem;
  color: var(--ivory-muted);
  max-width: 44ch;
  margin: 0 auto 1.75rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid var(--biscay);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- CTA button ---------- */

.btn-cta {
  display: inline-block;
  background: var(--pop-orange);
  color: #2B1206;
  /* dark ink on the bright pop-orange reads more reliably than white at this saturation */
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 2.2rem;
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(255, 91, 31, 0.35);
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn-cta:hover { background: #E14A12; }
.btn-cta:active { transform: translateY(1px); }

.hero .cta-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--ivory-muted);
}

/* ---------- Secondary buttons ---------- */

.btn-secondary {
  display: inline-block;
  background: var(--turmeric);
  color: #2B1206;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
}
.btn-secondary:hover { background: #B97A22; }

.btn-quiet {
  background: none;
  border: 1.5px solid var(--biscay);
  color: var(--ivory);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
}
.btn-quiet:hover { background: rgba(255, 255, 255, 0.08); }

/* ---------- "What this is" section ---------- */

.about {
  padding: 3rem 0;
}

.about h2, .section-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ivory);
  margin: 0 0 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--card-bg);
  color: var(--card-text);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  color: var(--moroccan);
}

.card p { margin: 0; font-size: 0.98rem; color: var(--card-text); }

.card .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--moroccan);
  color: var(--ivory);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

/* ---------- Disclaimer ---------- */

.disclaimer {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 5px solid var(--turmeric);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  color: var(--ivory-muted);
  margin: 2rem 0;
}
.disclaimer strong { color: var(--ivory); }

/* ---------- Legal pages (AI disclaimer, accessibility statement) ---------- */

.legal-page { padding: 2.5rem 0 3rem; }
.legal-page .section-title { margin-bottom: 0.25rem; }
.legal-updated {
  color: var(--ivory-muted);
  font-size: 0.9rem;
  margin: 0 0 1.75rem;
}
.legal-body {
  background: var(--card-bg);
  color: var(--card-text);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
}
.legal-body h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ghostlands);
  margin: 1.8rem 0 0.6rem;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 0.9rem; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body ul { margin: 0 0 0.9rem; padding-left: 1.3rem; }
.legal-body li { margin: 0.2rem 0; }
.legal-note {
  background: #FBF3E6;
  color: var(--card-text);
  border-left: 4px solid var(--turmeric);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

/* Prominent AI-notice banner, shown above AI-generated content itself
   (not just linked in a footer) — see documents.html. */
.ai-banner {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: #FBF3E6;
  border: 1px solid var(--turmeric);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.5rem;
  color: var(--card-text);
  font-size: 0.95rem;
}
.ai-banner strong { color: var(--ghostlands); }
.ai-banner a { color: var(--moroccan); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ghostlands);
  color: var(--ivory-muted);
  padding: 2rem 0;
  margin-top: 3rem;
  font-size: 0.92rem;
}
.site-footer a { color: var(--biscay); }
.site-footer .wordmark { color: var(--ivory); font-size: 1.2rem; }
.site-footer .wordmark .eq { color: var(--turmeric); }
.site-footer p { margin: 0.5rem 0; }

/* ---------- Responsive ---------- */

@media (max-width: 720px) {
  .hero { padding: 2rem 0 2.5rem; }
  .cards { grid-template-columns: 1fr; }
  .btn-cta {
    display: block;
    width: 100%;
    max-width: 26rem;
    margin: 0 auto;
  }
}

/* ============================================================
   Intake form (Phase 2)
   ============================================================ */

.wrap-narrow { max-width: 720px; }

.ask { padding: 2.5rem 0 3rem; }
.ask-intro { color: var(--ivory-muted); margin-top: -0.3rem; }

.ask-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.25rem;
}
.ask-hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.ask-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 780px) {
  .ask-hero { grid-template-columns: 1fr; gap: 1.25rem; }
  .ask-hero-image { aspect-ratio: 16 / 9; }
}

/* Light "island" surfaces: form + portal cards keep light backgrounds
   so dense text keeps reliable WCAG contrast — see file header note. */
#intake-form, .auth-card, .question-card, .card {
  color: var(--card-text);
}

#intake-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 1.6rem;
  margin-top: 1.4rem;
}

.field { margin-bottom: 1.4rem; border: none; padding: 0; min-width: 0; }
fieldset.field { margin-left: 0; margin-right: 0; }

.field > label, .field legend {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--moroccan);
}

.req { color: var(--turmeric); font-weight: 700; }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--card-text);
  background: var(--field-bg);
  border: 1.5px solid var(--card-border-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
}
.field textarea { resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid rgba(255, 91, 31, 0.45);
  outline-offset: 1px;
  border-color: var(--pop-orange);
}

.field.invalid input, .field.invalid select, .field.invalid textarea {
  border-color: var(--error);
  background: rgba(228, 72, 61, 0.08);
}

.field-hint { font-size: 0.88rem; color: var(--biscay); margin: 0.35rem 0 0; }
.field-error {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--error);
  margin: 0.35rem 0 0;
}

.form-error-summary {
  background: rgba(228, 72, 61, 0.10);
  border: 1.5px solid var(--error);
  border-radius: var(--radius-sm);
  color: var(--error);
  font-weight: 600;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
}

/* Priority radio cards */
.priority-options { display: grid; gap: 0.6rem; }
.priority-option {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  cursor: pointer;
  background: var(--field-bg);
}
.priority-option:has(input:checked) { border-color: var(--moroccan); background: #EAF2F1; }
.priority-option input { margin-top: 0.3rem; accent-color: var(--moroccan); }
.priority-name { font-weight: 700; display: inline-block; margin-right: 0.3rem; }
.priority-high { color: var(--pop-orange); }
.priority-medium { color: var(--turmeric); }
.priority-low { color: var(--kabalite); }
.priority-desc { font-size: 0.92rem; color: #33453F; }

.char-counter { font-size: 0.88rem; color: var(--biscay); margin: 0.35rem 0 0; text-align: right; }
.char-counter.at-cap { color: var(--error); font-weight: 700; }

/* Honeypot: visually removed, still in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Section subheads + optional-field marker (referral form) */
.section-subhead {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ivory);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.field-optional {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--ivory-muted);
}

/* Floating "Refer a business" tab — fixed on the right edge (desktop),
   collapses to a full-width button at the bottom on mobile. */
.refer-fab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--turmeric);
  color: var(--botanical);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.9rem 0.7rem;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  box-shadow: var(--shadow);
  writing-mode: vertical-rl;
}
.refer-fab:hover { background: var(--pop-orange); color: var(--white); }
.refer-fab:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }

@media (max-width: 720px) {
  .refer-fab {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    writing-mode: horizontal-tb;
    justify-content: center;
    border-radius: 0;
    padding: 0.9rem 1rem;
    font-size: 1rem;
  }
}

.field-consent .consent-label {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
  cursor: pointer;
}
.field-consent input { margin-top: 0.3rem; width: 1.15rem; height: 1.15rem; accent-color: var(--moroccan); flex: none; }

.btn-form-submit { width: 100%; margin-top: 0.4rem; }
.btn-form-submit[disabled] { opacity: 0.6; cursor: wait; }
.form-footnote { text-align: center; }

/* Success / failure panels */
.panel {
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  margin-top: 1.4rem;
}
.panel h3 { font-family: var(--font-display); margin: 0 0 0.5rem; font-size: 1.3rem; }
.panel-success { background: #E7F3EF; color: var(--card-text); border: 1.5px solid var(--kabalite); }
.panel-failure { background: rgba(228, 72, 61, 0.08); color: var(--card-text); border: 1.5px solid var(--error); }
.panel-failure h3 { color: var(--error); }
.booked-confirmation { font-weight: 600; color: var(--kabalite); }

/* Founder bio card, shown at the booking step */
.founder-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 1.25rem 0;
  padding: 1rem 1.15rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border-strong);
  border-left: 4px solid var(--kabalite);
  border-radius: var(--radius-sm);
  color: var(--card-text);
}
.founder-photo {
  width: 120px;
  height: 120px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--kabalite);
}
.founder-name {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--ghostlands);
}
.founder-body p { margin: 0 0 0.5rem; font-size: 0.98rem; }
.founder-body p:last-child { margin-bottom: 0; }

#booking-slot { margin-top: 1rem; }
#booking-slot .cal-embed { width: 100%; min-height: 560px; border: none; border-radius: var(--radius-sm); background: var(--white); }

/* ---- Answer shown to the client in the portal (Phase 1) ---- */
.q-answer {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  background: #EEF6F2;
  border-left: 4px solid var(--kabalite);
  border-radius: var(--radius-sm);
}
.q-answer h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ghostlands);
}
.q-answer p { margin: 0 0 0.4rem; }
.q-answer p:last-child { margin-bottom: 0; }

/* ---- Admin console (Phase 1) ---- */
.admin-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--turmeric);
  color: var(--botanical);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  vertical-align: middle;
}
.portal-docs-title { margin-top: 2.5rem; }

/* Text-style buttons used in the auth flows (magic-link / forgot password) */
.linklike {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--biscay);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.linklike:hover { color: var(--moroccan); }
.auth-alt {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.95rem;
}
#setpw-form { margin: 0.75rem 0 1.5rem; max-width: 420px; }

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.admin-tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ivory-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.6rem 0.2rem;
  cursor: pointer;
}
.admin-tab[aria-selected="true"] { color: var(--ivory); border-bottom-color: var(--turmeric); }
.admin-tab:hover { color: var(--ivory); }

.admin-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
}
.admin-toolbar { display: flex; gap: 0.5rem; align-items: center; }
.admin-filter {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.45rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border-strong);
  background: var(--white);
  color: var(--card-text);
}
.admin-card { color: var(--card-text); }
.admin-controls {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--card-border);
  display: grid;
  gap: 0.6rem;
}
.admin-lbl {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ghostlands);
}
.admin-status {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border-strong);
  background: var(--white);
  color: var(--card-text);
}
.admin-answer {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border-strong);
  background: var(--white);
  color: var(--card-text);
  resize: vertical;
}
.admin-actions { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.admin-saved { color: var(--kabalite); font-weight: 600; }

.admin-quickreply {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--card-border);
}
.admin-template-out { margin-top: 0.5rem; display: grid; gap: 0.4rem; }
.admin-template-subject { font-weight: 600; margin: 0; }
.admin-template-body {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--card-border-strong);
  background: var(--field-bg);
  color: var(--card-text);
}

/* Booking demo placeholder (Phase 4, shown until Cal.com is connected) */
.booking-demo {
  background: var(--field-bg);
  color: var(--card-text);
  border: 1.5px dashed var(--card-border-strong);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  font-size: 0.95rem;
}
.booking-demo code { background: #EDEAE0; padding: 0.1rem 0.35rem; border-radius: 4px; }
.booking-demo button { margin-top: 0.6rem; }

/* ============================================================
   Portal + auth pages (Phase 5)
   ============================================================ */

.auth-section, .portal-section { padding: 2.5rem 0 3rem; }

.auth-split {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}
.auth-split-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.auth-split-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}
.auth-split-gallery img:last-child { margin-top: 2rem; }
.auth-split-form { max-width: 30rem; }
@media (max-width: 860px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-split-gallery { display: none; }
}

.auth-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
  margin-top: 1.2rem;
  max-width: 30rem;
}

.portal-identity { color: var(--ivory-muted); font-size: 0.95rem; }

.question-list { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: 1rem; }

.question-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem;
}

.q-top { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.q-meta { font-size: 0.88rem; color: var(--biscay); }
.q-category { font-weight: 600; color: var(--moroccan); margin: 0.2rem 0; font-size: 0.98rem; }
.q-text { margin: 0.3rem 0 0.6rem; font-size: 0.98rem; color: var(--card-text); }
.q-callback { margin: 0; font-size: 0.95rem; color: var(--card-text); }

.status-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
}
.s-new       { background: #FBF0DC; color: #8A5B12; border-color: var(--turmeric); }
.s-review    { background: #E7F0EF; color: #1E3A38; border-color: var(--biscay); }
.s-scheduled { background: #FDE7DC; color: #B23A12; border-color: var(--turmeric); }
.s-answered  { background: #E3F3ED; color: #04543E; border-color: var(--kabalite); }
.s-closed    { background: var(--card-border); color: #3E4A47; border-color: #A9B6B2; }

#signout-btn { margin-left: 0.8rem; }
