*{box-sizing:border-box}:root{--cma-background:oklch(0.981 0.005 80);--cma-foreground:oklch(0.257 0.056 255);--cma-card:oklch(1 0 0);--cma-primary:oklch(0.185 0.046 255);--cma-primary-mid:oklch(0.306 0.063 255);--cma-paper:oklch(0.958 0.008 80);--cma-muted:oklch(93.806% 0.0191 248.163);--cma-muted-foreground:oklch(0.45 0.015 260);--cma-border:oklch(0.257 0.056 255/12%);--cma-input:oklch(0.257 0.056 255/13%);--cma-ring:oklch(0.306 0.063 255);--cma-gold:oklch(0.66 0.145 90);--cma-red:oklch(0.47 0.19 25);--cma-radius:12px}body{margin:0;background:transparent;color:var(--cma-foreground);font-family:ui-sans-serif,system-ui,sans-serif}.widget-shell{display:grid;grid-template-rows:auto 1fr auto auto auto;height:100vh;overflow:hidden;border:1px solid var(--cma-border);border-radius:16px;background:radial-gradient(circle at 12% 0,oklch(1 0 0/82%) 0,transparent 28%),linear-gradient(180deg,var(--cma-background) 0,var(--cma-paper) 100%);box-shadow:0 24px 70px oklch(.185 .046 255/22%)}.widget-header{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:132px;padding:16px 18px;border-bottom:1px solid oklch(1 0 0/12%);background:linear-gradient(185deg,#15243c,#171e35 48%,#2e1733);color:white}.widget-header:after{position:absolute;right:-38px;bottom:-54px;width:132px;height:132px;border-radius:999px;background:radial-gradient(circle,oklch(.66 .145 90/18%) 0,transparent 68%);content:"";pointer-events:none}.header-copy{position:relative;z-index:1;display:flex;align-items:center;gap:10px;min-width:0}.assistant-avatar,.brand-mark,.message-avatar{display:grid;place-items:center;flex:0 0 auto;border-radius:999px;font-weight:800}.brand-mark{width:34px;height:34px;border:1px solid oklch(1 0 0/22%);background:oklch(1 0 0/11%);color:oklch(1 0 0/92%);font-size:11px;letter-spacing:.04em;box-shadow:inset 0 1px 0 oklch(1 0 0/18%)}.eyebrow{margin:0 0 4px;color:oklch(1 0 0/72%);font-size:11px;letter-spacing:.08em;text-transform:uppercase}h1{margin:0;font-size:17px;letter-spacing:-.02em}.header-subtitle{max-width:245px;margin:4px 0 0;color:oklch(1 0 0/68%);font-size:11px;line-height:1.35}.status{display:inline-flex;border:1px solid oklch(1 0 0/18%);border-radius:999px;background:oklch(1 0 0/10%);color:oklch(1 0 0/88%);font-size:12px;padding:4px 8px}.header-actions,.status{position:relative;z-index:1;align-items:center;gap:6px}.header-actions{display:flex;flex:0 0 auto}.new-chat-button{border:1px solid oklch(1 0 0/16%);border-radius:999px;background:oklch(1 0 0/8%);color:oklch(1 0 0/84%);cursor:pointer;font:inherit;font-size:12px;padding:4px 8px;transition:background .14s ease,border-color .14s ease,opacity .14s ease}.new-chat-button:hover:not(:disabled){border-color:oklch(1 0 0/26%);background:oklch(1 0 0/14%)}.new-chat-button:disabled{cursor:not-allowed;opacity:.55}.status-dot{width:6px;height:6px;border-radius:999px;background:var(--cma-muted-foreground)}.status-dot.online{background:oklch(.72 .17 145);box-shadow:0 0 0 4px oklch(.72 .17 145/16%)}.messages{min-height:0;overflow:auto;padding:16px}.empty-state{display:grid;grid-gap:12px;gap:12px}.assistant-intro{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--cma-border);border-radius:14px;background:oklch(1 0 0/62%);box-shadow:0 14px 35px oklch(.185 .046 255/7%)}.assistant-avatar{width:30px;height:30px;background:linear-gradient(145deg,var(--cma-primary),var(--cma-primary-mid));color:white;font-size:13px}.empty-state p{margin:0;color:var(--cma-primary);font-size:16px;font-weight:700;letter-spacing:-.02em}.empty-state span{color:var(--cma-muted-foreground);font-size:12px;line-height:1.45}.action-panel{display:grid;padding:8px;border:1px solid oklch(.257 .056 255/10%);border-radius:12px;background:oklch(1 0 0/42%);box-shadow:inset 0 1px 0 oklch(1 0 0/72%)}.guided-action-dock{max-height:min(190px,35vh);overflow:auto;padding:0 12px 8px}.guided-action-dock.compact{max-height:none}.guided-options{display:grid;grid-gap:4px;gap:4px}.guided-action-dock.compact .guided-options{grid-template-columns:repeat(2,minmax(0,1fr))}.composer button,.guided-options button{border:1px solid var(--cma-border);border-radius:10px;background:var(--cma-primary);color:white;cursor:pointer;font:inherit;transition:border-color .14s ease,box-shadow .14s ease,opacity .14s ease,transform .14s ease}.guided-options button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:30px;padding:5px 9px;border-radius:9px;background:oklch(1 0 0/82%);color:var(--cma-foreground);text-align:left;box-shadow:0 1px 0 oklch(1 0 0/75%)}.guided-action-dock.compact .guided-options button{min-height:28px;justify-content:center}.guided-options button.secondary-action{background:transparent;color:var(--cma-muted-foreground);box-shadow:none}.guided-options button span:first-child{display:grid;grid-gap:2px;gap:2px;color:var(--cma-primary);font-size:11px;font-weight:650;line-height:1.2}.guided-options button.secondary-action span:first-child{color:var(--cma-muted-foreground);font-weight:650}.guided-options button small{color:var(--cma-muted-foreground);font-size:10px;font-weight:500;line-height:1.25}.guided-options button span:last-child{color:var(--cma-muted-foreground);font-size:12px;line-height:1;transition:transform .14s ease}.guided-options button:disabled{cursor:wait;opacity:.6}.composer button:hover:not(:disabled),.guided-options button:hover{border-color:oklch(.306 .063 255/35%);box-shadow:0 8px 20px oklch(.185 .046 255/12%);transform:translateY(-1px)}.guided-options button:hover span:last-child{transform:translateX(3px)}.message-row{display:flex;gap:8px;align-items:flex-end;margin-bottom:10px}.message-row.user{flex-direction:row-reverse}.message-avatar{width:26px;height:26px;border:1px solid var(--cma-border);background:var(--cma-card);color:var(--cma-muted-foreground);font-size:9px;letter-spacing:.02em}.message-row.assistant .message-avatar{background:oklch(.185 .046 255/9%);color:var(--cma-primary)}.message{max-width:85%;padding:9px 11px;border-radius:12px;line-height:1.4;font-size:13px;box-shadow:0 8px 22px oklch(.185 .046 255/8%)}.message.user{background:var(--cma-primary);color:white;border-bottom-right-radius:5px}.message.assistant{border:1px solid var(--cma-border);background:var(--cma-card);border-bottom-left-radius:5px}.formatted-message{display:grid;grid-gap:6px;gap:6px}.formatted-message-paragraph{margin:0}.formatted-message-list{display:grid;grid-gap:4px;gap:4px;margin:0;padding-left:18px}.formatted-message a{color:var(--cma-primary-mid);font-weight:700;overflow-wrap:anywhere;text-decoration-thickness:1px;text-underline-offset:3px}.formatted-message strong{font-weight:760}.typing-dots{display:inline-flex;gap:4px;margin-left:8px;vertical-align:middle}.typing-dots span{width:5px;height:5px;border-radius:999px;animation:typing-bounce .9s ease-in-out infinite;background:var(--cma-muted-foreground)}.typing-dots span:nth-child(2){animation-delay:.12s}.typing-dots span:nth-child(3){animation-delay:.24s}@keyframes typing-bounce{0%,80%,to{opacity:.35;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}.error{margin:0;padding:0 18px 12px;color:var(--cma-red);font-size:13px}.composer{display:grid;grid-template-columns:1fr auto;grid-gap:8px;gap:8px;padding:12px;border-top:1px solid var(--cma-border);background:oklch(1 0 0/78%);box-shadow:0 -10px 30px oklch(.185 .046 255/6%)}.composer.guided-active{background:oklch(1 0 0/58%)}.composer.guided-active input{background:oklch(1 0 0/42%)}.composer input{min-width:0;border:1px solid var(--cma-input);border-radius:12px;background:var(--cma-paper);color:var(--cma-foreground);padding:10px 12px;font:inherit;outline:none}.composer input:focus{border-color:var(--cma-ring);box-shadow:0 0 0 3px oklch(.306 .063 255/14%)}.composer input:disabled{cursor:wait;opacity:.72}.composer button{min-width:72px;padding:0 13px;border-radius:12px;font-weight:750}@media (max-width:460px){.widget-header{min-height:118px;padding:14px 16px}.brand-mark{display:none}.header-subtitle{max-width:210px}.messages{padding:14px}.assistant-intro{padding:11px}.guided-action-dock{max-height:min(180px,33vh);padding:0 10px 8px}}.composer button:disabled{cursor:not-allowed;opacity:.5}