/* public/styles.css */
* { box-sizing: border-box; }
body { margin:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji"; background:#fafafa; color:#222; }
.wrap { max-width: 920px; margin: 0 auto; padding: 16px; }
header { display:flex; align-items:center; justify-content:space-between; padding: 8px 0 16px; }
h1 { margin:0; font-size: 20px; letter-spacing: .2px; }
.badge { font-size:12px; background:#eee; padding:4px 8px; border-radius:999px; }
#lead-gate { background:#fff; padding: 16px; border:1px solid #eee; border-radius: 12px; }
#lead-gate form { display:grid; gap:12px; max-width:420px; }
#lead-gate input { width:100%; padding:10px 12px; border:1px solid #ddd; border-radius:8px; }
#lead-gate button { padding:10px 14px; border:0; border-radius:8px; background:#111; color:#fff; cursor:pointer; }
.note { color:#666; font-size:12px; }
.hide { display:none; }

#chat-ui { display:flex; flex-direction:column; gap:8px; }
#messages { background:#fff; border:1px solid #eee; border-radius:12px; padding:12px; height: 60vh; overflow:auto; }
.msg { display:flex; margin:8px 0; }
.msg .bubble { position:relative; max-width: 80%; padding:10px 12px; border-radius:12px; border:1px solid #eee; background:#f5f5f5; }
.msg.user { justify-content:flex-end; }
.msg.user .bubble { background:#e8f0ff; }
.msg.assistant .bubble { background:#f3f3f3; }
.msg .ts { font-size:10px; color:#666; display:block; margin-top:6px; text-align:right; }
.msg.typing .bubble { opacity:.6; font-style:italic; }

#composer { display:flex; gap:8px; }
#input { flex:1; min-height:48px; padding:10px 12px; border-radius:12px; border:1px solid #ddd; }
#send { padding: 0 16px; border:0; border-radius:12px; background:#111; color:#fff; cursor:pointer; }
footer { margin-top: 24px; color:#777; font-size:12px; }
/* === Font overrides for Faith Envirobot === */
body {
  font-family: "Helvetica Light", Helvetica, Arial, sans-serif;
}
h1, h2, h3, h4, header h1 {
  font-family: "Poppins", "Poppins Light", sans-serif;
  font-weight: 300;
}
