.studio-chat-launcher{position:fixed;right:24px;bottom:24px;z-index:40;border:2px solid #D08D7E;border-radius:999px;padding:16px 24px;background:#6B4D4B;color:#F2E7E3;font:600 14px Poppins,sans-serif;box-shadow:0 6px 24px #6B4D4B40;cursor:pointer}
.studio-chat{position:fixed;right:24px;bottom:94px;z-index:41;width:390px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 118px);display:flex;flex-direction:column;background:#F2E7E3;color:#6B4D4B;border:1px solid #D08D7E;border-radius:18px;box-shadow:0 18px 60px #6B4D4B40;overflow:hidden;font:13px/1.6 Poppins,sans-serif}
.studio-chat-header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#6B4D4B;color:#F2E7E3;padding:16px 20px}.studio-chat-header h2{font:26px/1.2 'DM Serif Display',serif!important;margin:0}.studio-chat-header p{margin:5px 0 0;font-size:11px}.studio-chat .studio-chat-close{background:transparent;color:#F2E7E3;border:1px solid #D08D7E;border-radius:50%;min-width:44px;min-height:44px;font-size:26px}
.studio-chat-note{font-size:11px;line-height:1.55;margin:0;padding:12px 18px;background:#E7C5BE}.studio-chat-log{overflow:auto;overscroll-behavior:contain;min-height:100px;height:270px;padding:16px;scroll-behavior:smooth}.studio-chat-message{border-radius:12px;background:#E7C5BE;padding:12px;margin-bottom:12px;max-width:94%;overflow-wrap:anywhere}.studio-chat-message.user{margin-left:auto;background:#6B4D4B;color:#F2E7E3}.studio-chat-speaker{font-size:10px;font-weight:600}.studio-chat-message p{margin:5px 0 0;line-height:1.7}.studio-chat-action{display:block;margin-top:10px;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.studio-chat-quick{display:flex;flex-wrap:wrap;gap:6px;padding:8px 16px}.studio-chat-quick button{border:1px solid #B66A5E;background:transparent;color:#6B4D4B;border-radius:999px;min-height:36px;padding:6px 10px;font-size:11px;cursor:pointer}.studio-chat-quick button:hover{background:#E7C5BE;color:#6B4D4B}.studio-chat-form{display:flex;gap:8px;padding:10px 16px}.studio-chat-form input{width:100%;min-width:0;border:1px solid #B66A5E;background:#F2E7E3;color:#6B4D4B;border-radius:8px;padding:10px;font:16px Poppins,sans-serif}.studio-chat-form button{padding:10px 14px;border:0;border-radius:8px;background:#6B4D4B;color:#F2E7E3;cursor:pointer}.studio-chat-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 16px 14px;border-top:1px solid #E7C5BE;font-size:11px}.studio-chat-footer a{font-weight:600;text-decoration:underline}.studio-chat-footer button{background:transparent;color:#6B4D4B;border:0;min-height:36px;cursor:pointer}.studio-chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){.studio-chat-launcher{right:14px;bottom:14px;padding:13px 19px}.studio-chat{right:12px;bottom:78px;max-height:calc(100dvh - 94px);width:390px}.studio-chat-log{height:220px}.studio-chat-header{padding:12px 16px}}
@media(prefers-reduced-motion:reduce){.studio-chat-log{scroll-behavior:auto}}
/* Approved chat-only refinement. */
.studio-chat{background:#F9F5F2;color:#342A32}.studio-chat-header,.studio-chat-launcher,.studio-chat-form button{background:#342A32;color:#F9F5F2}.studio-chat-message{background:#fff;color:#342A32}.studio-chat-message.user{background:#E7C5BE;color:#342A32}.studio-chat-form input{background:#F9F5F2;color:#342A32}.studio-chat-typing{display:flex;align-items:center;gap:5px;padding:12px;color:#342A32;font-size:12px}.studio-chat-typing i{height:6px;width:6px;border-radius:50%;background:#B66A5E;animation:chat-dot 1s infinite}.studio-chat-typing i:nth-of-type(2){animation-delay:.15s}.studio-chat-typing i:nth-of-type(3){animation-delay:.3s}.studio-chat-quick{max-height:150px;overflow:auto;flex-shrink:0}.studio-chat-log{flex:1;min-height:90px}.studio-chat-header,.studio-chat-form,.studio-chat-footer,.studio-chat-note{flex-shrink:0}@keyframes chat-dot{50%{opacity:.3;transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.studio-chat-typing i{animation:none}}

.studio-chat-log{scroll-behavior:auto;overflow-anchor:none}
