/*
Theme Name: Scam Smash
Theme URI: https://scamsmash.com
Author: Scam Smash
Author URI: https://scamsmash.com
Description: A civic-directory theme for Scam Smash: scam education, a first-hour checklist, an official reporting directory by country, and victim-support helplines. Navy, alarm-red and gold palette matching the Scam Smash brand mark.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scamsmash
*/

/* Scam Smash: design system
   Civic-signage feel: ink, alarm red, safety amber, a working teal for
   calm/support content, on an off-white "paper" ground. Condensed bold
   display type reads like emergency signage; a serif body keeps long
   passages readable and gives the project an editorial, trustworthy tone. */

:root {
  --paper: #f1ede2;
  --paper-2: #e8e1d0;
  --card: #fbf9f2;
  --ink: #0f1c34;
  --ink-2: #3c4657;
  --mute: #6c7280;
  --line: #d9d0ba;
  --alarm: #d31324;
  --alarm-dark: #a10f1c;
  --amber: #b07f2a;
  --amber-soft: #f2e3c4;
  --teal: #1f6b64;
  --teal-soft: #d9ece7;
  --alarm-soft: #f6dcdd;
  --navy: #0f1c34;
  --gold: #c9a34b;
  --max: 1120px;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Source Serif 4", Georgia, serif;
  --ui: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

a { color: var(--teal); }
a:hover { color: var(--alarm-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, .chip:focus-visible {
  outline: 3px solid var(--alarm);
  outline-offset: 2px;
}

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 90;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px;
  font-family: var(--ui); font-weight: 600;
}
.skip:focus { left: 12px; }

/* ---- Emergency strip ---- */
.emergency-strip {
  background: #000;
  color: var(--paper);
  font-family: var(--ui);
  font-size: 0.88rem;
  padding: 9px 20px;
  text-align: center;
}
.emergency-strip strong { color: #fff; }
.emergency-strip a { color: #fff; text-decoration: underline; }

/* ---- Header ---- */
header.site {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--ui);
}
.brand {
  display: flex; align-items: center; text-decoration: none;
}
.brand-logo img { display: block; width: auto; height: 72px; }
.brand-text-only {
  font-family: var(--display); font-weight: 800; font-size: 2.3rem; letter-spacing: -0.01em;
  color: #fff;
}
.brand:hover { color: #fff; }
.brand .mark { width: 52px; height: 52px; flex: none; display: block; }
.nav-links { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.nav-links li { list-style: none; display: inline-flex; margin: 0; }
.nav-links a {
  text-decoration: none; color: #cfd6e2; font-weight: 600; font-size: 0.95rem;
  padding: 9px 13px; border-radius: 3px;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-links a.active,
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a { color: #fff; box-shadow: inset 0 -3px 0 var(--gold); }

.nav-more { position: relative; }
.nav-more summary {
  list-style: none; cursor: pointer; text-decoration: none;
  color: #cfd6e2; font-weight: 600; font-size: 0.95rem; font-family: var(--ui);
  padding: 9px 13px; border-radius: 3px; display: flex; align-items: center; gap: 5px;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: "\25BE"; font-size: 0.8em; }
.nav-more summary:hover, .nav-more summary.active { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-more[open] summary { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-more-panel {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 50;
  background: var(--navy); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 6px;
  padding: 8px; min-width: 220px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  display: flex; flex-direction: column; gap: 2px;
}
.nav-more-panel a {
  text-decoration: none; color: #cfd6e2; font-weight: 600; font-size: 0.92rem;
  font-family: var(--ui); padding: 9px 12px; border-radius: 4px; white-space: nowrap;
}
.nav-more-panel a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-more-panel a.active { color: #fff; box-shadow: inset 3px 0 0 var(--gold); }

.nav-links a.nav-coffee {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  text-decoration: none; font-family: var(--ui); font-weight: 700; font-size: 0.85rem;
  color: var(--gold); border: 1px solid rgba(201, 163, 75, 0.5); border-radius: 999px;
  padding: 7px 13px; margin-left: 10px; white-space: nowrap;
}
.nav-links a.nav-coffee:hover { background: rgba(201, 163, 75, 0.12); color: var(--gold); border-color: var(--gold); }
.nav-support-group { display: inline-flex; align-items: center; flex: none; margin-left: 10px; }
.nav-support-group a.nav-coffee { margin-left: 0; }
.nav-support-group a.nav-coffee.nav-book { margin-left: 8px; }
.nav-lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: 10px; }
.nav-lang-switch a {
  font-family: var(--ui); font-weight: 700; font-size: 0.78rem; color: #8b93a7;
  text-decoration: none; padding: 4px 6px; border-radius: 3px;
}
.nav-lang-switch a.active { color: #fff; background: rgba(255,255,255,0.1); }
.nav-lang-switch a:hover { color: #fff; }
.nav-coffee-icon { font-size: 0.95rem; line-height: 1; }

/* ---- Layout ---- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
main { display: block; }
section { padding: 30px 0; }
section + section { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--ui); font-size: 0.82rem; font-weight: 700;
  color: var(--alarm); margin: 0 0 6px;
}
.eyebrow-muted { color: var(--navy); }
h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
  line-height: 0.98; letter-spacing: -0.01em; margin: 0 0 16px;
}
h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  letter-spacing: -0.005em; margin: 0 0 10px;
}
h3 { font-family: var(--ui); font-weight: 700; font-size: 1.08rem; margin: 0 0 6px; }
p { margin: 0 0 1em; max-width: 66ch; }
.lede { font-size: 1.22rem; color: var(--ink-2); max-width: 42rem; }
.sub { color: var(--ink-2); max-width: 52rem; }

/* ---- Hero ---- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 46px 22px 10px;
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 44px; align-items: start;
}
.hero-panel {
  background: var(--ink); color: var(--paper); border-radius: 6px;
  padding: 26px 26px 22px; position: relative;
}
.hero-panel h2 { color: #fff; font-size: 1.4rem; margin-bottom: 14px; }
.hero-panel .fine { font-family: var(--ui); font-size: 0.82rem; color: #c9c4b6; margin: 16px 0 0; }
.checklist-ol { margin: 0; padding-left: 0; list-style: none; }
.checklist-ol li { margin: 0 0 12px; }
.checklist-ol label {
  display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  font-family: var(--ui); font-size: 0.98rem; line-height: 1.45;
}
.checklist-ol input[type="checkbox"] { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--amber); }
.checklist-ol input[type="checkbox"]:checked + span { text-decoration: line-through; color: #9a9587; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  border-radius: 3px; padding: 13px 20px; font-family: var(--ui); font-weight: 700;
  font-size: 0.98rem; border: 2px solid transparent; cursor: pointer;
}
.btn-alarm { background: var(--alarm); color: #fff; }
.btn-alarm:hover { background: var(--alarm-dark); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* ---- Cards / grids ---- */
.grid { display: flex; flex-wrap: wrap; gap: 14px; }
.grid > * { flex: 1 1 240px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--ink);
  border-radius: 3px; padding: 20px;
}
.card p:last-child { margin-bottom: 0; }
.card.tone-alarm { border-left-color: var(--alarm); }
.card.tone-amber { border-left-color: var(--amber); }
.card.tone-teal { border-left-color: var(--teal); }

.tag {
  display: inline-block; font-family: var(--ui); font-size: 0.72rem; font-weight: 700;
  padding: 3px 9px; border-radius: 2px; margin-bottom: 10px;
}
.tag-alarm { background: var(--alarm-soft); color: var(--alarm-dark); }
.tag-amber { background: var(--amber-soft); color: var(--amber); }
.tag-teal { background: var(--teal-soft); color: var(--teal); }

/* ---- Stats ---- */
.counter-block {
  display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: 3px; padding: 18px 22px; margin: 8px 0;
}
.counter-number { font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--teal); flex: none; line-height: 1; }
.counter-label { font-family: var(--ui); font-size: 0.9rem; color: var(--ink-2); max-width: 56ch; }
.hc-featured-banner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  background: var(--navy); border-radius: 6px; padding: 26px 28px; margin: 8px 0;
  text-decoration: none; border: 1px solid var(--navy);
}
.hc-featured-banner:hover { background: #16233f; }
.hc-featured-icon { font-size: 2.6rem; line-height: 1; }
.hc-featured-text h2 { color: #fff; margin: 6px 0 6px; font-size: 1.5rem; }
.hc-featured-text p { color: #cfd6e3; margin: 0; max-width: 58ch; }
.hc-featured-cta {
  font-family: var(--ui); font-weight: 700; font-size: 0.95rem; color: var(--teal);
  background: #fff; border-radius: 999px; padding: 12px 20px; white-space: nowrap; flex: none;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 8px 0; }
.social-hack-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.social-hack-grid .card { flex: 1 1 200px; text-decoration: none; color: inherit; transition: transform 0.15s ease; }
.social-hack-grid .card:hover { transform: translateY(-2px); }
.social-hack-grid h3 { margin: 0 0 6px; font-size: 1.05rem; }
.social-hack-grid p { margin: 0; font-size: 0.9rem; color: var(--mute); }
.pwgen { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 22px; max-width: 640px; }
.pwgen-output-row { display: flex; gap: 8px; margin-bottom: 8px; }
.pwgen-output {
  flex: 1; font-family: 'Courier New', monospace; font-size: 1.15rem; letter-spacing: 0.02em;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--navy);
}
.pwgen-copy {
  font-family: var(--ui); font-weight: 700; font-size: 0.9rem; padding: 0 20px;
  background: var(--navy); color: #fff; border: none; border-radius: 4px; cursor: pointer;
}
.pwgen-copy:hover { background: #16233f; }
.pwgen-strength { font-family: var(--ui); font-size: 0.85rem; font-weight: 600; margin-bottom: 18px; min-height: 1.2em; }
.pwgen-controls { margin-bottom: 18px; }
.pwgen-length-label { display: block; font-family: var(--ui); font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.pwgen input[type="range"] { width: 100%; margin-bottom: 14px; }
.pwgen-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.pwgen-checks label { font-family: var(--ui); font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.stat { background: var(--card); padding: 20px 22px; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.5rem; margin-bottom: 4px; }
.stat span { font-family: var(--ui); font-size: 0.92rem; color: var(--ink-2); }

/* ---- Steps (genuinely sequential content only) ---- */
.steps { counter-reset: step; display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.step { background: var(--card); padding: 22px 22px 22px 76px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 22px; top: 22px;
  font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--alarm);
  line-height: 1;
}
.step h3 { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }

/* ---- Callouts ---- */
.callout {
  background: var(--amber-soft); border: 1px solid #e0b877; border-left: 5px solid var(--amber);
  border-radius: 3px; padding: 18px 20px; margin: 16px 0;
}
.callout.danger { background: var(--alarm-soft); border-color: #e2b3ab; border-left-color: var(--alarm); }
.callout.calm { background: var(--teal-soft); border-color: #a9cdc5; border-left-color: var(--teal); }
.callout p:last-child, .callout strong:last-child { margin-bottom: 0; }

/* ---- Directory (report.html) ---- */
.directory-controls {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 4px 0 20px;
}
.search-field { flex: 1 1 260px; position: relative; }
.search-field input {
  width: 100%; padding: 14px 16px; border-radius: 3px; border: 2px solid var(--ink);
  font-family: var(--ui); font-size: 1rem; background: #fff;
}
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--ui); font-weight: 700; font-size: 0.88rem;
  border: 2px solid var(--ink); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 8px 15px; cursor: pointer;
}
.chip.active { background: var(--ink); color: #fff; }
.result-count { font-family: var(--ui); font-size: 0.88rem; color: var(--mute); margin: 0 0 14px; }

.country-list { display: grid; gap: 14px; }
.country-block {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px; overflow: hidden;
}
.country-block[hidden] { display: none; }
.country-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.country-head h3 { font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin: 0; }
.country-emergency { font-family: var(--ui); font-size: 0.82rem; color: var(--ink-2); }
.country-emergency b { color: var(--alarm-dark); }
.country-verified { font-family: var(--ui); font-size: 0.76rem; color: var(--mute); margin: 4px 0 0; }
.country-body { padding: 14px 20px 18px; display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 700px) { .country-body { grid-template-columns: 1fr; } }
.svc-group h4 {
  font-family: var(--ui); font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--mute); margin: 0 0 8px;
}
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-list li { padding: 9px 0; border-top: 1px dashed var(--line); }
.svc-list li:first-child { border-top: none; }
.svc-list a { font-weight: 700; text-decoration: none; color: var(--ink); font-family: var(--ui); font-size: 0.96rem; }
.svc-list a:hover { color: var(--alarm); }
.svc-note { font-size: 0.9rem; color: var(--ink-2); margin: 3px 0 0; max-width: 48ch; }
.svc-empty { font-size: 0.9rem; color: var(--mute); font-style: italic; }
.no-results { display: none; padding: 30px 0; color: var(--mute); font-family: var(--ui); }
.no-results.show { display: block; }

/* ---- Health check ---- */
.hc-category { background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px; margin-bottom: 14px; }
.hc-category h3 { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--display); font-size: 1.05rem; margin: 0 0 12px; }
.hc-cat-max { font-family: var(--ui); font-size: 0.8rem; font-weight: 600; color: var(--mute); }
.hc-item { padding: 10px 0; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.hc-item:first-of-type { border-top: none; padding-top: 0; }
.hc-item-label { margin: 0; font-family: var(--ui); font-size: 0.94rem; flex: 1 1 260px; }
.hc-options { display: flex; gap: 6px; flex: none; }
.hc-opt {
  font-family: var(--ui); font-weight: 700; font-size: 0.84rem;
  border: 2px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 999px; padding: 6px 14px; cursor: pointer;
}
.hc-opt:hover { border-color: var(--ink); }
.hc-opt.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.hc-cat-results { display: grid; gap: 6px; }
.hc-cat-result { display: flex; justify-content: space-between; font-family: var(--ui); font-size: 0.9rem; padding: 4px 0; border-top: 1px dashed var(--line); }
.hc-cat-result:first-child { border-top: none; }
.hc-info-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; margin-left: 4px; vertical-align: middle;
  font-size: 0.78rem; font-weight: 700; line-height: 1; color: var(--teal);
  background: rgba(15, 111, 111, 0.1); border: 1px solid rgba(15, 111, 111, 0.3);
  border-radius: 50%; cursor: pointer; padding: 0;
}
.hc-info-btn:hover { background: rgba(15, 111, 111, 0.2); }
.hc-info-pop {
  font-family: var(--ui); font-size: 0.86rem; line-height: 1.5; color: var(--ink-2);
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--teal);
  border-radius: 4px; padding: 10px 14px; margin: 6px 0 0; flex-basis: 100%;
}
.hc-priority-block { margin-top: 20px; }
.hc-priority-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 6px;
  padding: 16px 18px; margin-bottom: 10px;
}
.hc-priority-item h4 { font-family: var(--display); font-size: 1.05rem; margin: 0 0 8px; display: flex; justify-content: space-between; align-items: baseline; }
.hc-priority-score { font-family: var(--ui); font-size: 0.82rem; font-weight: 600; color: var(--mute); }
.hc-priority-item ul { margin: 0; padding-left: 20px; }
.hc-priority-item li { font-family: var(--ui); font-size: 0.9rem; line-height: 1.5; margin-bottom: 6px; }

/* ---- Footer ---- */
footer.site {
  border-top: 3px solid var(--gold); margin-top: 10px; padding: 34px 22px 50px;
  font-family: var(--ui); color: var(--ink-2); background: var(--paper-2);
}
.foot { max-width: var(--max); margin: 0 auto; display: grid; gap: 12px; }
.foot-brand { font-family: var(--display); font-weight: 800; color: var(--ink); font-size: 1.1rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.foot-nav a:hover { color: var(--ink); }
.foot-identity { font-size: 0.88rem; color: var(--ink-2); font-weight: 600; max-width: 70ch; margin: 4px 0 0; }
.foot-fine { font-size: 0.85rem; color: var(--mute); max-width: 70ch; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; }
  .hc-featured-banner { grid-template-columns: 1fr; text-align: left; }
  .hc-featured-cta { justify-self: start; }
}
@media (max-width: 560px) {
  .brand-text-only { font-size: 1.6rem; }
  .brand-logo img { height: 52px; }
  .nav-links { width: 100%; justify-content: flex-start; }
  .nav-more-panel { right: auto; left: 0; }
  .nav-coffee-label { display: none; }
  .nav-links a.nav-coffee { padding: 7px 9px; margin-left: 4px; }
}
/* ---- Guided chat widget ---- */
.chatbot-toggle {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff; border: none; border-radius: 999px;
  padding: 13px 20px; font-family: var(--ui); font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 10px 28px rgba(0,0,0,0.25); cursor: pointer;
}
.chatbot-toggle:hover { background: #16233f; }
.chatbot-panel {
  position: fixed; right: 20px; bottom: 84px; z-index: 60;
  width: 340px; max-width: calc(100vw - 40px); max-height: 480px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3); display: flex; flex-direction: column;
  overflow: hidden;
}
.chatbot-panel[hidden] { display: none; }
.chatbot-header {
  background: var(--navy); color: #fff; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--display); font-weight: 800; font-size: 1rem;
}
.chatbot-close { background: none; border: none; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chatbot-log { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.chatbot-msg { font-family: var(--ui); font-size: 0.92rem; line-height: 1.4; padding: 9px 12px; border-radius: 10px; max-width: 88%; }
.chatbot-msg-bot { background: var(--card); border: 1px solid var(--line); align-self: flex-start; }
.chatbot-msg-user { background: var(--teal); color: #fff; align-self: flex-end; }
.chatbot-options { display: flex; flex-direction: column; gap: 6px; padding: 10px 16px; border-top: 1px solid var(--line); }
.chatbot-option {
  font-family: var(--ui); font-size: 0.88rem; font-weight: 600; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 9px 12px; cursor: pointer;
}
.chatbot-option:hover { border-color: var(--teal); color: var(--teal); }
.chatbot-link {
  display: block; font-family: var(--ui); font-size: 0.88rem; font-weight: 700; text-align: left;
  background: var(--alarm); color: #fff; border-radius: 6px; padding: 9px 12px; text-decoration: none;
}
.chatbot-link:hover { background: var(--alarm-dark); color: #fff; }
.chatbot-restart { font-family: var(--ui); font-size: 0.82rem; color: var(--mute); background: none; border: none; text-align: left; cursor: pointer; padding: 4px 0; }
.chatbot-emergency-link {
  display: block; font-family: var(--ui); font-size: 0.78rem; color: var(--alarm-dark);
  text-align: center; padding: 8px; border-top: 1px solid var(--line); text-decoration: none;
}
.chatbot-emergency-link:hover { text-decoration: underline; }
@media (max-width: 420px) {
  .chatbot-panel { right: 10px; left: 10px; width: auto; bottom: 76px; }
  .chatbot-toggle { right: 10px; bottom: 10px; }
}
