/* U-B Hollywood chat widget. Brand: indigo #352A6C, gold #E6B861. */
#ubh-chat-root { --c-indigo: #352a6c; --c-night: #161132; --c-gold: #e6b861; --c-ink: #17142e; --c-line: #e6e3f0; --c-tint: #f6f5fb; position: fixed; right: 20px; bottom: 20px; z-index: 9990; font-family: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif; }
#ubh-chat-root * { box-sizing: border-box; }
.ubhc-launch { display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: var(--c-indigo); color: #fff; font: 700 15px/1 "Archivo", Arial, sans-serif; font-stretch: 106%; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(22, 17, 50, .55); transition: transform .2s, background-color .2s; }
.ubhc-launch:hover { background: var(--c-night); transform: translateY(-2px); }
.ubhc-launch svg { color: var(--c-gold); }
.is-open .ubhc-launch span { display: none; }
.is-open .ubhc-launch { padding: 0 16px; }
.ubhc-panel { position: absolute; right: 0; bottom: 70px; width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100vh - 120px)); display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px -28px rgba(22, 17, 50, .45); }
.ubhc-panel[hidden] { display: none; }
.ubhc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: linear-gradient(120deg, var(--c-night), var(--c-indigo)); color: #fff; }
.ubhc-head__text { display: grid; gap: 3px; }
.ubhc-head__text strong { font: 700 15px/1.2 "Archivo", Arial, sans-serif; font-stretch: 106%; }
.ubhc-head__text span { font-size: 12px; color: #d9d5ee; }
.ubhc-close { background: rgba(255, 255, 255, .1); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; }
.ubhc-body { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--c-tint); }
.ubhc-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; color: var(--c-ink); word-wrap: break-word; }
.ubhc-msg a { color: var(--c-indigo); font-weight: 600; }
.ubhc-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--c-line); border-bottom-left-radius: 6px; }
.ubhc-msg--user { align-self: flex-end; background: var(--c-indigo); color: #fff; border-bottom-right-radius: 6px; }
.ubhc-msg--user a { color: #fff; }
.ubhc-typing { align-self: flex-start; display: inline-flex; gap: 5px; padding: 14px 16px; background: #fff; border: 1px solid var(--c-line); border-radius: 16px; }
.ubhc-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--c-indigo); opacity: .35; animation: ubhc-dot 1.2s infinite; }
.ubhc-typing span:nth-child(2) { animation-delay: .15s; }
.ubhc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes ubhc-dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.ubhc-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px 0; background: var(--c-tint); }
.ubhc-chips[hidden] { display: none; }
.ubhc-chip { border: 1px solid var(--c-line); background: #fff; color: var(--c-indigo); border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.ubhc-chip:hover { border-color: var(--c-indigo); }
.ubhc-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--c-line); background: #fff; }
.ubhc-form textarea { flex: 1; resize: none; min-height: 44px; max-height: 140px; padding: 11px 14px; border-radius: 14px; border: 1.5px solid var(--c-line); background: var(--c-tint); font-family: inherit; font-size: 15px; line-height: 1.4; color: var(--c-ink); }
.ubhc-form textarea:focus { outline: none; border-color: var(--c-indigo); background: #fff; }
.ubhc-send { width: 44px; height: 44px; flex: none; border: 0; border-radius: 12px; background: var(--c-gold); color: var(--c-night); display: grid; place-items: center; cursor: pointer; }
.ubhc-send[disabled] { opacity: .5; cursor: progress; }
.ubhc-human { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 0 14px 8px; font-size: 13px; color: #77738c; background: #fff; }
.ubhc-human a { color: var(--c-indigo); font-weight: 700; text-decoration: none; }
.ubhc-note { margin: 0; padding: 0 14px 12px; font-size: 11.5px; color: #77738c; background: #fff; }
.ubhc-note a { color: inherit; }
@media (max-width: 560px) {
	#ubh-chat-root { right: 12px; bottom: 12px; }
	#ubh-chat-root.is-open { left: 0; right: 0; bottom: 0; top: 0; }
	.is-open .ubhc-panel { position: fixed; inset: 0; width: 100%; height: 100%; border-radius: 0; border: 0; }
	.is-open .ubhc-launch { display: none; }
	.ubhc-launch span { display: none; }
	.ubhc-launch { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .ubhc-typing span { animation: none; opacity: .6; } .ubhc-launch { transition: none; } }
