.stc-root{position:fixed;bottom:22px;right:22px;z-index:99990;font:14px/1.45 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#222222;--stc-black:#000000}.stc-root *{box-sizing:border-box}.stc-root [hidden]{display:none!important}.stc-root button{font:inherit;cursor:pointer;text-transform:none;letter-spacing:normal}.stc-launch{display:grid;place-items:center;width:60px;height:60px;border:0;border-radius:50%;background:var(--stc-black);color:white;box-shadow:0 8px 28px #22222240;margin-left:auto;padding:15px}.stc-launch svg{width:30px;height:30px}.stc-panel{width:360px;max-width:calc(100vw - 28px);height:510px;max-height:calc(100dvh - 110px);display:flex;flex-direction:column;background:#fff;border:1px solid #dddddd;border-radius:18px;overflow:hidden;box-shadow:0 16px 60px #00000036;margin-bottom:12px}.stc-header{display:flex;align-items:center;gap:11px;background:#000000;color:white;padding:16px}.stc-avatar{width:43px;height:43px;border-radius:50%;object-fit:cover;background:#eeeeee;color:#000000;flex:none}.stc-initial{display:grid;place-items:center;font-size:20px;font-weight:700}.stc-header-info{flex:1;min-width:0}.stc-header-info strong,.stc-header-info span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stc-header-info strong{font-size:16px;color:#fff}.stc-header-info span{font-size:12px;color:#eeeeee}.stc-hide{border:0;background:transparent;color:#fff;font-size:25px!important;padding:0 7px}.stc-stream{flex:1;overflow:auto;padding:16px;min-height:60px;background:#fff}.stc-welcome{color:#666666;font-size:13px;margin:5px 0 20px;text-align:center}.stc-msg{display:flex;flex-direction:column;align-items:flex-start;margin-bottom:13px}.stc-msg.stc-me{align-items:flex-end}.stc-msg-name{font-size:11px;color:#666666;margin:0 5px 4px}.stc-bubble{white-space:pre-wrap;overflow-wrap:anywhere;max-width:88%;padding:10px 13px;border-radius:15px;background:#eeeeee;color:#222222}.stc-me .stc-bubble{background:#000000;color:#fff}.stc-status{padding:0 12px;color:#a53624;font-size:12px}.stc-status:empty{display:none}.stc-controls{display:flex;justify-content:space-between;padding:4px 12px;border-top:1px solid #eeeeee}.stc-link{border:0;background:transparent;color:#000000;padding:6px 0;font-size:12px!important}.stc-link:disabled{color:#666666;cursor:default}.stc-compose{display:flex;align-items:center;gap:8px;padding:9px 12px;margin:0}.stc-compose textarea,.stc-verify input{width:100%;min-width:0;border:1px solid #dddddd;border-radius:10px;background:#fafafa;padding:8px;color:#222222;font:inherit;resize:none;margin:0}.stc-send,.stc-primary{background:#000000;border:0;border-radius:10px;color:#fff;padding:10px 14px;font-weight:600!important}.stc-verify{padding:8px 12px;max-height:190px;overflow:auto;background:#f7f7f7;margin:0}.stc-verify label{display:block;font-size:12px;margin:4px 0}.stc-verify input{margin-top:3px}.stc-privacy{padding:0 12px 9px;color:#666666;font-size:10px}.stc-privacy a{color:inherit;text-decoration:underline}.stc-start{margin:10px 12px}.stc-root :focus-visible{outline:2px solid #777777;outline-offset:2px}@media(max-width:480px){.stc-root{right:12px;bottom:12px}.stc-panel{width:calc(100vw - 24px);max-width:none;height:500px}.stc-launch{width:54px;height:54px}}

/* Keep the floating launcher black even when a WooCommerce theme styles buttons. */
html body .stc-root button.stc-launch,html body .stc-root button.stc-launch:hover,html body .stc-root button.stc-launch:focus,html body .stc-root button.stc-launch:focus-visible,html body .stc-root button.stc-launch:active,html body .stc-root button.stc-launch[aria-expanded="true"]{background:#000000!important;background-color:#000000!important;background-image:none!important;color:#ffffff!important;border-color:#000000!important;opacity:1!important;filter:none!important;}
html body .stc-root button.stc-launch svg{color:#ffffff!important;fill:none!important;}
html body .stc-root button.stc-launch svg path{stroke:#ffffff!important;}
html body .stc-root button.stc-launch::before,html body .stc-root button.stc-launch::after{content:none!important;}
.stc-root .stc-attach,.stc-root .stc-attach:hover,.stc-root .stc-attach:focus{flex:none;display:grid;place-items:center;width:34px;height:38px;background:#fff!important;color:#000!important;border:1px solid #ddd;border-radius:9px;padding:5px}.stc-attach svg{width:22px;height:22px;stroke:#000}.stc-compose .stc-send{flex:none;padding:10px}.stc-chosen{display:flex;align-items:center;gap:8px;padding:5px 12px;background:#f5f5f5;font-size:12px}.stc-chosen span{flex:1;overflow-wrap:anywhere;min-width:0}.stc-attachment{display:grid;gap:6px;white-space:normal;min-width:0}.stc-attachment img{display:block;max-width:100%;max-height:190px;object-fit:contain;border-radius:8px}.stc-attachment a{color:inherit!important;text-decoration:underline;overflow-wrap:anywhere;font-size:12px}

/* Crisp-inspired operator identity: large header portrait and inline reply portraits. */
html body .stc-root .stc-profile{position:relative;flex:0 0 auto;display:block;width:var(--stc-avatar-size);height:var(--stc-avatar-size);border-radius:50%;overflow:hidden;background:#e7e7e7;box-sizing:border-box}
html body .stc-root .stc-header-avatar{--stc-avatar-size:56px;border:2px solid #fff}
html body .stc-root .stc-reply-avatar{--stc-avatar-size:32px;align-self:flex-end;margin-bottom:2px}
html body .stc-root .stc-profile .stc-avatar{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;object-fit:cover!important;object-position:center!important;box-shadow:none!important}
html body .stc-root .stc-profile .stc-avatar[hidden]{display:none!important}
html body .stc-root .stc-profile .stc-initial{display:grid;place-items:center;background:#e7e7e7;color:#222;font-size:19px;font-weight:700;line-height:1}
html body .stc-root .stc-reply-avatar .stc-initial{font-size:11px}
html body .stc-root .stc-msg.stc-them.stc-operator-msg{display:flex;flex-direction:row;align-items:flex-end;gap:8px}
.stc-reply-content{min-width:0;max-width:calc(100% - 40px);display:flex;flex-direction:column;align-items:flex-start}
.stc-reply-content .stc-bubble{max-width:100%;border-bottom-left-radius:4px}
.stc-header-info strong{font-size:17px;font-weight:650}.stc-header-info span{margin-top:3px}

/* Portrait stays laid out while loading: no display:none or lazy-load visibility trap. */
html body .stc-root .stc-profile{display:block!important;visibility:visible!important;opacity:1!important;flex-shrink:0!important;min-width:var(--stc-avatar-size)!important;min-height:var(--stc-avatar-size)!important}
html body .stc-root .stc-profile .stc-photo,html body .stc-root .stc-profile .stc-initial{position:absolute!important;inset:0!important;visibility:visible!important;transform:none!important;clip-path:none!important;filter:none!important;float:none!important}
html body .stc-root .stc-profile .stc-photo{display:block!important;z-index:2!important;background:transparent!important;object-fit:cover!important}
html body .stc-root .stc-profile .stc-initial{display:grid!important;z-index:1!important;place-items:center!important}
