
html.cekindo-assistant-lock,
body.cekindo-assistant-lock {
  overflow: hidden;
  overscroll-behavior: none;
}

.cekindo-assistant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  font-family: "Space Grotesk", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #d9e5fb;
}

.cekindo-assistant * {
  box-sizing: border-box;
}

.cekindo-assistant__panel {
  width: min(420px, calc(100vw - 28px));
  max-height: min(82vh, 860px);
  margin-bottom: 16px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(102, 143, 255, 0.16);
  background:
    radial-gradient(circle at top right, rgba(84, 181, 255, 0.12), transparent 22%),
    linear-gradient(180deg, rgba(10,14,24,0.98), rgba(8,12,20,0.98));
  box-shadow:
    0 28px 80px rgba(3, 8, 18, 0.42),
    0 10px 24px rgba(27, 87, 232, 0.08);
  backdrop-filter: blur(22px);
  display: none;
  flex-direction: column;
}

.cekindo-assistant.is-open .cekindo-assistant__panel {
  display: flex;
}

.cekindo-assistant__header {
  padding: 18px 18px 16px;
  color: #fff;
  background:
    radial-gradient(circle at 84% 12%, rgba(95, 195, 255, 0.24), transparent 26%),
    linear-gradient(145deg, #050914 0%, #0b1326 48%, #11244c 100%);
  position: relative;
  border-bottom: 1px solid rgba(96, 123, 184, 0.14);
}

.cekindo-assistant__header::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -20px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(139, 230, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.cekindo-assistant__eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
}

.cekindo-assistant__title-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  align-items: flex-start;
}

.cekindo-assistant__title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}


.cekindo-assistant__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border: 1px solid rgba(137, 181, 255, 0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 800;
}

.cekindo-assistant.is-open .cekindo-assistant__fab {
  display: none;
}

.cekindo-assistant__presence {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(137, 181, 255, 0.16);
  background: rgba(96, 137, 255, 0.08);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
}

.cekindo-assistant__presence-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #6edcff;
  box-shadow: 0 0 0 6px rgba(110, 220, 255, 0.12);
}

.cekindo-assistant__subtitle {
  margin-top: 8px;
  font-size: 0.92rem;
  line-height: 1.58;
  opacity: 0.88;
  max-width: 34ch;
}

.cekindo-assistant__context {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.cekindo-assistant__context-card {
  padding: 10px 10px 11px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(134, 154, 198, 0.12);
}

.cekindo-assistant__context-card strong {
  display: block;
  font-size: 0.74rem;
  line-height: 1.2;
}

.cekindo-assistant__context-card span {
  display: block;
  margin-top: 5px;
  font-size: 0.7rem;
  opacity: 0.72;
  line-height: 1.4;
}

.cekindo-assistant__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px;
  min-height: 0;
  background:
    linear-gradient(180deg, rgba(10, 15, 24, 0.98), rgba(14, 18, 28, 0.98)),
    linear-gradient(rgba(95, 110, 140, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 110, 140, 0.08) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px;
}

.cekindo-assistant__section-label {
  margin: 2px 2px 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7f93b8;
}

.cekindo-assistant__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cekindo-assistant__chip {
  border: 1px solid rgba(86, 131, 255, 0.14);
  background: linear-gradient(180deg, rgba(16,23,40,0.96), rgba(20,29,49,0.96));
  color: #dbe7ff;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.cekindo-assistant__messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  padding-right: 4px;
  min-height: 220px;
}

.cekindo-assistant__bubble {
  border-radius: 16px;
  padding: 13px 14px;
  font-size: 0.92rem;
  line-height: 1.68;
  max-width: 94%;
  box-shadow: 0 10px 22px rgba(2, 6, 14, 0.18);
}

.cekindo-assistant__bubble--assistant {
  align-self: flex-start;
  background: linear-gradient(180deg, rgba(241,246,255,0.98), rgba(229,237,252,0.98));
  color: #0f1d33;
  border: 1px solid rgba(146, 164, 199, 0.18);
}

.cekindo-assistant__bubble--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #12337d 0%, #1958e8 100%);
  color: #fff;
}

.cekindo-assistant__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.cekindo-assistant__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border: 1px solid rgba(87, 119, 184, 0.16);
  background: rgba(12, 19, 34, 0.88);
  color: #cfe0ff;
}

.cekindo-assistant__tag--soft {
  background: rgba(255,255,255,0.9);
  color: #15325f;
}

.cekindo-assistant__links {
  display: grid;
  gap: 8px;
  margin-top: 2px;
}

.cekindo-assistant__link {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(83, 123, 210, 0.16);
  border-radius: 16px;
  padding: 11px 12px;
  background: linear-gradient(180deg, rgba(20,27,44,0.98), rgba(13,18,30,0.98));
  color: #e4ecff;
}

.cekindo-assistant__link strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.cekindo-assistant__link span {
  display: block;
  color: #95a8ca;
  font-size: 0.8rem;
  line-height: 1.45;
}

.cekindo-assistant__meta {
  margin-top: 4px;
  font-size: 0.76rem;
  color: #8497ba;
  line-height: 1.55;
}

.cekindo-assistant__composer {
  border-top: 1px solid rgba(95, 111, 146, 0.18);
  padding: 12px;
  background: rgba(8, 12, 20, 0.96);
}

.cekindo-assistant__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.cekindo-assistant__input {
  width: 100%;
  border: 1px solid rgba(84, 105, 145, 0.22);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: #e8efff;
  background: linear-gradient(180deg, #0b1220, #10192c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.cekindo-assistant__submit,
.cekindo-assistant__action,
.cekindo-assistant__lead-submit {
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.cekindo-assistant__submit {
  min-width: 92px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, #1958e8 0%, #4f8dff 100%);
  box-shadow: 0 12px 28px rgba(25, 88, 232, 0.2);
}

.cekindo-assistant__footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.cekindo-assistant__action {
  padding: 10px 12px;
  color: #d8e4ff;
  background: rgba(24, 38, 67, 0.92);
}

.cekindo-assistant__brief,
.cekindo-assistant__lead {
  margin-top: 10px;
  padding: 13px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16,23,39,0.98), rgba(10,15,26,0.98));
  color: #deebff;
  font-size: 0.84rem;
  line-height: 1.65;
}

.cekindo-assistant__brief {
  border: 1px dashed rgba(81, 123, 205, 0.26);
  white-space: pre-wrap;
}

.cekindo-assistant__lead {
  border: 1px solid rgba(81, 123, 205, 0.16);
  display: none;
}

.cekindo-assistant__lead.is-open {
  display: block;
}

.cekindo-assistant__lead-grid {
  display: grid;
  gap: 8px;
}

.cekindo-assistant__lead-grid input,
.cekindo-assistant__lead-grid textarea {
  width: 100%;
  border: 1px solid rgba(86, 106, 144, 0.2);
  border-radius: 14px;
  padding: 10px 12px;
  font: inherit;
  background: linear-gradient(180deg, #0b1220, #111a2e);
  color: #eef4ff;
}

.cekindo-assistant__lead-grid textarea {
  min-height: 82px;
  resize: vertical;
}

.cekindo-assistant__lead-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cekindo-assistant__lead-submit {
  padding: 10px 12px;
  background: linear-gradient(135deg, #12337d 0%, #1958e8 100%);
  color: #fff;
}

.cekindo-assistant__hint {
  margin-top: 8px;
  color: #8ca0c3;
  font-size: 0.76rem;
  line-height: 1.5;
}

.cekindo-assistant__fab {
  width: 66px;
  height: 66px;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,0.18), transparent 32%),
    linear-gradient(135deg, #050914 0%, #12337d 58%, #4aa8ff 100%);
  color: #fff;
  box-shadow:
    0 22px 42px rgba(18, 51, 125, 0.28),
    0 10px 24px rgba(8, 20, 38, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cekindo-assistant__fab-mark {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cekindo-assistant__fab-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #8be6ff;
  box-shadow: 0 0 0 6px rgba(139, 230, 255, 0.18);
}

@media (max-width: 720px) {
  .cekindo-assistant {
    right: 10px;
    bottom: 10px;
    font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    color: #000;
  }

  .cekindo-assistant__panel {
    width: min(100vw - 20px, 420px);
    max-height: min(76vh, 640px);
    border: 4px solid #000;
    border-radius: 0;
    box-shadow: 8px 8px 0 #000;
    background: #fffdf5;
  }

  .cekindo-assistant__header {
    padding: 13px;
    color: #000;
    background: #ffd93d;
    border-bottom: 4px solid #000;
  }

  .cekindo-assistant__header::after {
    display: none;
  }

  .cekindo-assistant__eyebrow {
    display: inline-block;
    padding: 5px 7px;
    border: 3px solid #000;
    background: #c4b5fd;
    box-shadow: 3px 3px 0 #000;
    color: #000;
    font-size: 0.66rem;
    opacity: 1;
  }

  .cekindo-assistant__title-row {
    gap: 10px;
    margin-top: 10px;
    align-items: center;
  }

  .cekindo-assistant__title {
    font-size: 1.05rem;
    line-height: 1.05;
    color: #000;
  }


  .cekindo-assistant__close {
    order: 3;
    min-width: 40px;
    height: 34px;
    border: 3px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    box-shadow: 3px 3px 0 #000;
    font-size: 0.7rem;
  }

  .cekindo-assistant__presence {
    border: 3px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    padding: 6px 7px;
    font-size: 0.68rem;
  }

  .cekindo-assistant__presence-dot {
    background: #9dff00;
    box-shadow: none;
  }

  .cekindo-assistant__subtitle {
    margin-top: 10px;
    max-width: none;
    color: #111;
    font-size: 0.82rem;
    line-height: 1.38;
    opacity: 1;
  }

  .cekindo-assistant__context {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 10px;
  }

  .cekindo-assistant__context-card {
    border: 3px solid #000;
    border-radius: 0;
    background: #fffdf5;
    padding: 7px;
    color: #000;
  }

  .cekindo-assistant__context-card strong,
  .cekindo-assistant__context-card span {
    color: #000;
    opacity: 1;
    font-size: 0.66rem;
    line-height: 1.2;
  }

  .cekindo-assistant__body {
    gap: 8px;
    padding: 11px;
    background:
      linear-gradient(to right, rgba(0,0,0,.07) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(0,0,0,.07) 1px, transparent 1px),
      #fffdf5;
    background-size: 18px 18px;
  }

  .cekindo-assistant__section-label {
    margin: 0;
    color: #000;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .cekindo-assistant__quick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .cekindo-assistant__chip {
    border: 3px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    padding: 9px 8px;
    box-shadow: 3px 3px 0 #000;
    font-size: 0.76rem;
    line-height: 1.15;
    text-align: left;
  }

  .cekindo-assistant__messages {
    min-height: 108px;
    max-height: 190px;
    gap: 8px;
    padding-right: 0;
  }

  .cekindo-assistant__bubble {
    max-width: 100%;
    border: 3px solid #000;
    border-radius: 0;
    padding: 9px 10px;
    box-shadow: 4px 4px 0 #000;
    font-size: 0.82rem;
    line-height: 1.38;
  }

  .cekindo-assistant__bubble--assistant {
    background: #fff;
    color: #000;
  }

  .cekindo-assistant__bubble--user {
    background: #38e8ff;
    color: #000;
  }

  .cekindo-assistant__links,
  .cekindo-assistant__tags {
    gap: 6px;
  }

  .cekindo-assistant__tag,
  .cekindo-assistant__tag--soft {
    border: 2px solid #000;
    border-radius: 0;
    background: #ffd93d;
    color: #000;
    padding: 4px 6px;
  }

  .cekindo-assistant__link {
    border: 3px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    padding: 9px 10px;
    box-shadow: 3px 3px 0 #000;
  }

  .cekindo-assistant__link span,
  .cekindo-assistant__meta,
  .cekindo-assistant__hint {
    color: #222;
  }

  .cekindo-assistant__composer {
    padding: 10px;
    border-top: 4px solid #000;
    background: #fff;
  }

  .cekindo-assistant__form {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cekindo-assistant__input,
  .cekindo-assistant__lead-grid input,
  .cekindo-assistant__lead-grid textarea {
    border: 3px solid #000;
    border-radius: 0;
    background: #fffdf5;
    color: #000;
    padding: 10px;
    font-size: 0.86rem;
  }

  .cekindo-assistant__footer,
  .cekindo-assistant__lead-row {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .cekindo-assistant__submit,
  .cekindo-assistant__action,
  .cekindo-assistant__lead-submit {
    border: 3px solid #000;
    border-radius: 0;
    color: #000;
    background: #ff6b6b;
    box-shadow: 3px 3px 0 #000;
    padding: 10px 8px;
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .cekindo-assistant__action:nth-child(2),
  .cekindo-assistant__action:nth-child(4) {
    background: #fffdf5;
  }

  .cekindo-assistant__brief,
  .cekindo-assistant__lead {
    border: 3px solid #000;
    border-radius: 0;
    background: #fffdf5;
    color: #000;
    padding: 10px;
    font-size: 0.78rem;
    line-height: 1.42;
  }

  .cekindo-assistant__fab {
    width: 56px;
    height: 56px;
    border: 4px solid #000;
    border-radius: 0;
    background: #ffd93d;
    color: #000;
    box-shadow: 5px 5px 0 #000;
  }

  .cekindo-assistant__fab-dot {
    top: 6px;
    right: 6px;
    background: #9dff00;
    box-shadow: none;
  }
}
