/* Flat white launcher and dialog. Existing placement and expansion behavior are preserved. */
.hpc-guide-opening{position:absolute;inset:76px 0 0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px;text-align:center;background:#fff;color:#4b3745;font:500 16px/1.5 system-ui}.hpc-guide-opening[hidden]{display:none}.hpc-guide-opening small{max-width:260px;font-weight:400;color:#70676c}.hpc-entry-drawing{position:relative;display:block;width:76px;height:108px;border:1px solid #b6a7b1;border-bottom:3px solid #604858;margin:0 auto 20px;background:linear-gradient(#eee9ed 1px,transparent 1px),linear-gradient(90deg,#eee9ed 1px,transparent 1px);background-size:12px 12px}.hpc-entry-drawing:before{content:'';position:absolute;inset:10px 12px 0;border:1px solid #604858;background:#fff}.hpc-entry-drawing:after{content:'';position:absolute;right:20px;top:60px;width:4px;height:4px;border:1px solid #604858;border-radius:50%}
#hannapel-public-chat-launch,#hannapel-public-chat-dialog,#hannapel-public-chat-close{box-sizing:border-box}
/* Keep chat in its own lane above the showroom control, not over it. */
#hannapel-public-chat-launch{position:fixed;right:20px;left:auto;bottom:max(84px,calc(84px + env(safe-area-inset-bottom)));z-index:99989;display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:8px 16px 8px 8px;border:1px solid #d9d9df;border-radius:8px;background:#fff;color:#4b3745;box-shadow:none;font:600 13px/1.2 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s}#hannapel-public-chat-launch:hover{background:#f7f7f8;box-shadow:none}#hannapel-public-chat-launch img{display:block;flex:none;width:32px;height:32px;border-radius:6px;object-fit:contain;background:#fff}#hannapel-public-chat-launch .hpc-launch-icon{display:block;flex:none;width:16px;height:16px;margin-left:2px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}#hannapel-public-chat-launch:focus-visible,#hannapel-public-chat-close:focus-visible{outline:3px solid #bba9b6;outline-offset:4px}#hannapel-public-chat-dialog{position:fixed;inset:auto 20px 20px auto;width:min(420px,calc(100vw - 40px));height:min(700px,calc(100vh - 40px));height:min(700px,calc(100dvh - 40px));max-width:none;max-height:none;margin:0;padding:0;border:1px solid #d9d9df;border-radius:10px;background:#fff;box-shadow:none;overflow:hidden}#hannapel-public-chat-dialog::backdrop{background:#25252926}#hannapel-public-chat-frame{box-sizing:border-box;display:block;width:100%;height:100%;border:0;padding:0}#hannapel-public-chat-close{position:absolute;right:15px;top:23px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;z-index:2;padding:0;border:1px solid #e6e6e9;border-radius:6px;background:#fff;color:#614a5b;font:22px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;cursor:pointer}#hannapel-public-chat-close:hover{background:#f5f5f7}body.hannapel-chat-open{overflow:hidden}@media(max-width:600px){#hannapel-public-chat-launch{right:14px;bottom:max(78px,calc(78px + env(safe-area-inset-bottom)));min-height:46px;padding:7px 14px 7px 7px;font-size:12px;gap:8px}#hannapel-public-chat-dialog{inset:auto 8px max(8px,env(safe-area-inset-bottom)) 8px;width:calc(100vw - 16px);height:calc(100vh - 24px);height:calc(100dvh - 24px - env(safe-area-inset-bottom));border-radius:8px}}@media(max-height:600px){#hannapel-public-chat-close{top:17px}}@media(max-width:360px){#hannapel-public-chat-close{right:11px;width:30px;height:30px}}@media(prefers-reduced-motion:reduce){#hannapel-public-chat-launch{transition:none}}

#hannapel-public-chat-expand{box-sizing:border-box;position:absolute;right:53px;top:23px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;z-index:2;padding:0;border:1px solid #e6e6e9;border-radius:6px;background:#fff;color:#614a5b;font:20px/1 -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;cursor:pointer}#hannapel-public-chat-expand:hover{background:#f5f5f7}#hannapel-public-chat-expand:focus-visible{outline:3px solid #bba9b6;outline-offset:4px}#hannapel-public-chat-dialog.is-expanded{inset:20px;width:calc(100vw - 40px);height:calc(100vh - 40px);height:calc(100dvh - 40px)}#hannapel-public-chat-dialog.is-expanded #hannapel-public-chat-frame{background:#fff}
@media(max-width:600px){#hannapel-public-chat-dialog:not(.is-expanded){height:min(700px,calc(100dvh - 80px - env(safe-area-inset-bottom)))}#hannapel-public-chat-dialog.is-expanded{inset:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);width:100%;height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:0}}
@media(max-height:600px){#hannapel-public-chat-expand{top:17px}}
@media(max-width:360px){#hannapel-public-chat-expand{right:47px;width:30px;height:30px}}

/* Private design candidate: quiet entry, generous keyboard/touch targets. */
#hannapel-public-chat-dialog[open]{animation:hpc-reveal 200ms ease-out}
#hannapel-public-chat-close,#hannapel-public-chat-expand{width:40px;height:40px;top:18px}
#hannapel-public-chat-close{right:12px}
#hannapel-public-chat-expand{right:58px}
@keyframes hpc-reveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){#hannapel-public-chat-launch{max-width:calc(100vw - 28px)}}
@media(max-height:600px){#hannapel-public-chat-close,#hannapel-public-chat-expand{top:13px}}
@media(prefers-reduced-motion:reduce){#hannapel-public-chat-dialog[open]{animation:none}}

@media(max-width:600px){#hannapel-public-chat-dialog:not(.is-expanded){inset:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);width:100%;height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:0}}

/* Match the showroom control wherever the two actions share a corner. */
#hannapel-public-chat-launch {
  right: 20px;
  bottom: 20px;
  flex-direction: row;
  justify-content: center;
  min-width: var(--showroom-width, 0px);
  min-height: 44px;
  gap: 9px;
  padding: 10px 18px;
  border: 1px solid #d5c8cf;
  border-radius: 999px;
  background: #fffcfa;
  color: #513b49;
  box-shadow: 0 4px 16px #34232d20;
  font: 600 15px/1 "Spline Sans", Arial, sans-serif;
  transition: opacity .35s ease, transform .35s ease, visibility .35s, background .15s;
}
#hannapel-public-chat-launch:hover { background: #f6eff2; }
#hannapel-public-chat-launch .hpc-launch-icon { order: -1; width: 18px; height: 18px; margin: 0; }
#hannapel-public-chat-dialog:not(.is-expanded) {
  width: clamp(min(320px, 100vw - 40px), var(--guide-width, 420px), 100vw - 40px);
  height: clamp(min(340px, 100dvh - 40px), var(--guide-height, 700px), 100dvh - 40px);
  border-radius: 16px;
  box-shadow: 0 20px 70px #3824312b;
}
#hannapel-public-chat-dialog.is-expanded { inset: 0; width: auto; height: auto; border: 0; border-radius: 0; }
#hannapel-public-chat-resize {
  position: absolute; z-index: 3; top: 0; left: 0; width: 30px; height: 30px;
  padding: 0; border: 0; background: transparent; color: #927d89;
  cursor: nwse-resize; touch-action: none;
}
#hannapel-public-chat-resize::after {
  content: ''; position: absolute; inset: 6px auto auto 6px; width: 13px; height: 13px;
  background: repeating-linear-gradient(135deg, transparent 0 3px, currentColor 3px 4.5px, transparent 4.5px 6px);
  clip-path: polygon(0 0,100% 0,0 100%);
}
#hannapel-public-chat-resize:focus-visible { outline: 2px solid #685060; outline-offset: -3px; }
#hannapel-public-chat-dialog.is-expanded #hannapel-public-chat-resize { display: none; }
#hannapel-public-chat-dialog.is-resizing iframe { pointer-events: none; }
@media (max-width: 600px) {
  #hannapel-public-chat-dialog:not(.is-expanded) {
    inset: auto 8px max(8px, env(safe-area-inset-bottom)) auto;
    width: calc(100vw - 16px);
    height: clamp(min(300px, 100dvh - 24px), var(--guide-height, 78dvh), 100dvh - 24px - env(safe-area-inset-bottom));
  }
  #hannapel-public-chat-resize { cursor: ns-resize; }
}
@media (max-width: 480px) {
  #hannapel-public-chat-launch { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #hannapel-public-chat-launch { transition: none; transform: none !important; }
}


/* The silhouette stretches independently of the label and its stationary hit target. */
#hannapel-public-chat-launch, #hnp-sf #hnp-sf-btn {
  isolation: isolate; overflow: visible; border: 0; box-shadow: none;
  background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none;
}
#hnp-sf #hnp-sf-btn { position:relative; transform:none; }
#hannapel-public-chat-launch:hover { background: transparent; }
#hannapel-public-chat-launch::before, #hnp-sf #hnp-sf-btn::before {
  content:''; position:absolute; inset:0; z-index:-1; pointer-events:none;
  border-radius:999px; background:rgb(252 247 248 / 90%); border:1px solid #bfa9b6;
  box-shadow: inset 0 -2px 3px #896c7f28, 0 4px 12px #3d293625;
  backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
}
#hnp-sf #hnp-sf-btn::before {
  background:rgb(99 72 89 / 96%);border-color:#6a4e60;box-shadow:inset 0 -2px 3px #38213236,0 4px 12px #3d293635;
}
@media(prefers-reduced-motion:no-preference) {
  #hannapel-public-chat-launch::before, #hnp-sf #hnp-sf-btn::before {
    transition:transform .46s cubic-bezier(.18,1.72,.38,1);
    transform:translate(var(--liquid-x,0px),var(--liquid-y,0px));
  }
  @media(hover:hover) {
    #hannapel-public-chat-launch:hover::before, #hnp-sf #hnp-sf-btn:hover::before {
      border-radius:999px;
      transform:translate(var(--liquid-x,0px),var(--liquid-y,0px)) scale(1.018);
    }
  }
  #hannapel-public-chat-launch:active::before, #hnp-sf #hnp-sf-btn:active::before { transform:scale(.978); }
  #hannapel-public-chat-dialog[open], #hnp-sf #hnp-sf-panel:not(.hnp-hide) {
    transform-origin:bottom right; animation:hpc-water-open .38s ease-out;
  }
}
@keyframes hpc-water-open {
  from {opacity:0;transform:translateY(7px) scale(.95,.92)}
  65% {opacity:1;transform:scale(1.005,1.008)}
  to {transform:none}
}
