/* ==========================================================
   Krallerhof · Chatfenster (Lavendel)
   Legt sich nur ueber das Callana-Fenster (chatbot-innolab-widget.js).
   Callana selbst bleibt unveraendert.
   Name ueber den Antworten: --nh-name (Standard unten).
   ========================================================== */

.ilab-root {
    --nh-name: "Krallerhof Concierge";
    --nh-dark: #24223f;
    --nh-lime: #8d87ec;
    --nh-paper: #e9e8f8;
    --nh-ink: #2b293a;
    --nh-muted: #575475;
    --nh-line: #c4c2dc;
    font-family: Manrope, "Segoe UI", system-ui, sans-serif;
}

/* ---------- Fenster ---------- */
.ilab-root .ilab-panel { width: 392px; height: 620px; background: var(--nh-paper); border-radius: 4px; box-shadow: 0 22px 54px rgba(27,25,40,.3); margin-bottom: 14px; }

/* ---------- Kopf ---------- */
.ilab-root .ilab-head { background: var(--nh-dark) !important; color: #e3e0f7; padding: 18px 14px 18px 20px; gap: 12px; }
.ilab-root .ilab-head-t { display: flex; flex-direction: column; gap: 5px; min-width: 0; font-family: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif; font-size: 26px; font-weight: 300; letter-spacing: .04em; line-height: 1.05; color: #e3e0f7; }
.ilab-root .ilab-head-t::before { content: "Krallerhof"; font-family: Manrope, "Segoe UI", system-ui, sans-serif; font-size: 10px; letter-spacing: 2.4px; text-transform: uppercase; color: #a39ddb; line-height: 1.2; }
.ilab-root .ilab-head-t::after { content: "Online – antwortet sofort"; font-family: Manrope, "Segoe UI", system-ui, sans-serif; font-size: 12px; line-height: 1.2; color: #b9b5d8; padding-left: 13px; background: radial-gradient(circle, #7466ee 3.5px, transparent 4px) left center / 8px 8px no-repeat; }
.ilab-root .ilab-head > div:last-child { gap: 4px; align-items: center; }
.ilab-root .ilab-ic { width: 40px; height: 40px; color: #e3e0f7; opacity: 1; }
.ilab-root .ilab-ic:hover { background: rgba(255, 255, 255, .1); }
.ilab-root .ilab-ic svg { width: 18px; height: 18px; }
.ilab-root .ilab-head > div:last-child > .ilab-ic:first-child { border: 1px solid #49456a; color: var(--nh-lime); }
.ilab-root .ilab-ic.on, .ilab-root .ilab-head > div:last-child > .ilab-ic.on:first-child { background: var(--nh-lime); color: var(--nh-dark); border-color: var(--nh-lime); }
/* r354: Schließen-X wie Angebote/Preisliste – eckig, gefüllte Fläche, beim Darüberfahren heller */
.ilab-root .ilab-head .ilab-ic { border-radius: 0 !important; }
.ilab-root .ilab-head > div:last-child > .ilab-ic:last-child { width: 42px; height: 42px; background: rgba(255, 255, 255, .12); border-color: transparent; color: #fff; }
.ilab-root .ilab-head > div:last-child > .ilab-ic:last-child:hover { background: rgba(255, 255, 255, .22); }

/* ---------- Verlauf ---------- */
.ilab-root .ilab-msgs { background: var(--nh-paper); padding: 22px 18px; gap: 16px; }
.ilab-root .ilab-row { gap: 10px; align-items: flex-start; }

/* Antwort: Signet links, Name darueber */
.ilab-root .ilab-row:not(.u)::before { content: ""; flex: 0 0 32px; width: 32px; height: 32px; margin-top: 18px; border-radius: 7px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='14' fill='%238d87ec'/%3E%3Cg transform='translate(8 16)'%3E%3Cpath d='M5.21821 21.1364C3.80777 24.5809 2.45022 27.8768 0.969262 31.4846C0.969262 29.3021 0.951631 27.3572 0.969262 25.4271C1.03978 19.533 2.06236 13.7279 3.56095 7.9822C3.94882 6.52722 4.95375 5.17617 5.62371 3.76573C6.06447 2.86008 6.39946 1.92473 6.82259 0.915155C8.6738 0.736994 10.666 2.10289 10.525 3.79542C10.3311 5.9482 9.8903 8.07128 9.55532 10.2092C10.2605 9.74897 11.0363 9.21448 11.8473 8.72454C16.9249 5.60673 22.4785 3.2164 28.0674 0.855769C30.377 -0.124116 31.9284 1.12301 33.7091 1.65749C34.6259 1.93958 34.2733 3.02339 33.092 3.52818C32.1576 3.92904 31.1527 4.22598 30.183 4.5823C22.8311 7.26956 16.0257 10.6398 10.3839 15.5095C10.3311 15.554 10.2605 15.6134 10.2076 15.658C7.17519 18.271 7.56307 20.3644 11.6357 21.5224C14.4919 22.339 17.5243 22.8438 20.5215 23.0665C28.4023 23.6158 36.3008 23.9424 44.1816 24.3433C45.2395 24.4027 46.2973 24.373 47.3551 24.4175C47.9193 24.4472 48.4658 24.5363 49.0124 24.8184C46.0328 24.9669 43.0709 25.1153 40.0914 25.249C36.4595 25.4123 32.8276 25.6201 29.1957 25.7092C23.3953 25.8725 17.6125 25.5756 11.9178 24.566C8.95588 24.0464 7.03415 23.0368 5.21821 21.1364Z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E") center / 32px 32px no-repeat;   /* hc-jr3: Krallerhof-Signet statt fremdem Logo */ }
.ilab-root .ilab-b { font-size: 14px; line-height: 1.55; padding: 12px 14px; max-width: 80%; }
.ilab-root .ilab-b.a { position: relative; margin-top: 18px; background: #fff; color: var(--nh-ink); border: 0; border-radius: 2px 14px 14px 14px; box-shadow: 0 1px 2px rgba(27,25,40,.08); }
.ilab-root .ilab-b.a::before { content: var(--nh-name); position: absolute; left: 0; top: -19px; white-space: nowrap; font-size: 11px; font-weight: 700; line-height: 1.4; color: var(--nh-ink); }

/* Gast */
.ilab-root .ilab-b.u { background: var(--nh-lime) !important; color: var(--nh-ink); border-radius: 4px 2px 14px 14px; }

/* Tippt gerade */
.ilab-root .ilab-dots { padding: 15px 16px; }
.ilab-root .ilab-dots i { background: #625aac; }

/* ---------- Eingabe ---------- */
.ilab-root .ilab-in-row { background: var(--nh-paper); border-top: 1px solid #d4d2e7; padding: 12px 14px 14px; gap: 8px; }
.ilab-root .ilab-in { min-height: 46px; box-sizing: border-box; border: 1px solid var(--nh-line); border-radius: 0; padding: 12px 14px; font-size: 14px; color: var(--nh-ink); background: #fff; }
.ilab-root .ilab-in:focus { border-color: #625aac; }
.ilab-root .ilab-btn { width: 46px; height: 46px; border-radius: 0; }   /* r356: Eingabe + Knöpfe eckig wie das übrige Krallerhof-Design */
.ilab-root .ilab-btn svg { width: 18px; height: 18px; }
.ilab-root .ilab-btn.mic { background: #fff; color: #3e3a5c; border: 1px solid var(--nh-line); }
.ilab-root .ilab-btn.mic.rec { background: #b5462f; color: #fff; border-color: #b5462f; }
.ilab-root .ilab-in-row .ilab-btn:not(.mic) { background: var(--nh-dark) !important; color: var(--nh-lime); }

/* ---------- Knopf & Teaser ---------- */
.ilab-root .ilab-launch { background: var(--nh-dark) !important; color: var(--nh-lime); box-shadow: 0 8px 22px rgba(27,25,40,.35); }
.ilab-root .ilab-launch svg { width: 24px; height: 24px; }
.ilab-root .ilab-teaser { font-size: 13px; color: var(--nh-ink); background: #fff; border-radius: 12px; border: 1px solid #d4d2e7; padding: 10px 28px 10px 12px; box-shadow: 0 10px 24px rgba(27,25,40,.18); }

@media (max-width: 600px) {
    .ilab-root .ilab-panel { width: 92vw; height: 74vh; }
}

/* r379: Zimmer-/Buchen-Karten im Chat wie die Antworten – Name „Krallerhof Concierge“ darüber, Signet auf gleicher Höhe, eckig */
.ilab-root .ilab-cards { position: relative; margin-top: 18px; }
.ilab-root .ilab-cards::before { content: var(--nh-name); position: absolute; left: 0; top: -19px; white-space: nowrap; font-size: 11px; font-weight: 700; line-height: 1.4; color: var(--nh-ink); }
.ilab-root .ilab-card { border-radius: 0; border-color: #d4d2e7; }
.ilab-root .ilab-book { border-radius: 0; }

/* r380: Gast-Nachricht und „Jetzt buchen“ in Weiß */
.ilab-root .ilab-b.u { color: #fff; }
.ilab-root a.ilab-book, .ilab-root a.ilab-book:hover { color: #fff !important; }

/* r383: Zimmerkarten im Chat – Empfehlung groß + kompakte Liste darunter (Klassen setzt die Buchungsseite; ohne sie bleibt alles wie bisher) */
.ilab-root .kh-fav { gap: 0; }
.ilab-root .kh-fav .ilab-card.kh-top { flex-direction: column; gap: 0; border: 0; position: relative; margin-bottom: 4px; }
.ilab-root .kh-top img { width: 100%; height: 120px; min-height: 0; flex: 0 0 auto; }
.ilab-root .kh-top .kh-tag { position: absolute; left: 0; top: 0; z-index: 1; background: #8d87ec; color: #fff; padding: 4px 9px; font-size: 10px; letter-spacing: 1.6px; font-weight: 700; }
.ilab-root .kh-top .ilab-card-t { padding: 12px 14px 14px; gap: 6px; }
.ilab-root .kh-top .ilab-card-t b { font-size: 16px; color: #24223f; }
.ilab-root .kh-fav .ilab-card-t > span { font-size: 12px; color: #575475; }
.ilab-root .kh-top .kh-pr { display: flex; align-items: baseline; gap: 6px; }
.ilab-root .kh-top .kh-pr b { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 26px; font-weight: 500; }
.ilab-root .kh-pr small { font-size: 12px; color: #575475; }
.ilab-root .kh-top .ilab-card-t em { display: block; text-align: center; background: #24223f; color: #fff !important; padding: 12px; font-size: 14px; margin-top: 6px; }
.ilab-root .kh-h { font-size: 11px; font-weight: 700; letter-spacing: 1.4px; color: #575475; margin: 10px 0 4px; }
.ilab-root .kh-fav .ilab-card.kh-alt { align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #d4d2e7; border-bottom-color: #e9e8f8; }
.ilab-root .kh-alt img { width: 52px; height: 52px; min-height: 0; flex: 0 0 52px; }
.ilab-root .kh-alt .ilab-card-t { padding: 0; flex: 1; }
.ilab-root .kh-alt .ilab-card-t b { color: #24223f; }
.ilab-root .kh-alt .ilab-card-t em { display: none; }
.ilab-root .kh-alt .kh-pr { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.ilab-root .kh-alt .kh-pr b { font-size: 16px; color: #24223f; }
.ilab-root .kh-alt .kh-pr small { font-size: 11px; }
.ilab-root .kh-note { padding: 9px 12px; background: #f4f3fb; font-size: 12px; color: #575475; border: 1px solid #d4d2e7; border-top: 0; }
.ilab-root .kh-note b { color: #24223f; }
.ilab-root .kh-fav .ilab-book { margin-top: 10px; }
