#himel-ai-root {
  --himel-primary: #155eef;
  --himel-app-height: 100vh;
  --himel-voice-level: 0;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999999;
  color: #152033;
  line-height: 1.45;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

#himel-ai-root *,
#himel-ai-root *::before,
#himel-ai-root *::after { box-sizing: border-box; }

#himel-ai-root [hidden] { display: none !important; }
#himel-ai-root button,
#himel-ai-root textarea,
#himel-ai-root input,
#himel-ai-root select { font: inherit; }
#himel-ai-root button { -webkit-tap-highlight-color: transparent; }
#himel-ai-root .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.himel-launcher {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--himel-primary), color-mix(in srgb, var(--himel-primary) 72%, #6f4cff));
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px 12px 12px;
  box-shadow: 0 16px 44px rgba(9, 30, 66, .28);
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.himel-launcher:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(9, 30, 66, .34); }
.himel-launcher:focus-visible { outline: 3px solid color-mix(in srgb, var(--himel-primary) 28%, transparent); outline-offset: 3px; }
.himel-launcher-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #65f5ff, #7b52ff 56%, #19387c);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: inset 0 0 14px rgba(255,255,255,.24);
  font-size: 18px;
}

.himel-chat {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(410px, calc(100vw - 24px));
  height: min(680px, calc(var(--himel-app-height) - 34px));
  min-height: 420px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6ebf3;
  border-radius: 22px;
  box-shadow: 0 26px 84px rgba(9, 30, 66, .3);
  animation: himelIn .22s ease-out;
  isolation: isolate;
}

.himel-header {
  flex: 0 0 76px;
  min-width: 0;
  padding: 13px 14px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--himel-primary) 82%, #092a60), var(--himel-primary));
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}
.himel-avatar {
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border-radius: 15px;
  background: radial-gradient(circle at 28% 25%, #69f6ff, #8458ff 58%, #1e3773);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: inset 0 0 14px rgba(255,255,255,.2);
  font-size: 18px;
  font-weight: 800;
}
.himel-heading { min-width: 0; flex: 1 1 auto; }
.himel-heading strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.25;
}
.himel-heading small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  opacity: .9;
  font-size: 11px;
  white-space: nowrap;
}
.himel-heading small i { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #5cf29b; box-shadow: 0 0 8px rgba(92,242,155,.75); }
.himel-header-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 5px; }
.himel-header-actions button,
.himel-language-wrap {
  border: 0;
  background: rgba(255,255,255,.13);
  color: #fff;
  min-width: 34px;
  height: 34px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 750;
  display: grid;
  place-items: center;
  transition: background .16s ease, transform .16s ease;
}
.himel-header-actions button:hover,
.himel-language-wrap:hover { background: rgba(255,255,255,.22); }
.himel-header-actions button:active { transform: scale(.96); }
.himel-language-wrap { min-width: 48px; overflow: hidden; }
.himel-language {
  width: 100%;
  height: 100%;
  padding: 0 5px;
  border: 0;
  outline: 0;
  appearance: none;
  text-align: center;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.himel-language option { color: #172033; background: #fff; }
.himel-close { font-size: 22px; line-height: 1; }
.himel-call { font-size: 15px; }
.himel-reset { font-size: 18px; }

.himel-body {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8faff, #f4f7fb);
}
.himel-lead-screen,
.himel-conversation { width: 100%; height: 100%; min-height: 0; }
.himel-lead-screen { overflow-y: auto; display: grid; place-items: center; padding: 22px; }
.himel-lead-card {
  width: 100%;
  max-width: 340px;
  background: rgba(255,255,255,.98);
  border: 1px solid #e8edf5;
  border-radius: 20px;
  padding: 23px;
  box-shadow: 0 14px 38px rgba(16,24,40,.08);
  text-align: center;
}
.himel-spark {
  width: 52px;
  height: 52px;
  margin: 0 auto 13px;
  border-radius: 17px;
  background: color-mix(in srgb, var(--himel-primary) 12%, white);
  color: var(--himel-primary);
  display: grid;
  place-items: center;
  font-size: 24px;
}
.himel-lead-card h2 { margin: 0 0 7px; color: #101828; font-size: 22px; line-height: 1.25; }
.himel-lead-card > p { margin: 0 0 18px; color: #667085; font-size: 13px; }
.himel-lead-form { text-align: left; }
.himel-lead-form label { display: block; margin: 11px 0; color: #344054; font-size: 12px; font-weight: 680; }
.himel-lead-form em { color: #98a2b3; font-weight: 400; }
.himel-lead-form input[type="text"],
.himel-lead-form input[type="email"],
.himel-lead-form input:not([type]) {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid #d0d5dd;
  border-radius: 11px;
  outline: 0;
  background: #fff;
  color: #172033;
  font-size: 14px;
}
.himel-lead-form input:focus { border-color: var(--himel-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--himel-primary) 12%, transparent); }
.himel-consent { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; line-height: 1.35; }
.himel-consent input { flex: 0 0 auto; margin-top: 2px; }
.himel-lead-form button {
  width: 100%;
  height: 45px;
  margin-top: 5px;
  border: 0;
  border-radius: 11px;
  background: var(--himel-primary);
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
}
.himel-lead-form .himel-skip { height: 34px; background: transparent; color: #667085; font-weight: 600; }

.himel-conversation { position: relative; display: flex; min-height: 0; }
.himel-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 17px 14px 20px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #c6cfdf transparent;
}
.himel-messages::-webkit-scrollbar { width: 6px; }
.himel-messages::-webkit-scrollbar-thumb { background: #c6cfdf; border-radius: 999px; }
.himel-msg { display: flex; margin: 9px 0; }
.himel-msg > div {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 15px;
  font-size: 13.5px;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.himel-assistant > div { color: #27324a; background: #fff; border: 1px solid #e7ecf4; border-bottom-left-radius: 5px; box-shadow: 0 4px 12px rgba(16,24,40,.04); }
.himel-user { justify-content: flex-end; }
.himel-user > div { color: #fff; background: linear-gradient(135deg, var(--himel-primary), color-mix(in srgb, var(--himel-primary) 72%, #7b4dff)); border-bottom-right-radius: 5px; }
.himel-quick { display: flex; flex-wrap: wrap; gap: 7px; margin: 11px 0; }
.himel-quick button { border: 1px solid color-mix(in srgb, var(--himel-primary) 28%, #d0d5dd); background: #fff; color: var(--himel-primary); border-radius: 999px; padding: 8px 10px; cursor: pointer; font-size: 11px; font-weight: 650; }
.himel-typing { position: absolute; left: 17px; bottom: 12px; padding: 8px 10px; border: 1px solid #e8edf5; border-radius: 14px; background: #fff; box-shadow: 0 5px 15px rgba(16,24,40,.06); }
.himel-typing span { display: inline-block; width: 6px; height: 6px; margin: 0 2px; border-radius: 50%; background: #98a2b3; animation: himelDot 1s infinite; }
.himel-typing span:nth-child(2) { animation-delay: .15s; }
.himel-typing span:nth-child(3) { animation-delay: .3s; }

.himel-footer {
  flex: 0 0 auto;
  position: relative;
  padding: 9px 10px max(8px, env(safe-area-inset-bottom));
  border-top: 1px solid #e7ecf4;
  background: rgba(255,255,255,.98);
}
.himel-composer { display: flex; align-items: flex-end; gap: 7px; }
.himel-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 42px;
  max-height: 120px;
  resize: none;
  padding: 10px 11px;
  border: 1px solid #d0d5dd;
  border-radius: 13px;
  outline: 0;
  color: #172033;
  background: #fff;
  font-size: 13.5px;
  line-height: 1.45;
}
.himel-input:focus { border-color: var(--himel-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--himel-primary) 10%, transparent); }
.himel-send,
.himel-mic { flex: 0 0 42px; width: 42px; height: 42px; border: 0; border-radius: 12px; cursor: pointer; font-size: 17px; }
.himel-send { background: var(--himel-primary); color: #fff; }
.himel-mic { background: #edf1f7; color: #344054; }
.himel-mic.recording,
.himel-call-mic.recording { background: #ef4444; color: #fff; animation: himelPulse 1s infinite; }
.himel-powered { display: block; margin-top: 4px; text-align: center; color: #98a2b3; font-size: 9px; line-height: 1; }

.himel-call-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(26px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--himel-primary) 56%, #7d5cff), transparent 36%),
    linear-gradient(165deg, #132344, #080f22 74%);
}
.himel-call-overlay::before {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  top: 38px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--himel-primary) 22%, transparent);
  filter: blur(55px);
  opacity: .75;
  pointer-events: none;
}
.himel-call-back { position: absolute; top: max(14px, env(safe-area-inset-top)); left: 14px; width: 40px; height: 40px; border: 0; border-radius: 12px; color: #fff; background: rgba(255,255,255,.1); cursor: pointer; font-size: 30px; line-height: 1; }
.himel-call-avatar {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 34px;
  background: radial-gradient(circle at 30% 25%, #67f6ff, #7a58ff 58%, #24366d);
  box-shadow: 0 20px 60px rgba(0,0,0,.3), 0 0 calc(20px + (var(--himel-voice-level) * 35px)) color-mix(in srgb, var(--himel-primary) 60%, transparent);
  font-size: 31px;
  font-weight: 800;
  transition: box-shadow .08s linear, transform .12s ease;
}
.himel-call-overlay[data-state="listening"] .himel-call-avatar { transform: scale(calc(1 + (var(--himel-voice-level) * .04))); }
.himel-call-overlay h3 { position: relative; z-index: 1; margin: 18px 0 4px; font-size: 20px; }
.himel-call-status { position: relative; z-index: 1; min-height: 22px; margin: 0; color: rgba(255,255,255,.78); font-size: 13px; }
.himel-call-caption { position: relative; z-index: 1; display: -webkit-box; max-width: 330px; min-height: 46px; margin: 12px 0 0; overflow: hidden; color: rgba(255,255,255,.9); font-size: 13px; line-height: 1.45; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.himel-wave { position: relative; z-index: 1; height: 72px; display: flex; align-items: center; justify-content: center; gap: 6px; margin: auto 0 24px; }
.himel-wave i { display: block; width: 5px; height: 18px; border-radius: 4px; background: rgba(255,255,255,.92); animation: himelWave 1.15s infinite ease-in-out; animation-play-state: paused; }
.himel-call-overlay[data-state="listening"] .himel-wave i,
.himel-call-overlay[data-state="speaking"] .himel-wave i { animation-play-state: running; }
.himel-wave i:nth-child(2) { animation-delay: .1s; }
.himel-wave i:nth-child(3) { animation-delay: .2s; }
.himel-wave i:nth-child(4) { animation-delay: .3s; }
.himel-wave i:nth-child(5) { animation-delay: .4s; }
.himel-call-controls { position: relative; z-index: 1; display: flex; align-items: center; gap: 18px; }
.himel-call-mic,
.himel-end-call { width: 64px; height: 64px; border: 0; border-radius: 50%; cursor: pointer; font-size: 23px; box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.himel-call-mic { color: #1c2943; background: #fff; }
.himel-call-mic.processing { opacity: .65; cursor: wait; }
.himel-call-mic.speaking { color: #fff; background: var(--himel-primary); }
.himel-end-call { color: #fff; background: #ef4444; font-size: 32px; }
.himel-call-hint { position: relative; z-index: 1; max-width: 300px; min-height: 30px; margin-top: 18px; color: rgba(255,255,255,.56); font-size: 11px; }

@keyframes himelIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes himelDot { 50% { transform: translateY(-4px); } }
@keyframes himelPulse { 50% { transform: scale(1.07); } }
@keyframes himelWave { 0%, 100% { height: 18px; opacity: .7; } 50% { height: 48px; opacity: 1; } }

@media (max-width: 640px) {
  #himel-ai-root { right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); }
  .himel-chat {
    width: calc(100vw - 20px);
    height: calc(var(--himel-app-height) - 20px);
    min-height: 0;
    border-radius: 18px;
  }
  .himel-header { flex-basis: 70px; padding: 11px 10px; gap: 8px; }
  .himel-avatar { flex-basis: 39px; width: 39px; height: 39px; border-radius: 13px; }
  .himel-header-actions { gap: 3px; }
  .himel-header-actions button,
  .himel-language-wrap { min-width: 31px; width: 31px; height: 31px; border-radius: 9px; }
  .himel-language-wrap { width: 45px; }
  .himel-heading strong { font-size: 14px; }
  .himel-heading small { font-size: 10px; }
  .himel-lead-screen { padding: 16px; align-items: start; }
  .himel-lead-card { margin: auto 0; padding: 19px; }
  .himel-messages { padding: 14px 11px 18px; }
  .himel-msg > div { max-width: 88%; font-size: 13px; }
  .himel-footer { padding-left: 8px; padding-right: 8px; }
  .himel-input { min-height: 41px; font-size: 16px; }
  .himel-send,
  .himel-mic { flex-basis: 41px; width: 41px; height: 41px; }
  .himel-call-avatar { margin-top: 44px; }
}

@media (max-width: 390px) {
  #himel-ai-root { right: 0; bottom: 0; }
  .himel-chat { width: 100vw; height: var(--himel-app-height); border: 0; border-radius: 0; }
  .himel-launcher { margin: 0 10px 10px 0; }
  .himel-header { padding-top: max(10px, env(safe-area-inset-top)); flex-basis: calc(68px + env(safe-area-inset-top)); }
  .himel-reset { display: none !important; }
  .himel-heading small span { max-width: 112px; overflow: hidden; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
  #himel-ai-root *, #himel-ai-root *::before, #himel-ai-root *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* v1.2 adaptive assistant polish */
.himel-launcher-icon,
.himel-avatar,
.himel-call-avatar {
  overflow: hidden;
  background:
    radial-gradient(circle at 26% 18%, rgba(119,248,255,.95), transparent 32%),
    linear-gradient(145deg, color-mix(in srgb, var(--himel-primary) 82%, #00d4ff), color-mix(in srgb, var(--himel-primary) 70%, #8a4dff));
}
.himel-launcher-icon svg,
.himel-avatar svg,
.himel-call-avatar svg { width: 86%; height: 86%; display: block; filter: drop-shadow(0 4px 7px rgba(22,23,55,.2)); }
.himel-icon-orbit { fill: rgba(255,255,255,.17); stroke: rgba(255,255,255,.34); stroke-width: 1.4; }
.himel-icon-bubble { fill: #fff; }
.himel-icon-eye { fill: color-mix(in srgb, var(--himel-primary) 78%, #18214f); }
.himel-icon-smile { fill: none; stroke: color-mix(in srgb, var(--himel-primary) 78%, #18214f); stroke-width: 2.2; stroke-linecap: round; }
.himel-icon-spark { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.himel-launcher-icon { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.55); box-shadow: inset 0 0 18px rgba(255,255,255,.2), 0 8px 18px rgba(10,33,85,.2); }
.himel-avatar { border-radius: 14px; }
.himel-header-actions button { backdrop-filter: blur(8px); }

.himel-service-block { margin: 12px 0 4px; }
.himel-service-title { display: block; margin: 0 0 8px 2px; color: #7b8598; font-size: 10.5px; font-weight: 750; letter-spacing: .02em; text-transform: uppercase; }
.himel-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.himel-service-grid button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 9px 10px;
  border: 1px solid #dfe6f1;
  border-radius: 13px;
  background: rgba(255,255,255,.95);
  color: #253047;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(16,24,40,.035);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.himel-service-grid button:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--himel-primary) 42%, #dfe6f1); box-shadow: 0 8px 18px rgba(16,24,40,.07); }
.himel-service-grid button > span { flex: 0 0 28px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--himel-primary) 10%, #fff); color: var(--himel-primary); font-weight: 800; }
.himel-service-grid button strong { min-width: 0; font-size: 11.5px; line-height: 1.25; font-weight: 720; }
.himel-powered:empty { display: none; }

@media (max-width: 390px) {
  .himel-service-grid { grid-template-columns: 1fr; }
  .himel-service-grid button { min-height: 48px; }
  .himel-launcher-text { display: none; }
  .himel-launcher { width: 60px; height: 60px; padding: 8px; justify-content: center; }
  .himel-launcher-icon { width: 46px; height: 46px; }
}

.himel-handover {
  width: 100%;
  min-height: 42px;
  margin-top: 9px;
  border: 1px dashed color-mix(in srgb, var(--himel-primary) 34%, #d5dce8);
  border-radius: 12px;
  background: color-mix(in srgb, var(--himel-primary) 5%, #fff);
  color: #26344a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.himel-handover:hover { transform: translateY(-1px); border-color: var(--himel-primary); background: color-mix(in srgb, var(--himel-primary) 9%, #fff); }
.himel-handover span { color: var(--himel-primary); font-size: 16px; }

/* v1.4 Himelmia responsive service, booking and full appearance controls */
.himel-chat { background: var(--himel-widget); border-color: var(--himel-border); }
.himel-launcher { background: linear-gradient(135deg, var(--himel-launcher), color-mix(in srgb, var(--himel-launcher) 72%, #6f4cff)); }
.himel-header { background: linear-gradient(135deg, color-mix(in srgb, var(--himel-header) 82%, #071a36), var(--himel-header)); color: var(--himel-header-text); }
.himel-header-actions button { color: var(--himel-header-text); }
.himel-body { background: var(--himel-body); }
.himel-footer { background: var(--himel-footer); border-color: var(--himel-border); }
.himel-input { background: var(--himel-input); color: var(--himel-input-text); border-color: var(--himel-border); }
.himel-assistant > div { background: var(--himel-ai-bubble); color: var(--himel-ai-text); border-color: var(--himel-border); }
.himel-user > div { background: linear-gradient(135deg, var(--himel-user-bubble), color-mix(in srgb, var(--himel-user-bubble) 78%, #694cff)); color: var(--himel-user-text); }
.himel-send { background: var(--himel-primary); }

.himel-launcher-icon,
.himel-avatar,
.himel-call-avatar {
  background: linear-gradient(145deg, color-mix(in srgb, var(--himel-icon-bg) 78%, #0ea5e9), var(--himel-icon-bg));
}
.himel-launcher-icon img,
.himel-avatar img,
.himel-call-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.himel-icon-tile { fill: url(#himelMark); opacity: .98; }
.himel-icon-h { fill: none; stroke: color-mix(in srgb, var(--himel-primary) 75%, #0f172a); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.himel-icon-spark { fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; }

.himel-service-block { margin: 13px 0 8px; width: 100%; }
.himel-service-title { margin-bottom: 9px; color: color-mix(in srgb, var(--himel-service-text) 66%, #8791a4); }
.himel-service-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.himel-service-grid button {
  width: 100%;
  min-height: 52px;
  padding: 9px 11px;
  border-color: var(--himel-border);
  background: var(--himel-service-card);
  color: var(--himel-service-text);
  border-radius: 14px;
}
.himel-service-grid button > span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  font-size: 17px;
  background: color-mix(in srgb, var(--himel-primary) 10%, var(--himel-service-card));
}
.himel-service-grid button strong {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  line-height: 1.28;
  white-space: normal;
  overflow-wrap: anywhere;
}
.himel-service-grid button i {
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--himel-service-text) 48%, transparent);
  font-style: normal;
  font-size: 22px;
  line-height: 1;
}

.himel-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.himel-action-grid .himel-action,
.himel-action-grid a.himel-action {
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--himel-border);
  border-radius: 12px;
  background: color-mix(in srgb, var(--himel-primary) 5%, var(--himel-service-card));
  color: var(--himel-service-text);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  font-size: 11.5px;
  line-height: 1.25;
}
.himel-action-grid .himel-action:hover { border-color: color-mix(in srgb, var(--himel-primary) 55%, var(--himel-border)); transform: translateY(-1px); }
.himel-action-grid .himel-action span { flex: 0 0 27px; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--himel-primary) 12%, #fff); color: var(--himel-primary); font-weight: 850; }
.himel-action-grid .himel-action strong { min-width: 0; white-space: normal; overflow-wrap: anywhere; font-weight: 720; }
.himel-action-grid .himel-whatsapp-action span { background: #dcfce7; color: #15803d; }
.himel-action-grid .himel-handover { width: auto; border-style: solid; }

.himel-booking-overlay {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--himel-widget);
}
.himel-booking-overlay header {
  flex: 0 0 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--himel-border);
  background: var(--himel-header);
  color: var(--himel-header-text);
}
.himel-booking-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.himel-booking-close { flex: 0 0 36px; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255,255,255,.15); color: var(--himel-header-text); font-size: 23px; cursor: pointer; }
.himel-booking-frame { flex: 1 1 auto; width: 100%; min-height: 0; border: 0; background: #fff; }

@media (max-width: 640px) {
  .himel-service-grid button { min-height: 50px; }
  .himel-action-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .himel-action-grid { grid-template-columns: 1fr; }
  .himel-service-grid button { min-height: 48px; }
  .himel-service-grid button strong { font-size: 12px; }
}

@media (max-height: 620px) and (min-width: 391px) {
  .himel-chat { height: calc(var(--himel-app-height) - 16px); }
  .himel-header { flex-basis: 66px; }
  .himel-messages { padding-top: 12px; }
}
