#root .hdc-panel{--paper:#fff;--ink:#202020;--muted:#737373;--line:#e7e7e7;--soft:#fafafa;--accent:#ed591f}
html[data-theme=dark] #root .hdc-panel{--paper:#1b1b1b;--ink:#f3f3f3;--muted:#b4b4b4;--line:#3c3c3c;--soft:#242424;--accent:#ff9363}
#root .hdc-panel p{color:inherit}
#root .hdc-panel{margin:0 0 24px;padding:0;overflow:hidden;border-radius:16px;background:var(--paper)}
#root .hdc-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:20px 26px;border-bottom:1px solid var(--line)}
#root .hdc-heading h2{margin:5px 0 0;font-size:17px;letter-spacing:-.4px}
#root .hdc-header-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#root .hdc-tag{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:5px 10px;font-size:10px;color:var(--muted);background:var(--soft);white-space:nowrap}
#root .hdc-tag:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--accent)}
#root button.hdc-reset{display:flex;align-items:center;gap:6px;padding:7px;border:0;background:transparent;color:var(--muted);font-size:11px}
#root .hdc-icon{display:inline-flex;align-items:center;justify-content:center;font:20px/1 Arial,sans-serif;width:20px;height:20px;flex-shrink:0}
#root .hdc-playground{background:var(--soft);padding:28px 24px 26px}
#root .hdc-playtop{text-align:center;margin-bottom:22px}
#root .hdc-playtop h3{font-size:27px;font-weight:500;line-height:1.2;letter-spacing:-1px;margin:0}
#root .hdc-playtop p{font-size:12px;color:var(--muted);line-height:1.7;margin:9px 0 0}
#root .hdc-rail{display:flex;align-items:center;justify-content:center;gap:10px;margin:0 auto 18px}
#root .hdc-pebble{height:40px;width:40px;border-radius:13px;display:grid;place-items:center;background:var(--paper);border:1px solid var(--line);color:var(--muted);transition:transform .35s,background .35s}
#root .hdc-pebble.hdc-active{transform:rotate(-9deg) scale(1.1);background:var(--ink);border-color:var(--ink);color:var(--paper)}
#root .hdc-railpath{width:45px;height:2px;background:var(--line);position:relative}
#root .hdc-railpath.hdc-active:after{content:'';position:absolute;top:-3px;left:0;width:8px;height:8px;border-radius:50%;background:var(--accent);animation:hdc-travel .7s ease-in-out infinite}
#root .hdc-conversation{max-width:650px;margin:auto;min-width:0;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--paper);box-shadow:0 8px 32px #00000006}
#root .hdc-chathead{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line);font-size:12px;font-weight:500}
#root .hdc-chathead>span{display:flex;gap:8px;align-items:center}
#root .hdc-chat-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#root button.hdc-oss{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--muted);font-size:11px;white-space:nowrap}
#root button.hdc-oss[aria-pressed=true]{background:var(--ink);color:var(--paper);border-color:var(--ink)}
#root button.hdc-oss:disabled{opacity:.55;cursor:default}
#root .hdc-oss .hdc-icon{width:14px;height:14px}
#root .hdc-chathead{flex-wrap:wrap;gap:12px}
#root .hdc-chathead .hdc-modelmode{font-size:11px;font-weight:400;color:var(--muted)}
#root .hdc-messages{min-height:210px;padding:22px;display:flex;flex-direction:column;gap:24px}
#root .hdc-intro{margin:auto;text-align:center;max-width:510px;padding:4px 0 8px}
#root .hdc-orb{display:grid;place-items:center;width:43px;height:43px;border:1px solid var(--line);border-radius:14px;background:var(--soft);margin:0 auto 13px}
#root .hdc-orb .hdc-icon{font-size:27px;color:var(--accent)}
#root .hdc-intro h3{font-size:21px;font-weight:500;letter-spacing:-.5px;margin:0 0 8px}
#root .hdc-intro p{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 14px}
#root .hdc-choices{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
#root button.hdc-choice{display:flex;align-items:center;gap:5px;padding:7px 11px;background:var(--paper);border:1px solid var(--line);border-radius:20px;font-size:11px;color:var(--ink);transition:transform .2s,border-color .2s}
#root button.hdc-choice:hover:not(:disabled){transform:translateY(-2px);border-color:var(--ink)}
#root button.hdc-choice[aria-pressed=true]{background:var(--soft);border-color:var(--ink)}
#root .hdc-choice .hdc-icon{width:14px;height:14px;font-size:16px}
#root .hdc-bubble{align-self:flex-end;max-width:85%;border:1px solid var(--line);border-radius:16px 16px 4px 16px;padding:12px 16px;background:var(--soft);animation:hdc-up .3s ease both;overflow-wrap:anywhere}
#root .hdc-bubble p{font-size:13px;line-height:1.75;margin:0}
#root .hdc-response-row{display:flex;gap:12px;animation:hdc-up .35s ease both}
#root .hdc-avatar{width:30px;height:30px;display:grid;place-items:center;flex-shrink:0;border-radius:9px;background:var(--soft);border:1px solid var(--line)}
#root .hdc-response{flex:1;min-width:0}
#root .hdc-byline{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:3px 0 10px;font-size:12px;font-weight:500}
#root .hdc-byline span{font-size:10px;font-weight:400;color:var(--muted)}
#root .hdc-answer{white-space:pre-wrap;font-size:13px;line-height:1.85;min-height:25px;margin:0;overflow-wrap:anywhere}
#root .hdc-typing:after{content:'';display:inline-block;width:5px;height:14px;background:var(--accent);vertical-align:middle;margin-left:4px;animation:hdc-blink .8s steps(2) infinite}
#root .hdc-thinking{display:flex;gap:5px;align-items:center;min-height:24px;color:var(--muted);font-size:11px}
#root .hdc-thinking i{width:5px;height:5px;background:var(--accent);border-radius:50%;animation:hdc-hop .75s ease-in-out infinite alternate;flex-shrink:0}
#root .hdc-thinking i:nth-child(2){animation-delay:.15s}#root .hdc-thinking i:nth-child(3){animation-delay:.3s}#root .hdc-thinking span{margin-left:7px}
#root .hdc-result{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;margin:0 20px 15px;padding:9px 12px;border-radius:9px;background:var(--soft);font-size:11px;color:var(--muted);text-align:center;min-height:38px}
#root .hdc-result .hdc-icon{color:var(--accent);font-size:17px;width:16px;height:16px}
#root .hdc-result b{font-weight:400;color:var(--muted)}#root .hdc-result .hdc-current{color:var(--ink)}
#root .hdc-composerwrap{padding:0 20px 17px}
#root .hdc-composer{border:1px solid var(--line);padding:13px 14px 10px;border-radius:14px;background:var(--paper);box-shadow:0 5px 20px #20242906;margin:0}
#root .hdc-composer textarea{box-sizing:border-box;display:block;width:100%;max-width:100%;resize:none;padding:0;background:transparent;border:0;box-shadow:none;min-height:58px;height:58px;line-height:1.65;font:inherit;font-size:13px;color:var(--ink);border-radius:3px}
#root .hdc-composer textarea:disabled{opacity:.55}
#root .hdc-panel button:focus-visible,#root .hdc-panel textarea:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
#root .hdc-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:9px}
#root .hdc-compose-actions>span{font-size:10px;color:var(--muted)}
#root button.hdc-send{width:34px;height:34px;border:0;background:var(--ink);color:var(--paper);padding:0;border-radius:10px;display:grid;place-items:center;flex-shrink:0;transition:transform .2s,background .2s}
#root button.hdc-send:hover{background:var(--accent);transform:translateY(-2px)}
#root .hdc-foot{font-size:10px;color:var(--muted);text-align:center;line-height:1.6;margin:10px 0 0}
#root .hdc-receipt{display:flex;flex-wrap:wrap;align-items:center;gap:7px;color:var(--muted);font-size:10px;margin-top:12px;animation:hdc-up .4s ease both}
#root .hdc-receipt .hdc-icon{width:13px;height:13px;font-size:13px;color:var(--accent)}
#root .hdc-more{margin:18px auto 0;max-width:650px}
#root .hdc-burst{position:relative;display:inline-flex;align-items:center;gap:6px}
#root .hdc-burst>i{position:absolute;left:50%;top:0;width:5px;height:5px;background:var(--accent);border-radius:2px;pointer-events:none;animation:hdc-confetti .7s ease-out both;--x:20px;--y:-20px}
#root .hdc-burst>i:nth-of-type(2){--x:-25px;--y:-24px}#root .hdc-burst>i:nth-of-type(3){--x:35px;--y:2px}#root .hdc-burst>i:nth-of-type(4){--x:-35px;--y:3px}
#root .hdc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@keyframes hdc-up{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@keyframes hdc-hop{to{transform:translateY(-4px);opacity:.45}}
@keyframes hdc-travel{to{transform:translateX(40px);opacity:0}}
@keyframes hdc-blink{to{opacity:0}}
@keyframes hdc-confetti{from{opacity:1;transform:translate(0,0) rotate(0)}to{opacity:0;transform:translate(var(--x),var(--y)) rotate(90deg)}}
@media(max-width:700px){#root .hdc-heading{padding:16px;align-items:flex-start;flex-wrap:wrap}#root .hdc-header-actions{gap:8px}#root .hdc-playground{padding:22px 14px}#root .hdc-messages{padding:20px 16px}#root .hdc-bubble{max-width:93%}#root .hdc-composerwrap{padding:0 14px 16px}#root .hdc-playtop h3{font-size:25px}}
@media(max-width:420px){#root .hdc-playground{padding:20px 8px}#root .hdc-heading{padding:14px}#root .hdc-messages{padding:18px 12px}#root .hdc-chathead{padding:14px}#root .hdc-composerwrap{padding:0 10px 14px}#root .hdc-result{margin:0 10px 12px;padding:9px 8px;font-size:10px}#root .hdc-response-row{gap:8px}#root .hdc-composer{padding:12px}#root .hdc-choices{gap:6px}#root button.hdc-choice{padding:6px 9px}}
@media(prefers-reduced-motion:reduce){#root .hdc-panel *,#root .hdc-panel *:after{animation:none!important;transition:none!important}}
