/* White assistant workspace, with a small, quiet blue/lilac glow at the top. */
#aiPanel{isolation:isolate;width:580px;max-width:100%;overflow:hidden;border-left:1px solid #e8edf5;border-radius:26px 0 0 26px;background:#fff;box-shadow:-12px 0 45px #303e761a;visibility:hidden;pointer-events:none;transition:transform .36s cubic-bezier(.2,.8,.3,1),visibility 0s linear .36s;outline:none;}
#aiPanel.open{visibility:visible;pointer-events:auto;transition:transform .36s cubic-bezier(.2,.8,.3,1),visibility 0s;}
#aiPanel .assistant-aurora{position:absolute;inset:0 0 auto;height:330px;max-height:35%;z-index:-1;overflow:hidden;background:transparent;pointer-events:none;}
#aiPanel .assistant-aurora i{position:absolute;display:block;width:105%;height:300px;border-radius:50%;opacity:.36;animation:assistantAuroraDrift 22s ease-in-out infinite alternate;}
#aiPanel .assistant-aurora i:nth-child(1){left:-23%;top:-95px;background:radial-gradient(ellipse,#dceaff 0%,#eaf2ff80 38%,transparent 70%);}
#aiPanel .assistant-aurora i:nth-child(2){right:-25%;top:-50px;background:radial-gradient(ellipse,#e9e2ff 0%,#f1edff70 35%,transparent 70%);animation-delay:-8s;animation-duration:26s;}
#aiPanel .assistant-aurora i:nth-child(3){display:none;}
@keyframes assistantAuroraDrift{0%{transform:translate(-2%,-2%);}100%{transform:translate(3%,4%);}}
#aiPanel .ai-head{flex:none;gap:13px;padding:21px 24px 19px;background:#ffffffb3;border-bottom:1px solid #eef1f7;}
#aiPanel .ai-avatar{width:52px;height:52px;flex:0 0 52px;border-radius:50%;overflow:hidden;background:#f2f0f8;border:2px solid #fff;box-shadow:0 3px 12px #7f82b826;}
#aiPanel .panel-star-avatar{display:block;width:100%;height:100%;max-width:none;object-fit:cover;transform:scale(1.8);transform-origin:50% 44%;}
#aiPanel .assistant-head-copy{min-width:0;}
#aiPanel .ai-name{font-size:17px;line-height:1.55;color:#263554;letter-spacing:.1px;}
#aiPanel .ai-status{margin-top:4px;font-size:11.5px;color:#6b7895;gap:7px;line-height:1.5;}
#aiPanel .ai-status::before{width:6px;height:6px;background:#41b6a2;box-shadow:0 0 0 3px #41b6a218;flex:none;}
#aiPanel .panel-close{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;padding:0;border:1px solid #edf0f6;border-radius:50%;background:#ffffff94;color:#7c89a4;box-shadow:none;transition:background .2s,color .2s;}
#aiPanel .panel-close:hover{background:#fff;color:#556fe2;}
#aiPanel .panel-close svg{width:21px;height:21px;}
#aiPanel .ai-body{min-height:0;flex:1;padding:27px 28px 22px;background:transparent;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bfc6e0 transparent;}
#aiPanel .assistant-welcome{padding:1px 8px 18px;text-align:center;}
#aiPanel .assistant-welcome-art{position:relative;width:106px;height:106px;margin:0 auto 15px;}
#aiPanel .assistant-welcome-art::before{content:"";position:absolute;inset:13px -8px -4px;border-radius:50%;background:radial-gradient(ellipse,#e8eaff66,transparent 70%);}
#aiPanel .assistant-welcome-art>.panel-star-avatar{position:relative;object-fit:contain;transform:none;}
#aiPanel .assistant-welcome-art>span{position:absolute;right:-5px;top:11px;display:grid;place-items:center;width:25px;height:25px;border:1px solid #edf0fa;border-radius:50%;background:#fbfcff;color:#a0a9cf;box-shadow:none;}
#aiPanel .assistant-welcome-art>span svg{width:18px;height:18px;fill:#fff8;}
#aiPanel .assistant-welcome h2{margin:0;font-size:25px;font-weight:650;letter-spacing:-.4px;line-height:1.45;color:#29385b;}
#aiPanel .assistant-welcome p{margin:10px 0 0;font-size:14px;line-height:1.8;color:#6b7995;}
#aiPanel .assistant-starters{margin-top:7px;}
#aiPanel .assistant-starters h3{margin:0 0 12px 3px;font-size:12px;line-height:1.6;font-weight:500;color:#7a86a2;letter-spacing:.4px;}
#aiPanel .ai-chips{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;padding:0;border:0;}
#aiPanel .ai-chip{display:flex;align-items:center;gap:13px;width:100%;min-height:58px;margin:0;padding:10px 14px;border:1px solid #e8edf5;border-radius:13px;background:#fcfdff;box-shadow:none;text-align:left;font-size:14px;font-weight:400;line-height:1.55;color:#4e5d77;transition:background .2s,box-shadow .2s,border-color .2s;}
#aiPanel .ai-chip:hover{background:#fbfcff;box-shadow:0 0 16px #7b85db0d;border-color:#dbe0f7;color:#405a94;}
#aiPanel .ai-chip>span:nth-child(2){flex:1;min-width:0;}
#aiPanel .assistant-question-arrow{display:grid;place-items:center;width:18px;height:18px;flex:0 0 18px;color:#a6b1cc;}
#aiPanel .assistant-question-arrow svg{width:17px;height:17px;}
#aiPanel .assistant-question-icon{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;color:#879bb9;}
#aiPanel .assistant-question-icon svg{width:21px;height:21px;fill:none;}
#aiPanel .assistant-messages:not(:empty){margin-top:25px;padding-top:24px;border-top:1px solid #eef1f6;}
#aiPanel .msg{gap:10px;margin-bottom:19px;}
#aiPanel .msg-av{width:33px;height:33px;flex:0 0 33px;border-radius:50%;overflow:hidden;}
#aiPanel .msg.bot .msg-av{border:1px solid #fff;background:#f2eff6;box-shadow:0 2px 8px #7c82ad17;}
#aiPanel .msg.me .msg-av{background:#ffffffb3;color:#7a83a2;border:1px solid #fff;}
#aiPanel .msg-bubble{max-width:calc(100% - 43px);padding:13px 16px;background:#fafbfe;border:1px solid #edf0f6;border-radius:6px 16px 16px 16px;box-shadow:none;color:#465675;font-size:14.5px;line-height:1.85;overflow-wrap:anywhere;}
#aiPanel .msg.me .msg-bubble{border-radius:18px 6px 18px 18px;background:linear-gradient(120deg,#668fe8,#8d80db);border-color:#ffffff66;color:#fff;box-shadow:0 4px 12px #7885ce1c;}
#aiPanel .assistant-composer{flex:none;padding:14px 23px max(14px,env(safe-area-inset-bottom));border-top:1px solid #f0f2f7;background:#fff;}
#aiPanel .ai-input{display:block;box-sizing:border-box;min-height:100px;padding:7px 12px;border:1px solid #e2e8f1;border-radius:18px;background:#fff;box-shadow:0 2px 8px #5e6c9505;transition:box-shadow .2s,border-color .2s;}
#aiPanel .ai-input:focus-within{border-color:#cfd6ed;box-shadow:0 0 0 3px #9a9fdf0b;}
#aiPanel textarea{display:block;box-sizing:border-box;width:100%;height:36px;min-height:36px;max-height:44px;margin:0;padding:0 2px;resize:none;overflow-y:auto;border:0;outline:none;background:transparent;color:#3d4d70;font-size:15px;line-height:1.4;font-family:inherit;}
#aiPanel textarea::placeholder{color:#9aa5bd;}
#aiPanel .assistant-input-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px;}
#aiPanel .assistant-input-footer>span{display:flex;align-items:center;gap:6px;font-size:10.5px;line-height:1.5;color:#a0a9ba;}
#aiPanel .assistant-input-footer>span svg{width:14px;height:14px;color:#a594db;}
#aiPanel .ai-send{display:grid;place-items:center;width:44px;min-width:44px;height:44px;flex:0 0 44px;padding:0;border:0;border-radius:50%;background:#4778eb;box-shadow:none;color:#fff;transition:background .2s;}
#aiPanel .ai-send:hover{background:#386bdf;box-shadow:none;}
#aiPanel .ai-send svg{width:21px;height:21px;}
#aiPanel .ai-note{display:flex;align-items:flex-start;justify-content:center;gap:5px;padding:11px 1px 0;font-size:10.5px;line-height:1.6;color:#8d99b3;}
#aiPanel .ai-note svg{width:13px;height:13px;flex:0 0 13px;margin-top:2px;}
#aiPanel .assistant-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;}
#aiPanel :is(button,a):focus-visible{outline:2px solid #adb9eb;outline-offset:3px;}
#aiPanel textarea:focus-visible{outline:none;}
#aiPanel .assistant-aurora i{animation-play-state:paused;}
#aiPanel.open .assistant-aurora i{animation-play-state:running;}
@media(max-width:600px){#aiPanel{width:100%;border-left:0;border-radius:0;}#aiPanel .ai-head{padding:16px 17px;gap:10px;}#aiPanel .ai-name{font-size:15px;}#aiPanel .ai-status{font-size:10.5px;}#aiPanel .ai-avatar{width:46px;height:46px;flex-basis:46px;}#aiPanel .ai-body{padding:22px 18px 19px;}#aiPanel .assistant-welcome-art{width:91px;height:91px;margin-bottom:12px;}#aiPanel .assistant-welcome h2{font-size:22px;}#aiPanel .assistant-welcome p{font-size:13px;}#aiPanel .ai-chip{min-height:56px;padding:9px 12px;gap:11px;font-size:13px;}#aiPanel .assistant-composer{padding:12px 15px max(12px,env(safe-area-inset-bottom));}#aiPanel .assistant-input-footer>span{font-size:10px;}#aiPanel .ai-note{font-size:10px;}#aiPanel textarea{font-size:16px;}}
@media(prefers-reduced-motion:reduce){#aiPanel,#aiPanel *{animation:none!important;transition:none!important;}}
