.pk-chat{
  --pk-chat-accent:#ffbd55;
  --pk-chat-bg:#061326;
  --pk-chat-bg-2:#031020;
  --pk-chat-text:#f5f8fd;
  --pk-chat-muted:#aab8cc;
  --pk-chat-border:rgba(255,189,85,.22);
  font-family:inherit;
  font-size:14px;
  color:var(--pk-chat-text);
  line-height:1.55;
  box-sizing:border-box;
}
.pk-chat *{box-sizing:border-box}
.pk-chat-floating{
  position:fixed;
  right:22px;
  bottom:92px;
  z-index:999990;
}
.pk-chat-floating.pk-chat-left{left:22px;right:auto}
.pk-chat-launch{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:58px;
  border:1px solid rgba(255,189,85,.38);
  border-radius:999px;
  background:linear-gradient(135deg,#07162d 0%, #081d41 100%);
  color:#fff;
  padding:9px 10px 9px 18px;
  font:inherit;
  font-weight:600;
  cursor:pointer;
  box-shadow:0 16px 44px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.05);
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
.pk-chat-launch:hover,
.pk-chat-launch:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 20px 54px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
  border-color:rgba(255,189,85,.58);
}
.pk-chat-launch-icon,
.pk-chat-avatar{
  display:grid;
  place-items:center;
  border-radius:50%;
  flex:none;
}
.pk-chat-launch-icon{
  width:38px;
  height:38px;
  background:var(--pk-chat-accent);
  color:#091526;
  box-shadow:0 8px 24px rgba(255,189,85,.28);
  font-size:16px;
  font-weight:700;
}
.pk-chat-launch-text{display:flex;flex-direction:column;align-items:flex-start;line-height:1.2}
.pk-chat-launch-text strong{font-size:14px;font-weight:700;color:#fff}
.pk-chat-launch-text small{font-size:11px;color:#c1d0e5;font-weight:500}
.pk-chat-panel{
  background:linear-gradient(180deg,#08172d 0%, #061326 100%);
  border:1px solid var(--pk-chat-border);
  box-shadow:0 26px 80px rgba(0,0,0,.58);
  border-radius:24px;
  overflow:hidden;
  width:min(420px,calc(100vw - 28px));
  height:min(680px,calc(100dvh - 120px));
  display:flex;
  flex-direction:column;
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
}
.pk-chat-panel[hidden],.pk-chat-form-area[hidden]{display:none!important}
.pk-chat-floating .pk-chat-panel{position:absolute;bottom:calc(100% + 14px);right:0}
.pk-chat-floating.pk-chat-left .pk-chat-panel{right:auto;left:0}
.pk-chat-header{
  padding:18px 18px 16px;
  display:flex;
  align-items:center;
  gap:12px;
  background:linear-gradient(135deg,#031020 0%, #07162d 100%);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.pk-chat-avatar{
  width:42px;
  height:42px;
  background:linear-gradient(135deg,var(--pk-chat-accent),#ffd68f);
  color:#081326;
  box-shadow:0 10px 30px rgba(255,189,85,.22);
  font-size:17px;
  font-weight:700;
}
.pk-chat-heading{display:flex;flex-direction:column;min-width:0;flex:1}
.pk-chat-heading strong{font-weight:700;color:#fff;font-size:15px;letter-spacing:.01em}
.pk-chat-heading small{font-size:11px;color:#b7c6da}
.pk-chat-close{
  width:36px;height:36px;border:0;border-radius:50%;background:rgba(255,255,255,.04);color:#dbe4f4;font-size:22px;cursor:pointer;padding:0;
  transition:background-color .2s ease,color .2s ease, transform .2s ease;
}
.pk-chat-close:hover,.pk-chat-close:focus-visible{background:rgba(255,255,255,.09);color:#fff;transform:rotate(90deg)}
.pk-chat-messages{
  min-height:110px;
  flex:1;
  overflow-y:auto;
  padding:18px 16px 10px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
  scrollbar-width:thin;
  background:
    radial-gradient(circle at top right, rgba(255,189,85,.06), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0));
}
.pk-chat-bubble{
  max-width:92%;
  padding:12px 14px;
  border-radius:16px;
  background:#102541;
  border:1px solid rgba(255,255,255,.05);
  color:#eaf0f9;
  overflow-wrap:anywhere;
  white-space:pre-line;
}
.pk-chat-user{
  background:var(--pk-chat-accent);
  border-color:rgba(255,189,85,.4);
  color:#091526;
  align-self:flex-end;
  border-bottom-right-radius:5px;
  font-weight:600;
}
.pk-chat-bot{border-bottom-left-radius:5px}
.pk-chat-options{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-content:flex-start;
  max-height:180px;
  overflow:auto;
  padding:14px 16px 14px;
  border-top:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.015);
}
.pk-chat-options:empty{display:none}
.pk-chat-choice{
  background:#0b213f;
  border:1px solid rgba(255,189,85,.28);
  border-radius:999px;
  padding:10px 14px;
  color:#edf2f9;
  font:inherit;
  font-size:12px;
  font-weight:600;
  cursor:pointer;
  text-align:left;
  transition:transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.pk-chat-choice:hover,.pk-chat-choice:focus-visible{
  border-color:var(--pk-chat-accent);
  background:#173257;
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}
.pk-chat-form-area{
  max-height:330px;
  overflow:auto;
  padding:12px 16px 16px;
  border-top:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.015);
}
.pk-chat-form-mount > *:first-child{margin-top:0}
.pk-chat-lead{display:grid;gap:10px}
.pk-chat-lead label{display:grid;gap:5px;font-size:12px;color:#edf3fb;font-weight:500}
.pk-chat-lead input,
.pk-chat-lead textarea,
.pk-chat-custom-form input,
.pk-chat-custom-form textarea,
.pk-chat-custom-form select{
  width:100%;
  padding:11px 12px;
  border:1px solid #314a69;
  border-radius:12px;
  background:#091a32;
  color:white;
  font:inherit;
  font-size:13px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.02);
}
.pk-chat-lead textarea,
.pk-chat-custom-form textarea{min-height:96px;resize:vertical}
.pk-chat-lead input:focus,
.pk-chat-lead textarea:focus,
.pk-chat-custom-form input:focus,
.pk-chat-custom-form textarea:focus,
.pk-chat-custom-form select:focus{
  outline:2px solid var(--pk-chat-accent);
  outline-offset:1px;
  border-color:var(--pk-chat-accent);
}
.pk-chat-send,
.pk-chat-custom-form button,
.pk-chat-custom-form input[type="submit"]{
  appearance:none;
  background:linear-gradient(135deg,var(--pk-chat-accent),#f5c66a);
  color:#061326;
  padding:12px 16px;
  border:0;
  border-radius:14px;
  cursor:pointer;
  font-weight:700;
  box-shadow:0 12px 30px rgba(255,189,85,.18);
}
.pk-chat-send:hover,
.pk-chat-custom-form button:hover,
.pk-chat-custom-form input[type="submit"]:hover{filter:brightness(1.03)}
.pk-chat-result{margin:0;font-size:12px;color:#c8d5e7}
.pk-chat-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.pk-chat-footer{
  padding:12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  border-top:1px solid rgba(255,255,255,.08);
  font-size:10px;
  color:#99adc6;
  background:rgba(255,255,255,.02);
}
.pk-chat-restart{border:0;background:none;color:var(--pk-chat-accent);font-size:11px;font-weight:700;cursor:pointer}
.pk-chat-embedded{max-width:430px}
.pk-chat-embedded .pk-chat-panel{position:relative;height:620px}
.pk-chat-error{color:#ffd49a}
.pk-chat :focus-visible{outline:2px solid var(--pk-chat-accent);outline-offset:3px}
@media (max-width: 782px){
  .pk-chat-floating{right:14px;bottom:86px}
  .pk-chat-floating.pk-chat-left{left:14px}
  .pk-chat-launch{padding:8px 9px 8px 14px;min-height:54px}
  .pk-chat-launch-icon{width:36px;height:36px}
  .pk-chat-floating .pk-chat-panel{position:fixed;left:10px!important;right:10px!important;bottom:82px;width:auto;height:min(76dvh,640px);border-radius:22px}
}
@media (max-width: 600px){
  .pk-chat-launch-text small{display:none}
  .pk-chat-embedded .pk-chat-panel{height:580px}
  .pk-chat-hide-mobile{display:none!important}
}
@media (prefers-reduced-motion: reduce){.pk-chat *{transition:none!important}}
/* Pinakin V1.2 — scoped theme safeguards against Elementor/global button styles */
body .pk-chat{font-size:12.5px!important;color:#edf2f8;line-height:1.48}
body .pk-chat .pk-chat-panel{width:min(388px,calc(100vw - 24px));height:min(590px,calc(100dvh - 120px));background:linear-gradient(165deg,#061326,#081d41 85%);border-color:rgba(255,189,85,.22);font-size:12.5px}
body .pk-chat .pk-chat-header{padding:13px 15px;background:#031020}
body .pk-chat .pk-chat-heading strong{font-size:14px!important}
body .pk-chat .pk-chat-heading small{font-size:10px!important}
body .pk-chat .pk-chat-avatar{width:36px;height:36px}
body .pk-chat .pk-chat-messages{gap:9px;padding:14px 13px 9px}
body .pk-chat .pk-chat-bubble{font-size:12px!important;line-height:1.55!important;padding:10px 12px;border-radius:13px;background:#102541;color:#e9f0fa;border:1px solid rgba(255,255,255,.06)}
body .pk-chat .pk-chat-bubble.pk-chat-user{background:#ffbd55!important;color:#061326!important;border-color:#ffbd55!important}
body .pk-chat .pk-chat-options{max-height:148px;gap:7px;padding:10px 12px}
body .pk-chat button.pk-chat-choice,
body .pk-chat .pk-chat-options .pk-chat-choice,
body .pk-chat .pk-chat-restart{
  appearance:none!important;-webkit-appearance:none!important;
  background:#0a1d38!important;color:#e8eff9!important;
  border:1px solid rgba(255,189,85,.34)!important;
  border-radius:9px!important;padding:7px 10px!important;
  font-family:inherit!important;font-size:11.5px!important;font-weight:500!important;
  line-height:1.4!important;letter-spacing:0!important;text-decoration:none!important;
  text-transform:none!important;box-shadow:none!important;min-height:0!important;
}
body .pk-chat button.pk-chat-choice:hover,
body .pk-chat button.pk-chat-choice:focus-visible{
  background:#132f53!important;color:#ffcf79!important;border-color:#ffbd55!important;transform:translateY(-1px);
}
body .pk-chat .pk-chat-restart{border:0!important;background:transparent!important;color:#ffbd55!important;padding:5px 0!important}
body .pk-chat .pk-chat-close{
  appearance:none!important;background:rgba(255,255,255,.06)!important;color:#ecf2fb!important;
  border:1px solid rgba(255,255,255,.09)!important;border-radius:11px!important;
  width:30px!important;height:30px!important;padding:0!important;font-size:19px!important;
  line-height:1!important;box-shadow:none!important;
}
body .pk-chat .pk-chat-close:hover{background:rgba(255,189,85,.14)!important;color:#ffbd55!important}
body .pk-chat .pk-chat-footer{padding:8px 13px;font-size:9px!important}
body .pk-chat .pk-chat-launch{
  background:#061326!important;color:#fff!important;border:1px solid rgba(255,189,85,.44)!important;
  border-radius:999px!important;box-shadow:0 12px 38px rgba(0,0,0,.43)!important;
  font-size:12px!important;line-height:1.25!important;text-transform:none!important;
}
body .pk-chat .pk-chat-launch-text strong{font-size:12px!important;color:#fff!important}
body .pk-chat .pk-chat-launch-text small{font-size:10px!important;color:#b5c7df!important}
body .pk-chat .pk-chat-launch-icon{background:#ffbd55!important;color:#061326!important}
body .pk-chat .pk-chat-send,
body .pk-chat .pk-chat-custom-form button,
body .pk-chat .pk-chat-custom-form input[type="submit"]{
  background:#ffbd55!important;color:#061326!important;border:0!important;
  border-radius:10px!important;font-size:12px!important;font-weight:700!important;
  box-shadow:none!important;text-transform:none!important;
}
body .pk-chat .pk-chat-lead label{font-size:11.5px!important}
body .pk-chat .pk-chat-lead input,
body .pk-chat .pk-chat-lead textarea{font-size:12px!important}
@media(max-width:782px){body .pk-chat-floating .pk-chat-panel{width:auto;height:min(76dvh,620px)}}
