:root {
  --csh-panel: #ffffff;
  --csh-text: #444444;
  --csh-muted: #7a7370;
  --csh-accent: #f4f1f1;
  --csh-border: #ece7e4;
  --csh-shadow: 0 18px 50px rgba(34, 28, 24, 0.13);
  --csh-radius: 12px;
  --csh-font: Poppins, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --csh-brand-icon-padding: 4px;
}

.csh-launcher,
.csh-panel,
.csh-inline-panel {
  font-family: var(--csh-font);
  color: var(--csh-text);
  box-sizing: border-box;
}

.csh-launcher *,
.csh-panel *,
.csh-inline-panel * {
  box-sizing: border-box;
}

.csh-launcher {
  position: fixed;
  z-index: 999999;
  bottom: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--csh-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--csh-text);
  box-shadow: 0 10px 35px rgba(38, 31, 28, 0.13);
  padding: 11px 16px 11px 12px;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  letter-spacing: .01em;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.csh-launcher[data-position="left"] {
  right: auto;
  left: 22px;
}

.csh-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(38, 31, 28, 0.17);
}

.csh-launcher-icon,
.csh-item-icon,
.csh-panel-logo,
.csh-chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--csh-accent);
  color: var(--csh-text);
}

.csh-launcher-icon {
  width: 30px;
  height: 30px;
}

.csh-launcher-icon svg,
.csh-item-icon svg,
.csh-panel-logo svg,
.csh-header-action svg,
.csh-chat-submit svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.6;
}

.csh-panel {
  position: fixed;
  z-index: 1000000;
  right: 22px;
  bottom: 82px;
  width: min(360px, calc(100vw - 36px));
  max-height: min(620px, calc(100vh - 110px));
  background: var(--csh-panel);
  border: 1px solid var(--csh-border);
  border-radius: var(--csh-radius);
  box-shadow: var(--csh-shadow);
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px) scale(.98);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.csh-panel[data-position="left"] {
  right: auto;
  left: 22px;
}

.csh-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.csh-inline-panel {
  width: 100%;
  max-width: 420px;
  background: var(--csh-panel);
  border: 1px solid var(--csh-border);
  border-radius: var(--csh-radius);
  box-shadow: 0 12px 40px rgba(38, 31, 28, 0.08);
  overflow: hidden;
}

.csh-panel-inner,
.csh-inline-panel .csh-panel-inner {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.csh-home {
  padding: 22px 0 10px;
}

.csh-home-header {
  padding: 0 24px 14px;
}

.csh-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.csh-panel-logo {
  width: 39px;
  height: 39px;
  border: 1px solid var(--csh-border);
  overflow: hidden;
}

.csh-panel-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.csh-home h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--csh-text);
}

.csh-home p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--csh-text);
}

.csh-items {
  display: flex;
  flex-direction: column;
}

.csh-item {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(236, 231, 228, 0.62);
  background: transparent;
  color: var(--csh-text);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  text-align: left;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .16s ease;
}

.csh-item:hover,
.csh-item:focus-visible {
  background: rgba(244, 241, 241, .72);
  outline: none;
}

.csh-item.is-muted {
  background: rgba(244, 241, 241, .78);
}

.csh-item-icon {
  width: 33px;
  height: 33px;
  border: 1px solid var(--csh-border);
}

.csh-item-content {
  min-width: 0;
}

.csh-item-label {
  display: block;
  font-size: 13.5px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--csh-text);
  letter-spacing: .01em;
}

.csh-item-note {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.42;
  color: var(--csh-text);
  opacity: .88;
}

.csh-footer {
  border-top: 1px solid rgba(236, 231, 228, 0.62);
  padding: 9px 12px;
  text-align: center;
  font-size: 11px;
  color: rgba(68, 68, 68, .45);
}

.csh-view {
  display: none;
}

.csh-view.is-active {
  display: flex;
  flex-direction: column;
}

.csh-chat {
  min-height: min(590px, calc(100vh - 110px));
  max-height: min(590px, calc(100vh - 110px));
}

.csh-chat-header {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--csh-border);
  background: rgba(244, 241, 241, 0.45);
}

.csh-header-action {
  border: 0;
  background: transparent;
  color: var(--csh-text);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.csh-header-action:hover {
  background: rgba(68, 68, 68, .06);
}

.csh-chat-avatar {
  width: 34px;
  height: 34px;
  border: 1px solid var(--csh-border);
}

.csh-chat-heading {
  min-width: 0;
  flex: 1;
}

.csh-chat-heading strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.csh-chat-heading span {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--csh-muted);
}

.csh-messages {
  flex: 1;
  overflow: auto;
  padding: 20px 16px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(250,248,247,.92));
}

.csh-message {
  max-width: 86%;
  margin: 0 0 10px;
  padding: 11px 13px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.csh-message.is-bot {
  background: var(--csh-accent);
  color: var(--csh-text);
  border-top-left-radius: 5px;
}

.csh-message.is-user {
  margin-left: auto;
  background: #444444;
  color: #ffffff;
  border-top-right-radius: 5px;
}

.csh-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 14px;
}

.csh-chip {
  border: 1px solid var(--csh-border);
  background: rgba(255,255,255,.78);
  color: var(--csh-text);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 12.5px;
  cursor: pointer;
}

.csh-chip:hover {
  background: var(--csh-accent);
}

.csh-typing {
  display: none;
  width: fit-content;
  align-items: center;
  gap: 5px;
  padding: 11px 13px;
  background: var(--csh-accent);
  border-radius: 14px;
  border-top-left-radius: 5px;
  margin-bottom: 10px;
}

.csh-typing.is-active {
  display: inline-flex;
}

.csh-typing span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--csh-muted);
  opacity: .35;
  animation: cshTypingDot 1.05s infinite ease-in-out;
}

.csh-typing span:nth-child(2) {
  animation-delay: .15s;
}

.csh-typing span:nth-child(3) {
  animation-delay: .3s;
}

@keyframes cshTypingDot {
  0%, 80%, 100% { transform: translateY(0); opacity: .35; }
  40% { transform: translateY(-3px); opacity: .95; }
}

.csh-chat-form {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border-top: 1px solid var(--csh-border);
  background: var(--csh-panel);
}

.csh-chat-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--csh-border) !important;
  background: #fff !important;
  border-radius: 999px !important;
  color: var(--csh-text) !important;
  font-family: var(--csh-font) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  padding: 12px 14px !important;
  outline: none !important;
  box-shadow: none !important;
}

.csh-chat-input:focus {
  border-color: rgba(68, 68, 68, .28) !important;
}

.csh-chat-submit {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #444444;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.csh-chat-submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .csh-launcher {
    bottom: 16px;
    right: 16px;
    left: auto;
  }

  .csh-launcher[data-position="left"] {
    left: 16px;
  }

  .csh-panel,
  .csh-panel[data-position="left"] {
    left: 12px;
    right: 12px;
    bottom: 76px;
    width: auto;
    max-height: calc(100vh - 96px);
  }

  .csh-chat {
    min-height: min(590px, calc(100vh - 96px));
    max-height: min(590px, calc(100vh - 96px));
  }

  .csh-hide-mobile {
    display: none !important;
  }
}

.csh-message.is-agent {
  align-self: flex-start;
  background: #f6f2ef;
  border: 1px solid var(--csh-border);
  color: var(--csh-text);
}

.csh-message.is-system {
  align-self: center;
  max-width: 90%;
  background: transparent;
  border: 1px dashed var(--csh-border);
  color: rgba(68,68,68,.72);
  font-size: 12px;
  text-align: center;
}

.csh-live-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(68,68,68,.62);
  margin: 4px 0 10px;
}

.csh-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #8ca982;
  box-shadow: 0 0 0 4px rgba(140,169,130,.13);
}

/* Contact subview */
.csh-contact {
  min-height: 250px;
}

.csh-contact-header {
  padding: 18px 24px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid rgba(236, 231, 228, 0.62);
}

.csh-contact-heading h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--csh-text);
}

.csh-contact-heading p {
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--csh-text);
  opacity: .82;
}

.csh-contact-list {
  display: flex;
  flex-direction: column;
  padding: 6px 0 10px;
}

.csh-contact-option {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(236, 231, 228, 0.45);
  background: transparent;
  color: var(--csh-text);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 24px;
  text-align: left;
  cursor: pointer;
  text-decoration: none !important;
  transition: background .16s ease;
}

.csh-contact-option:first-child {
  border-top: 0;
}

.csh-contact-option:hover,
.csh-contact-option:focus-visible {
  background: rgba(244, 241, 241, .72);
  outline: none;
}

.csh-contact-empty {
  margin: 0;
  padding: 20px 24px;
  color: var(--csh-text);
  opacity: .74;
  font-size: 13px;
  line-height: 1.5;
}

/* FAQ groups inside chat */
.csh-faq-block {
  margin: 12px 0 4px;
  padding: 12px;
  border: 1px solid var(--csh-border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--csh-accent) 18%, #fff);
}
.csh-faq-block.is-ended {
  opacity: .72;
}
.csh-faq-kicker {
  margin: 0 0 4px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--csh-text);
  opacity: .74;
  font-weight: 600;
}
.csh-faq-intro {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--csh-text);
  opacity: .72;
}
.csh-faq-list {
  display: grid;
  gap: 7px;
}
.csh-faq-row {
  width: 100%;
  border: 1px solid var(--csh-border);
  background: rgba(255,255,255,.82);
  color: var(--csh-text);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: inherit;
  font-size: 13px;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.csh-faq-row:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--csh-text) 20%, var(--csh-border));
  background: #fff;
}
.csh-faq-row em {
  font-style: normal;
  opacity: .52;
}
.csh-faq-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  color: var(--csh-text);
}
.csh-faq-head strong {
  font-size: 13px;
  font-weight: 600;
}
.csh-faq-back {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--csh-border);
  background: #fff;
  color: var(--csh-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.csh-faq-back svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}
.csh-faq-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}
.csh-faq-action {
  border: 1px solid var(--csh-border);
  background: rgba(255,255,255,.86);
  color: var(--csh-text);
  border-radius: 999px;
  padding: 8px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.csh-faq-action.is-primary {
  background: var(--csh-text);
  border-color: var(--csh-text);
  color: #fff;
}

/* FAQ as a separate help-panel view */
.csh-faq-view {
  min-height: 330px;
}
.csh-faq-view-header {
  background: rgba(244, 241, 241, 0.35);
}
.csh-faq-view-body {
  padding: 16px 18px 18px;
  overflow: auto;
}
.csh-faq-answer-card {
  border: 1px solid var(--csh-border);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  padding: 14px 15px;
  box-shadow: 0 10px 30px rgba(34, 28, 24, .045);
}
.csh-faq-question-title {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--csh-text);
}
.csh-faq-answer-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--csh-text);
  opacity: .84;
  white-space: pre-wrap;
}
.csh-faq-end-message {
  margin-left: auto;
  margin-right: auto;
}


/* Cenesti premium UX refresh — soft, airy, apple-like, not a 1:1 clone of any external widget */
:root {
  --csh-panel: #ffffff;
  --csh-text: #444444;
  --csh-muted: #76706c;
  --csh-accent: #f4f1f1;
  --csh-border: rgba(214, 207, 202, 0.74);
  --csh-shadow: 0 22px 70px rgba(55, 47, 42, 0.105);
  --csh-radius: 28px;
}

.csh-launcher,
.csh-panel,
.csh-inline-panel {
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.csh-launcher {
  bottom: 24px;
  right: 24px;
  gap: 10px;
  min-height: 52px;
  padding: 10px 18px 10px 11px;
  border: 1px solid rgba(220, 214, 210, 0.76);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px) saturate(132%);
  -webkit-backdrop-filter: blur(22px) saturate(132%);
  box-shadow: 0 18px 46px rgba(61, 53, 48, 0.105);
  font-size: 12.5px;
  font-weight: 500;
}

.csh-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 58px rgba(61, 53, 48, 0.14);
}

.csh-launcher-icon {
  width: 32px;
  height: 32px;
  background: rgba(244, 241, 241, 0.92);
  border: 1px solid rgba(226, 221, 217, 0.86);
}

.csh-panel {
  right: 24px;
  bottom: 90px;
  width: min(392px, calc(100vw - 34px));
  max-height: min(664px, calc(100vh - 118px));
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(220, 214, 210, 0.76);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(50, 42, 37, 0.125);
  backdrop-filter: blur(26px) saturate(132%);
  -webkit-backdrop-filter: blur(26px) saturate(132%);
}

.csh-inline-panel {
  max-width: 460px;
  border-radius: 28px;
  border-color: rgba(220, 214, 210, 0.76);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 56px rgba(50, 42, 37, 0.08);
  backdrop-filter: blur(20px) saturate(126%);
  -webkit-backdrop-filter: blur(20px) saturate(126%);
}

.csh-panel-inner,
.csh-inline-panel .csh-panel-inner {
  min-height: 282px;
}

.csh-home {
  padding: 24px 0 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.56), rgba(244,241,241,.34));
}

.csh-home-header {
  padding: 0 24px 16px;
}

.csh-title-row {
  gap: 13px;
}

.csh-panel-logo,
.csh-chat-avatar,
.csh-item-icon {
  background: rgba(244, 241, 241, 0.86);
  border: 1px solid rgba(226, 221, 217, 0.88);
  color: #56504c;
}

.csh-panel-logo {
  width: 42px;
  height: 42px;
}

.csh-home h3 {
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.csh-home p {
  margin-top: 7px;
  color: rgba(68, 68, 68, .74);
  font-size: 13px;
}

.csh-items,
.csh-contact-list {
  gap: 8px;
  padding: 2px 14px 12px;
}

.csh-item,
.csh-contact-option {
  border: 1px solid rgba(225, 219, 215, 0.78) !important;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  padding: 14px 14px;
  gap: 13px;
  box-shadow: 0 8px 28px rgba(50, 42, 37, 0.028);
}

.csh-item + .csh-item,
.csh-contact-option + .csh-contact-option {
  border-top: 1px solid rgba(225, 219, 215, 0.78) !important;
}

.csh-item:hover,
.csh-item:focus-visible,
.csh-contact-option:hover,
.csh-contact-option:focus-visible,
.csh-faq-row:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(197, 188, 181, 0.72) !important;
  transform: translateY(-1px);
  box-shadow: 0 13px 34px rgba(50, 42, 37, 0.052);
}

.csh-item-icon {
  width: 34px;
  height: 34px;
}

.csh-item-label {
  color: #444444;
  font-size: 13px;
  font-weight: 520;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.csh-item-note {
  color: rgba(68, 68, 68, .64);
  font-size: 12.2px;
}

.csh-footer {
  border-top: 0;
  padding: 4px 12px 0;
  color: rgba(68, 68, 68, .35);
}

.csh-contact-header,
.csh-chat-header,
.csh-faq-view-header {
  height: auto;
  min-height: 68px;
  padding: 17px 18px;
  background: rgba(244, 241, 241, 0.42);
  border-bottom: 1px solid rgba(226, 221, 217, 0.68);
}

.csh-contact-heading h3,
.csh-chat-heading strong {
  font-weight: 550;
  letter-spacing: -0.01em;
}

.csh-contact-heading p,
.csh-chat-heading span {
  color: rgba(68, 68, 68, .62);
}

.csh-header-action,
.csh-faq-back {
  border: 1px solid rgba(226, 221, 217, 0.86);
  background: rgba(255,255,255,.62);
}

.csh-header-action:hover,
.csh-faq-back:hover {
  background: rgba(255,255,255,.94);
}

.csh-chat {
  min-height: min(628px, calc(100vh - 118px));
  max-height: min(628px, calc(100vh - 118px));
}

.csh-messages {
  padding: 22px 18px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(244,241,241,.38));
}

.csh-message {
  border-radius: 18px;
  padding: 11px 13px;
  font-size: 13px;
}

.csh-message.is-bot,
.csh-message.is-agent {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(226, 221, 217, 0.78);
  border-top-left-radius: 7px;
}

.csh-message.is-user {
  background: rgba(244, 241, 241, 0.96);
  color: #444444;
  border: 1px solid rgba(226, 221, 217, 0.82);
  border-top-right-radius: 7px;
}

.csh-message.is-system {
  border-color: rgba(214, 207, 202, 0.82);
  background: rgba(255,255,255,.42);
}

.csh-live-note {
  color: rgba(68, 68, 68, .54);
}

.csh-live-dot {
  background: #9daf91;
  box-shadow: 0 0 0 4px rgba(157, 175, 145, .14);
}

.csh-chip,
.csh-faq-action {
  border: 1px solid rgba(226, 221, 217, 0.9);
  background: rgba(255,255,255,.66);
  color: #5f5854;
  border-radius: 999px;
  padding: 9px 12px;
  font-weight: 500;
}

.csh-chip:hover,
.csh-faq-action:hover {
  background: rgba(255,255,255,.98);
  border-color: rgba(197, 188, 181, 0.75);
}

.csh-faq-action.is-primary {
  background: rgba(255,255,255,.9);
  border-color: rgba(160, 150, 142, 0.66);
  color: #4f4945;
  box-shadow: 0 8px 24px rgba(50,42,37,.045);
}

.csh-chat-form {
  padding: 13px;
  background: rgba(255,255,255,.72);
  border-top: 1px solid rgba(226, 221, 217, 0.72);
}

.csh-chat-input {
  min-height: 42px !important;
  border-color: rgba(226, 221, 217, 0.9) !important;
  background: rgba(255,255,255,.86) !important;
  color: #444444 !important;
  font-size: 13px !important;
  padding: 12px 15px !important;
}

.csh-chat-submit {
  width: 42px;
  height: 42px;
  background: #6f6a65;
  color: #fff;
  box-shadow: 0 10px 24px rgba(70, 63, 58, 0.14);
}

.csh-chat-submit:hover {
  background: #5f5954;
}

.csh-faq-block,
.csh-faq-answer-card {
  border-color: rgba(226, 221, 217, 0.8);
  border-radius: 20px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 12px 34px rgba(50,42,37,.035);
}

.csh-faq-row {
  min-height: 46px;
  border-color: rgba(226, 221, 217, 0.8);
  background: rgba(255,255,255,.62);
  border-radius: 16px;
  padding: 11px 13px;
}

.csh-faq-row span {
  color: #444444;
}

.csh-faq-row em {
  color: rgba(68,68,68,.44);
}

.csh-faq-view-body {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(244,241,241,.33));
}

@media (max-width: 600px) {
  .csh-launcher {
    bottom: 18px;
    right: 16px;
  }
  .csh-panel,
  .csh-panel[data-position="left"] {
    left: 12px;
    right: 12px;
    bottom: 82px;
    border-radius: 26px;
  }
}

/* v0.4.7 — softer Cenesti UX tweaks */
.csh-launcher-hidden {
  opacity: 0 !important;
  transform: translateY(12px) scale(.96) !important;
  pointer-events: none !important;
}

.csh-launcher {
  font-size: 12px;
}

.csh-home p,
.csh-item-label,
.csh-item-note,
.csh-message,
.csh-chat-input,
.csh-faq-head strong,
.csh-chip,
.csh-faq-action,
.csh-contact-heading p,
.csh-chat-heading span,
.csh-contact-option,
.csh-faq-row,
.csh-footer {
  font-size: 12px !important;
}

.csh-launcher-icon,
.csh-item-icon,
.csh-panel-logo,
.csh-chat-avatar {
  background: color-mix(in srgb, var(--csh-accent) 42%, #ffffff 58%);
  color: #444444;
}

.csh-chip,
.csh-faq-action {
  border-color: rgba(182, 170, 163, .52) !important;
}

.csh-faq-action.is-primary,
.csh-chat-submit,
.csh-chip.is-primary,
.csh-item[data-key="chat"] .csh-item-icon {
  background: #111111 !important;
  border-color: #111111 !important;
  color: #ffffff !important;
}

.csh-faq-action.is-primary:hover,
.csh-chat-submit:hover {
  background: #2a2a2a !important;
  border-color: #2a2a2a !important;
  color: #ffffff !important;
}

.csh-item:hover,
.csh-item:focus-visible,
.csh-contact-option:hover,
.csh-contact-option:focus-visible,
.csh-faq-row:hover {
  border-color: rgba(182, 170, 163, .72) !important;
}

.csh-footer {
  letter-spacing: .02em;
}

/* v0.4.9 — order status check */
.csh-order-status-card {
  margin: 12px 0 4px;
  padding: 14px;
  border: 1px solid rgba(182, 170, 163, .32);
  border-radius: 20px;
  background: rgba(255, 255, 255, .74);
  box-shadow: 0 10px 30px rgba(34, 28, 24, .055);
}
.csh-order-title {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--csh-text);
}
.csh-order-intro {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(68,68,68,.74);
}
.csh-order-form {
  display: grid;
  gap: 9px;
}
.csh-order-form input {
  width: 100%;
  border: 1px solid rgba(68,68,68,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--csh-text);
  font-size: 12px;
  padding: 11px 14px;
  outline: none;
  box-shadow: none;
}
.csh-order-form input:focus {
  border-color: rgba(182, 170, 163, .85);
  box-shadow: 0 0 0 3px rgba(182, 170, 163, .18);
}
.csh-order-submit,
.csh-order-handoff {
  appearance: none;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 11px 14px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}
.csh-order-submit:hover,
.csh-order-handoff:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}
.csh-order-form input:disabled,
.csh-order-submit:disabled {
  opacity: .52;
  cursor: default;
}
.csh-order-checking {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(244,241,241,.9);
  color: rgba(68,68,68,.74);
  font-size: 12px;
  animation: csh-pulse-soft 1.15s ease-in-out infinite;
}
.csh-order-checking em {
  width: 18px;
  text-align: left;
  font-style: normal;
}
.csh-order-checking em::after {
  content: '…';
  animation: csh-dots 1.2s steps(4, end) infinite;
}
.csh-order-handoff {
  margin-top: 10px;
  width: 100%;
}
@keyframes csh-pulse-soft {
  0%, 100% { opacity: .48; }
  50% { opacity: 1; }
}
@keyframes csh-dots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75%, 100% { content: '...'; }
}

/* v0.5.0 — Cenesti lighter UX + circular launcher */
.csh-launcher {
  width: 54px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  justify-content: center !important;
  gap: 0 !important;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(226,221,217,.92) !important;
  box-shadow: 0 14px 36px rgba(55,47,42,.12) !important;
}
.csh-launcher > span:not(.csh-launcher-icon) { display: none !important; }
.csh-launcher-icon {
  width: 42px !important;
  height: 42px !important;
  background: transparent !important;
  border: 0 !important;
  color: #444444 !important;
}
.csh-launcher-icon svg { width: 23px !important; height: 23px !important; stroke-width: 1.55 !important; }
.csh-launcher-icon img,
.csh-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.csh-launcher-icon.has-custom-icon {
  overflow: hidden;
  background: #fff !important;
  border: 1px solid rgba(226,221,217,.9) !important;
}
.csh-chat-avatar.has-custom-icon {
  overflow: hidden;
  background: #fff !important;
}

.csh-item,
.csh-contact-option,
.csh-faq-row {
  margin: 0 16px 10px !important;
  width: calc(100% - 32px) !important;
  min-height: 58px !important;
  padding: 13px 16px !important;
  border: 1px solid rgba(226,221,217,.92) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.74) !important;
  color: #444444 !important;
  box-shadow: 0 10px 28px rgba(34,28,24,.035) !important;
}
.csh-item:hover,
.csh-item:focus-visible,
.csh-contact-option:hover,
.csh-contact-option:focus-visible,
.csh-faq-row:hover {
  background: rgba(255,255,255,.96) !important;
  border-color: rgba(182,170,163,.68) !important;
  transform: translateY(-1px);
}
.csh-item[data-key="chat"] .csh-item-icon,
.csh-faq-action.is-primary,
.csh-chip.is-primary,
.csh-order-submit,
.csh-order-handoff,
.csh-chat-submit {
  background: rgba(246,243,241,.96) !important;
  border: 1px solid rgba(182,170,163,.62) !important;
  color: #444444 !important;
}
.csh-faq-action.is-primary:hover,
.csh-order-submit:hover,
.csh-order-handoff:hover,
.csh-chat-submit:hover {
  background: rgba(236,231,228,.98) !important;
  border-color: rgba(156,145,137,.72) !important;
  color: #444444 !important;
}
.csh-chat-submit svg { color: #444444 !important; }
.csh-item-content,
.csh-contact-option .csh-item-content {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
.csh-item-label,
.csh-item-note,
.csh-contact-option,
.csh-contact-option span,
.csh-message,
.csh-order-intro,
.csh-order-title {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
.csh-item-note {
  white-space: normal !important;
  line-height: 1.45 !important;
  max-width: 100% !important;
}
.csh-order-form textarea {
  width: 100%;
  border: 1px solid rgba(68,68,68,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  color: var(--csh-text);
  font-size: 12px;
  padding: 11px 14px;
  outline: none;
  box-shadow: none;
  resize: vertical;
  min-height: 86px;
  font-family: var(--csh-font);
}
.csh-order-form textarea:focus {
  border-color: rgba(182,170,163,.85);
  box-shadow: 0 0 0 3px rgba(182,170,163,.18);
}
.csh-panel-logo,
.csh-item-icon,
.csh-chat-avatar {
  background: rgba(255,255,255,.86) !important;
  border: 1px solid rgba(226,221,217,.9) !important;
}
.csh-home { padding-bottom: 14px !important; }
.csh-footer { color: rgba(68,68,68,.38) !important; }

/* Follow-up actions after an automatic knowledge-base answer */
.csh-response-actions {
  margin: 4px 0 8px 42px;
  padding: 10px 11px;
  border: 1px solid var(--csh-border);
  border-radius: 18px;
  background: rgba(255,255,255,.74);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
.csh-response-actions p {
  flex-basis: 100%;
  margin: 0 0 2px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--csh-text);
  opacity: .76;
}


/* v0.5.15 — adjustable padding for custom brand/widget icons */
.csh-launcher-icon.has-custom-icon,
.csh-panel-logo.has-custom-icon,
.csh-chat-avatar.has-custom-icon {
  padding: var(--csh-brand-icon-padding, 4px) !important;
}

.csh-launcher-icon.has-custom-icon img,
.csh-panel-logo.has-custom-icon img,
.csh-chat-avatar.has-custom-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


/* v0.5.16 — close button for the whole floating help panel */
.csh-panel {
  position: fixed;
}

.csh-panel-close {
  position: absolute;
  z-index: 20;
  top: 13px;
  right: 13px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(68, 68, 68, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--csh-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(34, 28, 24, 0.08);
  transition: background .18s ease, transform .18s ease, opacity .18s ease;
}

.csh-panel-close:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.csh-panel-close svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.75;
}

.csh-panel .csh-home-header,
.csh-panel .csh-chat-header,
.csh-panel .csh-contact-header,
.csh-panel .csh-faq-header {
  padding-right: 58px !important;
}

@media (max-width: 520px) {
  .csh-panel-close {
    top: 12px;
    right: 12px;
  }
}


/* v0.5.17 — mobile scroll lock and cleaner FAQ answer actions */
html.csh-html-locked,
body.csh-body-locked {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

body.csh-body-locked {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

.csh-panel,
.csh-messages,
.csh-faq-view-body,
.csh-contact-list,
.csh-items {
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 600px) {
  .csh-panel.is-open,
  .csh-panel[data-position="left"].is-open {
    top: 12px;
    bottom: 76px;
    max-height: none;
    height: calc(100dvh - 88px);
  }

  .csh-panel.is-open .csh-panel-inner {
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .csh-panel.is-open .csh-view.is-active {
    height: 100%;
    min-height: 0;
  }

  .csh-panel.is-open .csh-home.is-active,
  .csh-panel.is-open .csh-contact.is-active,
  .csh-panel.is-open .csh-faq-view.is-active {
    overflow: auto;
  }

  .csh-panel.is-open .csh-chat.is-active {
    min-height: 0;
    max-height: none;
    height: 100%;
    overflow: hidden;
  }

  .csh-panel.is-open .csh-messages,
  .csh-panel.is-open .csh-faq-view-body {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
  }
}


/* v0.5.19 — custom launcher icon with a single circular background */
.csh-launcher.csh-launcher-has-custom-icon {
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(226,221,217,.92) !important;
  box-shadow: 0 14px 36px rgba(55,47,42,.12) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.csh-launcher.csh-launcher-has-custom-icon .csh-launcher-icon.has-custom-icon {
  width: 100% !important;
  height: 100% !important;
  padding: var(--csh-brand-icon-padding, 6px) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  overflow: hidden !important;
}

.csh-launcher.csh-launcher-has-custom-icon .csh-launcher-icon.has-custom-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

.csh-launcher-icon.has-custom-icon {
  border: 0 !important;
}

.csh-title-row > div:first-child:last-child {
  padding-left: 0 !important;
}

/* v0.5.20 — desktop FAQ answer scrolling inside the widget */
@media (min-width: 601px) {
  .csh-panel.is-open .csh-faq-view.is-active {
    height: min(620px, calc(100vh - 110px));
    max-height: min(620px, calc(100vh - 110px));
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .csh-panel.is-open .csh-faq-view.is-active .csh-faq-view-header {
    flex: 0 0 auto;
  }

  .csh-panel.is-open .csh-faq-view.is-active .csh-faq-view-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}


/* v0.5.22 — hide header avatars reliably + borderless back/close controls */
.csh-panel.csh-hide-header-icons .csh-panel-logo,
.csh-panel.csh-hide-header-icons .csh-chat-avatar,
.csh-inline-panel.csh-hide-header-icons .csh-panel-logo,
.csh-inline-panel.csh-hide-header-icons .csh-chat-avatar {
  display: none !important;
}

.csh-header-action,
.csh-faq-back,
.csh-panel-close {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--csh-text) !important;
}

.csh-header-action:hover,
.csh-header-action:focus,
.csh-header-action:focus-visible,
.csh-faq-back:hover,
.csh-faq-back:focus,
.csh-faq-back:focus-visible,
.csh-panel-close:hover,
.csh-panel-close:focus,
.csh-panel-close:focus-visible {
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.csh-panel-close {
  top: 18px !important;
  right: 18px !important;
  width: 24px !important;
  height: 24px !important;
  padding: 0 !important;
}

.csh-header-action,
.csh-faq-back {
  width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
}

.csh-panel-close svg,
.csh-header-action svg,
.csh-faq-back svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 1.7 !important;
}


/* v0.5.23 — compact first/home view on mobile; full height only after entering chat/FAQ/contact */
@media (max-width: 600px) {
  .csh-panel.is-open[data-current-view="home"],
  .csh-panel[data-position="left"].is-open[data-current-view="home"] {
    top: auto !important;
    bottom: 76px !important;
    height: auto !important;
    max-height: min(78dvh, 560px) !important;
  }

  .csh-panel.is-open[data-current-view="home"] .csh-panel-inner {
    height: auto !important;
    min-height: 0 !important;
    max-height: inherit !important;
    overflow: hidden !important;
  }

  .csh-panel.is-open[data-current-view="home"] .csh-home.is-active {
    height: auto !important;
    min-height: 0 !important;
    max-height: inherit !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}

/* v0.5.26 — editable style only for the main floating launcher icon */
.csh-launcher,
.csh-launcher.csh-launcher-has-custom-icon {
  background: var(--csh-launcher-bg, rgba(244,244,244,.74)) !important;
  border: var(--csh-launcher-border-width, 1px) solid var(--csh-launcher-border, rgba(255,255,255,.58)) !important;
  box-shadow: 0 14px 34px rgba(55,47,42,.10) !important;
  backdrop-filter: blur(16px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.08) !important;
}

.csh-launcher:hover,
.csh-launcher.csh-launcher-has-custom-icon:hover {
  background: var(--csh-launcher-bg-hover, rgba(244,244,244,.88)) !important;
  box-shadow: 0 16px 38px rgba(55,47,42,.13) !important;
}

.csh-launcher-icon,
.csh-launcher.csh-launcher-has-custom-icon .csh-launcher-icon.has-custom-icon {
  background: transparent !important;
}


/* v0.5.27 — mobile scroll lock without body fixed jump */
html.csh-html-locked,
body.csh-body-locked {
  scroll-behavior: auto !important;
}


/* v0.5.28 — calmer offline status + light transparent action buttons */
.csh-live-note.is-offline .csh-live-dot {
  display: none !important;
}

.csh-live-note.is-offline {
  gap: 0 !important;
  color: rgba(68, 68, 68, .56) !important;
}

.csh-chip,
.csh-faq-action,
.csh-order-submit,
.csh-order-handoff,
.csh-chat-submit {
  background: rgba(255, 255, 255, .42) !important;
  border: 1px solid rgba(226, 221, 217, .72) !important;
  color: #444444 !important;
  box-shadow: 0 8px 24px rgba(34, 28, 24, .025) !important;
}

.csh-chip:hover,
.csh-chip:focus-visible,
.csh-faq-action:hover,
.csh-faq-action:focus-visible,
.csh-order-submit:hover,
.csh-order-submit:focus-visible,
.csh-order-handoff:hover,
.csh-order-handoff:focus-visible,
.csh-chat-submit:hover,
.csh-chat-submit:focus-visible {
  background: rgba(255, 255, 255, .72) !important;
  border-color: rgba(205, 197, 190, .9) !important;
  color: #444444 !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(34, 28, 24, .04) !important;
}

.csh-chip.is-primary,
.csh-faq-action.is-primary {
  background: rgba(244, 244, 244, .52) !important;
  border-color: rgba(216, 210, 205, .82) !important;
  color: #444444 !important;
}

.csh-chat-submit svg {
  color: #444444 !important;
}


/* v0.5.29 — lighter Apple-like row icons in the home/help menu */
.csh-item-icon {
  width: 38px !important;
  height: 38px !important;
  background: rgba(244, 244, 244, .52) !important;
  border: 1px solid rgba(226, 221, 217, .72) !important;
  color: rgba(68, 68, 68, .82) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 6px 18px rgba(34,28,24,.025) !important;
}

.csh-item-icon svg {
  width: 16px !important;
  height: 16px !important;
  stroke-width: 1.38 !important;
  opacity: .9 !important;
}

.csh-item[data-key="chat"] .csh-item-icon,
.csh-item[data-key="faq"] .csh-item-icon,
.csh-item[data-key="contact"] .csh-item-icon,
.csh-item[data-key="returns"] .csh-item-icon,
.csh-contact-option .csh-item-icon {
  background: rgba(244, 244, 244, .52) !important;
  border: 1px solid rgba(226, 221, 217, .72) !important;
  color: rgba(68, 68, 68, .82) !important;
}

.csh-item:hover .csh-item-icon,
.csh-item:focus-visible .csh-item-icon,
.csh-contact-option:hover .csh-item-icon,
.csh-contact-option:focus-visible .csh-item-icon {
  background: rgba(255,255,255,.7) !important;
  border-color: rgba(205, 197, 190, .84) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.54), 0 10px 22px rgba(34,28,24,.04) !important;
}
