.pdf-voice-outer{border:1px solid var(--border-5);box-sizing:border-box;background-color:var(--bg-2);border-radius:65px;flex-shrink:0;align-items:center;gap:3px;height:30px;min-height:30px;max-height:30px;padding:0 4px 0 6px;display:flex}.pdf-voice-outer .waveform-container{box-sizing:border-box;justify-content:center;align-items:center;gap:2px;min-width:36px;max-width:42px;height:18px;max-height:18px;padding:0 2px;display:flex;overflow:hidden}.pdf-voice-outer .waveform-container .bar{background-color:var(--text-3);border-radius:2px;width:2px;min-width:2px;max-height:16px;transition:height .12s ease-out}.pdf-voice-outer .waveform-container .bar.transitioning{background-color:var(--text-3)}.pdf-voice-outer .waveform-placeholder{background-color:var(--text-3);border-radius:1px;width:36px;height:2px}.pdf-voice-outer .chat-voice-button-group{justify-content:center;align-items:center;gap:2px;display:flex}.pdf-voice-outer .chat-voice-cancel{cursor:pointer;width:22px;height:22px;color:var(--icon-3);background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;padding:0;transition:background-color .2s;display:flex}.pdf-voice-outer .chat-voice-cancel:hover{background-color:#0000000d}.pdf-voice-outer .chat-voice-accept{background-color:var(--bg-color-primary);cursor:pointer;border:none;border-radius:100%;justify-content:center;align-items:center;width:22px;height:22px;padding:0;transition:transform .15s,filter .15s;display:flex}.pdf-voice-outer .chat-voice-accept:hover{filter:brightness(1.1);transform:scale(1.05)}
.pdf-file-preview-wrapper{flex-wrap:wrap;gap:10px;margin-bottom:12px;display:flex}.pdf-file-preview-item{border:1px solid var(--border-5);border-radius:8px;width:65px;max-width:65px;height:65px;padding:4px;transition:all .2s;position:relative}.pdf-file-preview-files{width:180px;max-width:100%;height:60px}.pdf-file-preview-img{object-fit:cover;border-radius:6px;width:100%;height:100%}.pdf-name-type-wrap{width:80%;padding-left:8px}.pdf-file-name{color:#334155;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;font-weight:500;overflow:hidden}[data-theme=dark] .pdf-file-name{color:#e2e8f0}.pdf-file-extension{color:#64748b;text-transform:uppercase;margin:0;font-size:10px}.pdf-file-preview-doc{justify-content:flex-start;align-items:center;height:100%;padding:0 4px;display:flex}.pdf-file-preview-doc svg{flex-shrink:0;width:24px;height:24px}.pdf-file-preview-actions{opacity:0;visibility:hidden;z-index:10;-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);border-radius:8px;transition:all .2s cubic-bezier(.4,0,.2,1);display:block;position:absolute;inset:0}.pdf-file-preview-item:hover .pdf-file-preview-actions{opacity:1;visibility:visible}.pdf-file-preview-item .translate_btn{color:#fff;cursor:pointer;white-space:nowrap;background:#000;border:none;border-radius:4px;align-items:center;gap:4px;height:auto;padding:4px 10px;font-size:8px;font-weight:600;transition:all .2s;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)translateY(10px);box-shadow:0 4px 12px #0003}.pdf-file-preview-item:hover .translate_btn{transform:translate(-50%,-50%)translateY(0)}.pdf-file-preview-item .translate_btn svg{width:10px!important;height:10px!important}.pdf-remove-file-btn{background:var(--error-bg);color:var(--error-1);cursor:pointer;z-index:15;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;transition:all .2s;display:flex;position:absolute;top:-8px;right:-8px}.pdf-remove-file-btn:hover{transform:scale(1.1)}.pdf-file-spinner-overlay{z-index:5;border-radius:8px;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}@keyframes pdf-spin{to{transform:rotate(360deg)}}
.pdf-chat-messages-wrapper{flex-direction:column;width:100%;padding:10px 14px 0 6px;display:flex}.pdf-msg-row{flex-direction:column;width:100%;animation:.3s ease-out forwards pdf-fade-in;display:flex}@keyframes pdf-fade-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.user-row{align-items:flex-end;margin-top:8px}.bot-row{align-items:flex-start}.pdf-user-msg-box{max-width:80%;color:var(--text-2);white-space:pre-wrap;background-color:var(--surface-2);border-radius:8px;padding:12px;font-size:14px;font-weight:500;line-height:24px;overflow:auto}.pdf_error_message_container{background:var(--error-bg);border-radius:12px;padding:10px}.pdf-error-over-text{color:var(--error-1);padding:2px 0;font-size:14px;font-weight:600}.pdf-error-over-text a{color:inherit;text-underline-offset:3px;cursor:pointer;font-weight:600;text-decoration:underline;transition:opacity .2s}.pdf-error-over-text a:hover{opacity:.75;text-decoration:underline}.pdf-show-files-wrap{margin-bottom:8px}.pdf-bot-msg-box{flex-direction:column;width:100%;transition:transform .2s;display:flex}.pdf-bot-header{align-items:center;gap:8px;margin-bottom:10px;display:flex}.pdf-action-icon{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;padding:6px;transition:all .2s;display:flex}.pdf-action-icon:hover{background-color:var(--surface-2)}.pdf-bot-name{color:var(--text-2);text-transform:capitalize;font-size:14px;font-weight:400;line-height:24px}.pdf-bot-actions,.pdf-user-actions{justify-content:flex-start;gap:2px;margin-top:8px;display:flex}.pdf-user-actions{opacity:0;visibility:hidden;will-change:opacity, transform;margin-top:4px;transition:opacity .35s cubic-bezier(.4,0,.2,1),transform .35s cubic-bezier(.4,0,.2,1),visibility 0s linear .35s;transform:translateY(6px)}.pdf-msg-row:hover .pdf-user-actions{opacity:1;visibility:visible;transition:opacity .35s cubic-bezier(.4,0,.2,1),transform .35s cubic-bezier(.4,0,.2,1),visibility linear;transform:translateY(0)}.pdf-user-actions{justify-content:flex-end}.pdf-action-icon.active{color:var(--color-primary)}.pdf-bot-content{vertical-align:middle;color:var(--text-2);word-break:break-word;overflow-anchor:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;width:100%;font-weight:400;line-height:1.7;font-family:var(--font-DM-sans), system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif!important;font-size:16px!important}.pdf-bot-content>:first-child{margin-top:0!important}.pdf-bot-content>:last-child{margin-bottom:0!important}.pdf-bot-content h1{border-bottom:1px solid var(--text-3);color:var(--text-2);letter-spacing:-.02em;margin-top:1.5rem;margin-bottom:.75rem;padding-bottom:.45rem;font-size:1.5rem;font-weight:700;line-height:1.3}.pdf-bot-content h2{color:var(--text-2);letter-spacing:-.015em;border-bottom:none;margin-top:1.35rem;margin-bottom:.75rem;padding-bottom:0;font-size:1.28rem;font-weight:650;line-height:1.35}.pdf-bot-content h3{color:var(--text-2);letter-spacing:-.01em;border-bottom:none;margin-top:1.25rem;margin-bottom:.7rem;padding-bottom:0;font-size:1.125rem;font-weight:600;line-height:1.4}.pdf-bot-content h4{color:var(--text-2);border-bottom:none;margin-top:1.15rem;margin-bottom:.65rem;padding-bottom:0;font-size:1rem;font-weight:600;line-height:1.45}.pdf-bot-content h5{color:var(--text-2);border-bottom:none;margin-top:1rem;margin-bottom:.55rem;padding-bottom:0;font-size:.9rem;font-weight:600;line-height:1.45}.pdf-bot-content h6{color:var(--text-2);border-bottom:none;margin-top:.9rem;margin-bottom:.55rem;padding-bottom:0;font-size:.85rem;font-weight:600;line-height:1.45}.pdf-bot-content strong,.pdf-bot-content b{font-weight:600}.pdf-bot-content ul,.pdf-bot-content ol{margin-top:.65rem;margin-bottom:.85rem;padding-left:1.6rem;display:block}.pdf-bot-content h1+ul,.pdf-bot-content h1+ol,.pdf-bot-content h2+ul,.pdf-bot-content h2+ol,.pdf-bot-content h3+ul,.pdf-bot-content h3+ol,.pdf-bot-content h4+ul,.pdf-bot-content h4+ol,.pdf-bot-content h5+ul,.pdf-bot-content h5+ol,.pdf-bot-content h6+ul,.pdf-bot-content h6+ol{margin-top:.75rem}.pdf-bot-content ul{list-style:outside!important}.pdf-bot-content ol{list-style:decimal!important}.pdf-bot-content li{margin:0 0 .5rem;padding-left:.25rem;line-height:1.65;list-style:inherit!important;list-style-type:inherit!important;display:list-item!important}.pdf-bot-content li:last-child{margin-bottom:0}.pdf-bot-content li::marker{color:var(--text-2)}.pdf-bot-content li>p{margin-top:0;margin-bottom:.35rem}.pdf-bot-content li>p:last-child{margin-bottom:0}.pdf-bot-content ul ul,.pdf-bot-content ol ul{margin-top:.35rem;margin-bottom:.35rem;padding-left:1.25rem;list-style:circle!important}.pdf-bot-content ol ol,.pdf-bot-content ul ol{margin-top:.35rem;margin-bottom:.35rem;padding-left:1.25rem;list-style:lower-alpha!important}.pdf-bot-content :not(pre)>code{font-family:var(--font-google-sans-code), "Google Sans Code", "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;word-break:break-word;border-radius:6px;padding:.18em .42em;font-size:.875em;font-weight:500}.pdf-bot-content hr{background-color:var(--border-5,#e8e8e8);border:none;height:1px;margin:1.5rem 0}.pdf-bot-content img{max-width:100%;height:auto}.pdf-bot-content a{color:var(--text-1,#2396bd);word-break:break-all;text-decoration:none;transition:opacity .15s}.pdf-bot-content a:hover{opacity:.85;text-decoration:underline}.pdf-bot-content table{border-collapse:separate;border-spacing:0;border:1px solid var(--border-5);background-color:var(--message-box-bg-color);-webkit-overflow-scrolling:touch;border-radius:14px;width:max-content;min-width:100%;max-width:100%;margin:18px 0;display:block;overflow:auto hidden}.pdf-bot-content table::-webkit-scrollbar{height:6px}.pdf-bot-content table::-webkit-scrollbar-track{background:0 0;border-radius:10px}.pdf-bot-content table::-webkit-scrollbar-thumb{background:var(--border-3);border-radius:10px}.pdf-bot-content table::-webkit-scrollbar-thumb:hover{background:var(--text-3)}.pdf-bot-content table thead{background:var(--gradient-2)}.pdf-bot-content table tr th{letter-spacing:.015em;color:var(--text-2);text-align:left;border-bottom:1px solid var(--border-3);border-right:1px solid var(--border-3);white-space:nowrap;padding:13px 18px;font-size:15px;font-weight:700;line-height:1.4}.pdf-bot-content table tr th:last-child{border-right:none}.pdf-bot-content table tbody tr{background-color:var(--message-box-bg-color);transition:background-color .15s ease-in-out}.pdf-bot-content table tbody tr:nth-child(2n){background-color:var(--bg-2)}.pdf-bot-content table tbody tr:hover{background-color:var(--hover-bg-3)}.pdf-bot-content table tbody tr td{color:var(--text-2);vertical-align:middle;border-bottom:1px solid var(--border-5);border-right:1px solid var(--border-5);padding:12px 18px;font-size:14px;font-weight:400;line-height:1.6}.pdf-bot-content table tbody tr td:last-child{border-right:none}.pdf-bot-content table tbody tr:last-child td{border-bottom:none}.pdf-bot-content table td p{margin-bottom:0!important}.pdf-bot-content table td code{color:var(--text-2);border-radius:5px;padding:2px 6px;font-size:13px}.pdf-bot-content table thead tr:first-child th:first-child{border-top-left-radius:13px}.pdf-bot-content table thead tr:first-child th:last-child{border-top-right-radius:13px}.pdf-bot-content table tbody tr:last-child td:first-child{border-bottom-left-radius:13px}.pdf-bot-content table tbody tr:last-child td:last-child{border-bottom-right-radius:13px}.pdf-bot-content table:not(:has(thead)) tbody tr:first-child td:first-child{border-top-left-radius:13px}.pdf-bot-content table:not(:has(thead)) tbody tr:first-child td:last-child{border-top-right-radius:13px}.pdf-user-quote-message{color:var(--text-2);border:1px solid var(--border-5);overflow-wrap:anywhere;word-break:break-word;cursor:pointer;border-radius:6px;max-width:80%;margin-bottom:8px;padding:4px 10px;font-size:14px;font-weight:400;line-height:20px}.pdf-user-quote-message.clamped{line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.pdf-user-quote-message.expanded{white-space:pre-wrap;display:block}@media (max-width:1600px){.pdf-user-quote-message{font-size:13px;line-height:18px}.pdf-bot-content .h3,h3{font-size:1.4rem}}@media (max-width:600px){.pdf-bot-content{font-size:14px!important}.pdf-user-msg-box{font-size:14px;line-height:20px}}.pdf-user-doc-badge-wrap{justify-content:flex-end;margin-bottom:6px;display:flex}.pdf-user-doc-badge{border:1px solid var(--border-5);color:var(--text-3);cursor:pointer;background:0 0;border-radius:6px;align-items:center;gap:6px;max-width:280px;padding:6px;font-size:12px;transition:all .2s;display:inline-flex;position:relative}.pdf-user-doc-badge:hover{background:var(--hover-bg-color-primary)}.pdf-doc-badge-icon{color:var(--text-3);flex-shrink:0}.pdf-doc-badge-name{white-space:nowrap;text-overflow:ellipsis;max-width:180px;font-weight:400;line-height:1.3;overflow:hidden}.pdf-doc-badge-count{background:var(--primary-color,#3b82f6);color:#fff;border-radius:10px;flex-shrink:0;padding:1px 5px;font-size:10px;font-weight:600;line-height:1.4}.pdf-doc-badge-eye{cursor:pointer;color:#7a8594;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:22px;height:22px;transition:all .2s;display:flex;position:relative}.pdf-doc-badge-eye:hover{color:#3b82f6;background:#3b82f61a}.pdf-doc-badge-eye svg{width:16px;height:16px}.pdf-doc-badge-popup{background:var(--bg-3);border:1px solid var(--border-5);z-index:1000;border-radius:12px;min-width:220px;max-width:280px;padding:8px;animation:.18s ease-out docBadgePopupIn;position:absolute;top:calc(100% + 8px);right:-4px}@keyframes docBadgePopupIn{0%{opacity:0;transform:translateY(-4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.pdf-doc-badge-popup-header{color:var(--text-3);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid var(--border-5);margin-bottom:6px;padding-bottom:8px;font-size:11px;font-weight:500}.pdf-doc-badge-popup-list{flex-direction:column;gap:4px;max-height:160px;display:flex;overflow-y:auto}.pdf-doc-badge-popup-item{color:var(--text-3);border-radius:6px;align-items:center;gap:8px;padding:5px 6px;transition:background .15s;display:flex}.pdf-doc-badge-popup-item span{white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:500;line-height:1.4;overflow:hidden}@media (max-width:600px){.pdf-user-doc-badge{max-width:220px;padding:3px 8px;font-size:11px}.pdf-doc-badge-name{max-width:130px}.pdf-doc-badge-popup{min-width:180px;max-width:240px}}
@keyframes pdf-modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes pdf-modal-scale-in{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.pdf-img-preview-backdrop{z-index:999999;background-color:#00000080;justify-content:center;align-items:center;width:100%;height:100%;animation:.2s ease-out forwards pdf-modal-fade-in;display:flex;position:fixed;top:0;left:0}.pdf-img-preview-container{background-color:var(--popup-bg);border-radius:12px;justify-content:center;align-items:center;width:600px;max-width:95%;height:600px;max-height:95%;animation:.3s cubic-bezier(.34,1.56,.64,1) forwards pdf-modal-scale-in;display:flex;position:relative;overflow:hidden;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}[data-theme=dark] .pdf-img-preview-container{background-color:#1e1e1e}.pdf-img-preview-actions{z-index:10;gap:8px;display:flex;position:absolute;top:16px;right:16px}.pdf-img-preview-btn{background-color:var(--bg-2);border:1px solid var(--border-5);cursor:pointer;color:#374151;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;transition:all .2s;display:flex}.pdf-img-preview-btn:hover{background-color:var(--hover-bg-color-primary);transform:translateY(-1px)}.pdf-img-preview-content{justify-content:center;align-items:center;width:100%;height:100%;padding:20px;display:flex;overflow:hidden}.pdf-img-preview-image{object-fit:contain;border-radius:8px;max-width:100%;max-height:100%}
.pdf-show-files-ans{flex-wrap:wrap;gap:12px;display:flex}.pdf-user-question-file{cursor:pointer;transition:transform .2s}.pdf-user-question-file:hover{transform:translateY(-2px)}.pdf-user-file-view{cursor:pointer;background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;align-items:center;gap:12px;width:220px;padding:8px 12px;transition:background-color .2s,border-color .2s;display:flex}[data-theme=dark] .pdf-user-file-view{background-color:#1a1a1a;border-color:#333}.pdf-user-file-view:hover{background-color:#f1f5f9;border-color:#cbd5e1}[data-theme=dark] .pdf-user-file-view:hover{background-color:#242424;border-color:#444}.pdf-file-view-question{align-items:center;gap:12px;width:100%;display:flex}.pdf-file-view-question .pdf-file-name{color:var(--color-primary);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:14px;font-weight:500;overflow:hidden}.pdf-file-type-q{text-transform:uppercase;color:#64748b;font-size:11px;font-weight:600}.pdf-file-name-type{flex-direction:column;min-width:0;display:flex}.pdf-attachment-image{object-fit:contain;cursor:zoom-in;border:1px solid var(--border-5);border-radius:18px;width:100%;max-width:80px;height:auto;transition:opacity .2s}.pdf-attachment-image:hover{opacity:.9}.pdf-attachment-image.pdf-img-not-found-attachment{width:200px}.pdf-bot-image-show{display:inline-block;position:relative}
