/*! ChatKit v2.4 — standard dashboard chat styles. Colours scoped to .chatkit; set --ck-accent per dashboard. */
.chatkit { --ck-accent: #1e3a8a; --ck-bg: #f4f6f9; --ck-panel: #fff; --ck-soft: #f3f6fb; --ck-line: #e2e7ee; --ck-text: #1c2733; --ck-muted: #6b7686;
  --ck-ok: #e6f8ec; --ck-warn: #fdf1e0; --ck-bad: #fceceb; --ck-badtext: #c0352f; --ck-sb: env(safe-area-inset-bottom, 0px); --ck-st: env(safe-area-inset-top, 0px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ck-text); }
.chatkit *, .chatkit *::before, .chatkit *::after { box-sizing: border-box; }
.chatkit [hidden] { display: none !important; }
.ck-hide { display: none !important; }
body.ck-open { overflow: hidden; }
.ck-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--ck-accent);
  background: var(--ck-accent); color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; text-decoration: none; text-align: center; white-space: normal; }
.ck-btn.ck-ghost { background: var(--ck-panel); color: var(--ck-accent); }
.ck-btn.ck-small { min-height: 34px; padding: 6px 11px; font-size: 13px; }
.ck-btn.ck-icon { min-width: 40px; padding: 8px 10px; font-size: 18px; }
.ck-btn.ck-stop { background: var(--ck-badtext); border-color: var(--ck-badtext); }
.ck-btn:disabled { opacity: .55; cursor: default; }
.ck-fab { position: fixed; right: 16px; bottom: calc(20px + var(--ck-sb)); z-index: 900; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 96px;
  padding: 12px 18px; border: none; border-radius: 999px; background: var(--ck-accent); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1; box-shadow: 0 6px 20px rgba(30,58,138,.35); cursor: pointer; }
.ck-short { display: none; }
@media (max-width: 720px) { body:has(.bottom-nav) .ck-fab, body:has(.bnav) .ck-fab { bottom: calc(80px + var(--ck-sb)); } }
.ck-panel { position: fixed; z-index: 950; right: 16px; bottom: 16px; width: min(480px, calc(100vw - 32px)); height: min(760px, calc(100vh - 32px)); display: flex; flex-direction: column;
  background: var(--ck-bg); border: 1px solid var(--ck-line); border-radius: 16px; box-shadow: 0 12px 40px rgba(20,30,50,.25); overflow: hidden; animation: ckin .18s ease-out; }
@keyframes ckin { from { opacity: 0; transform: translateY(12px); } }
.ck-head { display: flex; align-items: center; gap: 8px; padding: calc(8px + var(--ck-st)) 10px 8px; background: var(--ck-panel); border-bottom: 1px solid var(--ck-line); }
.ck-title { flex: 1; min-width: 0; font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.ck-title small { display: block; font-weight: 400; font-size: 12px; color: var(--ck-muted); margin-top: 2px; }
.ck-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ck-msg { display: flex; flex-direction: column; max-width: 100%; }
.ck-msg.me { align-items: flex-end; }
.ck-bubble { padding: 10px 12px; border-radius: 14px; background: var(--ck-panel); border: 1px solid var(--ck-line); max-width: 100%; overflow-wrap: anywhere; font-size: var(--ck-size, 15px); line-height: 1.45; }
.ck-msg.me .ck-bubble { background: var(--ck-accent); border-color: var(--ck-accent); color: #fff; max-width: 85%; white-space: pre-wrap; }
.ck-msg time { font-size: 11px; color: var(--ck-muted); margin-top: 3px; }
.ck-bubble p { margin: 0 0 8px; } .ck-bubble > p:last-child { margin-bottom: 0; }
.ck-bubble ul, .ck-bubble ol { margin: 0 0 8px; padding-left: 20px; } .ck-bubble li + li { margin-top: 3px; }
.ck-bubble h1, .ck-bubble h2, .ck-bubble h3, .ck-bubble h4 { font-size: 15px; margin: 10px 0 6px; }
.ck-bubble code { background: var(--ck-soft); padding: 1px 5px; border-radius: 5px; font-size: 13px; }
.ck-bubble a.ck-btn { margin: 2px 6px 4px 0; color: #fff; }
.ck-stlist { list-style: none; padding-left: 0 !important; display: flex; flex-direction: column; gap: 6px; }
.ck-st { padding: 7px 10px; border-radius: 10px; background: var(--ck-soft); margin: 0 !important; }
.ck-st.ok { background: var(--ck-ok); } .ck-st.warn { background: var(--ck-warn); } .ck-st.bad { background: var(--ck-bad); }
.ck-table { margin: 0 0 8px; } .ck-table table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ck-table th, .ck-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--ck-line); vertical-align: top; overflow-wrap: anywhere; }
.ck-table th { background: var(--ck-soft); font-weight: 600; }
.ck-code { margin: 0 0 8px; } .ck-code pre { margin: 0 0 6px; padding: 8px 10px; background: #0f172a; color: #e2e8f0; border-radius: 8px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12.5px; }
.ck-code pre code { background: none; padding: 0; color: inherit; }
.ck-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0; }
.ck-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: var(--ck-muted); }
.ck-how { margin-top: 8px; border-top: 1px dashed var(--ck-line); padding-top: 6px; font-size: 12.5px; color: var(--ck-muted); }
.ck-how summary { cursor: pointer; padding: 4px 0; }
.ck-step { display: flex; gap: 6px; padding: 2px 0; font-size: 12.5px; color: var(--ck-muted); line-height: 1.4; }
.ck-step code { font-size: 11.5px; } .ck-step.live { color: var(--ck-text); font-weight: 600; }
.ck-think { display: flex; flex-direction: column; gap: 2px; }
.ck-dots { display: inline-flex; gap: 4px; padding: 4px 0; } .ck-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ck-muted); animation: ckdot 1.2s infinite ease-in-out; }
.ck-dots i:nth-child(2) { animation-delay: .15s; } .ck-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ckdot { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ck-caret { display: inline-block; width: 7px; height: 15px; margin-left: 2px; vertical-align: -2px; background: var(--ck-accent); border-radius: 1px; animation: ckblink 1s steps(2) infinite; }
@keyframes ckblink { 50% { opacity: 0; } }
.ck-hello p { color: var(--ck-muted); margin: 4px 0 10px; line-height: 1.5; background: var(--ck-soft); border-radius: 12px; padding: 10px 12px; }
.ck-err { color: var(--ck-badtext); margin: 0 0 6px; }
.ck-jump { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(76px + var(--ck-sb)); box-shadow: 0 4px 14px rgba(20,30,50,.2); }
.ck-form { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px calc(10px + var(--ck-sb)); background: var(--ck-panel); border-top: 1px solid var(--ck-line); }
.ck-form textarea { flex: 1; min-width: 0; resize: none; min-height: 42px; max-height: 140px; padding: 10px 12px; border: 1px solid var(--ck-line); border-radius: 10px;
  font-family: inherit; font-size: 15px; line-height: 1.35; color: var(--ck-text); background: #fff; }
.ck-send { min-width: 72px; }
@media (max-width: 720px) {
  .ck-long { display: none; } .ck-short { display: inline; }
  .ck-fab { right: 12px; padding: 10px 14px; font-size: 14px; }
  .ck-panel { inset: 0; width: 100%; height: 100%; border-radius: 0; border: none; }
  .ck-table thead { display: none; }
  .ck-table tr { display: block; border: 1px solid var(--ck-line); border-radius: 10px; padding: 4px 8px; margin-bottom: 6px; background: var(--ck-panel); }
  .ck-table td { display: grid; grid-template-columns: minmax(70px, 38%) minmax(0, 1fr); gap: 8px; border: none; padding: 4px 0; }
  .ck-table td::before { content: attr(data-col); color: var(--ck-muted); font-size: 12.5px; }
}
/* charts (v1.1) */
.ck-chart { margin: 4px 0 10px; padding: 10px; border: 1px solid var(--ck-line); border-radius: 12px; background: #fcfcfb; }
.ck-chart figcaption { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.ck-pending { color: var(--ck-muted); font-size: 13px; }
.ck-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--ck-muted); margin-bottom: 6px; }
.ck-legend i, .ck-tip i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.ck-bars { display: flex; flex-direction: column; gap: 8px; }
.ck-barlabel { font-size: 13px; color: var(--ck-text); margin-bottom: 2px; overflow-wrap: anywhere; }
.ck-bartrack { display: flex; align-items: center; gap: 6px; min-height: 18px; }
.ck-bartrack + .ck-bartrack { margin-top: 2px; }
.ck-bar { display: block; height: 14px; min-width: 2px; border-radius: 0 4px 4px 0; flex: 0 0 auto; }
.ck-bartrack b { font-size: 12.5px; font-weight: 600; color: var(--ck-text); white-space: nowrap; }
.ck-plot { position: relative; touch-action: pan-y; }
.ck-plot svg { width: 100%; height: auto; display: block; overflow: visible; }
.ck-grid { stroke: #e9ecf0; stroke-width: 1; }
.ck-axis { font-size: 9.5px; fill: var(--ck-muted); }
.ck-cross { stroke: #9aa3af; stroke-width: 1; stroke-dasharray: 3 3; }
.ck-tip { position: absolute; top: 0; min-width: 120px; max-width: 200px; padding: 6px 8px; background: #fff; border: 1px solid var(--ck-line); border-radius: 8px;
  box-shadow: 0 4px 14px rgba(20,30,50,.15); font-size: 12px; display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.ck-ctable { margin-top: 8px; }
/* v2.0: menu, search, voice, actions, follow-ups, photos, dark mode */
.ck-menu { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 10px; background: var(--ck-panel); border-bottom: 1px solid var(--ck-line); }
.ck-searchbar { display: flex; gap: 8px; padding: 8px 10px; background: var(--ck-panel); border-bottom: 1px solid var(--ck-line); }
.ck-searchbar input { flex: 1; min-width: 0; min-height: 38px; padding: 8px 10px; border: 1px solid var(--ck-line); border-radius: 10px; font-family: inherit; font-size: 15px; background: var(--ck-panel); color: var(--ck-text); }
.ck-offline { padding: 8px 12px; background: var(--ck-warn); font-size: 13.5px; }
.ck-voicebar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--ck-soft); border-top: 1px solid var(--ck-line); }
.ck-rec { color: var(--ck-badtext); font-weight: 600; font-size: 14px; flex: 1; animation: ckblink 1.2s steps(2) infinite; }
.ck-voicebar select { min-height: 34px; border: 1px solid var(--ck-line); border-radius: 8px; padding: 4px 8px; font-family: inherit; font-size: 14px; background: var(--ck-panel); color: var(--ck-text); }
.ck-btn.ck-on { background: var(--ck-accent); color: #fff; }
.ck-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.ck-actions .ck-btn { min-height: 32px; padding: 4px 9px; font-size: 12.5px; }
.ck-secs { font-size: 12px; color: var(--ck-muted); }
.ck-next { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 10px; }
.ck-next .ck-btn { text-align: left; justify-content: flex-start; }
.ck-next::before { content: 'Ask next'; font-size: 12px; color: var(--ck-muted); }
.ck-day { align-self: center; font-size: 12px; color: var(--ck-muted); background: var(--ck-soft); border-radius: 99px; padding: 3px 10px; }
.ck-link { border: 1px solid rgba(255,255,255,.0); background: var(--ck-panel); color: var(--ck-accent); border-color: var(--ck-line); border-radius: 8px; padding: 2px 8px; font-family: inherit; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.ck-thumb { display: block; max-width: 180px; max-height: 180px; border-radius: 10px; margin-bottom: 6px; }
.ck-attached { display: flex; gap: 8px; padding: 8px 12px 0; background: var(--ck-panel); }
.ck-attached span { position: relative; } .ck-attached img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.ck-attached .ck-btn { position: absolute; top: -8px; right: -8px; min-height: 26px; padding: 2px 7px; border-radius: 99px; }
.ck-fab.ck-unread::after { content: ''; position: absolute; top: 4px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: #e34948; border: 2px solid #fff; }

  .chatkit[data-theme="dark"] { --ck-bg: #121417; --ck-panel: #1c1f24; --ck-soft: #252a31; --ck-line: #323842; --ck-text: #eceef1; --ck-muted: #a3abb7;
    --ck-ok: #173823; --ck-warn: #3d2f12; --ck-bad: #43201f; --ck-badtext: #ff8a85; }
  .chatkit[data-theme="dark"] .ck-chart { background: var(--ck-panel); }
  .chatkit[data-theme="dark"] .ck-grid { stroke: #2d333b; }
  .chatkit[data-theme="dark"] .ck-tip { background: var(--ck-panel); }
  .chatkit[data-theme="dark"] .ck-btn.ck-ghost { color: #9db8ff; border-color: #4b6bd1; }
  .chatkit[data-theme="dark"] .ck-form textarea { background: var(--ck-soft); }
  .chatkit[data-theme="dark"] .ck-code pre { background: #0b0f17; }


/* ===================== v2.1 "Executive" theme (owner 24 Oct 2026) =====================
   Strong, clean, authoritative: navy ink, white paper on soft grey, a touch of muted gold.
   Answers read like a briefing note (avatar + name, no bubble); questions are quiet tinted cards. */
.chatkit { --ck-accent: #0b1f3a; --ck-ink: #0b1f3a; --ck-gold: #b08a3e; --ck-bg: #f4f5f7; --ck-panel: #ffffff; --ck-soft: #f1f3f6; --ck-line: #e3e6eb;
  --ck-text: #111827; --ck-muted: #6b7280; --ck-me: #e9eef7; --ck-shadow: 0 1px 2px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.08);
  -webkit-font-smoothing: antialiased; }
.ck-panel { background: var(--ck-bg); border-color: var(--ck-line); box-shadow: 0 24px 64px rgba(11,31,58,.22); }
/* top bar */
.ck-head { gap: 10px; padding: calc(10px + var(--ck-st)) 12px 10px; box-shadow: 0 1px 0 var(--ck-line); border-bottom: none; }
.ck-title { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; color: var(--ck-ink); line-height: 1.2; }
.ck-title small { font-size: 12px; font-weight: 500; color: var(--ck-muted); letter-spacing: 0; }
.ck-ava { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%;
  background: var(--ck-ink); color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; box-shadow: 0 0 0 2px var(--ck-panel), 0 0 0 3px var(--ck-gold); }
.ck-ava-lg { width: 38px; height: 38px; font-size: 16px; }
.ck-live { position: absolute; right: -1px; bottom: -1px; width: 11px; height: 11px; border-radius: 50%; background: #16a34a; border: 2px solid var(--ck-panel); }
.ck-head .ck-btn.ck-ghost { border-color: var(--ck-line); color: var(--ck-ink); background: var(--ck-panel); }
.ck-head .ck-btn.ck-icon { font-size: 17px; }
/* buttons: solid navy, quiet ghosts */
.ck-btn { border-radius: 10px; letter-spacing: .005em; transition: background .15s, border-color .15s, box-shadow .15s; }
.ck-btn:not(.ck-ghost):not(.ck-stop) { background: var(--ck-ink); border-color: var(--ck-ink); }
.ck-btn:not(.ck-ghost):not(.ck-stop):hover { background: #13305a; }
.ck-btn.ck-ghost { background: var(--ck-panel); border-color: var(--ck-line); color: var(--ck-ink); }
.ck-btn.ck-ghost:hover { border-color: #c9ced6; background: #fafbfc; }
.ck-btn.ck-on { background: var(--ck-ink); border-color: var(--ck-ink); color: #fff; }
/* floating button */
.ck-fab { background: var(--ck-ink); padding: 8px 18px 8px 8px; gap: 10px; box-shadow: 0 10px 28px rgba(11,31,58,.35); }
.ck-ava-fab { width: 32px; height: 32px; font-size: 14px; background: #fff; color: var(--ck-ink); box-shadow: 0 0 0 2px var(--ck-gold); }
/* conversation */
.ck-log { padding: 18px 14px 12px; gap: 14px; }
.ck-msg.me .ck-bubble { background: var(--ck-me); border: 1px solid #dbe3f0; color: var(--ck-ink); border-radius: 16px 16px 4px 16px; padding: 9px 13px; font-weight: 500; }
.ck-msg.me time { color: #9aa1ab; }
.ck-msg.bot { padding: 0 2px; }
.ck-who { display: flex; align-items: center; gap: 8px; margin: 0 0 6px 2px; }
.ck-who b { font-size: 12.5px; font-weight: 700; color: var(--ck-ink); letter-spacing: .04em; text-transform: uppercase; }
.ck-msg.bot .ck-bubble { background: var(--ck-panel); border: 1px solid var(--ck-line); border-radius: 4px 14px 14px 14px; padding: 14px 16px; box-shadow: var(--ck-shadow); line-height: 1.6; }
.ck-bubble strong { color: var(--ck-ink); font-weight: 650; }
.ck-bubble h1, .ck-bubble h2, .ck-bubble h3, .ck-bubble h4 { color: var(--ck-ink); letter-spacing: -.005em; }
.ck-bubble code { background: #f3f4f6; border: 1px solid var(--ck-line); }
.ck-code pre { background: #0b1220; border-radius: 10px; }
.ck-st { border-left: 3px solid transparent; border-radius: 8px; background: #f8f9fb; }
.ck-st.ok { background: #f0faf3; border-left-color: #16a34a; } .ck-st.warn { background: #fff8eb; border-left-color: #d97706; } .ck-st.bad { background: #fdf2f2; border-left-color: #dc2626; } .ck-st.off { border-left-color: #9ca3af; }
.ck-table th { background: #f6f7f9; color: var(--ck-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.ck-chart { background: #fff; border-color: var(--ck-line); border-radius: 12px; }
.ck-chart figcaption { color: var(--ck-ink); }
/* actions + follow-ups: present but quiet */
.ck-actions { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eef0f3; }
.ck-actions .ck-btn { color: #374151; }
.ck-next::before { color: var(--ck-gold); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.ck-next .ck-btn { border-radius: 999px; padding: 6px 14px; }
.ck-how { border-top: 1px solid #eef0f3; }
.ck-day { background: transparent; color: #9aa1ab; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 11px; display: flex; align-items: center; gap: 10px; align-self: stretch; }
.ck-day::before, .ck-day::after { content: ''; flex: 1; height: 1px; background: var(--ck-line); }
.ck-hello p { background: var(--ck-panel); border: 1px solid var(--ck-line); box-shadow: var(--ck-shadow); color: #374151; border-radius: 14px; padding: 14px 16px; }
/* typing area: a floating card */
.ck-form { margin: 0 10px calc(10px + var(--ck-sb)); padding: 6px 6px 6px 8px; border: 1px solid var(--ck-line); border-radius: 16px; background: var(--ck-panel); box-shadow: var(--ck-shadow); align-items: flex-end; }
.ck-form textarea { border: none; background: transparent; padding: 10px 6px; outline: none; min-height: 40px; }
.ck-form .ck-icon { border: none; background: transparent; min-width: 40px; }
.ck-send { border-radius: 12px; min-width: 76px; }
.ck-jump { bottom: calc(86px + var(--ck-sb)); }
.ck-dots i { background: var(--ck-gold); }
.ck-caret { background: var(--ck-gold); }
@media (max-width: 720px) { .ck-panel { border: none; } }

  .chatkit[data-theme="dark"] { --ck-ink: #e8ecf3; --ck-accent: #e8ecf3; --ck-gold: #c9a45a; --ck-bg: #0d1117; --ck-panel: #151a22; --ck-soft: #1b212b; --ck-line: #262d38;
    --ck-text: #e5e7eb; --ck-muted: #9aa3af; --ck-me: #1c2a42; --ck-shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); }
  .chatkit[data-theme="dark"] .ck-ava { background: #2a3b5c; color: #fff; }
  .chatkit[data-theme="dark"] .ck-ava-fab { background: #fff; color: #0b1f3a; }
  .chatkit[data-theme="dark"] .ck-fab { background: #1c2a42; }
  .chatkit[data-theme="dark"] .ck-btn:not(.ck-ghost):not(.ck-stop) { background: #e8ecf3; border-color: #e8ecf3; color: #0b1f3a; }
  .chatkit[data-theme="dark"] .ck-btn.ck-ghost { color: #e5e7eb; border-color: #2f3744; background: #151a22; }
  .chatkit[data-theme="dark"] .ck-actions .ck-btn { color: #cbd2dc; }
  .chatkit[data-theme="dark"] .ck-msg.me .ck-bubble { border-color: #2a3c5c; color: #e8ecf3; }
  .chatkit[data-theme="dark"] .ck-st { background: #1b212b; } .chatkit[data-theme="dark"] .ck-st.ok { background: #13261a; } .chatkit[data-theme="dark"] .ck-st.warn { background: #2b2210; } .chatkit[data-theme="dark"] .ck-st.bad { background: #2c1617; }
  .chatkit[data-theme="dark"] .ck-table th { background: #1b212b; } .chatkit[data-theme="dark"] .ck-chart { background: #151a22; }
  .chatkit[data-theme="dark"] .ck-bubble code { background: #1b212b; border-color: #2a313c; }
  .chatkit[data-theme="dark"] .ck-actions, .chatkit[data-theme="dark"] .ck-how { border-top-color: #222a35; }
  .chatkit[data-theme="dark"] .ck-btn.ck-on { background: #e8ecf3; color: #0b1f3a; }

/* v2.2: the bot's own icon as profile picture */
.ck-ava.ck-img { background: var(--ck-panel); overflow: visible; }
.ck-ava.ck-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.ck-ava-fab.ck-img { width: 36px; height: 36px; }

/* ===================== v2.3 "Calm" theme: the DEFAULT (owner 24 Oct 2026) =====================
   Neither light nor dark: soft sage-grey page, gentle off-white cards (no white glare), ink-blue text, muted gold.
   Light and Dark remain choices (⋯ More → Theme), kept on the device. */
.chatkit[data-theme="calm"] { --ck-ink: #1f3550; --ck-accent: #1f3550; --ck-gold: #a07f3a; --ck-bg: #dfe3df; --ck-panel: #eef0ec; --ck-soft: #e5e8e4;
  --ck-line: #cdd4ce; --ck-text: #1e2a33; --ck-muted: #5b6870; --ck-me: #d5dee7; --ck-ok: #d9e9dc; --ck-warn: #efe4cc; --ck-bad: #eedad8; --ck-badtext: #a8322c;
  --ck-shadow: 0 1px 2px rgba(30,42,51,.05), 0 6px 18px rgba(30,42,51,.07); }
.chatkit[data-theme="calm"] .ck-panel { box-shadow: 0 24px 64px rgba(31,53,80,.20); }
.chatkit[data-theme="calm"] .ck-msg.me .ck-bubble { border-color: #c6d2de; }
.chatkit[data-theme="calm"] .ck-st { background: #e7eae6; } .chatkit[data-theme="calm"] .ck-st.ok { background: #dcebdf; }
.chatkit[data-theme="calm"] .ck-st.warn { background: #f0e6d0; } .chatkit[data-theme="calm"] .ck-st.bad { background: #f0dddb; }
.chatkit[data-theme="calm"] .ck-table th { background: #e5e8e4; }
.chatkit[data-theme="calm"] .ck-chart, .chatkit[data-theme="calm"] .ck-tip { background: var(--ck-panel); }
.chatkit[data-theme="calm"] .ck-grid { stroke: #d5dad5; }
.chatkit[data-theme="calm"] .ck-bubble code { background: #e4e7e3; border-color: #d3d9d3; }
.chatkit[data-theme="calm"] .ck-code pre { background: #26323c; color: #e3e8ec; }
/* v2.4: text inside code blocks must never take the inline-code look (Calm made it invisible); this rule wins in every theme */
.chatkit .ck-bubble .ck-code pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.chatkit[data-theme="calm"] .ck-btn.ck-ghost { background: #f2f4f0; border-color: #cbd2cc; }
.chatkit[data-theme="calm"] .ck-btn.ck-ghost:hover { background: #f6f7f4; border-color: #b9c1ba; }
.chatkit[data-theme="calm"] .ck-actions, .chatkit[data-theme="calm"] .ck-how { border-top-color: #dde1dc; }
.chatkit[data-theme="calm"] .ck-form textarea { color: var(--ck-text); }
.chatkit[data-theme="calm"] .ck-form textarea::placeholder, .chatkit[data-theme="calm"] .ck-searchbar input::placeholder { color: #7a868d; }
.chatkit[data-theme="calm"] .ck-day { color: #7a868d; }
.chatkit[data-theme="calm"] .ck-form .ck-icon { background: transparent; border: none; }
