#studioChat{font:15px/1.5 Arial,sans-serif;color:#382326}#studioChat [hidden]{display:none!important}#studioChat button,#studioChat a{font:inherit}#studioChat button{cursor:pointer}#studioChat .chat-launch{position:fixed;bottom:22px;right:22px;z-index:90;border:1px solid #f5d493;border-radius:30px;padding:15px 22px;background:#a92232;color:white;box-shadow:0 6px 30px #56121c38}#studioChat .chat-dialog{position:fixed;inset:auto 18px 18px auto;width:min(510px,calc(100vw - 24px));max-width:none;height:min(820px,calc(100dvh - 32px));max-height:none;margin:0;padding:0;border:1px solid #e1c4b4;border-radius:22px;background:#fffaf3;box-shadow:0 15px 70px #39101740}#studioChat .chat-dialog[open]{display:flex;flex-direction:column}#studioChat .chat-dialog::backdrop{background:#29121833}#studioChat header{position:static;display:flex;gap:12px;align-items:center;padding:16px;border-bottom:1px solid #ead8c7;background:#fffaf3}#studioChat header img{width:65px;height:45px;object-fit:contain}#studioChat header div{flex:1}#studioChat header small{display:block;font-size:11px;color:#765b57}#studioChat header button{border:0;background:transparent;font-size:28px}#studioChat #chatBody{overflow:auto;padding:18px;flex:1}#studioChat .chat-welcome h2{font-size:27px;color:#b22c3a}#studioChat .chat-messages{max-height:260px;overflow:auto}#studioChat .chat-message{padding:12px 14px;background:#f1e6d8;border-radius:14px;margin:0 25px 12px 0}#studioChat .chat-message.user{background:#fbe4e4;margin:0 0 12px 25px}#studioChat .chat-message.team{background:#fbefce}#studioChat .chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:4px 0}#studioChat .chat-message small{font-weight:bold;font-size:11px}#studioChat .chat-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}#studioChat button,#studioChat .chat-primary{border:1px solid #dbc7b7;border-radius:10px;background:white;color:#92303a;padding:10px 12px;text-decoration:none;display:inline-block}#studioChat .chat-primary{background:#ae2938;color:white;margin:8px 0}#studioChat label{display:block;font-size:13px;margin:10px 0;color:#62443e}#studioChat input,#studioChat textarea,#studioChat select{box-sizing:border-box;display:block;width:100%;font:inherit;color:#382326;background:white;border:1px solid #d6c1b0;border-radius:8px;padding:10px;margin-top:5px}#studioChat textarea{min-height:65px}#studioChat .chat-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}#studioChat .chat-summary{display:grid;grid-template-columns:110px 1fr;gap:6px;font-size:13px}#studioChat dd{margin:0;overflow-wrap:anywhere}#studioChat dt{font-weight:bold}#studioChat .chat-controls{margin:15px 0}#studioChat .chat-controls>a{display:block;margin-top:12px;color:#a52335}#studioChat #chatError{font-size:12px;margin:0;padding:0 18px;overflow-wrap:anywhere}#studioChat footer{display:flex;flex-wrap:wrap;gap:5px;margin:0;padding:10px;border-top:1px solid #e3d0bb;background:#fffaf3}#studioChat footer button{font-size:11px;padding:7px}#studioChat button:disabled{opacity:.5;cursor:wait}@media(max-width:560px){#studioChat .chat-dialog{inset:auto 6px 6px auto;width:calc(100% - 12px);height:calc(100dvh - 12px)}#studioChat .chat-fields{grid-template-columns:1fr}#studioChat .chat-launch{bottom:16px;right:16px}}

/* Keep the welcome and consent content readable independently of page headings. */
#studioChat .chat-welcome{display:grid;gap:18px;padding:8px 4px 18px}
#studioChat .chat-welcome h2{margin:0;font-size:26px;line-height:1.25;letter-spacing:normal;font-weight:700;text-wrap:balance}
#studioChat .chat-welcome p{margin:0;line-height:1.65}
#studioChat .chat-intro{font-size:15px;color:#62443e}
#studioChat .chat-consent-note{padding:18px;border:1px solid #ead8c7;border-radius:14px;background:#f8efe5;font-size:13px;color:#62443e}
#studioChat .chat-consent-note p+p{margin-top:12px}
#studioChat .chat-consent-note a{display:inline-block;margin-top:14px;color:#92303a;text-decoration:underline;text-underline-offset:3px}
#studioChat .chat-welcome .chat-primary{display:block;width:100%;box-sizing:border-box;margin:2px 0 0;padding:13px 18px;min-height:46px;font-weight:700;text-align:center}
@media(max-width:560px){#studioChat .chat-welcome{gap:16px;padding:4px 0 16px}#studioChat .chat-welcome h2{font-size:23px}#studioChat .chat-consent-note{padding:16px}}

/* Isolate the assistant header from storefront header sizing. */
#studioChat .chat-dialog>header{box-sizing:border-box;width:100%;max-width:none;margin:0;min-height:0;height:auto;flex:0 0 auto;padding:16px;gap:12px}
#studioChat .chat-dialog>header img{flex:0 0 65px;margin:0}
#studioChat .chat-dialog>header>div{min-width:0;margin:0}
#studioChat .chat-dialog>header strong{display:block;line-height:1.4;letter-spacing:normal}
#studioChat .chat-dialog>header small{margin-top:3px;line-height:1.5}
#studioChat .chat-dialog>header #chatClose{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;min-height:0;margin:0;padding:0;line-height:1;border:0;background:transparent}

@media(max-width:760px){#studioChat.chat-inline-mobile{padding:0 5% 24px;text-align:right}#studioChat.chat-inline-mobile .chat-launch{position:static;margin:0;box-shadow:none}#studioChat.chat-inline-mobile .chat-dialog{text-align:left}}
