.hr-assistant {
  --hr-orange: #ff5b22;
  --hr-ink: #f7f7f6;
  --hr-muted: #aeb0b4;
  --hr-edge: rgba(227, 230, 232, .7);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--hr-ink);
  position: relative;
  z-index: 1000;
}

.hr-assistant *, .hr-assistant *::before, .hr-assistant *::after { box-sizing: border-box; }
.hr-assistant button, .hr-assistant a, .hr-assistant textarea { font: inherit; }
.hr-assistant button { cursor: pointer; }
.hr-assistant [hidden] { display: none !important; }
body:has(#modal-get-free-estimate > [aria-hidden="false"]) .hr-assistant { display: none; }
.hr-assistant__icon {
  display: inline-block;
  width: var(--icon-size, 24px);
  height: var(--icon-size, 24px);
  flex: 0 0 auto;
  background-color: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}
.hr-assistant__glass {
  background:
    linear-gradient(165deg, rgba(255,255,255,.18), transparent 14%, transparent 77%, rgba(255,255,255,.07)),
    radial-gradient(ellipse at 6% 2%, rgba(197,204,207,.2), transparent 35%),
    radial-gradient(ellipse at 6% 66%, rgba(231,113,38,.14), transparent 26%),
    radial-gradient(ellipse at 93% 80%, rgba(248,118,35,.12), transparent 33%),
    linear-gradient(112deg, rgba(42,43,44,.86), rgba(18,20,23,.83) 40%, rgba(23,24,27,.81) 76%, rgba(44,40,37,.82));
  border: 1px solid rgba(218,222,223,.76);
  box-shadow: inset 0 2px 1px rgba(255,255,255,.58), inset 2px 0 2px rgba(255,255,255,.17), inset -2px 0 2px rgba(255,255,255,.16), inset 0 -2px 1px rgba(240,218,194,.3), 0 20px 48px rgba(0,0,0,.48), 0 0 24px rgba(255,85,25,.13);
  -webkit-backdrop-filter: blur(28px) saturate(1.1);
  backdrop-filter: blur(28px) saturate(1.1);
}
.hr-assistant__panel {
  position: fixed;
  right: 20px;
  bottom: 92px;
  width: min(430px, calc(100vw - 32px));
  max-height: min(710px, calc(100dvh - 110px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  isolation: isolate;
  opacity: 0;
  transform: translateY(14px) scale(.98);
  pointer-events: none;
  transition: opacity .24s ease, transform .24s ease;
  box-shadow: inset 0 2px 1px rgba(255,255,255,.62), inset 2px 0 2px rgba(255,255,255,.24), inset -2px 0 2px rgba(255,255,255,.22), inset 0 -2px 1px rgba(255,173,105,.3), 0 22px 54px rgba(0,0,0,.55), -2px 0 14px rgba(255,103,38,.17), 2px 0 14px rgba(255,103,38,.17);
}
.hr-assistant__panel[data-open="true"] { opacity: 1; transform: none; pointer-events: auto; }
.hr-assistant__panel::before, .hr-assistant__dock::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  left: 43%;
  width: 14%;
  height: 4px;
  border-radius: 0 0 6px 6px;
  background: #ff6c31;
  box-shadow: 0 0 15px 4px rgba(255, 91, 34, .8);
}
.hr-assistant__panel::after, .hr-assistant__dock::after {
  content: "";
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 43%;
  width: 14%;
  height: 3px;
  background: #ff6c31;
  box-shadow: 0 0 16px 4px rgba(255, 91, 34, .7);
}
.hr-assistant__blueprint {
  position: absolute;
  z-index: 0;
  top: 115px;
  right: -4px;
  width: 78%;
  max-height: 56%;
  object-fit: contain;
  object-position: right center;
  opacity: .42;
  pointer-events: none;
}
.hr-assistant__reflections {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .46;
  mix-blend-mode: screen;
  pointer-events: none;
}
.hr-assistant__body {
  position: relative;
  z-index: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 22px 22px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.24) transparent;
}
.hr-assistant__body h2, .hr-assistant__body p, .hr-assistant__eyebrow { text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.hr-assistant__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hr-assistant__eyebrow { display: flex; align-items: center; gap: 10px; color: #e1e2e2; font-size: 11px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; text-shadow: 0 1px 5px rgba(0,0,0,.8); }
.hr-assistant__signal { width: 8px; height: 8px; border-radius: 50%; background: #ff682b; box-shadow: 0 0 0 4px rgba(255,94,31,.13), 0 0 12px 2px rgba(255,94,31,.8); }
.hr-assistant__close { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; background: rgba(255,255,255,.08); color: #e9e9e9; line-height: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 4px 12px rgba(0,0,0,.25); }
.hr-assistant__close .hr-assistant__icon { --icon-size: 22px; }
.hr-assistant__intro { margin-top: 27px; }
.hr-assistant__intro h2 { font-size: clamp(30px, 7.8vw, 38px); line-height: 1.07; letter-spacing: -.035em; font-weight: 500; margin: 0; max-width: 340px; }
.hr-assistant__intro p { margin: 19px 0 0; font-size: 18px; line-height: 1.34; color: #d4d5d7; max-width: 300px; }
.hr-assistant__topics { display: grid; gap: 10px; margin-top: 24px; }
.hr-assistant__topic {
  position: relative; isolation: isolate; overflow: hidden;
  width: 100%; min-height: 63px; display: flex; align-items: center; gap: 22px;
  padding: 10px 18px; color: #f8f8f7; text-align: left; border-radius: 16px;
  border: 1px solid rgba(227,228,228,.64);
  background: linear-gradient(160deg, rgba(93,94,94,.33), rgba(31,33,36,.67) 52%, rgba(51,51,52,.55));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.39), inset 1px 0 1px rgba(255,255,255,.12), inset 0 -1px 1px rgba(255,164,95,.2), 0 8px 18px rgba(0,0,0,.28), 0 0 12px rgba(255,105,38,.09);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hr-assistant__topic:hover, .hr-assistant__topic:focus-visible { border-color: #ff9c68; transform: translateY(-3px); box-shadow: inset 0 1px 1px rgba(255,255,255,.4), inset 0 -1px 1px rgba(255,164,95,.25), 0 13px 23px rgba(0,0,0,.36), 0 0 20px rgba(255,105,38,.2); }
.hr-assistant__topic:active { transform: translateY(1px); box-shadow: inset 0 2px 6px rgba(0,0,0,.55), 0 2px 5px rgba(0,0,0,.4); }
.hr-assistant__topic .hr-assistant__icon:first-child { --icon-size: 32px; color: var(--hr-orange); }
.hr-assistant__topic span:nth-child(2) { flex: 1; font-size: 18px; font-weight: 600; }
.hr-assistant__topic .hr-assistant__icon:last-child { --icon-size: 18px; color: #d9d9db; }
.hr-assistant__estimate {
  width: 100%; padding-inline: 14px;
  margin-top: 14px; min-height: 61px; display: flex; align-items: center; justify-content: center; gap: 14px;
  border-radius: 16px; background: linear-gradient(170deg, #ff6c2d, #ff5921); color: #fff; font-size: 18px; text-decoration: none;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.26), 0 10px 24px rgba(255,78,21,.2);
}
.hr-assistant__estimate:hover { background: #f64d14; }
.hr-assistant__estimate .hr-assistant__icon { --icon-size: 21px; }
.hr-assistant__messages { display: none; margin-top: 20px; max-height: 220px; overflow-y: auto; flex-direction: column; gap: 10px; }
.hr-assistant__messages:not(:empty) { display: flex; }
.hr-assistant__message { max-width: 88%; padding: 10px 13px; border-radius: 13px; font-size: 14px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.hr-assistant__message[data-role="user"] { align-self: flex-end; background: #ff5b22; color: #fff; border-bottom-right-radius: 4px; }
.hr-assistant__message[data-role="agent"] { align-self: flex-start; background: rgba(255,255,255,.12); color: #fff; border-bottom-left-radius: 4px; }
.hr-assistant__composer {
  position: relative; z-index: 1;
  flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 15px;
  margin: 0 22px 20px; min-height: 61px; border: 1px solid rgba(214,215,215,.59); border-radius: 40px;
  background: linear-gradient(160deg, rgba(88,88,89,.36), rgba(26,28,31,.7) 42%, rgba(66,63,62,.45));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.36), inset 0 -1px 1px rgba(255,174,115,.19), 0 9px 23px rgba(0,0,0,.3);
}
.hr-assistant__whatsapp { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #25d366; text-decoration: none; box-shadow: inset 0 1px 1px rgba(255,255,255,.45), 0 3px 10px rgba(37,211,102,.3); }
.hr-assistant__whatsapp:hover { background: #1ebd59; }
.hr-assistant__whatsapp .hr-assistant__icon { --icon-size: 23px; }
.hr-assistant__whatsapp-label { display: none; }
.hr-assistant__composer textarea { flex: 1; width: 100%; height: 25px; min-height: 25px; max-height: 80px; resize: none; overflow: auto; border: 0; outline: 0; background: transparent; color: #fff; font-size: 15px; line-height: 25px; }
.hr-assistant__composer textarea::placeholder { color: #c6c8cb; }
.hr-assistant__send { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border: 0; border-radius: 50%; color: #fff; background: #ff5b22; box-shadow: inset 0 1px 1px rgba(255,255,255,.28), 0 4px 9px rgba(0,0,0,.24); }
.hr-assistant__send .hr-assistant__icon { --icon-size: 25px; }
.hr-assistant__status { position: relative; z-index: 1; min-height: 0; margin: -12px 26px 18px; font-size: 12px; line-height: 1.35; color: #ffd6c5; }
.hr-assistant__status:empty { display: none; }
.hr-assistant__launcher { position: fixed; right: 24px; bottom: 24px; width: 112px; height: 112px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; }
.hr-assistant-open .hr-assistant__launcher { visibility: hidden; }
.hr-assistant__launcher .hr-assistant__gaze > img:first-child { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; filter: drop-shadow(0 8px 12px rgba(0,0,0,.3)); }
.hr-assistant__character, .hr-assistant__gaze { display: block; width: 100%; height: 100%; pointer-events: none; }
.hr-assistant__gaze { position: relative; }
.hr-assistant__blink { position: absolute; inset: 0; opacity: 0; animation: hr-buddy-blink 5.7s linear infinite; }
.hr-assistant__blink i {
  position: absolute; top: 41%; width: 13%; height: 10%; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%, #101113 48%, #191b1c 72%, transparent 78%);
}
.hr-assistant__blink i:first-child { left: 35%; }
.hr-assistant__blink i:last-child { left: 57%; top: 44%; }
.hr-assistant__blink i::after {
  content: ""; position: absolute; top: 55%; left: 25%; width: 50%; height: 3%; min-height: 1px;
  border-radius: 50%; background: #ffe6b3; box-shadow: 0 0 5px #ffd092;
}
.hr-assistant__pocket { position: absolute; left: 61%; top: 64%; width: 11%; height: 9%; opacity: 0; filter: drop-shadow(0 2px 2px #5f290f99); }
.hr-assistant__glasses {
  position: absolute; left: 27%; top: 38%; width: 50%; height: 15%; object-fit: cover;
  opacity: 0; transform: translate(29%, 153%) scale(.18) rotate(-22deg);
  transform-origin: center; filter: drop-shadow(0 3px 3px #0009);
}
.hr-assistant--greeting .hr-assistant__mascot .hr-assistant__pocket { opacity: .72; }
@keyframes hr-buddy-blink {
  0%, 47%, 48.5%, 50%, 51.1%, 100% { opacity: 0; }
  47.4%, 48.1%, 50.4%, 50.8% { opacity: 1; }
}
.hr-assistant__launcher .hr-assistant__character { animation: hr-buddy-float 6.8s ease-in-out infinite; }
.hr-assistant__gaze {
  transform: perspective(500px) translateX(var(--hr-look-shift, 0px)) rotateY(var(--hr-look-y, 0deg)) rotateX(var(--hr-look-x, 0deg));
  transition: transform .28s ease-out;
  transform-origin: 50% 55%;
}
.hr-assistant--nod .hr-assistant__gaze > img:first-child { animation: hr-buddy-nod .48s ease-in-out; }
.hr-assistant--greeting .hr-assistant__launcher .hr-assistant__character,
.hr-assistant-open .hr-assistant__launcher .hr-assistant__character,
.hr-assistant--motion-paused .hr-assistant__character { animation-play-state: paused; }
@keyframes hr-buddy-float {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  25% { transform: translate(-5px, -7px) rotate(1deg); }
  50% { transform: translate(2px, -3px) rotate(3deg); }
  75% { transform: translate(5px, 4px) rotate(-1deg); }
}
@keyframes hr-buddy-nod {
  0%, 100% { transform: translateY(0) rotate(0); }
  40% { transform: translateY(4px) rotate(5deg); }
  70% { transform: translateY(-2px) rotate(-2deg); }
}
.hr-assistant__desktop-close { display: none; }
.hr-assistant__dock { display: none; }
.hr-assistant :focus-visible { outline: 2px solid #ff9b69; outline-offset: 3px; }

.hr-assistant__mascot {
  position: fixed; top: 0; left: 0; z-index: 2;
  width: 180px; height: 180px; padding: 0;
  border: 0; background: transparent; border-radius: 50%;
  transform-origin: center; will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}
.hr-assistant__mascot .hr-assistant__gaze > img:first-child {
  display: block; width: 100%; height: 100%; object-fit: contain;
  pointer-events: none; user-select: none;
  filter: drop-shadow(0 12px 16px rgba(0,0,0,.28));
}
.hr-assistant__stardust { position: fixed; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.hr-assistant__landing-shadow { position: fixed; top: 0; left: 0; z-index: 1; width: 48px; height: 8px; border-radius: 50%; background: radial-gradient(ellipse, #573018 0%, #57301877 35%, transparent 72%); filter: blur(1px); pointer-events: none; }
.hr-assistant__landing-shadow[hidden] { display: none; }
[data-buddy-scene] { scroll-margin-top: clamp(160px, 35vh, 280px); }
.hr-assistant__launcher, .hr-assistant__dock { z-index: 3; }

.hr-assistant__dock [data-action="chat"] .hr-assistant__icon { transition: opacity .22s ease, transform .22s ease; }
.hr-assistant--greeting .hr-assistant__launcher { opacity: 0; pointer-events: none; }
.hr-assistant--greeting .hr-assistant__dock [data-action="chat"] .hr-assistant__icon { opacity: 0; transform: scale(.35); }
.hr-assistant__panel { z-index: 3; }
.hr-assistant-open .hr-assistant__mascot { display: none; }

@media (min-width: 768px) {
  .hr-assistant__panel {
    right: 24px;
    bottom: 24px;
    width: min(930px, calc(100vw - 48px));
    height: 146px;
    max-height: none;
    border-radius: 24px;
    border-color: rgba(224,228,229,.58);
    transform-origin: right center;
    transform: translateX(16px) scaleX(.12) scaleY(.6);
    background: linear-gradient(155deg, rgba(107,101,94,.24), transparent 18%, transparent 75%, rgba(114,83,58,.17)), linear-gradient(108deg, rgba(19,20,22,.89), rgba(22,23,25,.81) 50%, rgba(20,20,22,.88));
    -webkit-backdrop-filter: blur(30px) brightness(.68) saturate(1.12);
    backdrop-filter: blur(30px) brightness(.68) saturate(1.12);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.55), inset 1px 0 1px rgba(255,255,255,.22), inset -1px 0 1px rgba(255,255,255,.2), inset 0 -1px 1px rgba(255,151,84,.32), 0 18px 36px rgba(0,0,0,.39), 0 0 17px rgba(255,102,43,.1);
  }
  .hr-assistant__panel[data-open="true"] { transform: none; }
  .hr-assistant__panel[data-has-messages="true"] { height: auto; }
  .hr-assistant__panel::before { left: 9%; width: 5%; height: 2px; box-shadow: 0 0 14px 3px rgba(255,106,46,.66); }
  .hr-assistant__panel::after { left: 59%; width: 6%; height: 2px; box-shadow: 0 0 14px 3px rgba(255,106,46,.56); }
  .hr-assistant__blueprint { top: 7px; right: 80px; width: 36%; max-height: 96%; opacity: .26; }
  .hr-assistant__reflections { opacity: .45; }
  .hr-assistant__body { display: none; }
  .hr-assistant__panel[data-has-messages="true"] .hr-assistant__body { display: block; max-height: min(230px, calc(100dvh - 200px)); padding: 18px 28px 0; }
  .hr-assistant__panel[data-has-messages="true"] .hr-assistant__head,
  .hr-assistant__panel[data-has-messages="true"] .hr-assistant__intro,
  .hr-assistant__panel[data-has-messages="true"] .hr-assistant__topics,
  .hr-assistant__panel[data-has-messages="true"] .hr-assistant__estimate { display: none; }
  .hr-assistant__messages { margin: 0; }
  .hr-assistant__composer {
    flex: 0 0 146px; gap: 18px; padding: 17px 24px; margin: 0;
    min-height: 146px; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  }
  .hr-assistant__whatsapp {
    position: relative; width: 118px; height: 110px; flex: 0 0 118px;
    display: grid; place-items: center;
    padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
  }
  .hr-assistant__whatsapp:hover { background: transparent; }
  .hr-assistant__whatsapp::after { content: ""; position: absolute; right: 0; top: 20px; height: 70px; border-right: 1px solid rgba(229,232,233,.33); }
  .hr-assistant__whatsapp .hr-assistant__icon {
    --icon-size: 38px; width: 72px; height: 72px; display: grid; place-items: center;
    background-color: #fff; border: 1px solid rgba(186,255,193,.72); border-radius: 50%;
    box-shadow: inset 0 1px 3px rgba(255,255,255,.42), inset 0 -2px 4px rgba(0,99,29,.2), 0 3px 9px rgba(0,0,0,.33), 0 0 11px rgba(37,211,102,.28);
    background: #36c94f; mask: none; -webkit-mask: none;
  }
  .hr-assistant__whatsapp .hr-assistant__icon::before { content: ""; display: block; width: 38px; height: 38px; background: #fff; mask: var(--icon) center / contain no-repeat; -webkit-mask: var(--icon) center / contain no-repeat; }
  .hr-assistant__whatsapp-label { position: absolute; top: 1px; left: 0; right: 0; display: block; color: #d7d9da; font-size: 12px; line-height: 16px; text-align: center; white-space: nowrap; }
  .hr-assistant__composer textarea {
    flex: 1; min-width: 0; height: 68px; min-height: 68px; max-height: 68px;
    padding: 20px 24px; border: 1px solid rgba(203,174,148,.29); border-radius: 34px;
    background: linear-gradient(105deg, rgba(17,19,21,.4), rgba(53,53,52,.08) 70%, rgba(17,19,21,.28));
    box-shadow: inset 0 2px 6px rgba(0,0,0,.27), inset 0 1px 1px rgba(255,172,110,.17), 0 1px 0 rgba(255,255,255,.08);
    font-size: 18px; line-height: 25px;
  }
  .hr-assistant__composer textarea::placeholder { color: #bcbec1; }
  .hr-assistant__composer textarea:focus-visible { outline: none; border-color: rgba(255,145,82,.62); box-shadow: inset 0 2px 6px rgba(0,0,0,.27), 0 0 0 2px rgba(255,123,52,.19); }
  .hr-assistant__send { width: 72px; height: 72px; background: #fa6a31; box-shadow: inset 0 1px 1px rgba(255,255,255,.26), 0 5px 12px rgba(0,0,0,.28), 0 0 10px rgba(255,100,42,.27); }
  .hr-assistant__send .hr-assistant__icon { --icon-size: 34px; }
  .hr-assistant__status { position: absolute; bottom: 3px; left: 172px; right: 105px; margin: 0; font-size: 11px; }
  .hr-assistant__desktop-close { position: absolute; z-index: 4; top: 6px; right: 7px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: transparent; color: rgba(245,245,245,.8); opacity: .65; }
  .hr-assistant__desktop-close:hover { opacity: 1; }
  .hr-assistant__desktop-close .hr-assistant__icon { --icon-size: 18px; }
  .hr-assistant-open .hr-assistant__launcher { visibility: hidden; }
}

@media (max-width: 767px) {
  .hr-assistant__mascot { width: 140px; height: 140px; }
  body { padding-bottom: max(102px, calc(90px + env(safe-area-inset-bottom))); }
  .hr-assistant__launcher { display: none; }
  .hr-assistant__dock {
    position: fixed; left: 12px; right: 12px; bottom: max(18px, env(safe-area-inset-bottom));
    height: 80px; border-radius: 28px; display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden;
    background: linear-gradient(165deg, rgba(255,255,255,.17), transparent 20%, transparent 72%, rgba(255,255,255,.06)), radial-gradient(ellipse at 12% -20%, rgba(255,255,255,.14), transparent 48%), radial-gradient(ellipse at 88% 120%, rgba(255,124,55,.15), transparent 42%), linear-gradient(110deg, rgba(47,48,49,.91), rgba(19,20,23,.89) 42%, rgba(38,36,35,.88));
    box-shadow: inset 0 2px 1px rgba(255,255,255,.58), inset 2px 0 2px rgba(255,255,255,.18), inset -2px 0 2px rgba(255,255,255,.15), inset 0 -2px 1px rgba(255,165,96,.29), 0 14px 25px rgba(0,0,0,.5), 0 0 19px rgba(255,98,37,.17);
  }
  .hr-assistant__dock a, .hr-assistant__dock button {
    min-width: 0; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    border: 0; background: transparent; color: #fff; text-decoration: none; font-size: 11px; line-height: 1.1;
  }
  .hr-assistant__dock > :not(:first-child)::before {
    content: ""; position: absolute; left: 0; top: 22%; height: 56%; border-left: 1px solid rgba(255,255,255,.22);
  }
  .hr-assistant__dock .hr-assistant__icon { --icon-size: 25px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.8)); }
  .hr-assistant__dock [data-action="chat"] .hr-assistant__icon { color: #ff6b2d; filter: drop-shadow(0 0 7px rgba(255,91,34,.8)) drop-shadow(0 2px 2px rgba(0,0,0,.7)); }
  .hr-assistant__panel {
    left: 12px; right: 12px; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 91px);
    width: auto; max-height: calc(100dvh - max(18px, env(safe-area-inset-bottom)) - 113px);
    border-radius: 24px;
  }
  .hr-assistant__body { padding: 22px 20px 20px; }
  .hr-assistant__composer { margin-left: 20px; margin-right: 20px; margin-bottom: 17px; }
}

@media (max-width: 767px) and (min-height: 860px) {
  .hr-assistant__dock { bottom: max(6.8dvh, env(safe-area-inset-bottom)); height: 84px; }
  .hr-assistant__panel { bottom: calc(max(6.8dvh, env(safe-area-inset-bottom)) + 100px); height: min(706px, calc(100dvh - max(6.8dvh, env(safe-area-inset-bottom)) - 116px)); max-height: none; }
  .hr-assistant__body { flex: 1; }
  .hr-assistant__intro { margin-top: 45px; }
  .hr-assistant__intro h2 { max-width: 300px; font-size: 35px; }
}

@media (max-width: 360px) {
  .hr-assistant__body { padding-left: 16px; padding-right: 16px; }
  .hr-assistant__intro { margin-top: 15px; }
  .hr-assistant__intro h2 { font-size: 28px; }
  .hr-assistant__intro p { margin-top: 12px; font-size: 16px; }
  .hr-assistant__topics { gap: 8px; margin-top: 16px; }
  .hr-assistant__topic { min-height: 52px; }
  .hr-assistant__estimate { margin-top: 10px; }
  .hr-assistant__composer { margin-left: 16px; margin-right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .hr-assistant__launcher .hr-assistant__character, .hr-assistant--nod .hr-assistant__gaze > img:first-child { animation: none; }
  .hr-assistant__blink { animation: none; }
  .hr-assistant__gaze { transition: none; transform: none; }
  .hr-assistant__panel, .hr-assistant__topic { transition: none; }
  .hr-assistant__launcher, .hr-assistant__dock [data-action="chat"] .hr-assistant__icon { transition: none; }
  .hr-assistant__mascot, .hr-assistant__stardust, .hr-assistant__landing-shadow { display: none; }
}

/* Coordinator controls keep the approved glass shell and mascot intact. */
.hr-assistant__tools { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 8px 24px 0; flex-shrink: 0; }
.hr-assistant__tools button, .hr-assistant__project-links a { color: #ffd1ad; font: inherit; font-size: 12px; line-height: 1.5; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 5px 9px; cursor: pointer; }
.hr-assistant__tools [hidden], .hr-assistant__review[hidden] { display: none; }
.hr-assistant__photo-count { color: #eee; font-size: 12px; }
.hr-assistant__project-links { display: flex; flex-wrap: wrap; gap: 8px; }
.hr-assistant__review { position: relative; z-index: 2; margin: 8px 24px; padding: 12px; max-height: 210px; overflow: auto; color: white; background: #25272b; border: 1px solid #777; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.hr-assistant__review p { margin: 0 0 10px; white-space: pre-wrap; }
.hr-assistant__review label { display: flex; align-items: flex-start; gap: 8px; }
.hr-assistant__review input { margin-top: 4px; flex-shrink: 0; }
.hr-assistant__review a { display: inline-block; margin-top: 10px; color: #a4e9b0; text-decoration: underline; }
.hr-assistant__review a[aria-disabled="true"] { color: #aaa; text-decoration: none; pointer-events: none; }
.hr-assistant__consent { position: relative; z-index: 2; margin: 8px 0; padding: 16px; color: #fff; background: #25272b; border: 1px solid #777; border-radius: 12px; font-size: 13px; line-height: 1.5; }
.hr-assistant__consent h3 { margin: 0 0 8px; font-size: 16px; }
.hr-assistant__consent p { margin: 0 0 12px; }
.hr-assistant__consent button { min-height: 40px; padding: 8px 14px; color: #171717; background: #ffaf75; border: 0; border-radius: 8px; font-weight: 700; cursor: pointer; }
.hr-assistant__consent button:focus-visible { outline: 2px solid white; outline-offset: 3px; }
.hr-assistant[data-consent="true"] .hr-assistant__consent { display: none; }
.hr-assistant[data-consent="false"] .hr-assistant__topics,
.hr-assistant[data-consent="false"] .hr-assistant__estimate,
.hr-assistant[data-consent="false"] .hr-assistant__tools,
.hr-assistant[data-consent="false"] .hr-assistant__composer { display: none; }
.hr-assistant[data-consent="false"] .hr-assistant__panel { height: auto; max-height: calc(100dvh - 48px); }
.hr-assistant[data-consent="false"] .hr-assistant__body { display: block; }
.hr-assistant[data-consent="false"] .hr-assistant__desktop-close { display: none; }
.hr-assistant__tools button:focus-visible, .hr-assistant__review a:focus-visible, .hr-assistant__project-links a:focus-visible { outline: 2px solid #ffaf75; outline-offset: 3px; }
@media (min-width: 768px) {
  .hr-assistant__panel { height: auto; max-height: calc(100dvh - 48px); }
  .hr-assistant__panel[data-has-messages="true"] .hr-assistant__body { max-height: min(310px, calc(100dvh - 320px)); overflow: auto; flex-shrink: 1; }
  .hr-assistant__messages { max-height: none; }
  .hr-assistant__status { position: relative; bottom: auto; left: auto; right: auto; margin: 0 24px 12px; }
}
@media (max-width: 767px) {
  .hr-assistant__panel[data-has-messages="true"] .hr-assistant__intro,
  .hr-assistant__panel[data-has-messages="true"] .hr-assistant__topics,
  .hr-assistant__panel[data-has-messages="true"] .hr-assistant__estimate { display: none; }
  .hr-assistant__tools { padding: 6px 16px 0; }
  .hr-assistant__review { margin: 8px 16px; }
}
