/* High Rnaker chat assistant */
#hrc-root {
  --c-navy:#0B1F3A;
  --c-navy-2:#071427;
  --c-orange:#FF6B1A;
  --c-amber:#FFB547;
  --c-text:#1E293B;
  --c-muted:#64748B;
  --c-line:#E2E8F0;
  --c-soft:#F8FAFC;
  --c-ease:cubic-bezier(.2,.8,.2,1);
  font-family:inherit;
  font-size:14px;
  line-height:1.5;
  color:var(--c-text);
}
#hrc-root *, #hrc-root *::before, #hrc-root *::after { box-sizing:border-box; }
#hrc-root button { font-family:inherit; cursor:pointer; }
/* shield the widget from theme button/input styles */
#hrc-root button{
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background-color:transparent;
  color:inherit;
  font:inherit;
  font-size:inherit;
  font-weight:inherit;
  line-height:1.2;
  letter-spacing:normal;
  text-transform:none;
  text-decoration:none;
  white-space:normal;
  min-height:0;
  min-width:0;
  width:auto;
  box-shadow:none;
}
#hrc-root input, #hrc-root select, #hrc-root textarea{ margin:0; box-shadow:none; line-height:1.4; min-height:0; }
#hrc-root p, #hrc-root h4, #hrc-root ul{ letter-spacing:normal; text-transform:none; }


/* launcher */
#hrc-root .hrc-launch {
  position:fixed;
  right:24px;
  bottom:96px;
  z-index:99998;
  width:62px;
  height:62px;
  border-radius:50%;
  border:0;
  padding:0;
  background:radial-gradient(circle at 30% 25%, #1B3A66, var(--c-navy) 60%, var(--c-navy-2));
  box-shadow:0 14px 34px -10px rgba(7,20,39,.6), 0 0 0 3px rgba(255,107,26,.9);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .35s var(--c-ease), box-shadow .35s var(--c-ease);
}
#hrc-root .hrc-launch:hover, #hrc-root .hrc-launch:focus { background-color:transparent; }
#hrc-root .hrc-launch:hover { transform:translateY(-3px) scale(1.04); box-shadow:0 18px 40px -10px rgba(7,20,39,.7), 0 0 0 4px rgba(255,107,26,1); }
#hrc-root .hrc-launch:focus-visible { outline:3px solid var(--c-amber); outline-offset:4px; }
#hrc-root .hrc-launch .hrc-mono {
  font-weight:800;
  font-size:19px;
  letter-spacing:-.5px;
  background:linear-gradient(135deg,#fff 30%, var(--c-amber));
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
#hrc-root .hrc-launch .hrc-x { display:none; color:#fff; }
#hrc-root.hrc-open .hrc-launch .hrc-mono { display:none; }
#hrc-root.hrc-open .hrc-launch .hrc-x { display:block; }
#hrc-root .hrc-launch::before {
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:50%;
  border:2px solid rgba(255,107,26,.7);
  animation:hrcPing 2.6s cubic-bezier(0,0,.2,1) infinite;
  pointer-events:none;
}
#hrc-root.hrc-open .hrc-launch::before { animation:none; opacity:0; }
#hrc-root .hrc-dot {
  position:absolute;
  right:3px;
  bottom:3px;
  width:13px;
  height:13px;
  border-radius:50%;
  background:#22C55E;
  border:2px solid #fff;
}
@keyframes hrcPing{ 0%{ transform:scale(1); opacity:.9; } 80%,100%{ transform:scale(1.55); opacity:0; } }

/* teaser */
#hrc-root .hrc-teaser {
  position:fixed;
  right:24px;
  bottom:172px;
  z-index:99998;
  width:300px;
  max-width:calc(100vw - 32px);
  background:#fff;
  border-radius:18px;
  padding:14px 14px 12px;
  box-shadow:0 22px 50px -18px rgba(7,20,39,.45), 0 0 0 1px rgba(11,31,58,.06);
  opacity:0;
  transform:translateY(12px) scale(.97);
  transform-origin:bottom right;
  pointer-events:none;
  transition:opacity .4s var(--c-ease), transform .4s var(--c-ease);
}
#hrc-root .hrc-teaser.hrc-show { opacity:1; transform:none; pointer-events:auto; }
#hrc-root .hrc-teaser::after {
  content:"";
  position:absolute;
  right:26px;
  bottom:-7px;
  width:14px;
  height:14px;
  background:#fff;
  transform:rotate(45deg);
  box-shadow:3px 3px 6px -3px rgba(7,20,39,.15);
}
#hrc-root .hrc-t-head { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
#hrc-root .hrc-t-close {
  margin-left:auto;
  border:0;
  background:transparent;
  color:var(--c-muted);
  width:26px;
  height:26px;
  border-radius:8px;
  font-size:18px;
  line-height:1;
}
#hrc-root .hrc-t-close:hover, #hrc-root .hrc-t-close:focus { background:var(--c-soft); color:var(--c-navy); }
#hrc-root .hrc-t-text { margin:0 0 10px; color:var(--c-text); font-size:13.5px; }
#hrc-root .hrc-t-text .hrc-caret { display:inline-block; width:2px; height:1em; background:var(--c-orange); vertical-align:-2px; margin-left:2px; animation:hrcBlink 1s steps(2) infinite; }
@keyframes hrcBlink{ 50%{ opacity:0; } }

/* shared avatar */
#hrc-root .hrc-ava {
  width:36px;
  height:36px;
  flex:0 0 36px;
  border-radius:12px;
  background:linear-gradient(135deg, var(--c-navy), #1B3A66);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:13px;
  color:#fff;
  box-shadow:inset 0 0 0 2px rgba(255,107,26,.85);
}
#hrc-root .hrc-who small { display:block; font-size:11px; color:var(--c-muted); line-height:1.2; }
#hrc-root .hrc-who strong { display:block; font-size:14px; color:var(--c-navy); line-height:1.3; }

/* chips */
#hrc-root .hrc-chips { display:flex; flex-wrap:wrap; gap:6px; }
#hrc-root .hrc-chip {
  border:1px solid rgba(255,107,26,.35);
  background:#FFF7F1;
  color:#C2410C;
  border-radius:999px;
  padding:6px 11px;
  font-size:12.5px;
  font-weight:600;
  line-height:1.2;
  transition:background-color .2s, color .2s, border-color .2s, transform .2s var(--c-ease);
}
#hrc-root .hrc-chip:hover { background:var(--c-orange); border-color:var(--c-orange); color:#fff; transform:translateY(-1px); }
#hrc-root .hrc-chip:focus-visible { outline:2px solid var(--c-orange); outline-offset:2px; }

/* panel */
#hrc-root .hrc-panel {
  position:fixed;
  right:24px;
  bottom:172px;
  z-index:99999;
  width:380px;
  max-width:calc(100vw - 32px);
  height:min(620px, calc(100vh - 200px));
  min-height:420px;
  background:#fff;
  border-radius:22px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 30px 70px -20px rgba(7,20,39,.55), 0 0 0 1px rgba(11,31,58,.08);
  opacity:0;
  transform:translateY(16px) scale(.97);
  transform-origin:bottom right;
  pointer-events:none;
  visibility:hidden;
  transition:opacity .35s var(--c-ease), transform .35s var(--c-ease), visibility 0s linear .35s;
}
#hrc-root.hrc-open .hrc-panel {
  opacity:1;
  transform:none;
  pointer-events:auto;
  visibility:visible;
  transition:opacity .35s var(--c-ease), transform .35s var(--c-ease), visibility 0s;
}
#hrc-root .hrc-head {
  position:relative;
  padding:16px 16px 12px;
  color:#fff;
  background:
    radial-gradient(260px 160px at 100% 0%, rgba(255,107,26,.45), transparent 70%),
    radial-gradient(220px 160px at 0% 100%, rgba(37,99,235,.45), transparent 70%),
    linear-gradient(135deg, var(--c-navy-2), var(--c-navy));
}
#hrc-root .hrc-head-row { display:flex; align-items:center; gap:10px; }
#hrc-root .hrc-head .hrc-ava { width:42px; height:42px; flex-basis:42px; border-radius:14px; font-size:14px; }
#hrc-root .hrc-head .hrc-who small { color:rgba(226,232,240,.8); display:flex; align-items:center; gap:6px; }
#hrc-root .hrc-head .hrc-who small i { width:7px; height:7px; border-radius:50%; background:#22C55E; box-shadow:0 0 0 3px rgba(34,197,94,.25); display:inline-block; }
#hrc-root .hrc-head .hrc-who strong { color:#fff; font-size:16px; }
#hrc-root .hrc-icons { margin-left:auto; display:flex; gap:4px; }
#hrc-root .hrc-ib {
  width:32px;
  height:32px;
  border-radius:10px;
  border:0;
  background:rgba(255,255,255,.08);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background-color .2s;
}
#hrc-root .hrc-ib:hover, #hrc-root .hrc-ib:focus { background:rgba(255,255,255,.18); }
#hrc-root .hrc-ib:focus-visible { outline:2px solid var(--c-amber); outline-offset:1px; }

#hrc-root .hrc-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:6px; margin-top:14px; }
#hrc-root .hrc-step span { display:block; height:4px; border-radius:4px; background:rgba(255,255,255,.18); overflow:hidden; position:relative; }
#hrc-root .hrc-step span::after { content:""; position:absolute; inset:0; width:0; background:linear-gradient(90deg, var(--c-amber), var(--c-orange)); transition:width .6s var(--c-ease); }
#hrc-root .hrc-step.hrc-on span::after { width:100%; }
#hrc-root .hrc-step em { display:block; font-style:normal; font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:rgba(226,232,240,.7); margin-top:5px; }
#hrc-root .hrc-step.hrc-on em { color:#fff; }

#hrc-root .hrc-tabs { display:grid; grid-template-columns:1fr 1fr; gap:4px; margin-top:12px; padding:4px; border-radius:12px; background:rgba(255,255,255,.08); }
#hrc-root .hrc-tab {
  border:0;
  border-radius:9px;
  padding:8px 0;
  font-size:13px;
  font-weight:600;
  background:transparent;
  color:rgba(255,255,255,.85);
  transition:background-color .25s, color .25s;
}
#hrc-root .hrc-tab:hover, #hrc-root .hrc-tab:focus { background-color:rgba(255,255,255,.12); color:#fff; }
#hrc-root .hrc-tab[aria-selected="true"], #hrc-root .hrc-tab[aria-selected="true"]:hover, #hrc-root .hrc-tab[aria-selected="true"]:focus { background:#fff; color:var(--c-navy); box-shadow:0 6px 16px -8px rgba(0,0,0,.4); }

#hrc-root .hrc-body { flex:1; min-height:0; position:relative; background:var(--c-soft); }
#hrc-root .hrc-pane { position:absolute; inset:0; display:flex; flex-direction:column; }
#hrc-root .hrc-pane[hidden] { display:none; }

#hrc-root .hrc-msgs { flex:1; overflow-y:auto; padding:16px 14px 8px; scroll-behavior:smooth; overscroll-behavior:contain; }
#hrc-root .hrc-msg { display:flex; gap:8px; margin-bottom:12px; animation:hrcIn .35s var(--c-ease) both; }
#hrc-root .hrc-msg .hrc-ava { width:28px; height:28px; flex-basis:28px; border-radius:9px; font-size:10px; }
#hrc-root .hrc-bub {
  max-width:84%;
  padding:10px 13px;
  border-radius:16px 16px 16px 6px;
  background:#fff;
  border:1px solid var(--c-line);
  color:var(--c-text);
  font-size:13.5px;
  word-wrap:break-word;
}
#hrc-root .hrc-bub p { margin:0 0 6px; }
#hrc-root .hrc-bub p:last-child { margin-bottom:0; }
#hrc-root .hrc-bub ul { margin:4px 0 6px; padding-left:18px; }
#hrc-root .hrc-bub li { margin:2px 0; }
#hrc-root .hrc-bub b { color:var(--c-navy); }
#hrc-root .hrc-bub a { color:#C2410C; font-weight:600; text-decoration:underline; }
#hrc-root .hrc-me { justify-content:flex-end; }
#hrc-root .hrc-me .hrc-bub {
  background:linear-gradient(135deg, #FF8A3D, var(--c-orange));
  border:0;
  color:#fff;
  border-radius:16px 16px 6px 16px;
}
#hrc-root .hrc-msg-chips { margin:-4px 0 12px 36px; }
#hrc-root .hrc-typing .hrc-bub { display:flex; gap:4px; align-items:center; padding:13px 14px; }
#hrc-root .hrc-typing i { width:6px; height:6px; border-radius:50%; background:#94A3B8; animation:hrcDot 1.2s infinite ease-in-out; }
#hrc-root .hrc-typing i:nth-child(2) { animation-delay:.15s; }
#hrc-root .hrc-typing i:nth-child(3) { animation-delay:.3s; }
@keyframes hrcDot{ 0%,80%,100%{ transform:translateY(0); opacity:.5; } 40%{ transform:translateY(-4px); opacity:1; } }
@keyframes hrcIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }

#hrc-root .hrc-cta {
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:8px;
  padding:8px 12px;
  border-radius:10px;
  font-weight:700;
  font-size:13px;
  text-decoration:none !important;
  color:#fff !important;
  background:#22C55E;
}
#hrc-root .hrc-cta:hover { filter:brightness(1.05); }

#hrc-root .hrc-input {
  display:flex;
  gap:8px;
  align-items:center;
  padding:10px 12px 12px;
  background:#fff;
  border-top:1px solid var(--c-line);
}
#hrc-root .hrc-input input {
  flex:1;
  min-width:0;
  border:1px solid var(--c-line);
  border-radius:12px;
  padding:11px 12px;
  font-size:14px;
  font-family:inherit;
  color:var(--c-text);
  background:var(--c-soft);
  outline:none;
  transition:border-color .2s, box-shadow .2s, background-color .2s;
}
#hrc-root .hrc-input input:focus { border-color:var(--c-orange); background:#fff; box-shadow:0 0 0 3px rgba(255,107,26,.15); }
#hrc-root .hrc-send {
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:12px;
  border:0;
  color:#fff;
  background:linear-gradient(135deg, #FF9A3C, var(--c-orange));
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s var(--c-ease), opacity .2s;
}
#hrc-root .hrc-send:hover, #hrc-root .hrc-send:focus { color:#fff; background-color:transparent; }
#hrc-root .hrc-send:hover { transform:translateY(-1px); }
#hrc-root .hrc-send:disabled { opacity:.45; cursor:default; transform:none; }
#hrc-root .hrc-foot { text-align:center; font-size:10.5px; color:#94A3B8; padding:0 0 8px; background:#fff; }

/* booking form */
#hrc-root .hrc-form { flex:1; overflow-y:auto; padding:16px 14px; }
#hrc-root .hrc-form h4 { margin:0 0 4px; font-size:16px; color:var(--c-navy); }
#hrc-root .hrc-form .hrc-sub { margin:0 0 14px; color:var(--c-muted); font-size:12.5px; }
#hrc-root .hrc-f { margin-bottom:10px; }
#hrc-root .hrc-f label { display:block; font-size:12px; font-weight:600; color:var(--c-navy); margin-bottom:4px; }
#hrc-root .hrc-f label b { color:var(--c-orange); }
#hrc-root .hrc-f input, #hrc-root .hrc-f select, #hrc-root .hrc-f textarea {
  width:100%;
  border:1px solid var(--c-line);
  border-radius:10px;
  padding:9px 11px;
  font-size:13.5px;
  font-family:inherit;
  color:var(--c-text);
  background:#fff;
  outline:none;
  transition:border-color .2s, box-shadow .2s;
}
#hrc-root .hrc-f textarea { resize:vertical; min-height:70px; }
#hrc-root .hrc-f input:focus, #hrc-root .hrc-f select:focus, #hrc-root .hrc-f textarea:focus { border-color:var(--c-orange); box-shadow:0 0 0 3px rgba(255,107,26,.15); }
#hrc-root .hrc-row { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
#hrc-root .hrc-hp { position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
#hrc-root .hrc-submit {
  width:100%;
  border:0;
  border-radius:12px;
  padding:12px;
  font-size:14px;
  font-weight:700;
  color:#fff;
  background:linear-gradient(135deg, #FF9A3C, var(--c-orange));
  box-shadow:0 12px 24px -12px rgba(255,107,26,.8);
  margin-top:4px;
  transition:transform .2s var(--c-ease), opacity .2s;
}
#hrc-root .hrc-submit:hover, #hrc-root .hrc-submit:focus { color:#fff; background-color:transparent; }
#hrc-root .hrc-submit:hover { transform:translateY(-1px); }
#hrc-root .hrc-submit:disabled { opacity:.6; cursor:default; transform:none; }
#hrc-root .hrc-err { color:#B91C1C; font-size:12.5px; margin:8px 0 0; min-height:1em; }
#hrc-root .hrc-note { font-size:11.5px; color:#94A3B8; margin:10px 0 0; text-align:center; }
#hrc-root .hrc-done { text-align:center; padding:26px 10px; }
#hrc-root .hrc-done .hrc-ok {
  width:56px;
  height:56px;
  border-radius:50%;
  margin:0 auto 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  background:linear-gradient(135deg, #34D399, #16A34A);
  box-shadow:0 12px 26px -10px rgba(22,163,74,.7);
  animation:hrcPop .5s var(--c-ease) both;
}
@keyframes hrcPop{ from{ transform:scale(.4); opacity:0; } to{ transform:none; opacity:1; } }
#hrc-root .hrc-done h4 { margin:0 0 6px; }
#hrc-root .hrc-done p { color:var(--c-muted); margin:0 0 14px; }

/* short desktop screens */
@media (max-height:780px) and (min-width:541px){
  #hrc-root .hrc-panel{
    bottom:16px;
    right:100px;
    height:calc(100vh - 32px - var(--wp-admin--admin-bar--height, 0px));
    max-height:640px;
    min-height:0;
  }
  #hrc-root .hrc-teaser{ bottom:96px; right:100px; }
  #hrc-root .hrc-teaser::after{ right:-7px; bottom:26px; }
}

/* mobile */
@media (max-width:540px){
  #hrc-root .hrc-launch { right:16px; bottom:96px; width:52px; height:52px; }
  #hrc-root .hrc-teaser { right:16px; bottom:160px; }
  #hrc-root .hrc-panel {
    right:0;
    bottom:0;
    width:100vw;
    max-width:100vw;
    height:100%;
    height:100dvh;
    min-height:0;
    border-radius:0;
  }
  #hrc-root.hrc-open .hrc-launch { display:none; }
  #hrc-root .hrc-input input { font-size:16px; }
}
@media (prefers-reduced-motion: reduce){
  #hrc-root .hrc-launch::before, #hrc-root .hrc-t-text .hrc-caret { animation:none; }
  #hrc-root .hrc-msg, #hrc-root .hrc-done .hrc-ok { animation:none; }
}
