/* Harmless Receptionist. Kleuren erven van het thema (--main-color, --second-color, --fourth-color) en zijn te overschrijven in de instellingen. */
#hr-root{
  --hr-accent: var(--main-color, #F6C516);
  --hr-ink: var(--second-color, #0F100D);
  --hr-panel: var(--third-color, #1A1B16);
  --hr-text: var(--fourth-color, #F5F2EA);
  --hr-muted: var(--fifth-color, #A5A296);
  --hr-line: var(--line-color, #34352C);
  position: fixed; z-index: 2147483000; bottom: 20px; right: 20px; font-family: inherit; line-height: 1.45;
}
#hr-root[data-pos="left"]{ right: auto; left: 20px; }
#hr-root *{ box-sizing: border-box; }
#hr-root p, #hr-root span, #hr-root a{ font-size:inherit; }
#hr-root button, #hr-root input{ margin:0; text-transform:none; letter-spacing:normal; }
.hr-launch{
  display:inline-flex; align-items:center; gap:12px; border:0; cursor:pointer; padding:8px 22px 8px 8px; border-radius:999px;
  background: var(--hr-accent); color: var(--hr-ink); font-family: inherit; font-size:17px; font-weight:600; line-height:1; box-shadow: 0 8px 28px rgba(0,0,0,.35);
  transition: transform .18s ease, background .18s ease;
}
.hr-launch:hover, .hr-launch:focus-visible{ background: var(--hr-text); color: var(--hr-ink); transform: translateY(-2px); }
.hr-launch__icon{ width:44px; height:44px; border-radius:50%; background: var(--hr-ink); display:grid; place-items:center; }
.hr-launch__icon svg{ width:22px; height:22px; stroke: var(--hr-accent); fill:none; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.hr-panel{
  position:absolute; bottom:0; right:0; width:min(400px, calc(100vw - 24px)); height:min(620px, calc(100dvh - 40px));
  display:flex; flex-direction:column; background: var(--hr-panel); color: var(--hr-text); border:1px solid var(--hr-line);
  border-radius: 28px; overflow:hidden; box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transform-origin: bottom right; opacity:0; visibility:hidden; pointer-events:none; transform: scale(.28) translateY(8px);
  transition: transform .42s cubic-bezier(.22,1,.36,1), opacity .22s ease, visibility 0s linear .42s;
}
#hr-root[data-pos="left"] .hr-panel{ transform-origin: bottom left; }
#hr-root[data-pos="left"] .hr-panel{ right:auto; left:0; }
#hr-root.is-open .hr-panel{ opacity:1; visibility:visible; pointer-events:auto; transform:none; transition-delay:0s; }
#hr-root.is-open .hr-launch{ opacity:0; visibility:hidden; pointer-events:none; transform: scale(.85); transition: transform .25s ease, opacity .18s ease, visibility 0s linear .25s; }
#hr-root.hr-instant .hr-panel, #hr-root.hr-instant .hr-launch{ transition:none; }
.hr-head{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 20px; border-bottom:1px solid var(--hr-line); }
.hr-head__title{ font-weight:800; font-size:18px; letter-spacing:-.02em; margin:0; color: var(--hr-text); }
.hr-close{ width:38px; height:38px; border-radius:50%; border:0; cursor:pointer; background: var(--hr-ink); color: var(--hr-text); display:grid; place-items:center; transition: background .18s, color .18s; }
.hr-close:hover, .hr-close:focus-visible{ background: var(--hr-accent); color: var(--hr-ink); }
.hr-close svg{ width:16px; height:16px; stroke: currentColor; fill:none; stroke-width:2.6; stroke-linecap:round; }
.hr-log{ flex:1; overflow-y:auto; padding:20px; display:flex; flex-direction:column; gap:12px; scroll-behavior:smooth; }
.hr-msg{ max-width:88%; padding:12px 16px; border-radius:20px; font-size:16px; line-height:1.45; word-wrap:break-word; overflow-wrap:anywhere; }
.hr-msg a{ color: inherit; text-decoration: underline; text-underline-offset:3px; text-decoration-thickness:2px; }
.hr-msg mark.hr-ask{ background:transparent; color: var(--hr-accent); font-weight:600; border-bottom:2px solid color-mix(in srgb, var(--hr-accent) 55%, transparent); padding:0 1px; }
.hr-msg--bot{ align-self:flex-start; background: var(--hr-ink); color: var(--hr-text); border-bottom-left-radius:6px; }
.hr-msg--me{ align-self:flex-end; background: var(--hr-accent); color: var(--hr-ink); font-weight:500; border-bottom-right-radius:6px; }
.hr-msg--note{ align-self:center; background:transparent; color: var(--hr-muted); font-size:14px; text-align:center; padding:4px 8px; }
.hr-cards{ display:flex; flex-direction:column; gap:10px; align-self:stretch; }
.hr-card{ display:flex; gap:12px; text-decoration:none; color: var(--hr-text); background: var(--hr-ink); border:2px solid var(--hr-line); border-radius:18px; padding:10px; transition: border-color .18s; }
.hr-card:hover, .hr-card:focus-visible{ border-color: var(--hr-accent); color: var(--hr-text); }
.hr-card img{ width:72px; height:56px; object-fit:cover; border-radius:10px; flex:none; background: var(--hr-panel); }
.hr-card__t{ display:block; font-weight:700; font-size:15px; line-height:1.2; }
.hr-card > span{ display:block; min-width:0; }
.hr-card__s{ display:block; color: var(--hr-muted); font-size:13px; line-height:1.35; margin-top:3px; }
.hr-card__k{ display:block; color: var(--hr-accent); font-size:12px; font-weight:600; margin-bottom:2px; }
.hr-chips{ display:flex; flex-wrap:wrap; gap:8px; }
.hr-chip{ border:2px solid var(--hr-line); background: var(--hr-ink); color: var(--hr-text); border-radius:999px; padding:9px 15px; font-family:inherit; font-size:14px; font-weight:500; line-height:1.3; cursor:pointer; text-align:left; transition: border-color .18s, background .18s, color .18s; }
.hr-chip:hover, .hr-chip:focus-visible{ border-color: var(--hr-accent); background: var(--hr-ink); color: var(--hr-text); }
.hr-typing{ display:inline-flex; gap:5px; align-items:center; }
.hr-typing i{ width:7px; height:7px; border-radius:50%; background: var(--hr-muted); animation: hr-b 1s infinite ease-in-out; }
.hr-typing i:nth-child(2){ animation-delay:.15s } .hr-typing i:nth-child(3){ animation-delay:.3s }
@keyframes hr-b{ 0%,80%,100%{ opacity:.3; transform:scale(.8)} 40%{ opacity:1; transform:scale(1)} }
.hr-form{ display:flex; gap:10px; padding:14px 16px 8px; border-top:1px solid var(--hr-line); }
.hr-input{ flex:1; min-width:0; border:2px solid var(--hr-line); background: var(--hr-ink); color: var(--hr-text); border-radius:999px; padding:13px 18px; font-family:inherit; font-size:16px; font-weight:400; line-height:1.2; outline:0; transition: border-color .18s; }
.hr-input::placeholder{ color: var(--hr-muted); opacity:1; }
.hr-input:focus{ border-color: var(--hr-accent); }
.hr-send{ flex:none; width:48px; height:48px; border-radius:50%; border:0; cursor:pointer; background: var(--hr-accent); color: var(--hr-ink); display:grid; place-items:center; transition: background .18s; }
.hr-send:hover, .hr-send:focus-visible{ background: var(--hr-text); color: var(--hr-ink); }
.hr-send:disabled{ opacity:.5; cursor:default; }
.hr-send svg{ width:20px; height:20px; stroke: currentColor; fill:none; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; }
#hr-root .hr-consent{ margin:0; padding:0 18px 12px; font-size:12px; line-height:1.35; color: var(--hr-muted); }
#hr-root .hr-consent a{ color: inherit; text-decoration: underline; text-underline-offset: 2px; }
#hr-root .hr-consent a:hover, #hr-root .hr-consent a:focus-visible{ color: var(--hr-text); }
#hr-root .hr-panel:focus{ outline: 0; }
.hr-hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; }
#hr-root :focus-visible{ outline:3px solid var(--hr-text); outline-offset:2px; }
#hr-root .hr-input:focus-visible{ outline:0; }
@media (max-width: 520px){
  #hr-root{ bottom:12px; right:12px; } #hr-root[data-pos="left"]{ left:12px; }
  .hr-panel{ width:calc(100vw - 24px); height:min(86dvh, 640px); border-radius:24px; }
}
@media (prefers-reduced-motion: reduce){ .hr-panel{ transform:none !important; transition: opacity .15s ease, visibility 0s !important } #hr-root.is-open .hr-launch{ transform:none; transition:none } .hr-launch,.hr-chip,.hr-card,.hr-send,.hr-close{ transition:none } .hr-typing i{ animation:none } .hr-log{ scroll-behavior:auto } }

.hr.is-asking .hr-input, .is-asking .hr-input{ border-color: var(--hr-accent); box-shadow:0 0 0 3px color-mix(in srgb, var(--hr-accent) 30%, transparent); }
.is-asking .hr-input::placeholder{ color: var(--hr-text); opacity:.85; }

.hr-done{ position:absolute; inset:0; z-index:5; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:32px; text-align:center; background: var(--hr-accent); color: var(--hr-ink); border-radius:inherit; animation: hr-done-in .45s cubic-bezier(.2,.8,.2,1) both; }
.hr-done__close{ position:absolute; top:14px; right:14px; width:40px; height:40px; border-radius:50%; border:0; background: color-mix(in srgb, var(--hr-ink) 12%, transparent); color: var(--hr-ink); display:grid; place-items:center; cursor:pointer; }
.hr-done__close:hover{ background: color-mix(in srgb, var(--hr-ink) 22%, transparent); }
.hr-done__close svg{ width:18px; height:18px; stroke: currentColor; fill:none; stroke-width:2.4; stroke-linecap:round; }
.hr-done__check{ width:104px; height:104px; margin-bottom:8px; }
.hr-done__check circle{ fill: var(--hr-ink); transform-origin:center; animation: hr-pop .5s .1s cubic-bezier(.2,1.4,.4,1) both; }
.hr-done__check path{ fill:none; stroke: var(--hr-accent); stroke-width:7; stroke-linecap:round; stroke-linejoin:round; stroke-dasharray:60; stroke-dashoffset:60; animation: hr-draw .45s .5s ease-out forwards; }
.hr-done__title{ margin:0; font-size:24px; font-weight:700; line-height:1.2; }
.hr-done__sub{ margin:0; font-size:16px; line-height:1.4; opacity:.8; max-width:26ch; }
@keyframes hr-done-in{ from{ opacity:0; transform:scale(.96) } to{ opacity:1; transform:none } }
@keyframes hr-pop{ from{ transform:scale(0) } to{ transform:scale(1) } }
@keyframes hr-draw{ to{ stroke-dashoffset:0 } }
@media (prefers-reduced-motion: reduce){ .hr-done,.hr-done__check circle{ animation:none } .hr-done__check path{ animation:none; stroke-dashoffset:0 } }
