.copilot-shell{flex:1;min-height:0;display:flex;flex-direction:column;width:100%;height:100%}.copilot-waiting{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;width:100%;height:100%;background:#fff;color:#6b7280;font-size:14px}.copilot-spinner{width:32px;height:32px;border:3px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:copilot-spin .8s linear infinite}@keyframes copilot-spin{to{transform:rotate(360deg)}}.copilot-waiting p{margin:0}.avatar-loading-spinner{display:flex;flex-direction:column;align-items:center;gap:16px;z-index:10}.avatar-loading-spinner p{color:#fff;font-size:14px;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.3);font-weight:500}.spinner{width:48px;height:48px;border:4px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.avatar-error{display:flex;align-items:center;justify-content:center;border-radius:15px;background-color:#f8d7da;color:#721c24;padding:20px;min-height:300px}.avatar-error p{margin:0;font-size:14px;font-weight:500}.avatar-container{position:relative;border-radius:15px;overflow:hidden}.chat-header{display:flex;align-items:flex-end;justify-content:center;flex-shrink:0;width:100%;min-height:260px;padding:1.75rem 1.5rem .5rem;background:#eef2fb;position:relative;border-radius:24px;overflow:hidden;box-shadow:0 20px 45px #0f172a14}.chat-header__avatar-container{position:relative;width:260px;height:240px;z-index:2;display:flex;align-items:flex-end;justify-content:center}.chat-header__bg-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.9;z-index:1}.chat-header__avatar{width:100%;height:100%;object-fit:contain;object-position:center bottom;z-index:2}.chat-header__content,.chat-header__title{display:none}.chat-header__actions{position:absolute;top:1.1rem;right:1.1rem;display:flex;gap:.5rem;z-index:3}.chat-header__action-btn{display:flex;align-items:center;justify-content:center;width:2.4rem;height:2.4rem;border-radius:50%;background:#fff;border:1px solid #e6e9f2;color:#6b7280;cursor:pointer;transition:all .2s ease;flex-shrink:0;box-shadow:0 8px 18px #0f172a14}.chat-header__action-btn:hover{color:var(--color-primary);transform:translateY(-1px);box-shadow:0 10px 20px #0f172a1f}.chat-header__action-btn--voice{color:var(--color-text-secondary)}.chat-header__action-btn--voice:hover{color:var(--color-primary)}.chat-header__action-btn--active{background:var(--color-primary);color:#fff;animation:pulse 1s ease-in-out infinite}.chat-header__action-btn--check{color:#6b7280}.chat-header__action-btn--check:hover{color:var(--color-primary)}.chat-header__action-btn--close{color:#6b7280}.chat-header__action-btn--close:hover{color:var(--color-error)}@keyframes pulse{0%{box-shadow:0 0 #33f6,0 2px 8px #0000001a}70%{box-shadow:0 0 0 8px #33f0,0 2px 8px #0000001a}to{box-shadow:0 0 #33f0,0 2px 8px #0000001a}}@media(max-width:768px){.chat-header{min-height:220px;padding:1.25rem 1rem .5rem}.chat-header__avatar-container{width:200px;height:200px}.chat-header__action-btn{width:2.2rem;height:2.2rem}}.report-modal__overlay{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;background-color:#0006;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.report-modal{position:relative;width:100%;max-width:28rem;border-radius:1rem;background-color:var(--color-bg, #ffffff);box-shadow:0 20px 60px #00000040;padding:1.5rem}.report-modal__close{position:absolute;top:1rem;right:1rem;background:none;border:none;color:var(--color-text-secondary, #9ca3af);cursor:pointer;padding:.25rem;border-radius:.25rem;display:flex;align-items:center;justify-content:center;transition:color .2s ease}.report-modal__close:hover{color:var(--color-text, #374151)}.report-modal__close--rtl{right:auto;left:1rem}.report-modal__title{font-size:1.125rem;font-weight:600;color:var(--color-text, #111827);margin:0 0 .25rem}.report-modal__description{font-size:.75rem;color:var(--color-text-secondary, #6b7280);margin:0 0 1rem}.report-modal__options{display:flex;flex-direction:column;gap:.5rem;max-height:16rem;overflow-y:auto;margin-bottom:1rem}.report-modal__option{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:.5rem;border:1px solid var(--color-border, #e5e7eb);cursor:pointer;transition:all .2s ease}.report-modal__option:hover{border-color:var(--color-text-secondary, #9ca3af)}.report-modal__option--selected{border-color:var(--color-primary, #3333ff);background-color:#3333ff0d}.report-modal__radio{width:1rem;height:1rem;accent-color:var(--color-primary, #3333ff)}.report-modal__option-label{font-size:.875rem;color:var(--color-text, #374151)}.report-modal__comment-wrapper{margin-bottom:1rem}.report-modal__comment{width:100%;padding:.75rem;border:1px solid var(--color-border, #e5e7eb);border-radius:.5rem;font-size:.875rem;resize:none;font-family:inherit;color:var(--color-text, #374151);background-color:var(--color-bg, #ffffff);box-sizing:border-box}.report-modal__comment:focus{outline:none;border-color:var(--color-primary, #3333ff)}.report-modal__error{font-size:.875rem;color:#ef4444;margin:0 0 1rem}.report-modal__footer{display:flex;gap:.75rem}.report-modal__cancel-btn{flex:1;padding:.5rem 1rem;border-radius:.5rem;border:1px solid var(--color-border, #e5e7eb);background-color:var(--color-bg, #ffffff);color:var(--color-text-secondary, #4b5563);font-size:.875rem;font-weight:500;cursor:pointer;transition:background-color .2s ease}.report-modal__cancel-btn:hover{background-color:var(--color-bg-secondary, #f9fafb)}.report-modal__submit-btn{flex:1;padding:.5rem 1rem;border-radius:.5rem;border:none;background-color:var(--color-primary, #3333ff);color:#fff;font-size:.875rem;font-weight:500;cursor:pointer;transition:opacity .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem}.report-modal__submit-btn:disabled{opacity:.5;cursor:not-allowed}.report-modal__submit-btn:hover:not(:disabled){opacity:.9}.report-modal__spinner{animation:report-spin 1s linear infinite}@keyframes report-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[data-theme=dark] .report-modal{box-shadow:0 20px 60px #0009}@media(max-width:768px){.report-modal{max-width:95%;padding:1.25rem}}.chat-messages{flex:1;display:flex;flex-direction:column;background:transparent;padding:0;min-height:0;overflow:hidden}.chat-messages__container{flex:1;display:flex;flex-direction:column;gap:1rem;overflow-y:auto;overflow-x:hidden;padding-right:1rem}.chat-messages__empty{display:flex;align-items:center;justify-content:center;height:100%;padding:1.5rem;position:relative;overflow:hidden;background:transparent}.chat-messages__empty:before{content:"";position:absolute;width:250px;height:250px;background:radial-gradient(circle,var(--color-primary, #3b82f6) 0%,transparent 70%);border-radius:50%;opacity:.05;top:-80px;right:-80px;pointer-events:none;animation:drift 8s ease-in-out infinite}@keyframes drift{0%,to{transform:translate(0)}50%{transform:translate(20px,20px)}}.chat-messages__empty:after{content:"";position:absolute;width:150px;height:150px;background:radial-gradient(circle,var(--color-primary, #3b82f6) 0%,transparent 70%);border-radius:50%;opacity:.03;bottom:-50px;left:-50px;pointer-events:none;animation:drift-reverse 10s ease-in-out infinite}@keyframes drift-reverse{0%,to{transform:translate(0)}50%{transform:translate(-20px,-20px)}}.chat-messages__empty-content{display:flex;flex-direction:column;align-items:center;gap:1rem;position:relative;z-index:1;animation:fadeInUp .8s ease-out;max-width:100%}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.chat-messages__empty-greeting{font-size:3.5rem;line-height:1;display:inline-block;animation:wave 2s ease-in-out infinite;transform-origin:70% 70%;margin:0}@keyframes wave{0%{transform:rotate(0)}10%{transform:rotate(14deg)}20%{transform:rotate(-8deg)}30%{transform:rotate(14deg)}40%{transform:rotate(-4deg)}50%{transform:rotate(10deg)}60%{transform:rotate(0)}to{transform:rotate(0)}}.chat-messages__empty-title{font-size:1.5rem;font-weight:600;color:var(--color-text);margin:0;letter-spacing:-.3px;animation:fadeInUp .8s ease-out .1s both}.chat-messages__empty-text{color:var(--color-text-secondary);font-size:.95rem;font-weight:400;text-align:center;margin:0;max-width:330px;line-height:1.5;letter-spacing:.15px;animation:fadeInUp .8s ease-out .2s both}.chat-messages__empty-hints{display:flex;gap:.75rem;margin-top:.5rem;animation:fadeInUp .8s ease-out .3s both;flex-wrap:wrap;justify-content:center}.hint-item{display:flex;flex-direction:column;align-items:center;gap:.4rem;padding:.75rem 1rem;border-radius:10px;background:#3b82f617;border:1px solid rgba(59,130,246,.2);transition:all .25s ease;color:var(--color-text-secondary);font-size:.8rem;font-weight:500;min-width:90px;cursor:default}.hint-item:hover{background:#3b82f621;border-color:#3b82f647;transform:translateY(-1px)}.hint-icon{font-size:1.3rem;display:block}.chat-message{display:flex;margin-bottom:.5rem}.chat-message--user{justify-content:flex-end}.chat-message--assistant{flex-direction:column;max-width:70%;font-size:18px}.chat-message__bubble{max-width:70%;padding:.75rem 1rem;border-radius:.75rem}.chat-message__bubble--selectable{-webkit-user-select:text;user-select:text}.chat-message__bubble--selectable::selection,.chat-message__bubble--selectable *::selection{background:#3b82f63d}.chat-message__bubble ul{list-style:outside;padding:10px 0;margin:0}.chat-message__bubble ul li{position:relative;margin-bottom:.5rem;font-size:.95rem;line-height:1.5;color:#1f2937;margin-left:30px}.chat-message__bubble ul li:before{position:absolute;left:0;top:0;color:#6b7280;font-weight:600}.chat-message-container{margin-top:15px;padding-right:10px;overflow-y:auto;max-height:70vh;display:flex;flex-direction:column;min-height:0}.chat-message-container--no-screen{flex:1;min-height:0;overflow-y:auto;max-height:70vh}.chat-message--user .chat-message__bubble{background:var(--color-primary);color:#fff;border-radius:.75rem .75rem 0}.chat-message--assistant .chat-message__bubble{background:transparent;color:var(--color-text);max-width:100%}.chat-message__content{margin:0;font-size:.95rem;line-height:1.5}.chat-message__quoted-reference{width:100%;display:flex;align-items:flex-start;gap:.5rem;border:1px solid rgba(15,23,42,.12);border-left:4px solid rgba(15,23,42,.2);border-radius:.75rem;padding:.75rem;margin-bottom:.75rem;background:#f8fafcb8;color:inherit;text-align:left;cursor:pointer;transition:transform .15s ease,background-color .15s ease,border-color .15s ease}.chat-message__quoted-reference:hover{transform:translateY(-1px)}.chat-message__quoted-reference:focus-visible{outline:2px solid rgba(59,130,246,.45);outline-offset:2px}.chat-message__quoted-reference-icon{flex-shrink:0;margin-top:.1rem}.chat-message__quoted-reference-text{display:block;font-size:.88rem;line-height:1.5;white-space:pre-wrap}.chat-message--user .chat-message__quoted-reference{background:#ffffff24;border-color:#ffffff3d;color:#fff}.chat-message--user .chat-message__quoted-reference-icon{color:#ffffffeb}.selection-popover{position:fixed;z-index:500;display:flex;flex-direction:column;gap:.9rem;padding:.95rem;border-radius:1rem;border:1px solid rgba(148,163,184,.28);background:#fff;box-shadow:0 20px 38px #0f172a2e}.selection-tooltip{position:fixed;z-index:500;display:inline-flex;align-items:center;justify-content:center;gap:.35rem;padding:.55rem .8rem;border:none;border-radius:999px;background:#1a1a2e;color:#fff;font-size:.78rem;font-weight:600;cursor:pointer;box-shadow:0 16px 28px #0f172a38;transition:background-color .15s ease,transform .15s ease}.selection-tooltip:hover{background:#2a2a4e;transform:translateY(-1px)}.selection-tooltip__icon{flex-shrink:0}.selection-popover__header{display:flex;align-items:flex-start;gap:.75rem}.selection-popover__preview{flex:1;padding:.7rem .8rem;border-radius:.75rem;border-left:3px solid var(--color-primary, #3b82f6);background:#f8fafc;color:#475569;font-size:.82rem;line-height:1.45;white-space:pre-wrap}.selection-popover__icon-btn{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:none;border-radius:999px;background:transparent;color:#64748b;cursor:pointer;transition:background-color .15s ease,color .15s ease}.selection-popover__icon-btn:hover{background:#f1f5f9;color:#0f172a}.selection-popover__input{width:100%;resize:none;border:1px solid rgba(148,163,184,.34);border-radius:.85rem;padding:.8rem .9rem;outline:none;font:inherit;color:#0f172a;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.selection-popover__input:focus{border-color:#3b82f699;box-shadow:0 0 0 3px #3b82f61f}.selection-popover__actions{display:flex;justify-content:flex-end;gap:.6rem}.selection-popover__btn{display:inline-flex;align-items:center;gap:.4rem;border:none;border-radius:999px;padding:.65rem 1rem;font-size:.9rem;font-weight:600;cursor:pointer;transition:transform .15s ease,opacity .15s ease,background-color .15s ease}.selection-popover__btn:disabled{opacity:.55;cursor:not-allowed}.selection-popover__btn:not(:disabled):hover{transform:translateY(-1px)}.selection-popover__btn--ghost{background:#eef2ff;color:#334155}.selection-popover__btn--primary{background:var(--color-primary, #3b82f6);color:#fff}@keyframes chat-message-highlight{0%{transform:translateY(0)}20%{transform:translateY(-1px)}to{transform:translateY(0)}}.chat-message--highlighted .chat-message__bubble{animation:chat-message-highlight 2s ease-out;box-shadow:0 0 0 3px #3b82f62e;background-color:#3b82f614}.chat-message__typing-indicator{display:flex;gap:.25rem;height:1rem;align-items:center}.chat-message__typing-dot{width:.5rem;height:.5rem;border-radius:50%;background:var(--color-text-secondary);animation:typing 1.4s infinite}.chat-message__typing-dot:nth-child(1){animation-delay:0s}.chat-message__typing-dot:nth-child(2){animation-delay:.2s}.chat-message__typing-dot:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.5;transform:translateY(0)}30%{opacity:1;transform:translateY(-.5rem)}}.chat-message__actions{display:flex;gap:.5rem;margin-top:.5rem}.chat-message__action-btn{display:flex;align-items:center;justify-content:center;background:none;border:none;color:#80868e;cursor:pointer;padding:.25rem;border-radius:.25rem;transition:background-color .2s ease}.chat-message__action-btn:hover{background-color:var(--color-bg-secondary, #f3f4f6)}.chat-message__action-btn--disabled{color:var(--color-text-secondary, #9ca3af);opacity:.5;cursor:not-allowed}.chat-message__user-wrapper{display:flex;align-items:flex-end;gap:.25rem;max-width:70%}.chat-message__user-wrapper .chat-message__bubble{max-width:100%;min-width:0}.chat-message__user-actions{display:flex;flex-direction:column;gap:.25rem;opacity:0;pointer-events:none;transition:opacity .15s ease;min-width:1.75rem}.chat-message__user-wrapper:hover .chat-message__user-actions{opacity:1;pointer-events:auto}.chat-message__action-btn--user{color:var(--color-text-secondary, #6b7280)}.chat-message__action-btn--user:hover{background-color:var(--color-bg-secondary, #f3f4f6);color:var(--color-text, #111827)}.chat-message__edit-wrapper{display:flex;flex-direction:column;gap:.5rem;width:100%}.chat-message__edit-textarea{width:100%;resize:none;overflow:hidden;border:none;outline:none;background:transparent;color:#fff;font:inherit;line-height:1.5;padding:0;margin:0;box-sizing:border-box;caret-color:#fff}.chat-message__edit-textarea::placeholder{color:#fff9}.chat-message__edit-textarea::selection{background:#ffffff4d}.chat-message__edit-actions{display:flex;justify-content:flex-end;gap:.4rem;margin-top:.25rem}.chat-message__edit-btn{display:inline-flex;align-items:center;border:none;border-radius:999px;padding:.4rem .85rem;font-size:.82rem;font-weight:600;cursor:pointer;transition:opacity .15s ease,transform .15s ease}.chat-message__edit-btn:not(:disabled):hover{transform:translateY(-1px)}.chat-message__edit-btn:disabled{opacity:.45;cursor:not-allowed}.chat-message__edit-btn--cancel{background:#ffffff2e;color:#fff}.chat-message__edit-btn--cancel:not(:disabled):hover{background:#ffffff47}.chat-message__edit-btn--send{background:#fff;color:var(--color-primary, #3b82f6)}.chat-message__edit-btn--send:not(:disabled):hover{background:#ffffffeb}@media(max-width:768px){.chat-message__user-actions{opacity:1;pointer-events:auto}.chat-messages{padding:1rem}.chat-message__user-wrapper,.chat-message--user .chat-message__bubble,.chat-message--assistant{max-width:85%}.chat-messages__empty-greeting{font-size:3rem}.chat-messages__empty-title{font-size:1.25rem}.chat-messages__empty-text{font-size:.9rem;max-width:290px}.chat-messages__empty-hints{gap:.5rem;margin-top:.25rem}.hint-item{padding:.6rem .8rem;font-size:.75rem;min-width:80px;border-radius:8px}.hint-icon{font-size:1.1rem}.selection-popover{width:min(340px,calc(100vw - 24px))!important}}@media(max-width:480px){.chat-messages__empty-greeting{font-size:2.5rem}.chat-messages__empty-title{font-size:1.1rem}.chat-messages__empty-text{font-size:.85rem;max-width:260px;line-height:1.4}.chat-messages__empty-hints{gap:.4rem}.hint-item{padding:.5rem .7rem;font-size:.7rem;min-width:70px}.hint-icon{font-size:1rem}}.chat-messages__container::-webkit-scrollbar{width:6px}.chat-messages__container::-webkit-scrollbar-track{background:transparent}.chat-messages__container::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:3px}.chat-messages__container::-webkit-scrollbar-thumb:hover{background:var(--color-text-secondary)}.hf-indicator{display:flex;align-items:center;gap:3px;height:36px;padding:0 10px;pointer-events:none;-webkit-user-select:none;user-select:none}.hf-indicator__bar{display:block;width:3px;border-radius:3px;background:#33f;transition:opacity .3s ease,height .3s ease}.hf-indicator--listening .hf-indicator__bar{animation:hf-wave 1.1s ease-in-out infinite}.hf-indicator--listening .hf-indicator__bar:nth-child(1){height:10px;animation-delay:0s}.hf-indicator--listening .hf-indicator__bar:nth-child(2){height:18px;animation-delay:.1s}.hf-indicator--listening .hf-indicator__bar:nth-child(3){height:24px;animation-delay:.2s}.hf-indicator--listening .hf-indicator__bar:nth-child(4){height:18px;animation-delay:.3s}.hf-indicator--listening .hf-indicator__bar:nth-child(5){height:10px;animation-delay:.4s}@keyframes hf-wave{0%,to{transform:scaleY(.5);opacity:.6}50%{transform:scaleY(1.4);opacity:1}}.hf-indicator--paused .hf-indicator__bar{animation:none;height:6px;opacity:.25}.voice-wave{position:relative;display:flex;align-items:center;justify-content:center;gap:3px;width:100%;height:44px;overflow:hidden}.voice-wave__bar{width:3px;border-radius:9999px;background-color:var(--color-primary, #3333ff);transition:height 80ms linear,opacity .12s linear}.voice-wave__bar--idle{animation:voice-idle 1.1s ease-in-out infinite}@keyframes voice-idle{0%,to{transform:scaleY(.45);opacity:.55}50%{transform:scaleY(1);opacity:.95}}.chat-input{display:flex;flex-direction:column;gap:.5rem;flex-shrink:0;padding:0;background:transparent;border-top:none;width:100%;margin:0 auto}.chat-input__container{display:flex;align-items:center;position:relative;width:100%}.chat-input__surface{display:flex;flex:1;flex-direction:column;position:relative}.chat-input__surface--quoted .chat-input__field{border-top-left-radius:0;border-top-right-radius:0;box-shadow:0 10px 25px #0f172a14}.chat-input__quote{display:flex;align-items:flex-start;gap:.55rem;padding:.75rem 1rem .5rem;border:1px solid #e5e7f0;border-bottom:none;border-radius:1.15rem 1.15rem 0 0;background:#fff;box-shadow:0 10px 25px #0f172a14}.chat-input__quote-arrow{color:#94a3b8;font-size:.95rem;line-height:1.4}.chat-input__quote-text{flex:1;color:#6b7280;font-size:.9rem;font-style:italic;line-height:1.45}.chat-input__quote-close{border:none;background:transparent;color:#9aa3b2;cursor:pointer;font-size:1.1rem;line-height:1;padding:0}.chat-input__quote-close:hover{color:#4b5563}.chat-input__field{flex:1;padding:.95rem 3.75rem .95rem 1.5rem;border:1px solid #e5e7f0;border-radius:999px;background:#fff;color:#22293a;font-size:1rem;font-family:inherit;outline:none;transition:all .2s ease;box-shadow:0 10px 25px #0f172a14}.chat-input__field:hover{border-color:#c9cdea}.chat-input__field:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px #3333ff1f,0 10px 25px #0f172a1a}.chat-input__field:disabled{opacity:.6;cursor:not-allowed}.chat-input__field::placeholder{color:#9aa3b2}.chat-input__voice-btn{display:flex;align-items:center;justify-content:center;width:2.6rem;height:2.6rem;border-radius:50%;background:var(--color-primary);border:none;color:#fff;cursor:pointer;transition:all .2s ease;flex-shrink:0;position:absolute;right:.55rem;top:50%;transform:translateY(-50%);box-shadow:0 10px 20px #3333ff40}.chat-input__voice-btn:hover:not(:disabled){background:#2f57ef;box-shadow:0 12px 22px #3333ff4d}.chat-input__voice-btn:disabled{opacity:.6;cursor:not-allowed}.chat-input__voice-btn--active{background:var(--color-primary);color:#fff;animation:pulse-voice 1s ease-in-out infinite}.chat-input__voice-btn--loading{cursor:wait}.chat-input__spinner{animation:spin 1s linear infinite}.chat-input__listening-indicator{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;background:#3333ff14;border-left:3px solid var(--color-primary);border-radius:.6rem;font-size:.85rem;color:var(--color-primary)}.chat-input__listening-dot{display:inline-block;width:.5rem;height:.5rem;border-radius:50%;background:var(--color-primary);animation:pulse-dot 1.5s ease-in-out infinite}.chat-input__listening-text{font-weight:500}@keyframes pulse-voice{0%{box-shadow:0 0 #33f6}70%{box-shadow:0 0 0 8px #33f0}to{box-shadow:0 0 #33f0}}@keyframes pulse-dot{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.chat-input__surface--recording .chat-input__field{display:none}.chat-input__capsule{display:flex;align-items:center;gap:.75rem;width:100%;min-height:72px;padding:.75rem 1rem;border:1px solid #e5e7f0;border-radius:999px;background:#fff;box-shadow:0 10px 25px #0f172a14;animation:recCapsuleIn .22s cubic-bezier(.2,.8,.2,1) both}.chat-input__surface--quoted .chat-input__capsule{border-top-left-radius:0;border-top-right-radius:0}.chat-input__cancel-btn{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border:none;border-radius:50%;background:transparent;color:#9aa3b2;cursor:pointer;transition:background-color .15s ease,color .15s ease}.chat-input__cancel-btn:hover{background:#f3f4f6;color:#374151}.chat-input__rec-pill{flex-shrink:0;display:flex;align-items:center;gap:.5rem;height:2.25rem;padding:0 .75rem 0 .25rem;border:1px solid #fecaca;border-radius:999px;background:#fef2f2}.chat-input__rec-dot-wrap{position:relative;display:flex;align-items:center;justify-content:center;width:1rem;height:1rem}.chat-input__rec-dot{display:block;width:.5rem;height:.5rem;border-radius:50%;background:#ef4444;animation:recDot 1.2s ease-in-out infinite}.chat-input__rec-timer{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-variant-numeric:tabular-nums;font-size:.8125rem;color:#dc2626;letter-spacing:-.01em}.chat-input__wave{flex:1;min-width:0}.chat-input__stop-btn{position:relative;flex-shrink:0;display:flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border:none;border-radius:50%;background:#ef4444;color:#fff;cursor:pointer;box-shadow:0 6px 18px -4px #ef44448c;transition:background-color .15s ease,transform .1s ease}.chat-input__stop-btn:hover{background:#dc2626}.chat-input__stop-btn:active{transform:scale(.95)}.chat-input__stop-btn:before,.chat-input__stop-btn:after{content:"";position:absolute;inset:0;border-radius:9999px;background:#ef444459;animation:recHalo 1.8s cubic-bezier(.4,0,.2,1) infinite;pointer-events:none}.chat-input__stop-btn:after{animation-delay:.9s}.chat-input__stop-icon{fill:#fff;stroke-width:0;position:relative;z-index:1}.chat-input__processing-pill{flex-shrink:0;display:flex;align-items:center;gap:.5rem;height:2.25rem;padding:0 .75rem 0 .5rem;border:1px solid rgba(51,51,255,.15);border-radius:999px;background:#eef0ff}.chat-input__processing-icon{color:var(--color-primary, #3333ff)}.chat-input__processing-text{font-size:.8125rem;font-weight:500;color:var(--color-primary, #3333ff);letter-spacing:-.01em}.chat-input__shimmer-bars{flex:1;min-width:0;display:flex;align-items:center;gap:6px;height:2.75rem;padding:0 .5rem;overflow:hidden}.chat-input__shimmer-bar{flex:1;height:2px;border-radius:9999px;background:linear-gradient(90deg,transparent 0%,rgba(51,51,255,.4) 50%,transparent 100%);background-size:200% 100%;animation:shimmer 1.4s linear infinite}.chat-input__processing-slot{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:2.75rem;height:2.75rem;border-radius:50%;background:#f3f4f6}.chat-input__processing-slot-icon{color:#9ca3af}@keyframes recHalo{0%{transform:scale(.85);opacity:.55}70%{transform:scale(1.55);opacity:0}to{transform:scale(1.55);opacity:0}}@keyframes recDot{0%,to{opacity:1;transform:scale(1)}50%{opacity:.55;transform:scale(.88)}}@keyframes recCapsuleIn{0%{opacity:0;transform:translateY(4px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@media(max-width:768px){.chat-input__field{font-size:.95rem;padding:.85rem 3.3rem .85rem 1.25rem}.chat-input__quote{padding:.7rem .85rem .45rem}.chat-input__voice-btn{width:2.3rem;height:2.3rem;right:.45rem}.chat-input{max-width:var(--ai-chat-content-width, 100%)}.chat-input__capsule{gap:.5rem;padding:.5rem .75rem;min-height:64px}.chat-input__stop-btn{width:2.5rem;height:2.5rem}}.welcome-overlay{position:absolute;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:1000;padding-inline:1.5rem;padding-block:2rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.welcome-overlay__content{max-width:550px;width:100%;border-radius:1rem;padding-inline:2.5rem;padding-block:2.5rem;text-align:center;animation:fadeInScale .3s ease-out}@keyframes fadeInScale{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.welcome-overlay__title{font-size:1.875rem;font-weight:700;color:#111827;margin-block-end:1rem;line-height:1.25}.welcome-overlay__description{font-size:1rem;line-height:1.6;color:#6b7280;margin-block-end:2rem}.welcome-overlay__button{text-align:center;background:#10b981;color:#fff;border:none;padding-inline:2rem;padding-block:.875rem;font-size:1rem;font-weight:600;border-radius:.5rem;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 6px #0000001a}.welcome-overlay__button:hover{background:#10b981;transform:translateY(-2px);box-shadow:0 6px 12px #00000026}.welcome-overlay__button:active{transform:translateY(0);box-shadow:0 2px 4px #0000001a}.welcome-overlay__button:focus-visible{outline:2px solid #818cf8;outline-offset:2px}[dir=rtl] .welcome-overlay__content{text-align:center}[dir=rtl] .welcome-overlay__title,[dir=rtl] .welcome-overlay__description{font-family:IBM Plex Sans Arabic,sans-serif}[dir=rtl] .welcome-overlay__content{direction:rtl}@media(max-width:640px){.welcome-overlay{padding-inline:1rem}.welcome-overlay__content{padding-inline:1.5rem;padding-block:2rem}.welcome-overlay__title{font-size:1.5rem;margin-block-end:.875rem}.welcome-overlay__description{font-size:.9375rem;margin-block-end:1.5rem}.welcome-overlay__button{width:100%;padding-inline:1.5rem;padding-block:1rem}}.ai-chat-container{display:flex;flex-direction:column;height:100%;width:100%;gap:0;padding:20px!important;flex:1;min-height:0}.ai-chat-content{position:relative;flex:1;overflow:hidden;display:flex;flex-direction:column;gap:0;min-height:0;padding:0}.ai-chat-avatar{position:relative;width:100%;min-height:0}.ai-chat-avatar--fullscreen{flex:1;display:flex;flex-direction:column;min-height:0}.ai-chat-avatar--fullscreen .avatar-container{height:100%!important}.ai-chat-avatar__controls{position:absolute;top:12px;inset-inline-end:12px;display:inline-flex;gap:8px;padding:6px;border-radius:999px;background:#ffffffc7;box-shadow:0 6px 16px #0f172a2e;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:2}.ai-chat-avatar__controls--floating{position:relative;top:auto;inset-inline-end:auto;margin-block:12px 0;margin-inline:auto 12px}.ai-chat-avatar__btn{width:32px;height:32px;border-radius:999px;border:none;background:#0f172a;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .12s ease,background .12s ease,box-shadow .12s ease}.ai-chat-avatar__btn:hover{transform:translateY(-1px);background:#1e293b;box-shadow:0 6px 12px #0f172a3d}.ai-chat-avatar__btn:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.ai-chat-avatar__btn--active{background:#1d4ed8}.ai-chat-avatar__btn--danger{background:#dc2626}.ai-chat-avatar__btn--danger:hover{background:#b91c1c}.ai-chat-show-avatar{display:flex;justify-content:flex-end;padding:8px 12px 0}.ai-chat-show-avatar__btn{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid #e2e8f0;background:#fff;color:#0f172a;font-size:.9rem;font-weight:600;box-shadow:0 8px 18px #0f172a14;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease,border-color .12s ease}.ai-chat-show-avatar__btn:hover{transform:translateY(-1px);border-color:#cbd5f5;box-shadow:0 10px 22px #0f172a1f}.ai-chat-content .chat-messages{flex:1;min-height:0}.chat-input-footer{margin-top:10px;flex-shrink:0}.chat-message__bubble p{margin:0!important}.ai-chat-page{display:flex;flex-direction:column;width:100%;max-width:980px;align-items:stretch;gap:1.75rem;padding-bottom:1.5rem;height:calc(100vh - 70px - 4rem);min-height:calc(100vh - 70px - 4rem);--ai-chat-content-width: 760px}.ai-chat-page__breadcrumbs{margin-bottom:.25rem}body.ai-chat-mode .header{background-color:#fbfbfe}body.ai-chat-mode .header__controls>.header__button{display:none}body.ai-chat-mode .header__control--language{margin-inline-start:auto}body.ai-chat-mode .header__button--language{background-color:#f3f4f8;color:#6b7280;box-shadow:0 6px 14px #0f172a14}.ai-chat-page__breadcrumbs .breadcrumbs__link,.ai-chat-page__breadcrumbs .breadcrumbs__text{font-size:.95rem;color:#7b8192}.ai-chat-page__breadcrumbs .breadcrumbs__text--current{color:#1f2533;font-weight:600}.ai-chat-page__breadcrumbs .breadcrumbs__separator{color:#c9cedb}.ai-chat-page__breadcrumbs .breadcrumbs__link--home:hover{background:transparent;color:#1f2533}.ai-chat-page__error{padding:.75rem 1rem;background:#dc35451a;border:1px solid rgba(220,53,69,.3);border-radius:.5rem;margin:.25rem 0}.ai-chat-page__error-text{color:var(--color-error);margin:0;font-size:.85rem}@media(max-width:768px){.ai-chat-page{gap:1.25rem;height:calc(100vh - 70px - 4rem);min-height:calc(100vh - 70px - 4rem);--ai-chat-content-width: 100%}.ai-chat-page__error{padding:.5rem .75rem;margin:.25rem 0}}@media(max-width:900px){.ai-chat-container{height:100%}.ai-chat-content{gap:.75rem}.ai-chat-avatar .avatar-container{height:min(240px,35vh)!important}.ai-chat-avatar--fullscreen .avatar-container{height:100%!important}.chat-message-container,.chat-message-container--no-screen{flex:1;max-height:none!important}.chat-input-footer{padding-bottom:env(safe-area-inset-bottom)}}.chat-message__bubble--selectable{padding-bottom:0!important}.chat-message__actions{padding-left:1rem}.chat-message__bubble table{width:100%;border-collapse:collapse;margin:12px 0;font-size:14px;background-color:#fff}.chat-message__bubble th,.chat-message__bubble td{border:1px solid #e5e7eb;padding:8px 10px;text-align:left;vertical-align:top}.chat-message__bubble th{background-color:#f3f4f6;font-weight:600;color:#111827}.chat-message__bubble td{color:#374151}.chat-message__bubble tr:nth-child(2n) td{background-color:#fafafa}.chat-message__bubble tr:hover td{background-color:#f9fafb}:root{--color-primary: #33f;--color-text: #333;--color-text-secondary: #666;--color-bg: #fff;--color-bg-secondary: #f5f5f5;--color-border: #ddd;--color-success: #28a745;--color-error: #dc3545;--color-warning: #ffc107;--color-info: #17a2b8}*,*:before,*:after{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:IBM Plex Sans,Lato,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;line-height:1.4;color:#1f2937;background:#fff;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#root{display:flex}button{font-family:inherit}
