/* Interactive chat card and family dashboard in the hero. Rules are scoped to the hbc ids/classes so nothing else on the page changes. */
.hbc{width:100%;min-width:0;margin:0;padding:12px;border-radius:26px;text-align:left;font-family:var(--body,"Space Grotesk",sans-serif)}
.hbc *,.hbc-status,.hbc-timeline{box-sizing:border-box}
.hb-family-card .hbc-status{display:block;grid-template-columns:none;position:relative;overflow:hidden;min-height:84px;margin:12px 0 10px;border-radius:18px;padding:9px 13px;background:#fff;border:2px solid transparent;color:#16213A;text-align:left}
.hb-family-card .hbc-status>*{display:block;grid-area:auto;margin:0;padding:0;text-align:left}
.hbc-timeline{list-style:none;margin:0 0 12px;padding:0;min-height:88px;font-size:14.5px;line-height:22px;color:#16213A;text-align:left}
.hbc-timeline li{margin:0;padding:0}
.hbc-timeline b{display:inline-block;width:42px;font-weight:500;color:#222C47}
#hbc-owner{font-style:normal;font-weight:700;color:#3552D6}
.hbc-names{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;margin-bottom:10px}
.hbc-chip,.hbc select{font:500 15px var(--body,"Space Grotesk",sans-serif);color:#16213A;background:rgba(255,255,255,.78);border:1px solid #d9dcef;border-radius:99px;min-height:36px;padding:0 10px;cursor:pointer}
.hbc-chip[aria-pressed=true]{background:#16213A;color:#fff;border-color:#16213A}
.hbc select{margin-left:auto;min-width:0;max-width:96px;padding:0 4px}
.hbc-who{font-size:14px;color:#222C47}
.hbc-status strong{display:block;font-size:19px;line-height:1.25}
.hbc-status em{display:block;font-style:normal;font-size:15px;color:#222C47}
.hbc-status[data-s=wait]{border-color:#e7b04a;background:#fff9ee}.hbc-status[data-s=wait] strong{color:#9A5B00}
.hbc-status[data-s=own]{border-color:#3552D6;background:#eef1ff}.hbc-status[data-s=own] strong{color:#3552D6}
.hbc-status[data-s=ok]{border-color:#37b184;background:#effbf5}.hbc-status[data-s=ok] strong{color:#0E7A4E}
.hbc-status.pulse::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,#4665ea40 50%,transparent 70%);transform:translateX(-100%);animation:hbc-hand 1s ease-out}@keyframes hbc-hand{to{transform:translateX(100%)}}
.hbc-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:14px}
.hbc-steps button{font:500 13.5px/1.3 var(--body,"Space Grotesk",sans-serif);background:none;border:0;border-top:3px solid #d3d6ee;color:#222C47;padding:6px 0 2px;min-height:40px;cursor:pointer}
.hbc-steps button[aria-current=step]{border-color:#3552D6;color:#16213A;font-weight:700}
.hbc button:focus-visible,.hbc select:focus-visible{outline:3px solid #C94FD0;outline-offset:2px}
@media(max-width:380px){.hbc{padding:9px}.hbc-names{gap:4px}.hbc-chip{padding:0 7px;font-size:14.5px}.hbc select{max-width:76px}}
@media(prefers-reduced-motion:reduce){.hbc *,.hbc-status,.hbc-status::after{animation:none!important;transition:none!important}}
/* WhatsApp-style chat window */
.hbc p{margin:0}
.hbc-wa{border-radius:18px;overflow:hidden;background:#ECE5DD;box-shadow:0 14px 30px -18px #16213a99}
.hbc-wa-top{display:flex;align-items:center;gap:10px;background:#075E54;color:#fff;padding:9px 12px}
.hbc-wa-top b{display:block;font-size:16px;line-height:1.3;color:#fff}
.hbc-wa-top small{display:block;font-size:14px;line-height:1.3;color:#d8efe9}
.hbc-av{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#fff;color:#075E54;font-weight:700;font-size:14.5px}
.hbc-chat{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 12px;background-color:#ECE5DD;background-image:radial-gradient(#d9d0c3 1px,transparent 1.5px);background-size:16px 16px}
.hbc-day{align-self:center;background:#fff;border-radius:8px;padding:2px 10px;font-size:13.5px;color:#54656f;margin-bottom:4px}
.hbc-bubble,.hbc-replies{width:88%}
.hbc-bubble{position:relative;background:#fff;border-radius:0 10px 10px 10px;padding:7px 10px 4px;color:#111B21;box-shadow:0 1px 1px #0000001f}
.hbc-bubble::before{content:"";position:absolute;top:0;left:-8px;border-top:9px solid #fff;border-left:8px solid transparent}
.hbc .hbc-bubble p{font-size:16px;line-height:1.55;color:#111B21;text-align:left;min-height:46px}
.hbc time{display:block;text-align:right;font-size:13.5px;line-height:1.4;color:#47575F}
.hbc-replies{display:grid;gap:3px}
.hbc-replies button{font:500 15px/1.3 var(--body,"Space Grotesk",sans-serif);color:#027EB5;background:#fff;border:0;border-radius:8px;min-height:38px;padding:5px;cursor:pointer;box-shadow:0 1px 1px #0000001f}
.hbc-replies button::before{content:"↩ ";opacity:.75}
.hbc-out{align-self:flex-end;min-height:48px;max-width:80%;background:#D9FDD3;border-radius:10px 0 10px 10px;padding:6px 10px 3px;font-size:16px;color:#111B21;box-shadow:0 1px 1px #0000001f;margin-top:3px}
.hbc-out:empty{visibility:hidden}
.hbc-input{display:flex;align-items:center;gap:8px;padding:6px 8px;background:#ECE5DD}
.hbc-input span{flex:1;background:#fff;border-radius:99px;padding:7px 14px;font-size:15px;color:#8696a0}
.hbc-input i{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#00A884}
.hbc-input svg{width:18px;height:18px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round}
@media(max-width:860px){.hb-hero-visual .hb-visual-grid{grid-template-columns:minmax(0,1fr);max-width:480px;margin-left:auto;margin-right:auto}}
