/* Pikul Front Desk website chat (v79 brand). Pairs with /assets/pk-chat.js. */
#pkc{--c-bg:#F5F2EC;--c-card:#FBF9F5;--c-ink:#161513;--c-ink2:#3D3A34;--c-mut:#5E5A52;--c-mut2:#8A857B;--c-line:#DDD6CA;--c-bub:#E6E0D5;--c-g:#0F4D2C;--c-g2:#0B3D22;--c-gt:#DCE8DF;--c-live:#2F8A52;--c-red:#E60000;
  --c-serif:'Newsreader',Georgia,'Times New Roman',serif;--c-sans:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  position:fixed;right:24px;bottom:24px;z-index:900;font-family:var(--c-sans);color:var(--c-ink);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}
#pkc *,#pkc *::before,#pkc *::after{box-sizing:border-box}
#pkc button{font:inherit;color:inherit;cursor:pointer}
#pkc [hidden]{display:none!important}
.pkc-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* the round mark: green disc, serif italic p, red dot (from the wordmark) */
.pkc-mark{position:relative;flex-shrink:0;width:36px;height:36px;border-radius:50%;background:var(--c-g);display:flex;align-items:center;justify-content:center}
.pkc-mark i{font-family:var(--c-serif);font-style:italic;font-size:23px;line-height:1;color:#F5F2EC;margin-top:-3px}
.pkc-mark b{position:absolute;right:7px;bottom:9px;width:5px;height:5px;border-radius:50%;background:var(--c-red)}
.pkc-mark.lg{width:40px;height:40px}.pkc-mark.lg i{font-size:25px}.pkc-mark.lg b{right:8px;bottom:10px;width:6px;height:6px}

/* launcher */
.pkc-launch{display:flex;align-items:center;gap:10px;margin-left:auto;background:var(--c-ink);color:#F5F2EC!important;border:0;border-radius:999px;padding:8px 18px 8px 8px;font-size:15px;font-weight:600;box-shadow:0 14px 30px -12px rgba(22,21,19,.5);transition:transform .2s ease,opacity .3s ease,box-shadow .2s ease;opacity:0;transform:translateY(12px);pointer-events:none}
#pkc.pkc-ready .pkc-launch{opacity:1;transform:none;pointer-events:auto}
.pkc-launch:hover{transform:translateY(-2px)!important;box-shadow:0 18px 34px -12px rgba(22,21,19,.55)}
.pkc-launch:focus-visible,#pkc button:focus-visible,#pkc a:focus-visible,#pkc textarea:focus-visible{outline:2px solid var(--c-g);outline-offset:2px}
.pkc-dot{width:8px;height:8px;border-radius:50%;background:var(--c-live);flex-shrink:0}
.pkc-badge{position:absolute;top:-4px;right:-4px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--c-red);color:#fff;font-size:11.5px;font-weight:700;display:flex;align-items:center;justify-content:center}
.pkc-lwrap{position:relative;display:flex;justify-content:flex-end}
#pkc.pkc-open .pkc-lwrap,#pkc.pkc-open .pkc-invite{display:none}

/* invite */
.pkc-invite{position:relative;width:300px;margin:0 0 12px auto;background:var(--c-card);border:1px solid var(--c-line);border-radius:8px;padding:16px 40px 14px 16px;box-shadow:0 20px 40px -20px rgba(22,21,19,.35);cursor:pointer;animation:pkc-in .35s ease both}
.pkc-invite .k{display:block;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--c-g);margin-bottom:6px}
.pkc-invite .t{display:block;font-family:var(--c-serif);font-size:20px;line-height:1.25}
.pkc-invite .x{position:absolute;top:6px;right:6px;width:32px;height:32px;border:0;background:none;border-radius:4px;color:var(--c-mut2);display:flex;align-items:center;justify-content:center}
.pkc-invite .x:hover{color:var(--c-ink);background:var(--c-bg)}
@keyframes pkc-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* panel */
.pkc-panel{display:none;flex-direction:column;width:408px;height:min(760px,calc(100vh - 48px));height:min(760px,calc(100dvh - 48px));background:var(--c-bg);border-radius:8px;overflow:hidden;box-shadow:0 30px 70px -24px rgba(22,21,19,.42),0 0 0 1px var(--c-line)}
#pkc.pkc-open .pkc-panel{display:flex;animation:pkc-in .25s ease both}
#pkc.pkc-wide .pkc-panel{width:min(720px,calc(100vw - 48px))}
.pkc-head{display:flex;align-items:center;gap:11px;padding:14px 8px 14px 16px;background:var(--c-card);border-bottom:1px solid var(--c-line)}
.pkc-who{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pkc-name{font-family:var(--c-serif);font-size:21px;line-height:1.15;font-weight:400;margin:0}
.pkc-status{font-size:12px;color:var(--c-mut);display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pkc-status .pkc-dot{width:7px;height:7px}
.pkc-tools{display:flex;gap:2px}
.pkc-tool{width:32px;height:34px;border:0;background:none;border-radius:4px;color:var(--c-ink2)!important;display:flex;align-items:center;justify-content:center}
.pkc-tool:hover{background:var(--c-bg);color:var(--c-ink)!important}
.pkc-tool svg,.pkc-invite svg{width:18px;height:18px}

.pkc-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:18px 16px 8px;display:flex;flex-direction:column}
.pkc-log{display:flex;flex-direction:column;gap:12px;margin-top:auto}
.pkc-day{align-self:center;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;font-weight:600;color:var(--c-mut2)}
.pkc-row{display:flex;flex-direction:column;gap:4px;max-width:86%}
.pkc-row.me{align-self:flex-end;align-items:flex-end;max-width:82%}
.pkc-row.bot{align-self:flex-start}
.pkc-bub{padding:12px 14px;font-size:14.5px;line-height:1.55;overflow-wrap:anywhere}
.pkc-row.bot .pkc-bub{background:#fff;border:1px solid var(--c-bub);border-radius:14px 14px 14px 4px}
.pkc-row.me .pkc-bub{background:var(--c-ink);color:#F5F2EC;border-radius:14px 14px 4px 14px}
.pkc-bub p{margin:0}.pkc-bub p+p,.pkc-bub p+ul,.pkc-bub ul+p,.pkc-bub p+ol,.pkc-bub ol+p{margin-top:8px}
.pkc-bub ul,.pkc-bub ol{margin:0;padding-left:20px}.pkc-bub li+li{margin-top:2px}
.pkc-bub a{color:var(--c-g);font-weight:600;text-underline-offset:2px}
.pkc-row.me .pkc-bub a{color:#F5F2EC}
.pkc-meta{font-size:11.5px;color:var(--c-mut2);padding:0 4px}
.pkc-row.failed .pkc-bub{opacity:.6}
.pkc-retry{border:0;background:none;padding:0;color:var(--c-g)!important;font-weight:600;text-decoration:underline}
.pkc-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.pkc-btn{display:inline-flex;align-items:center;gap:7px;border-radius:4px;padding:9px 12px;font-size:13.5px;font-weight:600;text-decoration:none!important;line-height:1.2;border:1px solid var(--c-ink);background:var(--c-ink);color:#F5F2EC!important}
.pkc-btn.ghost{background:var(--c-card);color:var(--c-ink)!important;border-color:var(--c-line)}
.pkc-btn svg{width:15px;height:15px}

/* options and time chips */
.pkc-opts{display:flex;flex-wrap:wrap;gap:8px;align-self:flex-start;max-width:100%}
.pkc-opt{background:var(--c-card);border:1px solid var(--c-line);color:var(--c-ink)!important;font-size:13.5px;font-weight:500;padding:9px 12px;border-radius:999px;text-align:left}
.pkc-opt:hover{border-color:var(--c-ink)}
.pkc-opt.time{border-radius:4px;border-color:var(--c-g);color:var(--c-g)!important;font-weight:600}
.pkc-opt.time:hover{background:var(--c-g);color:#F5F2EC!important}
.pkc-all{border:0;background:none;padding:9px 4px;font-size:13.5px;font-weight:600;color:var(--c-ink)!important;text-decoration:underline;text-underline-offset:3px}

/* booked card */
.pkc-row.booked{max-width:90%}
.pkc-row.booked .pkc-bub{border-radius:6px;border:1px solid var(--c-line);border-top:3px solid var(--c-g);padding:14px 16px}
.pkc-bk{display:flex;align-items:center;gap:6px;font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--c-g);margin-bottom:6px}
.pkc-bk svg{width:14px;height:14px}

/* handover, notes, typing */
.pkc-sys{align-self:stretch;background:var(--c-card);border:1px solid var(--c-line);border-radius:6px;padding:12px 14px;font-size:13.5px;color:var(--c-ink2)}
.pkc-sys p{margin:0}
.pkc-typing{align-self:flex-start;margin-top:12px;background:#fff;border:1px solid var(--c-bub);border-radius:14px 14px 14px 4px;padding:14px 16px;display:flex;gap:5px}
.pkc-typing span{width:6px;height:6px;border-radius:50%;background:var(--c-mut2);animation:pkc-b 1.2s infinite ease-in-out}
.pkc-typing .pkc-twait{font-style:normal;font-size:12.5px;color:var(--c-mut);margin-left:8px;line-height:6px;align-self:center}
.pkc-typing span:nth-child(2){animation-delay:.15s}.pkc-typing span:nth-child(3){animation-delay:.3s}
@keyframes pkc-b{0%,80%,100%{opacity:.3;transform:none}40%{opacity:1;transform:translateY(-2px)}}

/* starters, composer, small print */
.pkc-chips{display:flex;gap:8px;overflow-x:auto;padding:4px 16px 10px;scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
.pkc-chips::-webkit-scrollbar{display:none}
.pkc-chip{flex-shrink:0;background:var(--c-card);border:1px solid var(--c-line);color:var(--c-ink)!important;font-size:13px;font-weight:500;padding:8px 12px;border-radius:999px;white-space:nowrap;text-decoration:none!important;display:inline-flex;align-items:center;gap:6px}
.pkc-chip:hover{border-color:var(--c-ink)}
.pkc-chip svg{width:14px;height:14px}
.pkc-foot{background:var(--c-card);border-top:1px solid var(--c-line);padding-top:12px}
.pkc-note{margin:0 16px 8px;font-size:12.5px;color:#8A2A1F}
.pkc-form{display:flex;align-items:flex-end;gap:10px;margin:0 16px;background:#fff;border:1px solid var(--c-line);border-radius:6px;padding:6px 6px 6px 14px}
.pkc-form:focus-within{border-color:var(--c-ink)}
.pkc-box{flex:1;border:0;outline:0!important;resize:none;background:transparent;font:inherit;font-size:15px;line-height:1.45;color:var(--c-ink);padding:8px 0;max-height:132px;min-height:24px}
.pkc-box::placeholder{color:var(--c-mut2)}
.pkc-send{width:40px;height:40px;flex-shrink:0;border:0;border-radius:50%;background:var(--c-g);color:#F5F2EC!important;display:flex;align-items:center;justify-content:center;transition:background .15s}
.pkc-send:hover{background:var(--c-g2)}
.pkc-send svg{width:18px;height:18px}
.pkc-fine{text-align:center;font-size:11.5px;color:var(--c-mut2);padding:8px 16px 12px}
.pkc-fine a{color:inherit;text-underline-offset:2px}

/* "Start a new chat?" */
.pkc-sheet{margin:0 16px 10px;background:#fff;border:1px solid var(--c-line);border-radius:6px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.pkc-sheet b{font-family:var(--c-serif);font-weight:400;font-size:19px}
.pkc-sheet p{margin:0;font-size:13.5px;color:var(--c-ink2)}
.pkc-sheet .row{display:flex;gap:8px}

/* phones: the chat fills the screen; the launcher sits clear of the Book a call bar */
@media (max-width:560px){
  #pkc{right:12px;bottom:12px}
  #pkc.pkc-open{inset:0;right:0;bottom:0}
  #pkc.pkc-open .pkc-panel,#pkc.pkc-wide .pkc-panel{width:100%;height:100%;border-radius:0;box-shadow:none}
  .pkc-panel{padding-bottom:env(safe-area-inset-bottom)}
  .pkc-tool.pkc-wide-btn{display:none}
  .pkc-invite{width:min(300px,calc(100vw - 24px))}
  .pkc-launch{font-size:14.5px}
  /* iOS zooms the whole page when a text box under 16px is tapped, which pushed the chat off the right edge: keep it at 16px */
  .pkc-box{font-size:16px}
  #pkc.pkc-open .pkc-panel{max-width:100vw}
  .pkc-tool{width:40px;height:40px}
  .pkc-tool svg{width:22px;height:22px}
  body:has(.mcta.show) .pkc-launch{padding:6px;gap:0}
  body:has(.mcta.show) .pkc-launch .pkc-lbl,body:has(.mcta.show) .pkc-launch .pkc-dot{display:none}
  body:has(.mcta.show) .pkc-launch .pkc-mark{width:50px;height:50px}
  body:has(.mcta.show) .pkc-launch .pkc-mark i{font-size:31px}
  body:has(.mcta.show) .pkc-launch .pkc-mark b{right:11px;bottom:13px;width:6px;height:6px}
  body:has(.mcta.show) .pkc-invite{margin-bottom:12px}
}
/* never over the cookie choice */
@media (max-width:560px){body:has(#pk-consent) #pkc:not(.pkc-open){bottom:92px}}  /* on phones the chat button sits above the cookie bar; on laptops they are in opposite corners */
@media (prefers-reduced-motion:reduce){#pkc *{animation:none!important;transition:none!important}}
@media print{#pkc{display:none}}
/* v80: on phones the launcher is always the round mark, so it never covers the page; hidden while the menu is open */
@media (max-width:560px){
  #pkc .pkc-launch{padding:6px;gap:0}
  #pkc .pkc-launch .pkc-lbl,#pkc .pkc-launch .pkc-dot{display:none}
  #pkc .pkc-launch .pkc-mark{width:50px;height:50px}
  #pkc .pkc-launch .pkc-mark i{font-size:31px}
  #pkc .pkc-launch .pkc-mark b{right:11px;bottom:13px;width:6px;height:6px}
}
body.menu-open #pkc{display:none!important}
/* v80b: a smaller window on laptops (about 20% smaller), and the three starters stacked one below another so each is easy to see */
@media (min-width:561px){
  .pkc-panel{width:336px;height:min(608px,calc(100vh - 48px));height:min(608px,calc(100dvh - 48px))}
  #pkc.pkc-wide .pkc-panel{width:min(600px,calc(100vw - 48px))}
  .pkc-head{padding:12px 6px 12px 14px;gap:10px}
  .pkc-name{font-size:19px}
  .pkc-mark.lg{width:36px;height:36px}.pkc-mark.lg i{font-size:23px}.pkc-mark.lg b{right:7px;bottom:9px;width:5px;height:5px}
  .pkc-body{padding:14px 14px 6px}
  .pkc-bub{font-size:14px;padding:10px 12px}
  .pkc-form{margin:0 14px}
  .pkc-chips{padding-left:14px;padding-right:14px}
}
.pkc-chips{flex-direction:column;align-items:flex-start;overflow:visible;-webkit-mask-image:none;mask-image:none;padding-top:2px;padding-bottom:12px;gap:8px}
#pkc .pkc-chip{font-size:14px;padding:8px 14px}
@media (min-width:561px){.pkc-status{font-size:11.5px;gap:5px}.pkc-tool{width:30px}}
/* the WhatsApp starter is the way out of the chat: make it stand out */
#pkc a.pkc-chip{border-color:var(--c-g);color:var(--c-g)!important;font-weight:600}
#pkc a.pkc-chip:hover{background:var(--c-g);color:#F5F2EC!important}

/* v83: up to 760px wide the round p sits in the booking bar's row (centred on it), a little smaller to match the slimmer bar */
@media (max-width:760px){
  body:has(.mcta.show) #pkc:not(.pkc-open){right:12px;bottom:9px}
  body:has(.mcta.show) .pkc-launch{padding:4px;gap:0}
  body:has(.mcta.show) .pkc-launch .pkc-lbl,body:has(.mcta.show) .pkc-launch .pkc-dot{display:none}
  body:has(.mcta.show) .pkc-launch .pkc-mark{width:46px;height:46px}
  body:has(.mcta.show) .pkc-launch .pkc-mark i{font-size:29px}
  body:has(.mcta.show) .pkc-launch .pkc-mark b{right:10px;bottom:12px;width:6px;height:6px}
}
@media (max-width:560px){
  #pkc:not(.pkc-open){bottom:9px}
  #pkc .pkc-launch{padding:4px}
  #pkc .pkc-launch .pkc-mark{width:46px;height:46px}
  #pkc .pkc-launch .pkc-mark i{font-size:29px}
  #pkc .pkc-launch .pkc-mark b{right:10px;bottom:12px}
}
/* v83: a pinned demo is never covered: the invite waits, and where the demo needs the whole screen the p steps aside with the bar */
body.demo-on #pkc:not(.pkc-open) .pkc-invite,body.bar-off #pkc:not(.pkc-open){opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility 0s .2s}
