.contact-page {
  --contact-blue: #2563eb;
  --contact-ink: #10233f;
  --contact-muted: #64748b;
  --contact-line: #dbe7f3;
  --contact-surface: rgba(255,255,255,.96);
}

.contact-main { width: min(1120px,calc(100% - 32px)); max-width: 1120px; padding-top: 18px; padding-bottom: 90px; }
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(300px,.72fr);
  gap: 26px;
  align-items: center;
  padding: 36px;
  border: 1px solid rgba(96,165,250,.36);
  border-radius: 26px;
  background: radial-gradient(circle at 85% 15%,rgba(250,204,21,.18),transparent 28%),linear-gradient(135deg,#092554 0%,#1649a6 58%,#2563eb 100%);
  color: #fff;
  box-shadow: 0 24px 52px rgba(30,64,175,.24);
}
.contact-eyebrow { display: block; margin-bottom: 6px; color: #facc15; font-size: .76rem; font-weight: 900; letter-spacing: .14em; }
.contact-hero h1 { margin: 0; font-size: clamp(2rem,4vw,3rem); line-height: 1.12; }
.contact-hero > div > p { max-width: 650px; margin: 13px 0 0; color: #dbeafe; line-height: 1.7; }
.contact-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.contact-primary-link,.contact-secondary-link { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 10px 17px; border-radius: 12px; font-weight: 900; text-decoration: none; transition: transform .18s ease; }
.contact-primary-link { background: #facc15; color: #172554; box-shadow: 0 6px 0 #d39d08; }
.contact-secondary-link { border: 1px solid rgba(255,255,255,.42); background: rgba(255,255,255,.1); color: #fff; }
.contact-primary-link:hover,.contact-secondary-link:hover { transform: translateY(-2px); }
.contact-primary-link:focus-visible,.contact-secondary-link:focus-visible { outline: 3px solid rgba(255,255,255,.82); outline-offset: 3px; }
.contact-response-card { display: grid; gap: 8px; padding: 22px; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; background: rgba(5,18,51,.36); backdrop-filter: blur(8px); }
.contact-response-card strong { color: #facc15; font-size: 1.2rem; }
.contact-response-card span { color: #dbeafe; line-height: 1.55; }
.contact-response-card small { padding-top: 8px; border-top: 1px solid rgba(255,255,255,.18); color: #bfdbfe; line-height: 1.5; }

.contact-prefill-notice { display: flex; align-items: flex-start; gap: 12px; padding: 14px 17px; margin-top: 15px; border: 1px solid #fde68a; border-radius: 15px; background: #fffbeb; color: #92400e; }
.contact-prefill-notice > span { font-size: 1.5rem; }
.contact-prefill-notice p { margin: 3px 0 0; color: #78350f; }

.contact-topic-section,.contact-channels,.contact-workspace,.contact-tracking { padding: 26px; margin-top: 18px; border: 1px solid var(--contact-line); border-radius: 24px; background: var(--contact-surface); box-shadow: 0 18px 42px rgba(15,23,42,.08); }
.contact-section-heading { margin-bottom: 17px; }
.contact-section-heading > span { display: block; margin-bottom: 5px; color: #2563eb; font-size: .76rem; font-weight: 900; letter-spacing: .1em; }
.contact-section-heading h2 { margin: 0; color: var(--contact-ink); font-size: clamp(1.35rem,3vw,1.75rem); }
.contact-topic-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.contact-topic { display: grid; min-height: 118px; align-content: center; justify-items: center; gap: 5px; padding: 13px; border: 1px solid #dbe7f3; border-radius: 16px; background: #f8fbff; color: #172554; cursor: pointer; font: inherit; text-align: center; transition: transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
.contact-topic > span { font-size: 1.9rem; }
.contact-topic strong { font-size: .88rem; }
.contact-topic small { color: #2563eb; font-weight: 850; }
.contact-topic:hover,.contact-topic:focus-visible { transform: translateY(-2px); border-color: #60a5fa; box-shadow: 0 10px 20px rgba(37,99,235,.12); outline: none; }

.contact-channel-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.contact-channel { display: flex; min-width: 0; align-items: center; gap: 12px; padding: 16px; border: 1px solid #dbe7f3; border-radius: 17px; color: #1e293b; text-decoration: none; transition: transform .18s ease,box-shadow .18s ease; }
.contact-channel:hover,.contact-channel:focus-visible { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(15,23,42,.1); outline: none; }
.contact-channel > span { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: #e2e8f0; font-size: 1.3rem; font-weight: 900; }
.contact-channel > div { min-width: 0; flex: 1; }
.contact-channel strong { display: block; }
.contact-channel p { margin: 4px 0 0; color: #64748b; font-size: .77rem; line-height: 1.45; }
.contact-channel > b { color: #2563eb; white-space: nowrap; }
.contact-channel.is-line > span { background: #06c755; color: #fff; }
.contact-channel.is-facebook > span { background: #3b5998; color: #fff; }
.contact-channel.is-group > span { background: #1877f2; color: #fff; }

.contact-workspace { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(270px,.55fr); gap: 22px; align-items: start; scroll-margin-top: 18px; }
.contact-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.contact-field { display: grid; gap: 6px; min-width: 0; }
.contact-field[hidden] { display: none !important; }
.contact-field-wide { grid-column: 1/-1; }
.contact-field > span { color: #334155; font-size: .84rem; font-weight: 850; }
.contact-field > span b { color: #dc2626; }
.contact-field > span em { float: right; color: #94a3b8; font-size: .7rem; font-style: normal; font-weight: 600; }
.contact-field input,.contact-field select,.contact-field textarea { width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 11px; background: #fff; color: #0f172a; font: inherit; box-sizing: border-box; }
.contact-field textarea { resize: vertical; line-height: 1.55; }
.contact-field input:focus,.contact-field select:focus,.contact-field textarea:focus { border-color: #2563eb; outline: 0; box-shadow: 0 0 0 3px rgba(37,99,235,.14); }
.contact-field small { color: #64748b; font-size: .7rem; }
.contact-safe-check { display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border: 1px solid #bfdbfe; border-radius: 11px; background: #eff6ff; }
.contact-safe-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }
.contact-safe-check span { color: #1e3a8a; font-size: .8rem; line-height: 1.5; }
.contact-submit-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.contact-submit-row p { margin: 0; color: #64748b; font-size: .77rem; }
.contact-submit-row button { flex: 0 0 auto; min-height: 44px; padding: 10px 21px; border: 0; border-radius: 11px; background: #2563eb; color: #fff; cursor: pointer; font: inherit; font-weight: 900; box-shadow: 0 5px 0 #1745ad; }
.contact-submit-row button:hover:not(:disabled) { transform: translateY(-2px); }
.contact-submit-row button:focus-visible { outline: 3px solid rgba(37,99,235,.28); outline-offset: 3px; }
.contact-submit-row button:disabled { cursor: wait; opacity: .65; }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-form-status { grid-column: 1/-1; padding: 11px 13px; margin-bottom: 12px; border: 1px solid #fecaca; border-radius: 11px; background: #fff1f2; color: #b91c1c; font-weight: 800; white-space: pre-line; }
.contact-success { display: flex; align-items: flex-start; gap: 12px; padding: 14px; margin-bottom: 15px; border: 1px solid #86efac; border-radius: 13px; background: #f0fdf4; color: #166534; }
.contact-success[hidden] { display: none; }
.contact-success > span { font-size: 1.5rem; }
.contact-success p { margin: 4px 0; }
.contact-success small { color: #15803d; }

.contact-safety-panel { display: grid; gap: 11px; }
.contact-safety-card { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid #dbe7f3; border-radius: 14px; background: #f8fafc; }
.contact-safety-card > span { font-size: 1.35rem; }
.contact-safety-card strong { color: #1e293b; }
.contact-safety-card p { margin: 4px 0 0; color: #64748b; font-size: .76rem; line-height: 1.5; }
.contact-safety-card ul { padding-left: 18px; margin: 6px 0 0; color: #64748b; font-size: .75rem; line-height: 1.55; }
.contact-safety-card.is-warning { border-color: #fde68a; background: #fffbeb; }
.contact-privacy-link { padding: 10px; border-radius: 10px; color: #2563eb; font-size: .79rem; font-weight: 850; text-align: center; text-decoration: none; }
.contact-privacy-link:hover { background: #eff6ff; }

.contact-ticket-lookup { display: flex; gap: 8px; max-width: 620px; }
.contact-ticket-lookup label { flex: 1; }
.contact-ticket-lookup input { width: 100%; min-height: 43px; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 11px; box-sizing: border-box; font: inherit; }
.contact-ticket-lookup button { min-height: 43px; padding: 9px 16px; border: 0; border-radius: 11px; background: #0f766e; color: #fff; cursor: pointer; font: inherit; font-weight: 900; }
.contact-ticket-result { display: grid; gap: 6px; padding: 15px; margin-top: 13px; border: 1px solid #bfdbfe; border-radius: 14px; background: #eff6ff; }
.contact-ticket-result > div { display: flex; align-items: center; gap: 7px; color: #1e40af; }
.contact-ticket-result p { margin: 0; color: #334155; }
.contact-ticket-result small { color: #64748b; }
.contact-ticket-missing { padding: 13px; margin-top: 12px; border-radius: 11px; background: #fff1f2; color: #b91c1c; }
.contact-my-reports { margin-top: 22px; padding-top: 20px; border-top: 1px solid #e2e8f0; }
.contact-my-reports h3 { margin: 0 0 11px; color: #172554; }
.contact-report-list { display: grid; gap: 8px; }
.contact-report-list a { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid #e2e8f0; border-radius: 12px; color: #334155; text-decoration: none; }
.contact-report-list a:hover { border-color: #60a5fa; background: #f8fbff; }
.contact-report-list a > span { font-size: 1.25rem; }
.contact-report-list a > div { min-width: 0; flex: 1; }
.contact-report-list strong,.contact-report-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-report-list small { margin-top: 2px; color: #64748b; font-size: .7rem; }
.contact-report-list a > b { color: #2563eb; font-size: .75rem; white-space: nowrap; }
.contact-empty-reports { color: #64748b; }
.contact-page .line-float > a { display: none !important; }
.contact-page .bf-assistant-toggle { width: 48px; height: 48px; justify-content: center; padding: 8px; }
.contact-page .bf-assistant-toggle-text { display: none; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

body.dark-mode .contact-topic-section,body.dark-mode .contact-channels,body.dark-mode .contact-workspace,body.dark-mode .contact-tracking { background: rgba(15,23,42,.96); border-color: #334155; }
body.dark-mode .contact-section-heading h2,body.dark-mode .contact-my-reports h3 { color: #e2e8f0; }
body.dark-mode .contact-topic,body.dark-mode .contact-channel,body.dark-mode .contact-safety-card,body.dark-mode .contact-report-list a,body.dark-mode .contact-field input,body.dark-mode .contact-field select,body.dark-mode .contact-field textarea { background: #111c30; border-color: #334155; color: #cbd5e1; }
body.dark-mode .contact-topic strong,body.dark-mode .contact-channel strong,body.dark-mode .contact-safety-card strong { color: #e2e8f0; }

@media (max-width: 900px) {
  .contact-hero,.contact-workspace { grid-template-columns: 1fr; }
  .contact-topic-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .contact-channel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .contact-main { width: min(100% - 18px,1120px); padding-top: 10px; }
  .contact-hero { gap: 20px; padding: 24px 18px; border-radius: 21px; }
  .contact-hero h1 { font-size: 1.95rem; }
  .contact-hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .contact-primary-link,.contact-secondary-link { padding: 9px 8px; font-size: .78rem; }
  .contact-topic-section,.contact-channels,.contact-workspace,.contact-tracking { padding: 17px 12px; margin-top: 13px; border-radius: 19px; }
  .contact-topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .contact-topic { min-height: 102px; padding: 9px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-field-wide { grid-column: auto; }
  .contact-submit-row { display: grid; }
  .contact-submit-row button { width: 100%; }
  .contact-ticket-lookup { display: grid; grid-template-columns: 1fr auto; }
  .contact-page .line-float { right: 10px; bottom: 74px; }
  .contact-page .bf-assistant { left: 10px; bottom: 78px; }
  .contact-page .bf-assistant-toggle { width: 44px; height: 44px; min-height: 44px; }
}
@media (max-width: 360px) { .contact-topic-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .contact-page *, .contact-page *::before, .contact-page *::after { transition: none !important; scroll-behavior: auto !important; } }
