/* Dynamic nodes created by app.js are mapped to the prototype visual language. */
.smart-qa-fullscreen .faq.collapsed{display:none;margin-right:0;}
.smart-qa-fullscreen .messages{padding-right:56px;}
.smart-qa-fullscreen .human-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-height:36px;margin-bottom:8px;}
.smart-qa-fullscreen .human-toggle,.smart-qa-fullscreen .human-choice{min-height:32px;padding:4px 12px;border:1px solid #bdd3eb;border-radius:6px;background:#fff;color:#185b9f;font-size:13px;line-height:22px;white-space:normal;overflow-wrap:anywhere;}
.smart-qa-fullscreen .human-toggle[hidden]{display:none;}
.smart-qa-fullscreen button:disabled{cursor:default;opacity:.5;}
.smart-qa-fullscreen #humanStatus{font-size:12px;color:#596675;overflow-wrap:anywhere;}
.smart-qa-fullscreen .human-choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;}
.smart-qa-fullscreen .human-choice{max-width:100%;text-align:left;}
.smart-qa-fullscreen .human-message--staff .user-chat-meta,.smart-qa-fullscreen .human-message--guide .user-chat-meta{display:block;margin-bottom:5px;color:#617064;font-size:12px;}
.smart-qa-fullscreen .human-message--staff .user-chat-content{width:fit-content;max-width:min(78%,720px);}
.smart-qa-fullscreen .human-message--staff .user-chat-bubble--assistant{padding:10px 14px;background:#f2f4f6;border:1px solid #e5e9ed;border-radius:8px;color:#20272e;}
.smart-qa-fullscreen .human-message--user .user-chat-bubble--user{border-radius:8px;}
.smart-qa-fullscreen .human-message .markdown-content>p{margin:0;}
.smart-qa-fullscreen .human-message .markdown-content>p+p{margin-top:6px;}
.smart-qa-fullscreen .human-message .human-file{display:flex;align-items:center;gap:10px;max-width:100%;min-height:36px;text-decoration:none;}
.smart-qa-fullscreen .human-message .human-file-icon{display:block;width:32px;height:36px;max-width:none;flex:none;object-fit:contain;border-radius:0;}
.smart-qa-fullscreen .human-message .human-file-name{min-width:0;overflow-wrap:anywhere;text-decoration:underline;}
.smart-qa-fullscreen .human-message .markdown-content{overflow-wrap:anywhere;}
.smart-qa-fullscreen .human-message img{max-width:min(100%,360px);max-height:320px;object-fit:contain;}
.smart-qa-fullscreen .user-chat-bubble--user .message-image{display:block;width:auto;height:auto;max-width:min(100%,360px);max-height:320px;margin-top:8px;object-fit:contain;cursor:zoom-in;}
.smart-qa-fullscreen .human-message--system{margin:12px 0;text-align:center;color:#6b7280;font-size:12px;}
.smart-qa-fullscreen .human-message--system .user-chat-meta{display:none;}
.smart-qa-fullscreen .human-message--system .answer{display:inline-block;padding:4px 10px;border-radius:6px;background:#f0f2f4;}
.smart-qa-fullscreen .human-delivery{display:block;margin-top:4px;text-align:right;color:#728078;font-size:12px;}
.smart-qa-fullscreen .human-delivery.is-error{color:#b42318;}
.smart-qa-fullscreen .human-tool{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;border-radius:6px;color:#586c82;}
.smart-qa-fullscreen .human-tool:hover:not(:disabled){background:#eef5ff;color:#1a6fd4;}
.smart-qa-fullscreen .human-tool[hidden],.smart-qa-fullscreen .human-pending-files[hidden]{display:none;}
.smart-qa-fullscreen .human-pending-files{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:0 0 10px;}
.smart-qa-fullscreen .human-pending-file{display:grid;grid-template-columns:48px minmax(0,1fr) 24px;grid-template-rows:24px 24px;align-items:center;gap:0 8px;flex:0 0 244px;max-width:100%;padding:8px;border:1px solid #dce3ea;border-radius:6px;background:#f7f9fb;}
.smart-qa-fullscreen .human-pending-preview{grid-row:1 / 3;width:48px;height:48px;overflow:hidden;border-radius:4px;}
.smart-qa-fullscreen .human-pending-preview img{display:block;width:100%;height:100%;object-fit:cover;}
.smart-qa-fullscreen .human-pending-name{grid-column:2;grid-row:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;}
.smart-qa-fullscreen .human-pending-status{grid-column:2 / 4;grid-row:2;font-size:11px;color:#9a4b22;}
.smart-qa-fullscreen .human-pending-remove{grid-column:3;grid-row:1;width:24px;height:24px;line-height:24px;font-size:18px;}
.smart-qa-fullscreen .human-pending-file--text{grid-template-columns:minmax(0,1fr) 24px;}
.smart-qa-fullscreen .human-pending-file--text .human-pending-name{grid-column:1;}
.smart-qa-fullscreen .human-pending-file--text .human-pending-status{grid-column:1 / 3;}
.smart-qa-fullscreen .human-pending-file--text .human-pending-remove{grid-column:2;}
.smart-qa-fullscreen .human-image-preview{position:fixed;inset:0;margin:auto;width:fit-content;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);padding:40px 12px 12px;border:1px solid #dce3ea;border-radius:8px;background:#fff;}
.smart-qa-fullscreen .human-image-preview::backdrop{background:rgba(0,0,0,.55);}
.smart-qa-fullscreen .human-image-preview>button{position:absolute;right:8px;top:4px;width:32px;height:32px;font-size:24px;}
.smart-qa-fullscreen .human-image-preview img{display:block;max-width:calc(100vw - 58px);max-height:calc(100vh - 88px);object-fit:contain;}
@media(max-width:700px){
  .smart-qa-fullscreen .app{padding-top:40px;}
  .smart-qa-fullscreen .sidebar{display:none;}
  .smart-qa-fullscreen .chat{min-width:0;}
  .smart-qa-fullscreen .messages{padding:16px;}
  .smart-qa-fullscreen .human-message--staff .user-chat-content{max-width:88%;}
  .smart-qa-fullscreen .composer-wrap{padding:10px 16px 16px;}
  .smart-qa-fullscreen .faq{position:absolute;right:0;top:0;bottom:0;z-index:5;max-width:calc(100% - 32px);background:#fff;}
  .smart-qa-fullscreen .faq.collapsed{display:none;margin-right:0;}
  .smart-qa-fullscreen .faq-handle{z-index:6;top:4px;right:12px;transform:none;flex-direction:row;gap:4px;height:32px;padding:3px 8px;border:1px solid var(--line);border-radius:6px;box-shadow:none;}
  .smart-qa-fullscreen .faq-handle.show{animation:none;}
  .smart-qa-fullscreen .faq-handle .fh-text{writing-mode:horizontal-tb;letter-spacing:0;font-size:12px;}
}
.hidden{display:none!important}.hist-search button{border:0;background:transparent;color:var(--ink-4);font-size:17px}.q-ico img{display:block;width:14px;height:14px;object-fit:contain}.q-ico{display:flex;align-items:center;justify-content:center}.chat-welcome__copy{display:contents}.chat-welcome__suggestions .chat-suggestion-item{display:contents}.user-chat-row{display:block;margin:0}.user-chat-row .user-chat-content{max-width:100%}.user-chat-meta{display:none}.user-chat-stack{max-width:100%}.user-chat-row.msg-user{display:flex;justify-content:flex-end}.user-chat-row.msg-ai{display:block}.user-chat-bubble--user,.user-chat-bubble--assistant{word-break:break-word}.user-chat-bubble--assistant{max-width:100%;padding:0;border:0;background:transparent;border-radius:0;box-shadow:none}.user-chat-bubble--assistant .markdown-content>p:last-child{margin-bottom:0}.user-chat-row.msg-ai .answer{max-width:100%}.assistant-thinking{margin:0 0 12px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--blue-25);font-size:12px;color:var(--ink-3)}.assistant-thinking__summary{display:flex;align-items:center;gap:6px}.assistant-thinking__spinner{width:11px;height:11px;border:2px solid var(--blue-100);border-top-color:var(--blue-600);border-radius:50%;animation:smartQaSpin .8s linear infinite}.assistant-thinking__spinner.hidden{display:none}.assistant-thinking__stage{margin-top:3px}.assistant-thinking__detail{margin-top:6px;padding-top:6px;border-top:1px solid var(--line)}.message-actions{display:flex;gap:6px;margin-top:12px}.message-actions__button{width:28px;height:28px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink-3)}.message-actions__button:hover,.message-actions__button--active{border-color:var(--blue-300);background:var(--blue-50);color:var(--blue-700)}.message-guess{margin-top:14px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--blue-25)}.message-guess__title{margin-bottom:6px;font-size:12px;font-weight:600}.message-guess__item{display:block;padding:4px 0;border:0;background:transparent;color:var(--blue-700);text-align:left}.faq-category__button{border:0;background:transparent;font:inherit}.faq-category__name{flex:1}.faq-category__chevron{width:12px;height:12px}.faq-category--expanded{border-color:var(--blue-300);box-shadow:0 4px 16px rgba(43,125,233,.1)}.faq-category--expanded .faq-question-list{display:block!important}.faq-question-list{display:none}.faq-category__button{width:100%}.faq-question{font:inherit}.faq-question__icon{display:none}.faq-question__text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-item{font:inherit}.history-item__title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-welcome__agent-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}.chat-welcome .w-avatar{overflow:hidden}.markdown-content img,.markdown-content video{max-width:100%;height:auto;border-radius:8px}.markdown-content pre{overflow:auto;padding:10px;border-radius:8px;background:var(--blue-25)}.markdown-content a{color:var(--blue-600)}.error-text{margin:6px 0 0;color:#c8102e;text-align:center;font-size:12px}.input-suggestions{position:absolute;right:26px;bottom:116px;left:26px;z-index:20;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:var(--shadow-pop)}.input-suggestion-item{display:block;width:100%;padding:9px 12px;border:0;background:#fff;text-align:left;color:var(--ink)}.input-suggestion-item:hover{background:var(--blue-50)}@keyframes smartQaSpin{to{transform:rotate(360deg)}}
