:root{--han-coffee:#563b2d;--han-caramel:#c88d55;--han-cream:#fff8ed;--han-ink:#30251f;--han-line:#eadbca;--han-shadow:0 18px 55px rgba(53,35,24,.22)}
#hanzu-han-root{position:fixed;right:22px;bottom:22px;z-index:99990;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--han-ink);font-size:14px;line-height:1.45}
#hanzu-han-root *{box-sizing:border-box}#hanzu-han-root button,#hanzu-han-root input{font:inherit}
.han-launch{width:68px;height:68px;border:3px solid #fff7e9;border-radius:50%;background:linear-gradient(145deg,#f6d6ad,#d59a62);box-shadow:0 8px 26px #39271d40;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative;transition:transform .2s ease}
.han-launch:hover{transform:translateY(-3px) rotate(-3deg)}.han-cat{font-size:37px;filter:drop-shadow(0 2px 1px #65412c35);animation:han-breathe 2.8s ease-in-out infinite;display:inline-block}.han-launch:after{content:"";position:absolute;right:0;bottom:1px;width:15px;height:15px;background:#77a66b;border:3px solid #fff8ed;border-radius:50%}
.han-launch-label{position:absolute;right:77px;bottom:13px;white-space:nowrap;background:#fffaf1;border:1px solid var(--han-line);color:var(--han-coffee);border-radius:18px;padding:8px 13px;font-weight:700;box-shadow:0 5px 16px #39271d12}
.han-panel{position:absolute;right:0;bottom:82px;width:min(370px,calc(100vw - 28px));height:min(590px,calc(100dvh - 125px));min-height:400px;background:var(--han-cream);border:1px solid #e7d6c3;border-radius:23px;box-shadow:var(--han-shadow);overflow:hidden;display:none;flex-direction:column;transform-origin:bottom right}
.han-panel.is-open{display:flex;animation:han-pop .22s ease-out}.han-head{background:linear-gradient(135deg,#5c4031,#3e2a21);color:#fff8ed;padding:15px 16px;display:flex;align-items:center;gap:11px;min-height:78px}.han-logo{width:45px;height:45px;object-fit:contain;background:#fff7e9;border-radius:50%;padding:4px}.han-head-mascot{width:54px;height:58px;object-fit:contain;object-position:center bottom;flex:0 0 54px;display:block;transform-origin:50% 85%;animation:han-mascot-idle 3.8s ease-in-out infinite;filter:drop-shadow(0 2px 2px rgba(25,15,10,.18))}.han-avatar{width:45px;height:45px;display:grid;place-items:center;background:#f2d1a9;border-radius:50%;font-size:28px;flex-shrink:0;animation:han-breathe 3s ease-in-out infinite}.han-head-copy{min-width:0;flex:1}.han-head-copy strong{display:block;font-size:17px;letter-spacing:.2px}.han-head-copy small{display:block;color:#ead8c5;font-size:12px;margin-top:2px}.han-close{border:0;background:#ffffff1c;color:white;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:20px;line-height:1}.han-chat{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:15px 13px 10px;display:flex;flex-direction:column;gap:12px;scroll-behavior:smooth}.han-msg{max-width:90%;padding:11px 13px;border-radius:16px;font-size:13.5px;white-space:pre-wrap;overflow-wrap:anywhere}.han-msg.bot{align-self:flex-start;background:#fff;border:1px solid #eee1d2;border-bottom-left-radius:5px}.han-msg.user{align-self:flex-end;background:#ead1b3;border:1px solid #dfbd96;border-bottom-right-radius:5px}.han-msg strong{color:#5b3b28}.han-quick{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.han-chip{border:1px solid #d9b58d;background:#fffaf2;color:#65452f;border-radius:18px;padding:7px 10px;font-size:12px;cursor:pointer;transition:background .15s}.han-chip:hover{background:#f4e1c9}.han-input-wrap{padding:10px 11px 12px;border-top:1px solid var(--han-line);background:#fffaf2}.han-compose{display:flex;gap:7px;align-items:center;background:#fff;border:1px solid #e7d8c7;border-radius:24px;padding:5px 5px 5px 13px}.han-compose input{min-width:0;flex:1;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:var(--han-ink);padding:8px 0;font-size:13px}.han-send{border:0;background:var(--han-coffee);color:#fff8ed;border-radius:50%;width:36px;height:36px;cursor:pointer;font-size:17px}.han-send:disabled{opacity:.45}.han-foot{text-align:center;font-size:10px;color:#9a826d;margin-top:7px}.han-typing{display:flex;align-items:center;gap:8px}.han-typing-cat{font-size:24px;animation:han-brew .7s ease-in-out infinite alternate}.han-dots{display:flex;gap:4px}.han-dots i{width:5px;height:5px;background:#b68a62;border-radius:50%;animation:han-dot 1s infinite}.han-dots i:nth-child(2){animation-delay:.15s}.han-dots i:nth-child(3){animation-delay:.3s}.han-result{display:block;margin-top:8px;border:1px solid #ead5bd;background:#fff9f0;border-radius:12px;padding:10px}.han-result b{display:block;margin-bottom:3px}.han-result small{color:#806b58}.han-result a{display:inline-block;color:#6b452b;font-weight:700;margin-top:6px;text-decoration:underline}
@keyframes han-breathe{0%,100%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-3px) rotate(2deg)}}@keyframes han-brew{from{transform:rotate(-12deg) translateY(0)}to{transform:rotate(12deg) translateY(-3px)}}@keyframes han-dot{0%,60%,100%{transform:translateY(0);opacity:.35}30%{transform:translateY(-4px);opacity:1}}@keyframes han-pop{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:520px){#hanzu-han-root{right:12px;bottom:12px}.han-panel{position:fixed;right:8px;bottom:8px;width:calc(100vw - 16px);height:min(76dvh,650px);min-height:360px;border-radius:20px}.han-launch{width:61px;height:61px}.han-launch-label{right:69px}.han-msg{font-size:13px}}
@media(prefers-reduced-motion:reduce){#hanzu-han-root *,#hanzu-han-root *:before,#hanzu-han-root *:after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
/* Han's illustrated calico mascot */
.han-cat.han-cat-wave{width:54px;height:54px;object-fit:contain;filter:drop-shadow(0 2px 2px #65412c25);animation:han-wave 2.2s ease-in-out infinite;}
.han-typing-cat{width:36px;height:36px;object-fit:contain;animation:han-brew .7s ease-in-out infinite alternate;}
@keyframes han-wave{0%,100%{transform:rotate(0) translateY(0)}20%{transform:rotate(-7deg) translateY(-2px)}40%{transform:rotate(6deg) translateY(-3px)}60%{transform:rotate(-4deg) translateY(-1px)}80%{transform:rotate(3deg) translateY(0)}}

/* v0.1.3: illustrated brewing state and last-order product card */
.han-brewing-scene{position:relative;display:flex;align-items:center;gap:9px;min-width:205px;padding:3px 0}.han-typing-cat{width:58px;height:58px;object-fit:contain;animation:han-grind 1.15s ease-in-out infinite alternate;transform-origin:55% 75%}.han-brewing-copy{display:flex;flex-direction:column;gap:2px;min-width:0}.han-brewing-copy b{font-size:12px;color:#63432e}.han-brewing-copy small{font-size:10px;color:#9a8069}.han-brewing-copy .han-dots{margin-top:3px}.han-steam{position:absolute;left:36px;top:-3px;color:#bd8d63;font-size:19px;opacity:0;animation:han-steam-rise 1.6s ease-out infinite}.han-steam-two{left:47px;animation-delay:.7s}.han-bean{font-size:16px;position:absolute;left:3px;bottom:1px;animation:han-bean-bounce .75s ease-in-out infinite alternate}.han-last-order-card{align-self:flex-start;width:min(92%,310px);padding:12px;border:1px solid #e7d2ba;border-radius:15px;background:linear-gradient(145deg,#fffdf8,#f8ead8);box-shadow:0 4px 12px #5b3b2810}.han-last-order-kicker{font-size:9px;letter-spacing:1.2px;font-weight:800;color:#a0714b;margin-bottom:8px}.han-last-order-items{display:flex;flex-direction:column;gap:6px}.han-last-order-item{display:block;padding:8px 10px;border-radius:9px;background:#fff;border:1px solid #efe1d1;color:#503729;font-weight:650;font-size:12px}.han-last-order-actions{display:flex;align-items:center;gap:12px;margin-top:10px}.han-order-same{border:0;border-radius:18px;background:#5a3c2d;color:#fff8ed;padding:8px 12px;font-size:11px;font-weight:700;cursor:pointer}.han-last-order-actions a{font-size:11px;font-weight:700;color:#704a30;text-decoration:underline}.han-brewing-scene .han-bean{color:#8b5b35}
@keyframes han-grind{0%{transform:rotate(-5deg) translateY(1px)}50%{transform:rotate(5deg) translateY(-2px)}100%{transform:rotate(-3deg) translateY(1px)}}@keyframes han-steam-rise{0%{opacity:0;transform:translateY(8px) scale(.7) rotate(-20deg)}35%{opacity:.8}100%{opacity:0;transform:translateY(-15px) scale(1.15) rotate(20deg)}}@keyframes han-bean-bounce{from{transform:translateY(0) rotate(-15deg)}to{transform:translateY(-4px) rotate(15deg)}}

/* v0.1.4: previous-order carousel and daily coffee mood */
.han-orders-carousel{width:100%;max-width:100%;align-self:stretch;overflow:hidden}.han-orders-track{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}.han-orders-track::-webkit-scrollbar{display:none}.han-order-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;padding:13px;border:1px solid #e7d2ba;border-radius:15px;background:linear-gradient(145deg,#fffdf8,#f8ead8);box-shadow:0 4px 12px #5b3b2810}.han-order-kicker{font-size:9px;letter-spacing:1.1px;font-weight:800;color:#a0714b;margin-bottom:8px}.han-order-title{font-size:14px;line-height:1.4;font-weight:750;color:#503729;overflow-wrap:anywhere}.han-order-date{display:block;margin-top:5px;color:#9a8069;font-size:10px}.han-order-slide .han-order-same{margin-top:11px}.han-carousel-nav{display:flex;align-items:center;justify-content:center;gap:12px;padding:9px 0 2px}.han-carousel-arrow{border:1px solid #e2c8aa;background:#fffaf2;color:#65452f;width:25px;height:25px;border-radius:50%;font-size:18px;line-height:1;cursor:pointer}.han-carousel-dots{display:flex;align-items:center;justify-content:center;gap:6px}.han-carousel-dot{width:7px;height:7px;border:0;border-radius:50%;padding:0;background:#dec5a9;cursor:pointer}.han-carousel-dot.is-active{width:18px;border-radius:6px;background:#80563a}.han-mood-box{align-self:flex-start;width:100%;padding:11px 12px;border:1px solid #ead9c6;border-radius:15px;background:#fffaf2}.han-mood-title{font-size:12px;font-weight:750;color:#65452f;margin-bottom:9px}.han-mood-options{display:flex;flex-wrap:wrap;gap:7px}.han-mood-chip{border:1px solid #d9b58d;background:#fff;color:#65452f;border-radius:17px;padding:7px 9px;font-size:11px;cursor:pointer}.han-mood-chip:hover{background:#f4e1c9}
/* v0.1.7 — live menu recommendations and Hanzu ordering hand-off */
.han-live-recommendations{display:flex;flex-direction:column;gap:8px;white-space:normal}.han-live-recommendations>p{margin:0;color:#806b58;font-size:12px}.han-live-recommendations>b{font-size:13px;color:#5b3b28}.han-product-card{display:flex;gap:10px;align-items:stretch;overflow:hidden;border:1px solid #ead5bd;background:#fffaf2;border-radius:13px;padding:8px;margin-top:2px}.han-product-card>img{width:76px;min-width:76px;height:90px;object-fit:cover;border-radius:9px;background:#f2e5d5}.han-product-copy{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:4px}.han-product-copy>strong{font-size:13px;color:#503729;line-height:1.3}.han-product-price{font-size:12px;font-weight:800;color:#8a5a36}.han-product-copy>small{font-size:11px;line-height:1.35;color:#806b58;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.han-product-choose{margin-top:4px;border:0;border-radius:18px;background:#5a3c2d;color:#fff8ed;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer}.han-product-choose:hover{background:#704a35}.han-menu-link{display:inline-block;color:#704a30;font-weight:700;text-decoration:underline}.han-order-items-list{display:flex;flex-direction:column;gap:7px;margin-top:8px}.han-order-item-button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:8px;text-align:left;border:1px solid #ead8c5;border-radius:10px;background:#fff;padding:9px 10px;color:#503729;font-size:12px;font-weight:700;cursor:pointer}.han-order-item-button span{flex-shrink:0;color:#80563a;font-size:10px;font-weight:700}.han-order-item-button:hover{background:#f8ead8}.han-order-hint{display:block;margin-top:8px;color:#9a8069;font-size:10px}

/* v0.1.9 — inline drink customisation card styled to match the navy ADD TO ORDER button */
.han-custom-card{align-self:stretch;width:100%;box-sizing:border-box;overflow:hidden;border:1px solid #e7d8c7;border-radius:15px;background:#fffaf2;color:#172944;padding:12px;margin:2px 0 4px;white-space:normal;box-shadow:0 4px 14px #1729440a}
.han-custom-card-head{display:flex;align-items:flex-start;gap:10px;position:relative;padding-right:22px}
.han-custom-image{width:76px;height:86px;flex:0 0 76px;object-fit:cover;border-radius:9px;background:#f1e4d3}
.han-custom-image-placeholder{display:grid;place-items:center;font-size:28px}
.han-custom-title{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}
.han-custom-title strong{font-size:16px;line-height:1.25;color:#142744}
.han-custom-price{font-size:14px;font-weight:800;color:#8b5b35}
.han-custom-title small{font-size:11px;line-height:1.35;color:#806b58}
.han-custom-close{position:absolute;right:-3px;top:-4px;border:0;border-radius:50%;width:26px;height:26px;background:#142744;color:#fff;font-size:18px;line-height:1;cursor:pointer}
.han-custom-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:13px 0 10px;padding-top:12px;border-top:1px solid #e7d8c7}
.han-custom-field{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:10px;font-weight:800;letter-spacing:.35px;text-transform:uppercase;color:#34445a}
.han-custom-field select{width:100%;max-width:100%;min-width:0;border:1px solid #cbd2dc;border-radius:7px;background:#fff;color:#172944;padding:9px 8px;font-size:11px;letter-spacing:0;text-transform:none;box-sizing:border-box}
.han-custom-no-options{grid-column:1/-1;margin:0;color:#806b58;font-size:11px}
.han-custom-addon{display:flex;align-items:center;gap:8px;padding:8px 0;font-size:11px;color:#34445a}
.han-custom-addon input{accent-color:#142744}
.han-custom-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0 12px;margin-top:2px;border-top:1px solid #e7d8c7}
.han-custom-qty{display:flex;align-items:center;gap:0;border:1px solid #d5dce5;border-radius:9px;background:#fff;overflow:hidden}
.han-custom-qty button{border:0;background:#142744;color:#fff;width:32px;height:32px;font-size:18px;cursor:pointer}
.han-custom-qty span{min-width:28px;text-align:center;font-size:12px;font-weight:800;color:#172944}
.han-custom-bottom>strong{font-family:Georgia,serif;font-size:18px;color:#142744}
.han-add-to-order{display:block;width:100%;border:0;border-radius:7px;background:#142744;color:#fff;font-weight:800;letter-spacing:1px;font-size:11px;padding:13px 12px;cursor:pointer;transition:background .15s,transform .15s}
.han-add-to-order:hover,.han-custom-qty button:hover,.han-custom-close:hover{background:#20395d;color:#fff}
.han-add-to-order:active{transform:translateY(1px)}
@media(max-width:520px){.han-custom-fields{gap:8px}.han-custom-image{width:68px;height:78px;flex-basis:68px}.han-custom-title strong{font-size:14px}}

/* v0.2.0: prevent chat history, carousel and customisation cards from being flex-shrunk behind the composer. */
.han-chat{min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.han-chat>*{flex-shrink:0;max-width:100%}
.han-chat>.han-msg{flex-shrink:0}
.han-chat>.han-orders-carousel,.han-chat>.han-mood-box,.han-chat>.han-custom-card,.han-chat>.han-live-recommendations{flex:0 0 auto}
.han-custom-card{min-height:max-content}
.han-custom-fields{flex-shrink:0}

/* v0.3.0 intent options and coffee-bean help */
#hanzu-han-root .han-action-options{margin-top:10px;padding:11px;border:1px solid #ead5c1;border-radius:14px;background:#fffaf4;color:#4f3528}
#hanzu-han-root .han-action-options>b,#hanzu-han-root .han-beans-answer>b,#hanzu-han-root .han-help-answer>b{display:block;margin-bottom:7px;color:#4b3024}
#hanzu-han-root .han-action-grid{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
#hanzu-han-root .han-action-chip{appearance:none;border:1px solid #d6a77e;background:#fff;color:#67442f;border-radius:999px;padding:8px 11px;font:inherit;font-size:13px;line-height:1.25;cursor:pointer;max-width:100%;white-space:normal;text-align:left}
#hanzu-han-root .han-action-chip:hover,#hanzu-han-root .han-action-chip:focus{background:#f4e3d1;outline:2px solid #c89b70;outline-offset:1px}
#hanzu-han-root .han-beans-answer,#hanzu-han-root .han-help-answer{line-height:1.45}
#hanzu-han-root .han-beans-answer p,#hanzu-han-root .han-help-answer p{margin:7px 0}

/* v0.3.4: show a real three-card comparison for the bean-comparison intent */
#hanzu-han-root .han-bean-comparison{width:100%;line-height:1.4}
#hanzu-han-root .han-bean-comparison>b{display:block;color:#4b3024;margin-bottom:4px}
#hanzu-han-root .han-bean-intro{margin:4px 0 10px;color:#795d49;font-size:12px}
#hanzu-han-root .han-bean-compare-card{border:1px solid #e6cbb0;border-radius:13px;background:linear-gradient(145deg,#fffdf9,#fbefdf);padding:11px;margin:0 0 9px;box-shadow:0 2px 7px #55351b0a}
#hanzu-han-root .han-bean-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}
#hanzu-han-root .han-bean-number{font-size:10px;font-weight:800;letter-spacing:1px;color:#a4754d}
#hanzu-han-root .han-bean-tag{font-size:10px;color:#795338;background:#f3dfc8;border-radius:999px;padding:4px 7px}
#hanzu-han-root .han-bean-compare-card>strong{display:block;font-size:14px;color:#39271e}
#hanzu-han-root .han-bean-compare-card>p{font-size:12px;margin:6px 0 9px;color:#684e3c}
#hanzu-han-root .han-bean-profile{display:flex;flex-direction:column;gap:2px;border-top:1px solid #ecd8c4;padding-top:7px}
#hanzu-han-root .han-bean-profile small{font-size:9px;letter-spacing:1px;color:#9b795e;font-weight:700}
#hanzu-han-root .han-bean-profile span{font-size:12px;font-weight:650;color:#513728}
#hanzu-han-root .han-bean-best{font-size:11px;color:#77553d;margin-top:6px}

/* v0.3.8: always-available return to main menu */
.han-home{border:0;border-radius:999px;min-width:32px;height:32px;padding:0 10px;display:inline-flex;align-items:center;justify-content:center;gap:5px;background:rgba(255,255,255,.12);color:#fff8ed;cursor:pointer;font-size:16px;line-height:1;flex:0 0 auto;white-space:nowrap}.han-home span{font-size:11px;font-weight:600}.han-home:hover{background:rgba(255,255,255,.22)}.han-head .han-home{margin-left:auto}.han-head .han-close{margin-left:6px}

/* Han v0.4.3 sign-in prompt and modal */
.han-signin-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.han-signin-actions button{border:0;border-radius:999px;padding:10px 15px;font:inherit;font-size:13px;cursor:pointer}
.han-signin-actions .han-signin-open{background:#593d2f;color:#fff}
.han-signin-actions .han-guest-continue{background:#f3e4d5;color:#593d2f}
.han-signin-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:18px}
.han-signin-backdrop{position:absolute;inset:0;background:rgba(34,22,17,.56)}
.han-signin-dialog{position:relative;z-index:1;width:min(100%,360px);box-sizing:border-box;background:#fff9f1;color:#4e3b32;border:1px solid #ead7c5;border-radius:22px;padding:25px 22px 20px;box-shadow:0 18px 60px rgba(40,24,15,.28)}
.han-signin-dialog h3{font-size:22px;line-height:1.2;margin:5px 0 8px;color:#4e3327}
.han-signin-dialog p{font-size:14px;line-height:1.5;margin:0 0 18px}
.han-signin-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.4px;color:#a56c4b}
.han-signin-x{position:absolute;right:12px;top:10px;border:0;background:#eee0d2;border-radius:50%;width:30px;height:30px;font-size:20px;cursor:pointer;color:#593d2f}
.han-signin-form label{display:block;font-size:12px;font-weight:600;margin-bottom:6px}
.han-signin-form input{width:100%;box-sizing:border-box;border:1px solid #e6cfba;border-radius:12px;padding:12px;font:inherit;background:#fff;outline-offset:2px}
.han-signin-submit{width:100%;margin-top:12px;border:0;border-radius:999px;background:#593d2f;color:#fff;padding:12px;font:inherit;font-weight:600;cursor:pointer}
.han-signin-submit:disabled{opacity:.65;cursor:wait}
.han-signin-error{font-size:12px;color:#a33225;margin-top:7px}
.han-signin-dialog small{display:block;margin-top:13px;color:#947b6a;font-size:11px;line-height:1.4}

/* Han v0.4.4: Barista Dictionary recommendation and coffee comparison */
.han-product-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}
.han-product-actions .han-product-choose{margin-top:0}
.han-product-compare{margin-top:0;border:1px solid #d8c0a9;border-radius:18px;background:#fff7eb;color:#68462f;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer}
.han-product-compare.is-selected{background:#e4c5a4;border-color:#b17a50;color:#4e3325}
.han-compare-toolbar{display:flex;align-items:center;gap:6px;flex-wrap:wrap;border-top:1px solid #ead8c5;padding-top:8px;margin-top:4px}
.han-compare-toolbar span{font-size:11px;color:#806b58;margin-right:auto}
.han-compare-toolbar button{border:1px solid #d8c0a9;border-radius:18px;background:#fff7eb;color:#68462f;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer}
.han-compare-toolbar button[data-han-compare-now]{background:#5a3c2d;color:#fff8ed;border-color:#5a3c2d}
.han-compare-toolbar button:disabled{opacity:.45;cursor:not-allowed}
.han-coffee-comparison{display:flex;flex-direction:column;gap:9px;max-width:100%;min-width:0}
.han-coffee-comparison>b{font-size:13px;color:#5b3b28}
.han-coffee-comparison>p,.han-coffee-comparison>small{font-size:11px;line-height:1.45;color:#806b58;margin:0}
.han-comparison-table-wrap{max-width:100%;overflow-x:auto;border:1px solid #ead5bd;border-radius:10px;background:#fffaf2}
.han-comparison-table{border-collapse:collapse;width:100%;font-size:11px;min-width:430px;color:#503729}
.han-comparison-table th,.han-comparison-table td{padding:8px;text-align:left;vertical-align:top;border-bottom:1px solid #eadfce;max-width:160px;overflow-wrap:anywhere}
.han-comparison-table thead th{background:#f2e3d2;color:#5b3b28}
.han-comparison-table tbody th{background:#fff5e9;min-width:85px}
.han-comparison-picks{display:flex;flex-wrap:wrap;gap:6px}
.han-comparison-picks .han-product-choose{margin:0}

/* Han v0.4.5: clearer generic comparison descriptions and per-column customise actions */
.han-comparison-table .han-comparison-action-row th,
.han-comparison-table .han-comparison-action-row td{background:#f5e7d6;vertical-align:middle}
.han-comparison-action-row .han-product-choose{font-size:10px;line-height:1.25;white-space:normal;overflow-wrap:anywhere;max-width:100%;padding:8px 10px}
.han-comparison-table td{min-width:118px}

.han-voucher-code{display:inline-block;padding:4px 9px;border-radius:8px;background:#f0dfc9;color:#593d2f;letter-spacing:.7px;font-weight:800;user-select:all}

/* Han v0.4.8: quick drink-style suggestion pills */
.han-refine-pills{border-top:1px solid #ead8c5;margin-top:10px;padding-top:9px;display:flex;flex-direction:column;gap:7px}
.han-refine-pills>span{font-size:11px;color:#806b58}
.han-refine-pill-list{display:flex;flex-wrap:wrap;gap:6px}
.han-refine-pill{border:1px solid #d8c0a9;background:#fff8ef;color:#68462f;border-radius:999px;padding:7px 10px;font-size:11px;line-height:1.2;cursor:pointer}
.han-refine-pill:hover,.han-refine-pill:focus{background:#ead1b6;outline-offset:2px}

/* Han v0.5.0: useful next-step pills after coffee comparison */
.han-post-compare-actions{display:flex;flex-direction:column;gap:7px;margin-top:11px;padding-top:10px;border-top:1px solid #ead8c5}
.han-post-compare-actions>span{font-size:11px;color:#806b58}
.han-post-compare-pills{display:flex;flex-wrap:wrap;gap:6px}
.han-post-pill{border:1px solid #d8b99c;background:#fff8ef;color:#78563e;border-radius:999px;padding:7px 10px;font-size:11px;line-height:1.2;cursor:pointer}
.han-post-pill:hover,.han-post-pill:focus{background:#ead1b6;outline-offset:2px}
.han-post-pill.han-clear-chat{background:#f4e7d8}
.han-post-pill.han-main-menu-pill{background:#593d2f;color:#fff7ed;border-color:#593d2f}

/* Han v0.5.1: add-to-cart confirmation with View Order action */
.han-added-confirmation{display:flex;flex-direction:column;gap:7px}
.han-added-confirmation>strong{font-size:13px;color:#5b3b28}
.han-added-confirmation>p{margin:0;font-size:12px;line-height:1.45;color:#806b58}
.han-added-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:3px}
.han-added-actions button{border-radius:999px;padding:9px 13px;font-size:11px;font-weight:700;cursor:pointer}
.han-view-order-chat{border:1px solid #122541;background:#122541;color:#fff8ed}
.han-continue-browsing{border:1px solid #d8c0a9;background:#fff8ef;color:#68462f}

.han-edit-order form[data-han-edit-load]{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.han-edit-order input[name="order_no"]{min-width:0;flex:1;padding:10px;border:1px solid #d9d0c4;border-radius:10px}.han-edit-order button{border:1px solid #d8cbb9;border-radius:9px;padding:7px 10px;background:#fffaf2;color:#2c2926;cursor:pointer}.han-edit-lines{display:grid;gap:8px;margin:10px 0}.han-edit-line{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:10px;border:1px solid #eee3d6;border-radius:10px}.han-edit-line>div{flex:1;min-width:110px;display:grid;gap:3px}.han-edit-line small{font-size:11px;opacity:.72}.han-edit-order [data-han-edit-status]{margin-top:8px;font-size:13px}

/* v0.5.5: subtle tail swish using a clipped duplicate of Han's original artwork. */
.han-launch{overflow:visible}
.han-tail-layer{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none;clip-path:polygon(0 43%, 27% 43%, 47% 58%, 51% 77%, 43% 96%, 23% 100%, 0 100%);transform-origin:28% 69%;animation:han-tail-swish 2.4s ease-in-out infinite;filter:drop-shadow(0 1px 1px #65412c20)}
@keyframes han-tail-swish{0%,100%{transform:rotate(0deg)}30%{transform:rotate(-3deg)}65%{transform:rotate(4deg)}}
@media(prefers-reduced-motion:reduce){.han-tail-layer{animation:none!important}}

/* v0.5.7 customer order edit: add drinks and edit existing customisations */
.han-edit-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.han-edit-line-copy{flex:1 1 100%;display:flex;flex-direction:column;gap:5px}.han-edit-line-copy small{font-size:12px;opacity:.8}.han-edit-line-copy button,.han-edit-order [data-han-edit-add-drinks],.han-edit-drink-picker button{border:1px solid #dec5a8;border-radius:10px;background:#fffaf3;color:#594032;padding:8px 10px;cursor:pointer}.han-edit-order [data-han-edit-add-drinks]{margin:8px 0;width:100%;font-weight:600}.han-edit-drink-list{display:grid;grid-template-columns:1fr;gap:7px;margin:10px 0}.han-edit-drink-list button{display:flex;justify-content:space-between;gap:10px;text-align:left}.han-edit-drink-list small{white-space:nowrap}.han-edit-order [data-han-edit-save]{margin-top:8px}
/* v0.5.10: ensure Edit Order controls remain clickable above chat card layers */
#hanzu-han-root .han-edit-order [data-han-edit-add-drinks]{position:relative;z-index:2;pointer-events:auto;touch-action:manipulation;}

/* v0.5.16: style active-order card and its primary Edit Order action. */
#hanzu-han-root .han-active-order-card{width:100%;max-width:100%;border:1px solid #ead8c5;border-radius:15px;background:#fffdf9;padding:13px 14px;color:#503729;box-shadow:0 2px 8px rgba(80,55,35,.04)}
#hanzu-han-root .han-active-order-card>p{margin:7px 0;color:#6f5949;line-height:1.4}
#hanzu-han-root .han-active-order-card .han-active-order-lines{display:grid;gap:6px;margin:9px 0}
#hanzu-han-root .han-active-order-card .han-active-order-line{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;font-size:12px}
#hanzu-han-root .han-active-order-card .han-active-order-line small{white-space:nowrap;color:#78563e;font-weight:600}
#hanzu-han-root .han-active-order-card>small{display:block;color:#897462;font-size:11px;margin:8px 0 10px}
#hanzu-han-root .han-active-order-card [data-han-edit-active-order]{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:9px 17px;border:1px solid #142744;border-radius:999px;background:#142744;color:#fff8ed;font-size:13px;font-weight:700;line-height:1.2;box-shadow:0 2px 0 rgba(20,39,68,.12);cursor:pointer;transition:background .15s ease,transform .15s ease}
#hanzu-han-root .han-active-order-card [data-han-edit-active-order]:hover{background:#233d60;transform:translateY(-1px)}
#hanzu-han-root .han-active-order-card [data-han-edit-active-order]:focus-visible{outline:2px solid #c88d55;outline-offset:3px}
@media(max-width:480px){#hanzu-han-root .han-active-order-card [data-han-edit-active-order]{width:100%;min-height:42px}}

/* v0.5.17: mirror Menu pickup/date/time fields inside Han while preserving Menu settings. */
#hanzu-han-root .han-pickup-details{border:1px solid #ead8c5;border-radius:14px;background:#fffaf3;padding:13px;margin:8px 0;color:#503729}
#hanzu-han-root .han-pickup-details>strong{display:block;font-size:14px;margin-bottom:5px}
#hanzu-han-root .han-pickup-details>p{font-size:12px;line-height:1.45;color:#826b58;margin:0 0 10px}
#hanzu-han-root .han-pickup-details label{display:block;margin:9px 0}
#hanzu-han-root .han-pickup-details label>span{display:block;font-size:12px;font-weight:700;margin-bottom:3px}
#hanzu-han-root .han-pickup-details label>small{display:block;font-size:11px;color:#8a735f;margin-bottom:5px}
#hanzu-han-root .han-pickup-details input,#hanzu-han-root .han-pickup-details select{width:100%;min-height:42px;box-sizing:border-box;border:1px solid #dec5a8;border-radius:9px;padding:8px 10px;background:#fff;color:#503729;font:inherit}
#hanzu-han-root .han-pickup-details [hidden]{display:none!important}
#hanzu-han-root .han-pickup-sync-note{display:block;color:#8a735f;font-size:10px;line-height:1.4;margin-top:8px}


/* v0.5.19: polished View Order button inside pickup details; protect against theme button styles. */
#hanzu-han-root .han-pickup-details button.han-view-order-pickup{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:44px!important;margin:12px 0 0!important;padding:11px 16px!important;border:1px solid #142744!important;border-radius:999px!important;background:#142744!important;color:#fff8ed!important;font-family:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;text-align:center!important;text-decoration:none!important;box-shadow:0 2px 0 rgba(20,39,68,.14)!important;cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important;transition:background .15s ease,transform .15s ease,box-shadow .15s ease!important}
#hanzu-han-root .han-pickup-details button.han-view-order-pickup:hover{background:#233d60!important;border-color:#233d60!important;box-shadow:0 3px 8px rgba(20,39,68,.15)!important;transform:translateY(-1px)!important}
#hanzu-han-root .han-pickup-details button.han-view-order-pickup:focus-visible{outline:2px solid #c88d55!important;outline-offset:3px!important}
#hanzu-han-root .han-pickup-details button.han-view-order-pickup:active{transform:translateY(0)!important;box-shadow:none!important}

/* v0.5.22: concise single welcome for guests */
#hanzu-han-root .han-guest-welcome p{margin:7px 0 10px;color:var(--han-muted,#8f7968);font-size:13px;line-height:1.45}
#hanzu-han-root .han-guest-welcome strong{font-weight:600;line-height:1.4;display:block}
#hanzu-han-root .han-guest-welcome .han-signin-open{border:1px solid #d9b99a;border-radius:999px;background:#fffaf4;color:#604633;padding:8px 13px;font:inherit;font-size:12px;cursor:pointer}
#hanzu-han-root .han-guest-welcome .han-signin-open:hover{background:#f4e6d7}

@keyframes han-mascot-idle{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-1px) rotate(.4deg)}}
/* Greeting motion: a short, gentle welcome wiggle when the chat opens. Uses the original single image to avoid duplicated limbs/tail. */
.han-panel.is-open .han-head-mascot{animation:han-mascot-greet 1.15s ease-in-out 1,han-mascot-idle 3.8s ease-in-out 1.15s infinite}
@keyframes han-mascot-greet{0%,100%{transform:translateY(0) rotate(0)}18%{transform:translateY(-2px) rotate(-3deg)}36%{transform:translateY(0) rotate(3deg)}54%{transform:translateY(-1px) rotate(-2deg)}72%{transform:translateY(0) rotate(1.5deg)}90%{transform:translateY(0) rotate(0)}}
@media(prefers-reduced-motion:reduce){.han-head-mascot{animation:none!important}}

/* v0.5.27 — compact draft-order summary */
.han-draft-lines{margin:8px 0 12px;padding-left:20px;text-align:left}
.han-draft-lines li{margin:3px 0;font-size:13px}
.han-added-confirmation [data-han-confirm-order]{font-weight:700}
