/* Renaissance Chatbot 2.0 · matches the new zhengmd.com design (seafoam #6AA6AF, slate #3B4A4D, Jost) */
.rcb, .rcb * { box-sizing: border-box; }
.rcb { --rcb-sea: #6AA6AF; --rcb-slate: #3B4A4D; --rcb-ink: #2A2A2A; --rcb-soft: #F1F7F8; --rcb-line: #E3EEF0;
  font-family: Jost, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--rcb-ink); -webkit-font-smoothing: antialiased;
  position: fixed; right: 24px; bottom: 24px; z-index: 2147483000; }
.rcb button { font-family: inherit; }
.rcb-launch { display: flex; align-items: center; gap: 10px; background: var(--rcb-slate); color: #FFFFFF; border: 0; border-radius: 999px;
  padding: 14px 22px 14px 18px; font-size: 15px; font-weight: 500; letter-spacing: .04em; cursor: pointer;
  box-shadow: 0 14px 34px rgba(59,74,77,.28); transition: background .2s, transform .2s; }
.rcb-launch:hover { background: #2F3C3E; transform: translateY(-2px); }
.rcb-launch svg { width: 20px; height: 20px; fill: none; stroke: var(--rcb-sea); stroke-width: 1.8; }
.rcb-launch:focus-visible, .rcb button:focus-visible, .rcb a:focus-visible, .rcb input:focus-visible { outline: 3px solid var(--rcb-sea); outline-offset: 3px; }
.rcb-panel { position: absolute; right: 0; bottom: 70px; width: 380px; max-width: calc(100vw - 32px); height: 600px; max-height: calc(100vh - 120px);
  background: #FFFFFF; border-radius: 28px; box-shadow: 0 28px 70px rgba(42,42,42,.24); display: flex; flex-direction: column; overflow: hidden; }
.rcb-panel[hidden] { display: none; }
.rcb-head { background: var(--rcb-slate); color: #FFFFFF; padding: 20px 20px 18px 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rcb-brand { display: flex; flex-direction: column; gap: 3px; }
.rcb-brand b { font-weight: 300; font-size: 19px; letter-spacing: .08em; }
.rcb-brand span { font-size: 10px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: #CFE3E6; }
.rcb-head p { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: #D8E2E3; }
.rcb-close { background: rgba(255,255,255,.12); border: 0; color: #FFFFFF; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 20px; line-height: 1; flex: 0 0 auto; }
.rcb-close:hover { background: rgba(255,255,255,.22); }
.rcb-log { flex: 1; overflow-y: auto; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 12px; background: #F7FAFA; }
.rcb-msg { max-width: 88%; padding: 12px 15px; border-radius: 18px; font-size: 14.5px; line-height: 1.6; }
.rcb-bot { background: #FFFFFF; border: 1px solid var(--rcb-line); border-bottom-left-radius: 6px; align-self: flex-start; }
.rcb-user { background: var(--rcb-slate); color: #FFFFFF; border-bottom-right-radius: 6px; align-self: flex-end; }
.rcb-msg p { margin: 0 0 8px; } .rcb-msg p:last-child { margin-bottom: 0; }
.rcb-msg ul { margin: 6px 0 8px; padding-left: 18px; } .rcb-msg li { margin: 2px 0; }
.rcb-msg a { color: var(--rcb-slate); text-decoration: underline; text-decoration-color: var(--rcb-sea); text-underline-offset: 3px; }
.rcb-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rcb-actions a { display: inline-block; text-decoration: none !important; border-radius: 999px; padding: 8px 14px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.rcb-actions .rcb-primary { background: var(--rcb-slate); color: #FFFFFF !important; }
.rcb-actions .rcb-primary:hover { background: var(--rcb-sea); color: var(--rcb-ink) !important; }
.rcb-actions .rcb-ghost { background: var(--rcb-soft); color: var(--rcb-slate) !important; }
.rcb-chips { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 8px; padding: 6px 16px 12px; background: #F7FAFA; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.rcb-chip { flex: 0 0 auto; white-space: nowrap; }
.rcb-chip { border: 1px solid #CFE3E6; background: #FFFFFF; color: var(--rcb-slate); border-radius: 999px; padding: 8px 13px; font-size: 13px; cursor: pointer; transition: background .2s, border-color .2s; }
.rcb-chip:hover { background: var(--rcb-soft); border-color: var(--rcb-sea); }
.rcb-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--rcb-line); background: #FFFFFF; }
.rcb-form input { flex: 1; min-width: 0; border: 1px solid #D7E6E8; border-radius: 999px; padding: 12px 16px; font-size: 15px; font-family: inherit; background: #F7FAFA; color: var(--rcb-ink); }
.rcb-form input:focus { border-color: var(--rcb-sea); outline: none; }
.rcb-send { border: 0; background: var(--rcb-sea); color: var(--rcb-ink); border-radius: 999px; padding: 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.rcb-send:hover { background: #5B97A0; }
.rcb-note { font-size: 11.5px; line-height: 1.5; color: #6B7678; padding: 0 16px 12px; background: #FFFFFF; }
.rcb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 600px) {
  .rcb { right: 14px; bottom: 14px; }
  .rcb-launch { padding: 12px 18px 12px 14px; font-size: 14px; }
  .rcb-panel { position: fixed; left: 10px; right: 10px; bottom: 76px; width: auto; max-width: none; height: auto; top: 70px; max-height: none; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) { .rcb * { transition: none !important; } }
