body.carbi-expert-center-open {
  overflow: hidden !important;
}

#carbi-expert-center-launcher {
  position: fixed;
  z-index: 2147482500;
  right: 18px;
  bottom: calc(
    112px + env(safe-area-inset-bottom)
  );
  border: 1px solid rgba(31, 111, 235, 0.22);
  border-radius: 18px;
  min-height: 58px;
  padding: 8px 14px 8px 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #102a4f;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.98),
      rgba(238, 246, 255, 0.98)
    );
  box-shadow:
    0 16px 44px rgba(21, 81, 160, 0.22);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#carbi-expert-center-launcher:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 52px rgba(21, 81, 160, 0.27);
}

.cec-launcher-symbol {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background:
    linear-gradient(
      145deg,
      #0d69d8,
      #22a4ff
    );
  box-shadow:
    0 8px 20px rgba(15, 113, 222, 0.3);
  font-size: 20px;
}

.cec-launcher-copy {
  display: grid;
  text-align: left;
}

.cec-launcher-copy strong {
  font-size: 13px;
  line-height: 1.2;
}

.cec-launcher-copy small {
  margin-top: 2px;
  color: #637a98;
  font-size: 10px;
}

#carbi-expert-center-panel {
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: grid;
  place-items: center;
  padding:
    max(12px, env(safe-area-inset-top))
    12px
    max(12px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.cec-backdrop {
  position: absolute;
  inset: 0;
  background:
    rgba(5, 20, 45, 0.72);
  backdrop-filter:
    blur(11px);
  -webkit-backdrop-filter:
    blur(11px);
}

.cec-shell {
  position: relative;
  width:
    min(820px, 100%);
  max-height:
    calc(100vh - 24px);
  overflow: hidden;
  border:
    1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  background: #ffffff;
  box-shadow:
    0 40px 120px rgba(2, 24, 58, 0.42);
}

.cec-header {
  position: relative;
  overflow: hidden;
  min-height: 100px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #ffffff;
  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(91, 196, 255, 0.75),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #0755b8,
      #0f7ce4 55%,
      #19a4f8
    );
}

.cec-header::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -75px;
  width: 190px;
  height: 190px;
  border:
    28px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.cec-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cec-brand-mark {
  flex:
    0 0 auto;
  width: 58px;
  height: 58px;
  border:
    1px solid rgba(255, 255, 255, 0.44);
  border-radius: 19px;
  display: grid;
  place-items: center;
  color: #0c68cb;
  background:
    rgba(255, 255, 255, 0.96);
  box-shadow:
    0 13px 30px rgba(2, 45, 104, 0.25);
  font-size: 28px;
  font-weight: 900;
}

.cec-brand small {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.18em;
  opacity: 0.82;
}

.cec-brand h2 {
  margin: 3px 0 2px;
  font-size: 25px;
  line-height: 1.1;
}

.cec-brand p {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
}

.cec-close {
  position: relative;
  z-index: 2;
  flex:
    0 0 auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background:
    rgba(255, 255, 255, 0.16);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cec-content {
  max-height:
    calc(100vh - 148px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px;
  background:
    linear-gradient(
      180deg,
      #f8fbff,
      #ffffff 32%
    );
}

.cec-welcome {
  padding: 2px 3px 18px;
}

.cec-welcome > span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  color: #1069c9;
  background: #eaf4ff;
  font-size: 11px;
  font-weight: 800;
}

.cec-welcome h3 {
  margin: 12px 0 6px;
  color: #132b49;
  font-size: 24px;
}

.cec-welcome p {
  margin: 0;
  max-width: 630px;
  color: #657990;
  font-size: 13px;
  line-height: 1.55;
}

.cec-category-grid {
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.cec-category-card {
  position: relative;
  min-height: 105px;
  padding: 15px;
  border:
    1px solid #dce7f3;
  border-radius: 21px;
  display: grid;
  grid-template-columns:
    52px 1fr 22px;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: #ffffff;
  box-shadow:
    0 8px 24px rgba(22, 69, 121, 0.07);
  cursor: pointer;
}

.cec-category-card:hover {
  transform: translateY(-2px);
  border-color:
    rgba(31, 118, 225, 0.32);
  box-shadow:
    0 15px 34px rgba(22, 69, 121, 0.12);
}

.cec-category-icon,
.cec-detail-icon {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  font-size: 25px;
}

.cec-category-copy {
  min-width: 0;
  display: grid;
}

.cec-category-copy strong {
  color: #17304d;
  font-size: 14px;
}

.cec-category-copy small {
  margin-top: 5px;
  color: #718298;
  font-size: 11px;
  line-height: 1.4;
}

.cec-category-arrow {
  color: #92a4b8;
  font-size: 29px;
  font-weight: 300;
}

.cec-blue .cec-category-icon,
.cec-blue .cec-detail-icon {
  background: #e7f2ff;
}

.cec-purple .cec-category-icon,
.cec-purple .cec-detail-icon {
  background: #f0eaff;
}

.cec-green .cec-category-icon,
.cec-green .cec-detail-icon {
  background: #e5f8ef;
}

.cec-orange .cec-category-icon,
.cec-orange .cec-detail-icon {
  background: #fff1df;
}

.cec-red .cec-category-icon,
.cec-red .cec-detail-icon {
  background: #ffebea;
}

.cec-navy .cec-category-icon,
.cec-navy .cec-detail-icon {
  background: #e7edf7;
}

.cec-teal .cec-category-icon,
.cec-teal .cec-detail-icon {
  background: #e2f8f7;
}

.cec-indigo .cec-category-icon,
.cec-indigo .cec-detail-icon {
  background: #eaedff;
}

.cec-general-chat {
  width: 100%;
  margin-top: 15px;
  min-height: 78px;
  padding: 13px 16px;
  border: 0;
  border-radius: 20px;
  display: grid;
  grid-template-columns:
    46px 1fr 22px;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: #ffffff;
  background:
    linear-gradient(
      135deg,
      #0865cb,
      #1495f3
    );
  box-shadow:
    0 13px 28px rgba(18, 111, 213, 0.24);
  cursor: pointer;
}

.cec-general-chat > span:first-child {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background:
    rgba(255, 255, 255, 0.18);
  font-size: 22px;
}

.cec-general-chat > span:nth-child(2) {
  display: grid;
}

.cec-general-chat strong {
  font-size: 14px;
}

.cec-general-chat small {
  margin-top: 3px;
  opacity: 0.84;
  font-size: 10px;
}

.cec-general-chat b {
  font-size: 27px;
}

.cec-back {
  margin: 0 0 15px;
  padding: 8px 11px;
  border:
    1px solid #d5e3f2;
  border-radius: 12px;
  color: #1668bf;
  background: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.cec-expert-detail {
  border:
    1px solid #dce7f3;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow:
    0 12px 34px rgba(23, 66, 112, 0.09);
}

.cec-detail-heading {
  padding: 19px;
  display: flex;
  align-items: center;
  gap: 14px;
  background:
    linear-gradient(
      135deg,
      #f7fbff,
      #ffffff
    );
}

.cec-detail-heading small {
  color: #1670ca;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.cec-detail-heading h3 {
  margin: 4px 0 3px;
  color: #17304d;
  font-size: 21px;
}

.cec-detail-heading p {
  margin: 0;
  color: #6b7e94;
  font-size: 12px;
}

.cec-example-box {
  margin: 0 18px 16px;
  padding: 16px;
  border:
    1px solid #e1e9f2;
  border-radius: 18px;
  background: #fbfdff;
}

.cec-example-box > strong {
  color: #223b58;
  font-size: 12px;
}

.cec-example-list {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.cec-example-list button {
  width: 100%;
  padding: 11px 12px;
  border:
    1px solid #dde7f1;
  border-radius: 13px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  text-align: left;
  color: #39516c;
  background: #ffffff;
  font: inherit;
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
}

.cec-example-list button:hover {
  border-color: #95bfea;
  background: #f4f9ff;
}

.cec-example-list button span {
  color: #1673d1;
}

.cec-notice {
  margin: 0 18px 16px;
  padding: 12px 13px;
  border:
    1px solid #f0d79e;
  border-radius: 15px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #6c5421;
  background: #fff9e9;
}

.cec-notice p {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}

.cec-action-grid {
  padding: 0 18px 19px;
  display: grid;
  grid-template-columns:
    repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cec-main-action {
  min-height: 63px;
  padding: 11px 13px;
  border: 0;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-align: left;
  background:
    linear-gradient(
      135deg,
      #0968ce,
      #1394f2
    );
  box-shadow:
    0 10px 23px rgba(14, 108, 210, 0.2);
  cursor: pointer;
}

.cec-main-action:nth-child(2) {
  color: #175da5;
  border:
    1px solid #bfd9f2;
  background: #edf7ff;
  box-shadow: none;
}

.cec-main-action span {
  font-size: 21px;
}

.cec-main-action strong {
  font-size: 12px;
}

@media (max-width: 650px) {
  #carbi-expert-center-launcher {
    right: 12px;
    bottom:
      calc(
        104px +
        env(safe-area-inset-bottom)
      );
  }

  .cec-launcher-copy small {
    display: none;
  }

  .cec-shell {
    max-height:
      calc(100vh - 16px);
    border-radius: 24px;
  }

  .cec-header {
    min-height: 88px;
    padding: 16px;
  }

  .cec-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 23px;
  }

  .cec-brand h2 {
    font-size: 21px;
  }

  .cec-brand p {
    display: none;
  }

  .cec-content {
    max-height:
      calc(100vh - 114px);
    padding: 15px;
  }

  .cec-category-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cec-category-card {
    min-height: 88px;
  }

  .cec-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  #carbi-expert-center-launcher {
    padding-right: 10px;
  }

  .cec-launcher-copy strong {
    font-size: 11px;
  }

  .cec-welcome h3 {
    font-size: 21px;
  }
}
