:root{color-scheme:light}.fx-mllm-standalone{margin:0!important;min-width:320px!important;overflow:hidden!important;background:#f7f7f8!important}.fx-mllm-standalone *{box-sizing:border-box!important}#fx-mllm-app{--bg:#f7f7f8;--side:#f1f1f2;--surface:#fff;--glass:rgba(255,255,255,.88);--text:#18181b;--text2:#52525b;--muted:#71717a;--line:#e4e4e7;--wine:#8f0000;--wine2:#700000;--wineSoft:#f8eeee;--green:#009933;--yellow:#ffcc00;--shadow:0 24px 80px rgba(24,24,27,.11);width:100vw!important;max-width:none!important;height:100vh!important;min-height:100vh!important;margin:0!important;padding:0!important;overflow:hidden!important;background:var(--bg)!important;color:var(--text)!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:16px!important;line-height:1.5!important}#fx-mllm-app.dark{--bg:#111113;--side:#18181b;--surface:#202024;--glass:rgba(32,32,36,.9);--text:#fafafa;--text2:#d4d4d8;--muted:#b4b4bc;--line:#303036;--wine:#b11a1a;--wine2:#c92a2a;--wineSoft:#2b1b1d;--shadow:0 28px 90px rgba(0,0,0,.48)}#fx-mllm-app,#fx-mllm-app *{box-sizing:border-box!important}#fx-mllm-app button,#fx-mllm-app input,#fx-mllm-app textarea,#fx-mllm-app select{font-family:inherit!important}#fx-mllm-app button{cursor:pointer!important}#fx-mllm-app button:focus-visible,#fx-mllm-app input:focus-visible,#fx-mllm-app textarea:focus-visible,#fx-mllm-app select:focus-visible{outline:3px solid rgba(143,0,0,.22)!important;outline-offset:2px!important}.fx-layout{display:grid!important;grid-template-columns:264px minmax(0,1fr) 0!important;width:100%!important;height:100%!important;transition:grid-template-columns .24s ease!important}.panel-open .fx-layout{grid-template-columns:264px minmax(0,1fr) 350px!important}.fx-sidebar{display:flex!important;flex-direction:column!important;min-width:0!important;height:100vh!important;padding:16px 14px!important;overflow:hidden!important;background:var(--side)!important;border-right:1px solid var(--line)!important}.fx-brand{display:flex!important;align-items:center!important;gap:11px!important;padding:2px 4px 12px!important}.fx-brand-mark{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;flex:0 0 42px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface)!important;box-shadow:0 5px 18px rgba(0,0,0,.06)!important;color:var(--wine)!important;font-weight:800!important}.fx-brand div strong,.fx-brand div small{display:block!important}.fx-brand div strong{font-size:.92rem!important;color:var(--text)!important}.fx-brand div small{margin-top:2px!important;color:var(--muted)!important;font-size:.7rem!important}.fx-brand-line{height:3px!important;margin:0 4px 14px!important;border-radius:99px!important;background:linear-gradient(90deg,var(--wine) 0 79%,var(--yellow) 79% 90%,var(--green) 90%)!important}.fx-primary{min-height:46px!important;border:1px solid var(--wine)!important;border-radius:14px!important;background:var(--wine)!important;color:#fff!important;font-weight:700!important;padding:10px 14px!important;transition:.18s ease!important}.fx-primary:hover{background:var(--wine2)!important;transform:translateY(-1px)!important}.fx-new{width:100%!important}.fx-search{position:relative!important;display:block!important;margin:12px 0 9px!important}.fx-search span{position:absolute!important;left:13px!important;top:50%!important;transform:translateY(-50%)!important;color:var(--muted)!important}.fx-search input{width:100%!important;height:43px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface)!important;color:var(--text)!important;padding:8px 10px 8px 37px!important;box-shadow:none!important}.fx-nav{display:grid!important;gap:4px!important;margin:2px 0 12px!important}.fx-nav button,.fx-sidebar-bottom>button{width:100%!important;min-height:42px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:var(--text)!important;text-align:left!important;padding:9px 10px!important}.fx-nav button:hover,.fx-sidebar-bottom>button:hover,.fx-nav button.active{background:var(--surface)!important}.fx-nav button.active{color:var(--wine)!important}.fx-section-title{margin:8px 8px 7px!important;color:var(--muted)!important;font-size:.68rem!important;font-weight:700!important;letter-spacing:.1em!important;text-transform:uppercase!important}.fx-history{min-height:0!important;overflow:auto!important}.fx-history-item{position:relative!important;width:100%!important;border:0!important;border-radius:11px!important;background:transparent!important;color:var(--text)!important;padding:9px 36px 9px 10px!important;text-align:left!important}.fx-history-item:hover,.fx-history-item.active{background:var(--surface)!important}.fx-history-item strong,.fx-history-item small{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.fx-history-item strong{font-size:.82rem!important}.fx-history-item small{margin-top:2px!important;color:var(--muted)!important;font-size:.68rem!important}.fx-history-empty{min-height:160px!important;display:grid!important;place-items:center!important;border:1px dashed var(--line)!important;border-radius:16px!important;background:rgba(255,255,255,.45)!important;text-align:center!important;padding:18px!important}.fx-history-empty strong{display:block!important;font-size:.84rem!important}.fx-history-empty small{display:block!important;margin-top:5px!important;color:var(--muted)!important;font-size:.7rem!important}.fx-sidebar-bottom{margin-top:auto!important;padding-top:11px!important;border-top:1px solid var(--line)!important}.fx-user{display:flex!important;align-items:center!important;gap:10px!important;padding:8px 7px!important}.fx-user>span{width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:var(--wine)!important;color:#fff!important;font-size:.7rem!important;font-weight:800!important}.fx-user strong,.fx-user small{display:block!important}.fx-user strong{font-size:.78rem!important}.fx-user small{color:var(--muted)!important;font-size:.66rem!important}.fx-user .fx-user-version{margin-top:1px!important;font-size:.6rem!important;letter-spacing:.02em!important;opacity:.82!important}.fx-main{position:relative!important;min-width:0!important;height:100vh!important;display:grid!important;grid-template-rows:68px minmax(0,1fr)!important;background:var(--bg)!important}.fx-topbar{position:relative!important;z-index:20!important;display:grid!important;grid-template-columns:minmax(170px,1fr) minmax(260px,360px) minmax(210px,1fr)!important;align-items:center!important;gap:14px!important;padding:10px 18px!important;border-bottom:1px solid var(--line)!important;background:color-mix(in srgb,var(--bg) 88%,transparent)!important;backdrop-filter:blur(22px)!important}.fx-top-left,.fx-top-actions{display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important}.fx-top-actions{justify-content:flex-end!important}.fx-top-left input{width:min(310px,100%)!important;min-width:0!important;border:0!important;background:transparent!important;color:var(--text)!important;font-size:.92rem!important;font-weight:700!important;padding:2px!important;box-shadow:none!important}.fx-top-left small{display:block!important;color:var(--muted)!important;font-size:.65rem!important}.fx-icon{width:42px!important;height:42px!important;display:grid!important;place-items:center!important;flex:0 0 42px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface)!important;color:var(--text)!important}.fx-icon:hover{background:var(--side)!important}.fx-model-selector{justify-self:center!important;width:100%!important;max-width:360px!important;min-height:48px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:2px 10px!important;border:1px solid var(--line)!important;border-radius:15px!important;background:var(--surface)!important;color:var(--text)!important;padding:7px 12px!important;text-align:left!important;box-shadow:0 5px 16px rgba(0,0,0,.035)!important}.fx-model-selector b,.fx-model-selector small{display:block!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.fx-model-selector b{font-size:.82rem!important}.fx-model-selector small{color:var(--muted)!important;font-size:.68rem!important}.fx-model-selector span{grid-row:1/3!important;grid-column:2!important}.fx-online{display:inline-flex!important;align-items:center!important;gap:7px!important;color:var(--muted)!important;font-size:.7rem!important;white-space:nowrap!important}.fx-online i{width:8px!important;height:8px!important;border-radius:50%!important;background:var(--green)!important;box-shadow:0 0 0 4px rgba(0,153,51,.1)!important}.fx-chat{min-height:0!important;overflow:auto!important;padding:28px 24px 178px!important;scroll-behavior:smooth!important}.fx-chat-inner{width:min(920px,100%)!important;margin:0 auto!important}.fx-welcome{min-height:calc(100vh - 260px)!important;display:grid!important;place-items:center!important;text-align:center!important}.fx-welcome>div{width:min(760px,100%)!important}.fx-welcome-mark{width:70px!important;height:70px!important;display:grid!important;place-items:center!important;margin:0 auto 18px!important;border:1px solid var(--line)!important;border-radius:23px!important;background:linear-gradient(145deg,var(--surface),var(--wineSoft))!important;color:var(--wine)!important;font-weight:800!important;box-shadow:0 16px 40px rgba(24,24,27,.08)!important}.fx-welcome h1{margin:0!important;color:var(--text)!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;font-size:clamp(2.15rem,5vw,3.65rem)!important;font-weight:800!important;line-height:1.02!important;letter-spacing:-.055em!important}.fx-welcome p{max-width:650px!important;margin:14px auto 24px!important;color:var(--text2)!important;font-size:1rem!important}.fx-suggestions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}.fx-suggestion{min-height:94px!important;border:1px solid var(--line)!important;border-radius:18px!important;background:var(--surface)!important;color:var(--text)!important;padding:15px!important;text-align:left!important;box-shadow:0 5px 18px rgba(0,0,0,.035)!important;transition:.18s ease!important}.fx-suggestion:hover{transform:translateY(-2px)!important;border-color:rgba(143,0,0,.28)!important;box-shadow:0 14px 32px rgba(24,24,27,.08)!important}.fx-suggestion strong,.fx-suggestion small{display:block!important}.fx-suggestion strong{font-size:.87rem!important}.fx-suggestion small{margin-top:5px!important;color:var(--muted)!important;font-size:.72rem!important}.fx-message{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:12px!important;margin-bottom:30px!important}.fx-message.user{grid-template-columns:minmax(0,1fr) 38px!important}.fx-msg-avatar{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface)!important;color:var(--wine)!important;font-size:.7rem!important;font-weight:800!important}.fx-message.user .fx-msg-avatar{order:2!important;background:var(--wine)!important;color:#fff!important;border-color:transparent!important}.fx-message.user .fx-msg-content{order:1!important;justify-self:end!important;width:min(760px,88%)!important;padding:13px 15px!important;border:1px solid rgba(143,0,0,.12)!important;border-radius:18px 18px 6px 18px!important;background:var(--wineSoft)!important}.fx-msg-head{display:flex!important;justify-content:space-between!important;gap:10px!important;margin-bottom:7px!important}.fx-msg-head strong{font-size:.8rem!important}.fx-msg-head small{color:var(--muted)!important;font-size:.68rem!important}.fx-msg-body{color:var(--text)!important;font-size:1rem!important;line-height:1.72!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}.fx-msg-actions{display:flex!important;gap:3px!important;margin-top:8px!important}.fx-msg-actions button{height:32px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--muted)!important;font-size:.7rem!important;padding:0 8px!important}.fx-msg-actions button:hover{background:var(--side)!important;color:var(--text)!important}.fx-processing{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:24px!important}.fx-processing-card{border:1px solid var(--line)!important;border-radius:15px!important;background:var(--surface)!important;padding:12px 14px!important;font-size:.8rem!important}.fx-pulse{display:inline-block!important;width:7px!important;height:7px!important;border-radius:50%!important;background:var(--wine)!important;margin-right:7px!important;animation:fxpulse 1.1s infinite!important}@keyframes fxpulse{50%{opacity:.3;transform:scale(.8)}}.fx-compare-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}.fx-compare-card{border:1px solid var(--line)!important;border-radius:17px!important;background:var(--surface)!important;overflow:hidden!important}.fx-compare-card header,.fx-compare-card footer{padding:10px 12px!important;border-bottom:1px solid var(--line)!important;font-size:.75rem!important}.fx-compare-card footer{border-top:1px solid var(--line)!important;border-bottom:0!important;color:var(--muted)!important;font-size:.66rem!important}.fx-compare-card section{padding:13px!important;white-space:pre-wrap!important;line-height:1.6!important}.fx-composer-wrap{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:25!important;padding:18px 22px 15px!important;background:linear-gradient(180deg,transparent,var(--bg) 32%)!important}.fx-composer{width:min(920px,100%)!important;margin:0 auto!important;border:1px solid var(--line)!important;border-radius:23px!important;background:var(--surface)!important;padding:9px!important;box-shadow:var(--shadow)!important}.fx-composer textarea{width:100%!important;min-height:66px!important;max-height:190px!important;resize:none!important;border:0!important;background:transparent!important;color:var(--text)!important;outline:0!important;padding:10px 11px!important;font-size:1rem!important;box-shadow:none!important}.fx-composer-bottom{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important}.fx-composer-bottom>div{display:flex!important;gap:6px!important;flex-wrap:wrap!important}.fx-tool{min-height:39px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--side)!important;color:var(--text)!important;padding:7px 10px!important}.fx-send{width:44px!important;height:44px!important;border:0!important;border-radius:14px!important;background:var(--wine)!important;color:#fff!important;font-weight:800!important}.fx-send:disabled{opacity:.4!important;cursor:not-allowed!important}.fx-composer-wrap>p{text-align:center!important;color:var(--muted)!important;font-size:.65rem!important;margin:7px 0 0!important}.fx-file-chips{display:flex!important;flex-wrap:wrap!important;gap:7px!important;padding:0 4px 7px!important}.fx-file-chip{display:flex!important;align-items:center!important;gap:7px!important;max-width:260px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--side)!important;padding:7px 9px!important;font-size:.7rem!important}.fx-panel{height:100vh!important;overflow:hidden!important;background:var(--side)!important;border-left:1px solid var(--line)!important}.fx-panel>header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:13px!important;border-bottom:1px solid var(--line)!important}.fx-panel-tabs{display:flex!important;gap:4px!important;padding:9px!important;border-bottom:1px solid var(--line)!important}.fx-panel-tabs button{flex:1!important;height:36px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--muted)!important;font-size:.72rem!important;font-weight:700!important}.fx-panel-tabs button.active{background:var(--surface)!important;color:var(--wine)!important}.fx-panel-content{height:calc(100vh - 110px)!important;overflow:auto!important;padding:13px!important}.fx-empty{min-height:220px!important;display:grid!important;place-items:center!important;text-align:center!important;border:1px dashed var(--line)!important;border-radius:16px!important;background:var(--surface)!important;padding:20px!important}.fx-source,.fx-project,.fx-prompt-card,.fx-detail{border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface)!important;padding:11px!important;margin-bottom:8px!important}.fx-modal{position:fixed!important;inset:0!important;z-index:100!important;display:none!important;place-items:center!important;padding:20px!important;background:rgba(17,17,19,.44)!important;backdrop-filter:blur(8px)!important}.fx-modal.open{display:grid!important}.fx-modal-card{width:min(680px,100%)!important;max-height:82vh!important;overflow:auto!important;border:1px solid var(--line)!important;border-radius:21px!important;background:var(--surface)!important;box-shadow:var(--shadow)!important;padding:16px!important}.fx-modal-card.wide{width:min(760px,100%)!important}.fx-modal-card>header{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:-16px -16px 14px!important;padding:14px 16px!important;border-bottom:1px solid var(--line)!important;position:sticky!important;top:-16px!important;background:var(--surface)!important;z-index:2!important}.fx-model-option{width:100%!important;display:flex!important;gap:10px!important;align-items:center!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface)!important;color:var(--text)!important;padding:10px 11px!important;text-align:left!important;margin-bottom:7px!important}.fx-model-option:hover,.fx-model-option.active{background:var(--wineSoft)!important;border-color:rgba(143,0,0,.3)!important}.fx-settings-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.fx-toast{position:fixed!important;right:20px!important;bottom:20px!important;z-index:200!important;max-width:390px!important;border-radius:13px!important;background:#18181b!important;color:#fff!important;padding:11px 14px!important;box-shadow:0 18px 50px rgba(0,0,0,.35)!important;opacity:0!important;transform:translateY(8px)!important;pointer-events:none!important;transition:.2s!important}.fx-toast.show{opacity:1!important;transform:none!important}.fx-spinner{width:16px!important;height:16px!important;display:inline-block!important;border:2px solid rgba(255,255,255,.3)!important;border-top-color:#fff!important;border-radius:50%!important;animation:fxspin .8s linear infinite!important}@keyframes fxspin{to{transform:rotate(360deg)}}

.fx-brand-debug{width:100%!important;border:0!important;background:transparent!important;color:inherit!important;text-align:left!important;padding:0!important;cursor:pointer!important}.fx-brand-debug:hover .fx-brand-mark{box-shadow:0 0 0 4px rgba(143,0,0,.12),var(--shadow-sm)!important}.fx-model-toolbar{display:flex!important;gap:8px!important;padding:0 0 12px!important;position:sticky!important;top:0!important;background:var(--surface)!important;z-index:2!important}.fx-model-toolbar input{flex:1!important;min-height:42px!important;border:1px solid var(--line)!important;border-radius:12px!important;padding:8px 10px!important;background:var(--bg2)!important;color:var(--text)!important}.fx-secondary{min-height:42px!important;border:1px solid var(--wine)!important;border-radius:12px!important;background:var(--surface)!important;color:var(--wine)!important;padding:8px 12px!important;font-weight:700!important}.fx-debug-actions{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-bottom:12px!important}.fx-debug-output{max-height:58vh!important;overflow:auto!important;white-space:pre-wrap!important;word-break:break-word!important;background:#111113!important;color:#f5f5f5!important;border-radius:14px!important;padding:14px!important;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace!important}.fx-model-option small{white-space:normal!important}.fx-model-option[data-provider]::after{content:attr(data-provider)!important;margin-left:auto!important;font-size:10px!important;text-transform:uppercase!important;color:var(--muted)!important}

/* v2.4 — ações por ícones, tooltips, projetos e biblioteca */
.fx-msg-actions{display:flex!important;align-items:center!important;gap:3px!important;margin-top:9px!important;min-height:36px!important}
.fx-msg-icon{position:relative!important;width:36px!important;height:36px!important;display:inline-grid!important;place-items:center!important;border:0!important;border-radius:10px!important;background:transparent!important;color:var(--muted)!important;padding:0!important;transition:.18s ease!important}
.fx-msg-icon:hover,.fx-msg-icon.active{background:var(--side)!important;color:var(--text)!important}
.fx-msg-icon.active{color:var(--wine)!important;background:var(--wineSoft)!important}
.fx-msg-icon svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;pointer-events:none!important}
.fx-msg-icon::after{content:attr(data-tooltip)!important;position:absolute!important;left:50%!important;bottom:calc(100% + 7px)!important;transform:translate(-50%,5px)!important;z-index:20!important;max-width:190px!important;padding:6px 8px!important;border-radius:8px!important;background:#18181b!important;color:#fff!important;font-size:11px!important;font-weight:600!important;line-height:1.2!important;white-space:nowrap!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:.16s ease!important;box-shadow:0 8px 24px rgba(0,0,0,.2)!important}
.fx-msg-icon:hover::after,.fx-msg-icon:focus-visible::after{opacity:1!important;visibility:visible!important;transform:translate(-50%,0)!important}
.fx-model-empty{min-height:130px!important;display:grid!important;place-items:center!important;text-align:center!important;border:1px dashed var(--line)!important;border-radius:14px!important;background:var(--side)!important;padding:20px!important}
.fx-model-empty[hidden]{display:none!important}
.fx-model-empty strong,.fx-model-empty small{display:block!important}.fx-model-empty small{margin-top:5px!important;color:var(--muted)!important}
.fx-prompt-select,.fx-project-select{width:100%!important;text-align:left!important;color:var(--text)!important;transition:.18s ease!important}
.fx-prompt-select:hover,.fx-project-select:hover,.fx-project-select.active{border-color:rgba(143,0,0,.35)!important;background:var(--wineSoft)!important}
.fx-prompt-card p{margin:8px 0 0!important;color:var(--text2)!important;font-size:.77rem!important;line-height:1.45!important}
.fx-prompt-card strong,.fx-prompt-card small,.fx-project strong,.fx-project small{display:block!important}
.fx-prompt-card small,.fx-project small{margin-top:3px!important;color:var(--muted)!important;font-size:.69rem!important}
.fx-project-list{margin-top:10px!important}
@media(max-width:680px){.fx-msg-icon{width:40px!important;height:40px!important}.fx-msg-icon::after{display:none!important}}
/* v2.5: conteúdo formatado e imagens */
#fx-mllm-app .fx-markdown{white-space:normal!important;line-height:1.68!important}
#fx-mllm-app .fx-markdown p{margin:0 0 .85em!important;color:inherit!important}
#fx-mllm-app .fx-markdown p:last-child{margin-bottom:0!important}
#fx-mllm-app .fx-markdown h2,#fx-mllm-app .fx-markdown h3,#fx-mllm-app .fx-markdown h4,#fx-mllm-app .fx-markdown h5{margin:1.25em 0 .55em!important;color:var(--text)!important;line-height:1.25!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}
#fx-mllm-app .fx-markdown h2{font-size:1.35rem!important}#fx-mllm-app .fx-markdown h3{font-size:1.18rem!important}#fx-mllm-app .fx-markdown h4,#fx-mllm-app .fx-markdown h5{font-size:1.04rem!important}
#fx-mllm-app .fx-markdown ul,#fx-mllm-app .fx-markdown ol{margin:.45em 0 1em 1.35em!important;padding:0!important}
#fx-mllm-app .fx-markdown li{margin:.28em 0!important}
#fx-mllm-app .fx-markdown blockquote{margin:1em 0!important;padding:.7em 1em!important;border-left:4px solid var(--wine)!important;background:var(--wine-soft)!important;border-radius:0 12px 12px 0!important}
#fx-mllm-app .fx-markdown code{padding:.12em .38em!important;border-radius:6px!important;background:var(--soft)!important;font-family:ui-monospace,SFMono-Regular,Consolas,monospace!important;font-size:.9em!important}
#fx-mllm-app .fx-code{overflow:auto!important;margin:1em 0!important;border:1px solid var(--line)!important;border-radius:14px!important;background:#17181b!important;color:#f7f7f8!important}
#fx-mllm-app .fx-code>div{padding:7px 12px!important;border-bottom:1px solid rgba(255,255,255,.12)!important;color:#b4b4bc!important;font-size:.7rem!important;text-transform:uppercase!important}
#fx-mllm-app .fx-code code{display:block!important;padding:14px!important;background:transparent!important;color:inherit!important;white-space:pre!important}
#fx-mllm-app .fx-table-wrap{overflow:auto!important;margin:1em 0!important;border:1px solid var(--line)!important;border-radius:14px!important}
#fx-mllm-app .fx-table-wrap table{width:100%!important;border-collapse:collapse!important;background:var(--surface)!important;color:var(--text)!important;font-size:.9rem!important}
#fx-mllm-app .fx-table-wrap th,#fx-mllm-app .fx-table-wrap td{padding:10px 12px!important;border-bottom:1px solid var(--line)!important;border-right:1px solid var(--line)!important;text-align:left!important;vertical-align:top!important}
#fx-mllm-app .fx-table-wrap th{background:var(--soft)!important;font-weight:700!important}
#fx-mllm-app .fx-generated-image{margin:10px 0 0!important;max-width:760px!important}
#fx-mllm-app .fx-generated-image img{display:block!important;width:100%!important;height:auto!important;max-height:72vh!important;object-fit:contain!important;border-radius:18px!important;border:1px solid var(--line)!important;box-shadow:var(--shadow-md)!important;background:var(--soft)!important}
#fx-mllm-app .fx-generated-image figcaption{margin-top:8px!important;color:var(--muted)!important;font-size:.75rem!important}
#fx-mllm-app .fx-msg-actions a.fx-msg-icon{text-decoration:none!important}


/* Catálogo completo de modelos — v2.6.0 */
#fx-mllm-app .fx-model-status{margin:0 0 10px;padding:9px 11px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:var(--muted);font-size:12px!important}
#fx-mllm-app .fx-model-group{display:grid;gap:6px;margin:0 0 14px}
#fx-mllm-app .fx-model-group>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:7px 4px;background:var(--surface);color:var(--muted);font-size:12px!important;text-transform:uppercase;letter-spacing:.06em}
#fx-mllm-app .fx-model-group>header span{display:inline-grid;place-items:center;min-width:26px;height:22px;padding:0 7px;border-radius:999px;background:var(--soft);color:var(--text);font-weight:700}
#fx-mllm-app #fx-model-list{max-height:min(62vh,620px);overflow:auto;padding-right:4px}
#fx-mllm-app .fx-model-option{width:100%}

/* Modal system v2.6.2 */
#fx-mllm-app .fx-modal{padding:24px!important;background:rgba(13,14,17,.52)!important;backdrop-filter:blur(18px) saturate(115%)!important;-webkit-backdrop-filter:blur(18px) saturate(115%)!important;animation:fxModalFade .18s ease both!important}
#fx-mllm-app .fx-modal.open{display:grid!important}
#fx-mllm-app .fx-modal-card{width:min(720px,calc(100vw - 32px))!important;max-height:min(88vh,860px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important;border:1px solid color-mix(in srgb,var(--line) 78%,transparent)!important;border-radius:24px!important;background:color-mix(in srgb,var(--surface) 97%,transparent)!important;box-shadow:0 34px 110px rgba(0,0,0,.3),0 2px 8px rgba(0,0,0,.08)!important;animation:fxModalRise .24s cubic-bezier(.2,.8,.2,1) both!important}
#fx-mllm-app .fx-modal-card.fx-modal-card-wide{width:min(880px,calc(100vw - 32px))!important}
#fx-mllm-app .fx-modal-card.fx-modal-card-model{width:min(900px,calc(100vw - 32px))!important}
#fx-mllm-app .fx-modal-card.fx-modal-card-compact{width:min(640px,calc(100vw - 32px))!important}
#fx-mllm-app .fx-modal-card.fx-modal-card-debug{width:min(960px,calc(100vw - 32px))!important}
#fx-mllm-app .fx-modal-header{position:relative!important;top:auto!important;z-index:3!important;display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;flex:0 0 auto!important;margin:0!important;padding:22px 24px 20px!important;border-bottom:1px solid var(--line)!important;background:var(--surface)!important}
#fx-mllm-app .fx-modal-heading{min-width:0!important;display:grid!important;gap:3px!important}
#fx-mllm-app .fx-modal-kicker{color:var(--wine)!important;font-size:.69rem!important;font-weight:800!important;letter-spacing:.12em!important;text-transform:uppercase!important}
#fx-mllm-app .fx-modal-heading>strong{color:var(--text)!important;font-size:1.18rem!important;line-height:1.25!important;font-weight:760!important;letter-spacing:-.02em!important}
#fx-mllm-app .fx-modal-heading>small{max-width:650px!important;color:var(--muted)!important;font-size:.79rem!important;line-height:1.45!important}
#fx-mllm-app .fx-modal-close{width:38px!important;height:38px!important;min-width:38px!important;display:grid!important;place-items:center!important;padding:0!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--side)!important;color:var(--text)!important;font-size:1.2rem!important;line-height:1!important;transition:background .18s ease,transform .18s ease,border-color .18s ease!important}
#fx-mllm-app .fx-modal-close:hover{background:var(--wineSoft)!important;border-color:rgba(143,0,0,.22)!important;color:var(--wine)!important;transform:translateY(-1px)!important}
#fx-mllm-app .fx-modal-body{min-height:0!important;overflow:auto!important;padding:22px 24px 24px!important;background:var(--surface)!important}
#fx-mllm-app .fx-modal-footer{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex:0 0 auto!important;padding:15px 24px!important;border-top:1px solid var(--line)!important;background:color-mix(in srgb,var(--side) 72%,var(--surface))!important}
#fx-mllm-app .fx-modal-footer .fx-primary,#fx-mllm-app .fx-modal-footer .fx-secondary{min-width:124px!important;min-height:44px!important;border-radius:13px!important}
#fx-mllm-app .fx-form-stack{display:grid!important;gap:20px!important}
#fx-mllm-app .fx-field{display:grid!important;gap:7px!important;color:var(--text)!important;font-size:.83rem!important;font-weight:700!important}
#fx-mllm-app .fx-field>span{display:block!important;color:var(--text)!important;font-size:.84rem!important;font-weight:700!important}
#fx-mllm-app .fx-field>small{display:block!important;margin-top:-3px!important;color:var(--muted)!important;font-size:.72rem!important;font-weight:500!important;line-height:1.45!important}
#fx-mllm-app .fx-field input,#fx-mllm-app .fx-field textarea,#fx-mllm-app .fx-field select,#fx-mllm-app .fx-modal-search input{width:100%!important;min-height:46px!important;margin:0!important;padding:11px 13px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--side)!important;color:var(--text)!important;font-size:.88rem!important;font-weight:500!important;line-height:1.45!important;outline:none!important;box-shadow:0 1px 2px rgba(0,0,0,.02)!important;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important}
#fx-mllm-app .fx-field textarea{min-height:128px!important;resize:vertical!important}
#fx-mllm-app .fx-field input::placeholder,#fx-mllm-app .fx-field textarea::placeholder,#fx-mllm-app .fx-modal-search input::placeholder{color:color-mix(in srgb,var(--muted) 78%,transparent)!important}
#fx-mllm-app .fx-field input:focus,#fx-mllm-app .fx-field textarea:focus,#fx-mllm-app .fx-field select:focus,#fx-mllm-app .fx-modal-search input:focus{border-color:rgba(143,0,0,.52)!important;background:var(--surface)!important;box-shadow:0 0 0 4px rgba(143,0,0,.09)!important}
#fx-mllm-app .fx-settings-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
#fx-mllm-app .fx-full{margin-top:18px!important}
#fx-mllm-app .fx-switches{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin-top:18px!important}
#fx-mllm-app .fx-switches>label{min-height:76px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;padding:14px!important;border:1px solid var(--line)!important;border-radius:15px!important;background:var(--side)!important}
#fx-mllm-app .fx-switches b{display:block!important;color:var(--text)!important;font-size:.82rem!important}
#fx-mllm-app .fx-switches small{display:block!important;margin-top:4px!important;color:var(--muted)!important;font-size:.7rem!important;line-height:1.4!important}
#fx-mllm-app .fx-switches input[type=checkbox]{width:42px!important;height:24px!important;accent-color:var(--wine)!important}
#fx-mllm-app .fx-model-toolbar{display:flex!important;align-items:center!important;gap:10px!important;margin-bottom:12px!important}
#fx-mllm-app .fx-modal-search{position:relative!important;display:block!important;flex:1 1 auto!important}
#fx-mllm-app .fx-modal-search>span{position:absolute!important;left:13px!important;top:50%!important;z-index:1!important;transform:translateY(-50%)!important;color:var(--muted)!important;pointer-events:none!important}
#fx-mllm-app .fx-modal-search input{padding-left:38px!important;background:var(--side)!important}
#fx-mllm-app .fx-model-toolbar .fx-secondary{min-height:46px!important;white-space:nowrap!important;border-radius:13px!important}
#fx-mllm-app .fx-model-status{margin:2px 0 14px!important;padding:10px 12px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--side)!important;color:var(--muted)!important;font-size:.72rem!important}
#fx-mllm-app .fx-model-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
#fx-mllm-app .fx-model-option{position:relative!important;min-height:76px!important;margin:0!important;padding:12px 42px 12px 12px!important;border-radius:16px!important;box-shadow:none!important}
#fx-mllm-app .fx-model-option>i{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;flex:0 0 38px!important;border-radius:12px!important;background:var(--wineSoft)!important;color:var(--wine)!important;font-style:normal!important;font-size:.82rem!important;font-weight:800!important}
#fx-mllm-app .fx-model-option>span{min-width:0!important}
#fx-mllm-app .fx-model-option strong{display:block!important;color:var(--text)!important;font-size:.81rem!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#fx-mllm-app .fx-model-option small{display:block!important;margin-top:3px!important;color:var(--muted)!important;font-size:.68rem!important;line-height:1.35!important;overflow-wrap:anywhere!important}
#fx-mllm-app .fx-model-option code{color:var(--muted)!important;font-size:.64rem!important;background:transparent!important;padding:0!important}
#fx-mllm-app .fx-model-check{position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-50%) scale(.85)!important;width:24px!important;height:24px!important;display:grid!important;place-items:center!important;border-radius:50%!important;background:var(--wine)!important;color:#fff!important;font-size:.7rem!important;opacity:0!important;transition:.18s ease!important}
#fx-mllm-app .fx-model-option.active .fx-model-check{opacity:1!important;transform:translateY(-50%) scale(1)!important}
#fx-mllm-app .fx-model-empty{min-height:180px!important;display:grid!important;place-items:center!important;text-align:center!important;padding:26px!important;border:1px dashed var(--line)!important;border-radius:16px!important;background:var(--side)!important}
#fx-mllm-app .fx-image-options{margin-top:16px!important}
#fx-mllm-app .fx-debug-actions{display:flex!important;flex-wrap:wrap!important;gap:9px!important;margin-bottom:14px!important}
#fx-mllm-app .fx-debug-output{max-height:52vh!important;overflow:auto!important;margin:0!important;padding:16px!important;border:1px solid var(--line)!important;border-radius:15px!important;background:#111318!important;color:#e6edf3!important;font:500 .72rem/1.6 ui-monospace,SFMono-Regular,Consolas,monospace!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important}
#fx-mllm-app .fx-prompt-card{border-radius:16px!important;padding:14px!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease!important}
#fx-mllm-app .fx-prompt-card:hover{transform:translateY(-1px)!important;border-color:rgba(143,0,0,.22)!important;box-shadow:0 10px 28px rgba(0,0,0,.06)!important}
@keyframes fxModalFade{from{opacity:0}to{opacity:1}}
@keyframes fxModalRise{from{opacity:0;transform:translateY(14px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:720px){#fx-mllm-app .fx-modal{padding:10px!important;align-items:end!important}#fx-mllm-app .fx-modal-card,#fx-mllm-app .fx-modal-card.fx-modal-card-wide,#fx-mllm-app .fx-modal-card.fx-modal-card-model,#fx-mllm-app .fx-modal-card.fx-modal-card-compact,#fx-mllm-app .fx-modal-card.fx-modal-card-debug{width:100%!important;max-height:92vh!important;border-radius:22px 22px 12px 12px!important}#fx-mllm-app .fx-modal-header{padding:18px!important}#fx-mllm-app .fx-modal-body{padding:18px!important}#fx-mllm-app .fx-modal-footer{padding:13px 18px!important}#fx-mllm-app .fx-settings-grid,#fx-mllm-app .fx-switches,#fx-mllm-app .fx-model-list{grid-template-columns:1fr!important}#fx-mllm-app .fx-model-toolbar{align-items:stretch!important;flex-direction:column!important}#fx-mllm-app .fx-model-toolbar .fx-secondary{width:100%!important}#fx-mllm-app .fx-modal-footer .fx-primary,#fx-mllm-app .fx-modal-footer .fx-secondary{flex:1 1 auto!important;min-width:0!important}}


/* v2.7.1 — menus contextuais de conversas e projetos */
#fx-mllm-app .fx-history-entry,
#fx-mllm-app .fx-project-entry{position:relative!important;display:block!important;width:100%!important;margin:0 0 4px!important}
#fx-mllm-app .fx-history-entry .fx-history-item,
#fx-mllm-app .fx-project-entry .fx-project{width:100%!important;min-height:48px!important;margin:0!important;padding-right:46px!important;text-align:left!important;border-radius:13px!important}
#fx-mllm-app .fx-history-entry.active .fx-history-item,
#fx-mllm-app .fx-project-entry.active .fx-project{background:var(--wineSoft)!important;color:var(--wine)!important}
#fx-mllm-app .fx-item-more{position:absolute!important;right:7px!important;top:7px!important;z-index:6!important;width:34px!important;height:34px!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;background:transparent!important;color:var(--muted)!important;font-size:1.15rem!important;line-height:1!important;opacity:.72!important;transition:background .18s ease,color .18s ease,opacity .18s ease!important}
#fx-mllm-app .fx-history-entry:hover .fx-item-more,
#fx-mllm-app .fx-project-entry:hover .fx-item-more,
#fx-mllm-app .fx-item-more:focus-visible{opacity:1!important}
#fx-mllm-app .fx-item-more:hover{background:var(--surface)!important;color:var(--text)!important}
#fx-mllm-app .fx-context-menu{position:absolute!important;right:5px!important;top:43px!important;z-index:90!important;display:none!important;min-width:168px!important;padding:6px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface)!important;box-shadow:0 18px 46px rgba(20,20,24,.18)!important;backdrop-filter:blur(18px)!important}
#fx-mllm-app .fx-context-menu.open{display:grid!important;gap:2px!important;animation:fxContextMenuIn .16s ease both!important}
#fx-mllm-app .fx-context-menu button{width:100%!important;min-height:39px!important;display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;padding:8px 10px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--text)!important;text-align:left!important;font-size:.77rem!important;font-weight:650!important}
#fx-mllm-app .fx-context-menu button:hover,#fx-mllm-app .fx-context-menu button:focus-visible{background:var(--side)!important}
#fx-mllm-app .fx-context-menu button.danger{color:var(--wine)!important}
#fx-mllm-app .fx-context-menu button.danger:hover{background:var(--wineSoft)!important}
#fx-mllm-app .fx-project-list{overflow:visible!important}
@keyframes fxContextMenuIn{from{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:720px){#fx-mllm-app .fx-context-menu{right:4px!important;min-width:176px!important}}
#fx-mllm-app .fx-form-note{margin:0!important;padding:11px 12px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--side)!important;color:var(--muted)!important;font-size:.72rem!important;line-height:1.5!important}
#fx-mllm-app .fx-msg-icon:disabled{opacity:.5!important;cursor:wait!important}
#fx-mllm-app #fx-save-prompt-model{width:100%!important}

.fx-daily-curiosity{width:min(680px,100%)!important;margin:0 auto 18px!important;padding:13px 15px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:start!important;gap:10px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:color-mix(in srgb,var(--surface) 92%,var(--wineSoft))!important;box-shadow:0 7px 24px rgba(24,24,27,.045)!important;text-align:left!important}.fx-daily-curiosity>span{display:inline-flex!important;align-items:center!important;min-height:25px!important;padding:4px 8px!important;border-radius:999px!important;background:var(--wineSoft)!important;color:var(--wine)!important;font-size:.65rem!important;font-weight:800!important;letter-spacing:.04em!important;text-transform:uppercase!important;white-space:nowrap!important}.fx-daily-curiosity p{margin:1px 0 0!important;color:var(--text2)!important;font-size:.78rem!important;line-height:1.55!important}@media(max-width:680px){.fx-daily-curiosity{grid-template-columns:1fr!important;text-align:center!important}.fx-daily-curiosity>span{justify-self:center!important}.fx-daily-curiosity p{text-align:center!important}}

/* v2.7.6 - menu desktop recolhível e correções de marca */
#fx-mllm-app .fx-brand>span:last-child strong,#fx-mllm-app .fx-brand>span:last-child small{display:block!important}
#fx-mllm-app .fx-brand>span:last-child strong{font-size:.92rem!important;color:var(--text)!important;line-height:1.15!important}
#fx-mllm-app .fx-brand>span:last-child small{margin-top:3px!important;color:var(--muted)!important;font-size:.7rem!important;line-height:1.2!important}
@media(min-width:941px){
  #fx-mllm-app.sidebar-collapsed .fx-layout{grid-template-columns:78px minmax(0,1fr) 0!important}
  #fx-mllm-app.sidebar-collapsed.panel-open .fx-layout{grid-template-columns:78px minmax(0,1fr) 350px!important}
  #fx-mllm-app.sidebar-collapsed .fx-sidebar{padding:16px 10px!important;align-items:center!important}
  #fx-mllm-app.sidebar-collapsed .fx-brand{justify-content:center!important;width:100%!important;padding-inline:0!important}
  #fx-mllm-app.sidebar-collapsed .fx-brand>span:last-child,
  #fx-mllm-app.sidebar-collapsed .fx-brand-line,
  #fx-mllm-app.sidebar-collapsed .fx-search,
  #fx-mllm-app.sidebar-collapsed .fx-nav button span,
  #fx-mllm-app.sidebar-collapsed .fx-section-title,
  #fx-mllm-app.sidebar-collapsed .fx-history,
  #fx-mllm-app.sidebar-collapsed .fx-sidebar-bottom>button span,
  #fx-mllm-app.sidebar-collapsed .fx-user>div{display:none!important}
  #fx-mllm-app.sidebar-collapsed .fx-new{width:46px!important;height:46px!important;min-height:46px!important;padding:0!important;border-radius:14px!important}
  #fx-mllm-app.sidebar-collapsed .fx-new span{display:none!important}
  #fx-mllm-app.sidebar-collapsed .fx-nav{width:100%!important;margin-top:12px!important}
  #fx-mllm-app.sidebar-collapsed .fx-nav button,
  #fx-mllm-app.sidebar-collapsed .fx-sidebar-bottom>button{display:grid!important;place-items:center!important;width:46px!important;height:46px!important;padding:0!important;margin:0 auto!important;text-align:center!important}
  #fx-mllm-app.sidebar-collapsed .fx-sidebar-bottom{width:100%!important}
  #fx-mllm-app.sidebar-collapsed .fx-user{justify-content:center!important;padding-inline:0!important}
}
@media(max-width:940px){
  #fx-mllm-app.menu-open::before{content:""!important;position:fixed!important;inset:0!important;z-index:55!important;background:rgba(17,17,19,.34)!important;backdrop-filter:blur(3px)!important}
  #fx-mllm-app.menu-open .fx-sidebar{z-index:60!important}
}

.fx-tool-web.active{background:var(--wineSoft)!important;border-color:rgba(143,0,0,.34)!important;color:var(--wine)!important;font-weight:700!important}.fx-tool-web.active::after{content:''!important;width:7px!important;height:7px!important;border-radius:50%!important;background:var(--green)!important;box-shadow:0 0 0 3px rgba(0,153,51,.1)!important}.fx-tool-web:disabled{opacity:.48!important;cursor:not-allowed!important}.fx-markdown h3:last-of-type{margin-top:1.35em!important}.fx-markdown a{color:var(--wine)!important;text-decoration:underline!important;text-underline-offset:2px!important;overflow-wrap:anywhere!important}

/* Fontes e documentos — v2.7.9 */
#fx-mllm-app .fx-source{position:relative!important;padding:13px!important;overflow:hidden!important}
#fx-mllm-app .fx-source-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;margin-bottom:5px!important}
#fx-mllm-app .fx-source-head strong{display:block!important;min-width:0!important;overflow-wrap:anywhere!important;font-size:.85rem!important;line-height:1.35!important;color:var(--text)!important}
#fx-mllm-app .fx-source small{display:block!important;margin-top:4px!important;color:var(--muted)!important;font-size:.7rem!important;line-height:1.45!important;overflow-wrap:anywhere!important}
#fx-mllm-app .fx-source .fx-source-meta{color:var(--text2)!important;font-weight:600!important}
#fx-mllm-app .fx-source-delete{width:34px!important;height:34px!important;flex:0 0 34px!important;display:grid!important;place-items:center!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--surface)!important;color:var(--wine)!important;font-size:.9rem!important;transition:.18s ease!important}
#fx-mllm-app .fx-source-delete:hover{background:var(--wineSoft)!important;border-color:rgba(143,0,0,.28)!important}
#fx-mllm-app .fx-source-delete:disabled{opacity:.45!important;cursor:wait!important}
#fx-mllm-app .fx-file-chip>span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#fx-mllm-app .fx-file-chip>button{width:26px!important;height:26px!important;flex:0 0 26px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--wine)!important}
#fx-mllm-app .fx-file-chip>button:hover{background:var(--wineSoft)!important}


/* Identidade ANIA PRO e TCESP — v2.9.8 */
#fx-mllm-app .fx-brand.fx-brand-debug{min-height:82px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;padding:0 1px 10px!important;overflow:hidden!important}
#fx-mllm-app .fx-user-institution{margin:1px 7px 0!important;padding:9px 8px 2px!important;border-top:1px solid var(--line)!important;text-align:center!important}
#fx-mllm-app .fx-user-institution img{display:block!important;width:178px!important;max-width:100%!important;height:46px!important;margin:0 auto!important;object-fit:contain!important;object-position:center!important}
#fx-mllm-app .fx-welcome-mark{width:176px!important;height:220px!important;display:grid!important;place-items:center!important;margin:0 auto 18px!important;padding:7px!important;overflow:hidden!important;border:1px solid var(--line)!important;border-radius:27px!important;background:var(--surface)!important;box-shadow:0 18px 52px rgba(24,24,27,.1)!important}
#fx-mllm-app .fx-welcome-logo{display:block!important;width:162px!important;height:206px!important;object-fit:contain!important;object-position:center!important;border-radius:21px!important}
.fx-auth-screen .fx-auth-mark{width:220px!important;height:275px!important;display:grid!important;place-items:center!important;margin:0 auto 18px!important;padding:7px!important;overflow:hidden!important;border:1px solid #e4e4e7!important;border-radius:27px!important;background:#fff!important;box-shadow:0 16px 44px rgba(24,24,27,.09)!important}
.fx-auth-screen .fx-auth-mark img{display:block!important;width:206px!important;height:261px!important;object-fit:contain!important;object-position:center!important;border-radius:21px!important}
@media(min-width:941px){
  #fx-mllm-app.sidebar-collapsed .fx-brand.fx-brand-debug{min-height:68px!important;padding:0!important}
  #fx-mllm-app.sidebar-collapsed .fx-user-institution{display:block!important;width:100%!important;margin:5px 0 0!important;padding:7px 0 0!important}
  #fx-mllm-app.sidebar-collapsed .fx-user-institution img{width:52px!important;height:28px!important}
}
@media(max-width:940px){
}
@media(max-width:680px){
  #fx-mllm-app .fx-welcome-mark{width:142px!important;height:178px!important;border-radius:23px!important}
  #fx-mllm-app .fx-welcome-logo{width:130px!important;height:166px!important;border-radius:18px!important}
  .fx-auth-screen .fx-auth-mark{width:184px!important;height:230px!important}
  .fx-auth-screen .fx-auth-mark img{width:170px!important;height:216px!important}
}

/* v2.8.1 - menu contextual flutuante, sem alterar a rolagem das listas */
#fx-mllm-app .fx-context-menu.fx-context-floating{
  position:fixed!important;
  inset:auto!important;
  right:auto!important;
  bottom:auto!important;
  z-index:1000!important;
  min-width:176px!important;
  width:max-content!important;
  max-width:min(240px,calc(100vw - 20px))!important;
  max-height:none!important;
  overflow:hidden!important;
  padding:6px!important;
  border:1px solid var(--line)!important;
  border-radius:13px!important;
  background:var(--surface)!important;
  box-shadow:0 18px 46px rgba(20,20,24,.20)!important;
  backdrop-filter:blur(18px)!important;
}
#fx-mllm-app .fx-context-menu.fx-context-floating button{
  white-space:nowrap!important;
}


/* v2.8.3 — portal global estável para menus de conversas e projetos */
.fx-global-context-menu{
  position:fixed!important;
  left:-9999px;
  top:-9999px;
  z-index:2147483000!important;
  display:none!important;
  grid-template-columns:1fr!important;
  gap:2px!important;
  min-width:184px!important;
  max-width:min(250px,calc(100vw - 20px))!important;
  padding:7px!important;
  border:1px solid var(--line,#e4e4e7)!important;
  border-radius:14px!important;
  background:var(--surface,#fff)!important;
  color:var(--text,#18181b)!important;
  box-shadow:0 20px 55px rgba(20,20,24,.24)!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:14px!important;
  line-height:1.35!important;
  isolation:isolate!important;
}
.fx-global-context-menu.open{
  display:grid!important;
  animation:fxGlobalContextIn .16s ease both!important;
}
.fx-global-context-menu button{
  width:100%!important;
  min-height:41px!important;
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:center!important;
  gap:9px!important;
  margin:0!important;
  padding:9px 11px!important;
  border:0!important;
  border-radius:10px!important;
  background:transparent!important;
  color:var(--text,#18181b)!important;
  font:650 13px/1.35 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  text-align:left!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
.fx-global-context-menu button:hover,
.fx-global-context-menu button:focus-visible{
  background:var(--side,#f1f1f2)!important;
  outline:none!important;
}
.fx-global-context-menu button.danger{
  color:var(--wine,#8f0000)!important;
}
.fx-global-context-menu button.danger:hover,
.fx-global-context-menu button.danger:focus-visible{
  background:var(--wineSoft,#f8eeee)!important;
}
.fx-global-context-menu button span:first-child{
  width:22px!important;
  display:grid!important;
  place-items:center!important;
  font-size:15px!important;
}
@keyframes fxGlobalContextIn{
  from{opacity:0;transform:translateY(-5px) scale(.98)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media(max-width:680px){
  .fx-global-context-menu{min-width:190px!important}
}

#fx-mllm-app [hidden],.fx-auth-screen [hidden]{display:none!important}.fx-auth-screen section{display:flex!important;flex-direction:column!important;align-items:stretch!important}.fx-auth-screen h1,.fx-auth-screen p{text-align:center!important}.fx-auth-google,.fx-auth-microsoft,.fx-auth-local{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;min-height:46px!important;margin-top:12px!important;padding:11px 18px!important;border-radius:13px!important;text-decoration:none!important;font-weight:700!important}.fx-auth-microsoft{background:#fff!important;color:#1f1f1f!important;border:1px solid #d6d6d6!important;box-shadow:0 4px 14px rgba(0,0,0,.06)!important}.fx-auth-microsoft:hover{background:#f7f7f7!important}.fx-auth-local{background:#8f0000!important;color:#fff!important;border:1px solid #8f0000!important}.fx-auth-error{margin:12px 0 4px!important;padding:10px 12px!important;border:1px solid #efb5b5!important;border-radius:12px!important;background:#fff1f1!important;color:#7f1d1d!important;font-size:.85rem!important}.fx-ms-symbol{display:grid!important;grid-template-columns:repeat(2,9px)!important;grid-template-rows:repeat(2,9px)!important;gap:2px!important}.fx-ms-symbol i:nth-child(1){background:#f25022!important}.fx-ms-symbol i:nth-child(2){background:#7fba00!important}.fx-ms-symbol i:nth-child(3){background:#00a4ef!important}.fx-ms-symbol i:nth-child(4){background:#ffb900!important}

/* ANIA 2.9.2 — resumo seguro de processamento */
#fx-mllm-app .fx-thinking-summary{margin:8px 0 14px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:color-mix(in srgb,var(--surface) 88%,var(--wineSoft))!important;overflow:hidden!important}
#fx-mllm-app .fx-thinking-summary summary{display:flex!important;align-items:center!important;gap:8px!important;min-height:42px!important;padding:9px 12px!important;cursor:pointer!important;color:var(--text)!important;list-style:none!important;font-size:.74rem!important}
#fx-mllm-app .fx-thinking-summary summary::-webkit-details-marker{display:none!important}
#fx-mllm-app .fx-thinking-summary summary strong{font-size:.74rem!important}
#fx-mllm-app .fx-thinking-summary summary>span:last-child{margin-left:auto!important;color:var(--muted)!important;font-size:.68rem!important}
#fx-mllm-app .fx-thinking-spark{width:24px!important;height:24px!important;display:grid!important;place-items:center!important;border-radius:8px!important;background:var(--wineSoft)!important;color:var(--wine)!important}
#fx-mllm-app .fx-thinking-summary ol{margin:0!important;padding:4px 16px 7px 38px!important;color:var(--text2)!important;font-size:.73rem!important;line-height:1.55!important}
#fx-mllm-app .fx-thinking-summary p{margin:0!important;padding:8px 12px 10px!important;border-top:1px solid var(--line)!important;color:var(--muted)!important;font-size:.65rem!important}
#fx-mllm-app .fx-improved-badge{display:inline-flex!important;margin:0 0 8px!important;padding:5px 9px!important;border-radius:999px!important;background:rgba(0,153,51,.1)!important;color:var(--green)!important;font-size:.66rem!important;font-weight:700!important}
#fx-mllm-app .fx-processing-card{min-width:min(520px,100%)!important;padding:13px 15px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--surface)!important;box-shadow:0 8px 24px rgba(24,24,27,.06)!important}
#fx-mllm-app .fx-processing-title{display:flex!important;align-items:center!important;gap:8px!important;color:var(--text)!important}
#fx-mllm-app .fx-processing-title strong{font-size:.82rem!important}
#fx-mllm-app .fx-processing-title small{margin-left:auto!important;color:var(--muted)!important;font-size:.68rem!important}
#fx-mllm-app .fx-processing-steps{display:grid!important;gap:5px!important;margin:10px 0 0!important;padding:0!important;list-style:none!important}
#fx-mllm-app .fx-processing-steps li{display:flex!important;align-items:center!important;gap:8px!important;color:var(--muted)!important;font-size:.72rem!important;transition:.18s ease!important}
#fx-mllm-app .fx-processing-steps li span{width:16px!important;text-align:center!important;color:var(--muted)!important}
#fx-mllm-app .fx-processing-steps li.active{color:var(--text)!important;font-weight:700!important}
#fx-mllm-app .fx-processing-steps li.active span{color:var(--wine)!important}
#fx-mllm-app .fx-processing-steps li.done{color:var(--text2)!important}
#fx-mllm-app .fx-processing-steps li.done span{color:var(--green)!important}
#fx-mllm-app .fx-model-option.fx-model-auto{border-color:rgba(143,0,0,.28)!important;background:linear-gradient(145deg,var(--surface),var(--wineSoft))!important}
#fx-mllm-app .fx-model-option.fx-model-auto em{display:inline-block!important;margin-left:7px!important;padding:2px 6px!important;border-radius:999px!important;background:var(--wine)!important;color:#fff!important;font-size:.56rem!important;font-style:normal!important;font-weight:700!important;vertical-align:middle!important}

/* ANIA 2.9.3 — tabelas Markdown legíveis com linhas alternadas */
#fx-mllm-app .fx-table-wrap tbody tr:nth-child(4n+1)>td{background:#f4f8ff!important}
#fx-mllm-app .fx-table-wrap tbody tr:nth-child(4n+2)>td{background:#fff9ec!important}
#fx-mllm-app .fx-table-wrap tbody tr:nth-child(4n+3)>td{background:#f2fbf5!important}
#fx-mllm-app .fx-table-wrap tbody tr:nth-child(4n+4)>td{background:#faf4fb!important}
#fx-mllm-app .fx-table-wrap tbody tr:hover>td{box-shadow:inset 0 0 0 999px rgba(143,0,0,.035)!important}
#fx-mllm-app.dark .fx-table-wrap tbody tr:nth-child(4n+1)>td{background:#1d2530!important}
#fx-mllm-app.dark .fx-table-wrap tbody tr:nth-child(4n+2)>td{background:#29251c!important}
#fx-mllm-app.dark .fx-table-wrap tbody tr:nth-child(4n+3)>td{background:#1c2921!important}
#fx-mllm-app.dark .fx-table-wrap tbody tr:nth-child(4n+4)>td{background:#28202a!important}

/* ANIA 2.9.4 — identidade do assistente e arquivos gerados */
#fx-mllm-app .fx-message:not(.user){grid-template-columns:48px minmax(0,1fr)!important}
#fx-mllm-app .fx-message:not(.user) .fx-msg-avatar,#fx-mllm-app .fx-processing>.fx-msg-avatar{width:48px!important;height:38px!important;border-radius:12px!important;font-size:.57rem!important;letter-spacing:-.02em!important}
#fx-mllm-app .fx-message.user .fx-msg-avatar{width:38px!important;height:38px!important}
#fx-mllm-app .fx-artifacts{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;gap:9px!important;margin:15px 0 7px!important}
#fx-mllm-app .fx-artifact-card{display:grid!important;grid-template-columns:46px minmax(0,1fr) 28px!important;align-items:center!important;gap:10px!important;min-height:68px!important;padding:10px 12px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:var(--surface)!important;color:var(--text)!important;text-decoration:none!important;box-shadow:0 5px 18px rgba(0,0,0,.04)!important;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important}
#fx-mllm-app .fx-artifact-card:hover{transform:translateY(-1px)!important;border-color:rgba(143,0,0,.35)!important;box-shadow:0 10px 28px rgba(0,0,0,.08)!important}
#fx-mllm-app .fx-artifact-icon{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;border-radius:11px!important;background:var(--wineSoft)!important;color:var(--wine)!important;font-size:.67rem!important;font-weight:850!important}
#fx-mllm-app .fx-artifact-card strong,#fx-mllm-app .fx-artifact-card small{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#fx-mllm-app .fx-artifact-card strong{font-size:.82rem!important}
#fx-mllm-app .fx-artifact-card small{margin-top:3px!important;color:var(--muted)!important;font-size:.68rem!important}
#fx-mllm-app .fx-artifact-card>b{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:9px!important;background:var(--side)!important;color:var(--wine)!important;font-size:.9rem!important}
@media(max-width:680px){#fx-mllm-app .fx-message:not(.user){grid-template-columns:42px minmax(0,1fr)!important}#fx-mllm-app .fx-message:not(.user) .fx-msg-avatar,#fx-mllm-app .fx-processing>.fx-msg-avatar{width:42px!important;height:34px!important;font-size:.52rem!important}#fx-mllm-app .fx-message.user .fx-msg-avatar{width:34px!important;height:34px!important}#fx-mllm-app .fx-artifacts{grid-template-columns:1fr!important}}


/* v2.9.5 — área visível durante processamento, estado da internet e metadados */
#fx-mllm-app{--composer-clearance:178px!important}
#fx-mllm-app .fx-chat{padding-bottom:var(--composer-clearance)!important;scroll-padding-bottom:var(--composer-clearance)!important}
#fx-mllm-app .fx-processing{position:relative!important;z-index:2!important;scroll-margin-bottom:calc(var(--composer-clearance) + 18px)!important}
#fx-mllm-app .fx-processing-card{max-width:min(620px,calc(100vw - 96px))!important}
#fx-mllm-app .fx-tool-web span{color:inherit!important;-webkit-text-fill-color:currentColor!important}
#fx-mllm-app .fx-tool-web.active::after{content:none!important;display:none!important;width:0!important;height:0!important;box-shadow:none!important}
#fx-mllm-app .fx-compare-card header{display:grid!important;gap:3px!important}
#fx-mllm-app .fx-compare-card header small{display:block!important;color:var(--muted)!important;font-size:.66rem!important;font-weight:500!important;overflow-wrap:anywhere!important}
#fx-mllm-app .fx-msg-head strong{overflow-wrap:anywhere!important}
@media(max-width:680px){#fx-mllm-app{--composer-clearance:190px!important}#fx-mllm-app .fx-processing-card{max-width:calc(100vw - 76px)!important}}

/* ANIA 2.9.6: ações superiores distintas e execuções em segundo plano */
#fx-mllm-app .fx-top-actions .fx-icon svg{width:21px!important;height:21px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#fx-mllm-app .fx-top-action-compare{color:var(--wine)!important;background:color-mix(in srgb,var(--surface) 88%,var(--wineSoft))!important}
#fx-mllm-app .fx-top-action-compare:hover,#fx-mllm-app .fx-top-action-compare.active{border-color:color-mix(in srgb,var(--wine) 55%,var(--line))!important;background:var(--wineSoft)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--wine) 10%,transparent)!important}
#fx-mllm-app .fx-top-action-sources{color:var(--text2)!important;background:var(--surface)!important}
#fx-mllm-app .fx-top-action-sources:hover,#fx-mllm-app .fx-top-action-sources.active{color:var(--text)!important;border-color:color-mix(in srgb,var(--text2) 40%,var(--line))!important;background:var(--side)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--text2) 7%,transparent)!important}
#fx-mllm-app .fx-history-item strong{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important}
#fx-mllm-app .fx-history-title{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#fx-mllm-app .fx-chat-job{width:15px!important;height:15px!important;display:inline-grid!important;place-items:center!important;flex:0 0 15px!important;border-radius:50%!important;font-size:10px!important;font-weight:800!important;line-height:1!important}
#fx-mllm-app .fx-chat-job svg{width:14px!important;height:14px!important;display:block!important;fill:none!important;stroke:currentColor!important;stroke-width:2.2!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#fx-mllm-app .fx-chat-job-running{color:var(--wine)!important}
#fx-mllm-app .fx-chat-job-running svg{animation:fxJobSpin .9s linear infinite!important}
#fx-mllm-app .fx-chat-job-running svg circle{opacity:.25!important}
#fx-mllm-app .fx-chat-job-done{color:var(--green)!important;background:color-mix(in srgb,var(--green) 10%,transparent)!important}
#fx-mllm-app .fx-chat-job-error{color:#b42318!important;background:#fff0ee!important;border:1px solid #f5b7b1!important}
#fx-mllm-app .fx-processing-background{display:block!important;margin-top:10px!important;padding-top:9px!important;border-top:1px solid var(--line)!important;color:var(--muted)!important;font-size:.67rem!important;line-height:1.4!important}
#fx-mllm-app.fx-has-jobs .fx-online i{animation:fxJobPulse 1.25s ease-in-out infinite!important}
#fx-mllm-app.fx-has-jobs .fx-chat{scroll-behavior:auto!important;overscroll-behavior:contain!important}
@keyframes fxJobSpin{to{transform:rotate(360deg)}}
@keyframes fxJobPulse{0%,100%{box-shadow:0 0 0 3px rgba(0,153,51,.08)!important}50%{box-shadow:0 0 0 7px rgba(0,153,51,.02)!important}}
@media(max-width:680px){#fx-mllm-app .fx-top-actions .fx-icon svg{width:19px!important;height:19px!important}}

/* ANIA 2.9.7 — gráficos coloridos, responsivos e exportáveis */
#fx-mllm-app .fx-chart-placeholder{min-height:260px!important;margin:18px 0!important;border:1px dashed var(--line)!important;border-radius:18px!important;background:var(--surface)!important}
#fx-mllm-app .fx-chart-card{position:relative!important;margin:20px 0!important;overflow:hidden!important;border:1px solid color-mix(in srgb,var(--line) 82%,var(--wine) 18%)!important;border-radius:20px!important;background:linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface) 92%,#eef4ff))!important;box-shadow:0 16px 46px rgba(24,24,27,.09)!important;color:var(--text)!important}
#fx-mllm-app .fx-chart-card>header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;padding:17px 18px 13px!important;border-bottom:1px solid color-mix(in srgb,var(--line) 86%,transparent)!important;background:linear-gradient(90deg,color-mix(in srgb,var(--wineSoft) 42%,var(--surface)),var(--surface))!important}
#fx-mllm-app .fx-chart-card>header>div{min-width:0!important}
#fx-mllm-app .fx-chart-card>header span{display:inline-flex!important;align-items:center!important;min-height:24px!important;padding:3px 8px!important;border-radius:999px!important;background:var(--wineSoft)!important;color:var(--wine)!important;font-size:.61rem!important;font-weight:850!important;letter-spacing:.06em!important;text-transform:uppercase!important}
#fx-mllm-app .fx-chart-card>header h4{margin:7px 0 0!important;color:var(--text)!important;font-size:1.02rem!important;font-weight:800!important;line-height:1.25!important;letter-spacing:-.015em!important}
#fx-mllm-app .fx-chart-card>header p{margin:5px 0 0!important;color:var(--muted)!important;font-size:.74rem!important;line-height:1.45!important}
#fx-mllm-app .fx-chart-card>header nav{display:flex!important;gap:6px!important;flex:0 0 auto!important}
#fx-mllm-app .fx-chart-card>header nav button{min-width:42px!important;height:34px!important;padding:0 9px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--surface)!important;color:var(--text2)!important;font-size:.65rem!important;font-weight:800!important;letter-spacing:.03em!important;box-shadow:0 3px 10px rgba(0,0,0,.035)!important}
#fx-mllm-app .fx-chart-card>header nav button:hover{border-color:color-mix(in srgb,var(--wine) 38%,var(--line))!important;background:var(--wineSoft)!important;color:var(--wine)!important;transform:translateY(-1px)!important}
#fx-mllm-app .fx-chart-legend{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:8px 14px!important;padding:11px 18px 0!important;color:var(--text2)!important;font-size:.69rem!important;font-weight:650!important}
#fx-mllm-app .fx-chart-legend span{display:inline-flex!important;align-items:center!important;gap:6px!important}
#fx-mllm-app .fx-chart-legend i{width:10px!important;height:10px!important;display:inline-block!important;border-radius:4px!important;background:var(--fx-chart-color)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--fx-chart-color) 15%,transparent)!important}
#fx-mllm-app .fx-chart-stage{width:calc(100% - 24px)!important;overflow:auto!important;margin:12px!important;padding:10px 12px 4px!important;border:1px solid color-mix(in srgb,var(--line) 75%,transparent)!important;border-radius:15px!important;background:#fff!important;overscroll-behavior-inline:contain!important;scrollbar-width:thin!important}
#fx-mllm-app .fx-chart-svg{display:block!important;width:100%!important;height:auto!important;min-width:620px!important;max-height:760px!important;margin:0 auto!important;overflow:visible!important}
#fx-mllm-app .fx-chart-mark{transition:opacity .14s ease,filter .14s ease!important;transform-origin:center!important}
#fx-mllm-app .fx-chart-mark:hover{opacity:.82!important;filter:brightness(1.03) saturate(1.15)!important}
#fx-mllm-app .fx-chart-line{filter:drop-shadow(0 3px 4px rgba(24,24,27,.12))!important}
#fx-mllm-app .fx-chart-data{margin:2px 16px 15px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:color-mix(in srgb,var(--surface) 94%,var(--side))!important;overflow:hidden!important}
#fx-mllm-app .fx-chart-data summary{cursor:pointer!important;padding:10px 12px!important;color:var(--text2)!important;font-size:.7rem!important;font-weight:750!important;list-style-position:inside!important}
#fx-mllm-app .fx-chart-data>div{max-height:270px!important;overflow:auto!important;border-top:1px solid var(--line)!important}
#fx-mllm-app .fx-chart-data table{width:100%!important;border-collapse:collapse!important;background:var(--surface)!important;color:var(--text)!important;font-size:.7rem!important}
#fx-mllm-app .fx-chart-data th,#fx-mllm-app .fx-chart-data td{padding:8px 10px!important;border-right:1px solid var(--line)!important;border-bottom:1px solid var(--line)!important;text-align:right!important;white-space:nowrap!important}
#fx-mllm-app .fx-chart-data th:first-child,#fx-mllm-app .fx-chart-data td:first-child{text-align:left!important;font-weight:650!important}
#fx-mllm-app .fx-chart-data th{position:sticky!important;top:0!important;background:var(--soft)!important;color:var(--text)!important;font-weight:800!important}
#fx-mllm-app.dark .fx-chart-card{background:linear-gradient(145deg,var(--surface),#171d26)!important;border-color:#343a46!important}
#fx-mllm-app.dark .fx-chart-card>header{background:linear-gradient(90deg,color-mix(in srgb,var(--wineSoft) 54%,var(--surface)),var(--surface))!important}
@media(max-width:680px){
  #fx-mllm-app .fx-chart-card{margin:16px -2px!important;border-radius:16px!important}
  #fx-mllm-app .fx-chart-card>header{padding:14px!important;gap:10px!important}
  #fx-mllm-app .fx-chart-card>header nav{flex-direction:column!important}
  #fx-mllm-app .fx-chart-card>header nav button{height:30px!important;min-width:40px!important}
  #fx-mllm-app .fx-chart-stage{width:calc(100% - 12px)!important;margin:6px!important;padding-inline:6px!important}
  #fx-mllm-app .fx-chart-svg{min-width:590px!important}
  #fx-mllm-app .fx-chart-data{margin-inline:10px!important}
}
@media print{
  #fx-mllm-app .fx-chart-card{break-inside:avoid!important;box-shadow:none!important}
  #fx-mllm-app .fx-chart-card>header nav,#fx-mllm-app .fx-chart-data{display:none!important}
  #fx-mllm-app .fx-chart-svg{min-width:0!important}
}


/* ANIA 2.9.9 — modelos de documentos, editais extensos e identidade visual */
#fx-mllm-app .fx-file-template{border-color:color-mix(in srgb,#b86232 44%,var(--line))!important;background:color-mix(in srgb,#fff4ed 72%,var(--surface))!important}
#fx-mllm-app.dark .fx-file-template{background:color-mix(in srgb,#4b2a1d 44%,var(--surface))!important}
#fx-mllm-app .fx-source-template{border-color:color-mix(in srgb,#b86232 35%,var(--line))!important;box-shadow:inset 3px 0 0 #b86232!important}
#fx-mllm-app .fx-source-badges{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin:7px 0!important}
#fx-mllm-app .fx-source-badges span{display:inline-flex!important;padding:3px 7px!important;border-radius:999px!important;background:var(--wineSoft)!important;color:var(--wine)!important;font-size:.58rem!important;font-weight:800!important}
#fx-mllm-app .fx-source-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;margin-top:9px!important}
#fx-mllm-app .fx-source-actions button{min-height:30px!important;padding:0 9px!important;border:1px solid var(--line)!important;border-radius:9px!important;background:var(--surface)!important;color:var(--text2)!important;font-size:.63rem!important;font-weight:750!important}
#fx-mllm-app .fx-source-actions button:hover{border-color:color-mix(in srgb,var(--wine) 45%,var(--line))!important;background:var(--wineSoft)!important;color:var(--wine)!important}
#fx-mllm-app .fx-template-mode-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
#fx-mllm-app .fx-template-mode-grid>button{display:grid!important;grid-template-columns:44px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:3px 10px!important;text-align:left!important;padding:15px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:linear-gradient(145deg,var(--surface),var(--side))!important;color:var(--text)!important}
#fx-mllm-app .fx-template-mode-grid>button:hover{transform:translateY(-1px)!important;border-color:color-mix(in srgb,#b86232 55%,var(--line))!important;box-shadow:0 12px 30px rgba(24,24,27,.08)!important}
#fx-mllm-app .fx-template-mode-grid>button>span{grid-row:1/3!important;display:grid!important;place-items:center!important;width:44px!important;height:44px!important;border-radius:13px!important;background:#fff4ed!important;color:#b86232!important;font-size:1.1rem!important}
#fx-mllm-app .fx-template-mode-grid strong{font-size:.82rem!important}
#fx-mllm-app .fx-template-mode-grid small{color:var(--muted)!important;font-size:.66rem!important;line-height:1.45!important}
@media(max-width:680px){#fx-mllm-app .fx-template-mode-grid{grid-template-columns:1fr!important}}

/* ANIA 2.9.9 — biblioteca de comandos com categorias e descrições */
#fx-mllm-app .fx-prompt-toolbar{align-items:stretch!important}
#fx-mllm-app .fx-prompt-category-label{flex:0 0 min(240px,36%)!important;display:block!important}
#fx-mllm-app .fx-prompt-category-label select{width:100%!important;min-height:46px!important;margin:0!important;padding:10px 38px 10px 12px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--side)!important;color:var(--text)!important;font-size:.82rem!important;font-weight:650!important;box-shadow:0 1px 2px rgba(0,0,0,.02)!important}
#fx-mllm-app .fx-prompt-card{display:block!important;width:100%!important;text-align:left!important;border:1px solid var(--line)!important;background:var(--surface)!important;color:var(--text)!important}
#fx-mllm-app .fx-prompt-card strong{font-size:.88rem!important;line-height:1.3!important}
#fx-mllm-app .fx-prompt-card p{display:-webkit-box!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:3!important;margin:7px 0 0!important;color:var(--text2)!important;font-size:.75rem!important;line-height:1.48!important}
@media(max-width:720px){#fx-mllm-app .fx-prompt-category-label{flex:1 1 auto!important;width:100%!important}}
#fx-mllm-app .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}


/* ANIA 2.10.x — escrita progressiva e identidade Multi-LLM */
#fx-mllm-app .fx-msg-head{display:flex!important;align-items:center!important;gap:9px!important;flex-wrap:wrap!important}
#fx-mllm-app .fx-msg-head>small{margin-left:auto!important}
#fx-mllm-app .fx-stream-skip{min-height:28px!important;margin-left:2px!important;padding:4px 9px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:var(--surface)!important;color:var(--text2)!important;font-size:.67rem!important;font-weight:700!important;cursor:pointer!important}
#fx-mllm-app .fx-stream-skip:hover{border-color:color-mix(in srgb,var(--wine) 38%,var(--line))!important;background:var(--wineSoft)!important;color:var(--wine)!important}
#fx-mllm-app .fx-stream-after[hidden]{display:none!important}
#fx-mllm-app .fx-msg-body.fx-streaming{min-height:1.7em!important}
#fx-mllm-app .fx-stream-cursor{display:inline-block!important;width:2px!important;height:1.05em!important;margin-left:2px!important;vertical-align:-.12em!important;border-radius:2px!important;background:var(--wine)!important;animation:fxStreamCursor .72s steps(1,end) infinite!important}
#fx-mllm-app .fx-stream-wait{display:inline!important;margin:0!important;color:var(--muted)!important;font-size:.78rem!important;font-style:italic!important}
@keyframes fxStreamCursor{0%,45%{opacity:1}46%,100%{opacity:.12}}
@media(prefers-reduced-motion:reduce){#fx-mllm-app .fx-stream-cursor{animation:none!important}}

/* 2.10.1: a resposta progressiva nunca deixa o corpo visualmente vazio. */
.fx-message-progressive .fx-msg-body:empty::before{content:"Escrevendo a resposta…";opacity:.68;font-style:italic}


/* ANIA 2.10.2 — progresso contínuo e resposta mais rápida */
#fx-mllm-app .fx-online{max-width:min(48vw,520px)!important;overflow:hidden!important;text-overflow:ellipsis!important}
#fx-mllm-app .fx-online span,#fx-mllm-app #fx-status{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#fx-mllm-app .fx-processing{position:sticky!important;bottom:calc(var(--composer-clearance) + 12px)!important;z-index:12!important;margin-top:18px!important;pointer-events:none!important}
#fx-mllm-app .fx-processing-card{pointer-events:auto!important;box-shadow:0 14px 42px rgba(24,24,27,.13)!important;background:color-mix(in srgb,var(--surface) 96%,transparent)!important;backdrop-filter:blur(14px)!important}
#fx-mllm-app .fx-processing-steps{max-height:176px!important;overflow:auto!important;scrollbar-width:thin!important}
#fx-mllm-app .fx-processing-title strong{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#fx-mllm-app .fx-processing-background{font-weight:600!important}
@media(max-width:680px){#fx-mllm-app .fx-processing{bottom:calc(var(--composer-clearance) + 6px)!important}#fx-mllm-app .fx-processing-card{min-width:0!important;width:100%!important}}


/* ANIA 2.10.3 status below last response and chart rendering fixes */
#fx-mllm-app .fx-processing{position:relative!important;bottom:auto!important;z-index:2!important;margin:18px 0 0!important;pointer-events:auto!important}
#fx-mllm-app .fx-processing-card{max-width:min(620px,calc(100vw - 96px))!important;box-shadow:0 10px 28px rgba(24,24,27,.08)!important;background:var(--surface)!important;backdrop-filter:none!important}
#fx-mllm-app .fx-processing-complete .fx-processing-card{border-color:rgba(0,153,51,.24)!important;background:color-mix(in srgb,var(--surface) 96%,#ecfdf5)!important}
#fx-mllm-app .fx-processing-error .fx-processing-card{border-color:rgba(143,0,0,.24)!important;background:color-mix(in srgb,var(--surface) 96%,#fef2f2)!important}
#fx-mllm-app .fx-processing-complete .fx-processing-title strong{color:var(--green)!important}
#fx-mllm-app .fx-processing-error .fx-processing-title strong{color:var(--wine)!important}
#fx-mllm-app .fx-processing .fx-pulse.done{background:var(--green)!important;box-shadow:0 0 0 6px rgba(0,153,51,.12)!important;animation:none!important}
#fx-mllm-app .fx-processing-complete .fx-processing-steps li:last-child span{color:var(--green)!important}
#fx-mllm-app .fx-processing-error .fx-processing-steps li:last-child span{color:var(--wine)!important}
@media(max-width:680px){#fx-mllm-app .fx-processing-card{max-width:calc(100vw - 76px)!important;width:100%!important;min-width:0!important}}

/* ANIA 2.10.4 performance: faster polling and reduced progressive-render duration are controlled in app.js. */

/* ANIA 2.10.7 — new official ANIA PRO identity assets */
#fx-mllm-app .fx-brand.fx-brand-debug{min-height:68px!important;padding:0 0 8px!important;background:transparent!important;border:0!important;box-shadow:none!important}
#fx-mllm-app .fx-welcome-mark{width:216px!important;height:216px!important;padding:8px!important;border-radius:32px!important}
#fx-mllm-app .fx-welcome-logo{width:200px!important;height:200px!important;border-radius:27px!important;object-fit:contain!important}
.fx-auth-screen .fx-auth-mark{width:246px!important;height:246px!important;border-radius:34px!important}
.fx-auth-screen .fx-auth-mark img{width:230px!important;height:230px!important;border-radius:28px!important;object-fit:contain!important}
#fx-mllm-app .fx-user-institution{margin-top:4px!important}
#fx-mllm-app .fx-user-institution img{width:178px!important;height:46px!important;object-fit:contain!important}
@media(max-width:680px){
  #fx-mllm-app .fx-welcome-mark{width:174px!important;height:174px!important;border-radius:27px!important}
  #fx-mllm-app .fx-welcome-logo{width:160px!important;height:160px!important;border-radius:22px!important}
  .fx-auth-screen .fx-auth-mark{width:204px!important;height:204px!important}
  .fx-auth-screen .fx-auth-mark img{width:190px!important;height:190px!important}
}




/* logout controls — ANIA 2.26.2 */
#fx-mllm-app .ania-logout-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;color:var(--text)!important;text-decoration:none!important;line-height:1!important;transition:background-color .16s ease,color .16s ease,border-color .16s ease,transform .16s ease!important}
#fx-mllm-app .ania-logout-button__icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important}
#fx-mllm-app .ania-icon--logout{display:block!important;width:19px!important;height:19px!important;overflow:visible!important}
#fx-mllm-app .ania-logout-button__label{font-size:.72rem!important;font-weight:700!important;white-space:nowrap!important}
#fx-mllm-app .ania-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#fx-mllm-app .fx-logout-inline{min-width:44px!important;min-height:36px!important;padding:7px 10px!important;margin-left:4px!important;border-radius:11px!important;border:1px solid rgba(0,0,0,.08)!important;background:rgba(0,0,0,.03)!important;color:var(--muted)!important}
#fx-mllm-app .fx-logout-inline:hover{background:rgba(143,0,0,.08)!important;color:var(--wine)!important;border-color:rgba(143,0,0,.24)!important}
#fx-mllm-app .fx-user-meta{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}
#fx-mllm-app .fx-top-logout{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;padding:0!important;border-radius:13px!important;border:1px solid var(--line)!important;background:var(--surface)!important;color:var(--text)!important;margin-left:2px!important}
#fx-mllm-app .fx-top-logout:hover{background:var(--side)!important;color:var(--wine)!important;border-color:rgba(143,0,0,.2)!important;transform:translateY(-1px)!important}
#fx-mllm-app .ania-logout-button:focus-visible{outline:3px solid rgba(143,0,0,.25)!important;outline-offset:2px!important}
#fx-mllm-app.sidebar-collapsed .fx-logout-inline{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;padding:0!important;margin:0 auto!important;border-radius:14px!important}
#fx-mllm-app.sidebar-collapsed .fx-logout-inline .ania-logout-button__label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
#fx-mllm-app.sidebar-collapsed .fx-logout-inline .ania-icon--logout{width:21px!important;height:21px!important}
@media(max-width:680px){#fx-mllm-app .fx-top-logout{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}}

/* ANIA 2.10.16 login overrides */
.fx-auth-screen{min-height:100vh!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:32px 20px!important;background:radial-gradient(120% 120% at 20% 15%,rgba(255,199,139,.32),transparent),radial-gradient(80% 80% at 85% 0%,rgba(120,168,255,.22),transparent),#f5f6f8!important;font-family:Inter,-apple-system,BlinkMacSystemFont,\"Segoe UI\",Arial,sans-serif!important;color:#1f1f1f!important}
.fx-auth-screen .fx-auth-card{width:min(1040px,100%)!important;background:rgba(255,255,255,.9)!important;border:1px solid rgba(255,255,255,.7)!important;box-shadow:0 30px 90px rgba(0,0,0,.12)!important;border-radius:28px!important;backdrop-filter:blur(18px)!important;display:grid!important;grid-template-columns:1fr!important;gap:24px!important;padding:28px 28px 34px!important}
.fx-auth-screen .fx-auth-logos{display:flex!important;align-items:center!important;gap:26px!important;justify-content:center!important;flex-wrap:wrap!important}
.fx-auth-screen .fx-logo-ania{display:block!important;width:320px!important;max-width:92vw!important}
.fx-auth-screen .fx-logo-ania img{width:100%!important;height:auto!important;object-fit:contain!important}
.fx-auth-screen .fx-logo-divider{width:1px!important;height:72px!important;background:linear-gradient(180deg,#d7d8de 0,#9ea0ab 50%,#d7d8de 100%)!important;opacity:.65!important}
.fx-auth-screen .fx-logo-tcesp{height:88px!important;width:auto!important;max-width:92vw!important;object-fit:contain!important;filter:drop-shadow(0 10px 26px rgba(0,0,0,.07))!important}
.fx-auth-screen .fx-auth-tagline{margin:0!important;font-size:15px!important;letter-spacing:.02em!important;color:#3b3c45!important}
.fx-auth-version{display:block!important;margin-top:4px!important;font-size:12px!important;color:#777!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.fx-auth-actions{display:flex!important;flex-direction:column!important;gap:12px!important;width:100%!important;max-width:520px!important;margin:0 auto!important}
.fx-auth-actions a{width:100%!important;border:1px solid rgba(0,0,0,.06)!important;border-radius:14px!important;min-height:50px!important;font-weight:700!important;font-size:15px!important;box-shadow:0 14px 36px rgba(0,0,0,.08)!important;transition:transform .16s ease,box-shadow .16s ease!important;text-align:center!important}
.fx-auth-actions a:hover{transform:translateY(-1px)!important;box-shadow:0 18px 44px rgba(0,0,0,.12)!important}
.fx-g-symbol{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 18px!important;width:18px!important;height:18px!important}.fx-g-symbol svg{display:block!important;width:18px!important;height:18px!important}
.fx-auth-google{background:linear-gradient(135deg,#fff,#f7f8fb)!important;color:#1f1f1f!important}
.fx-auth-microsoft{background:linear-gradient(135deg,#f9fafb,#eef1f6)!important;color:#1f1f1f!important}
.fx-auth-local{background:linear-gradient(135deg,#1f1f22,#111113)!important;color:#fff!important}
.fx-auth-features{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important;gap:12px!important;margin-top:8px!important;color:#1f1f1f!important}
.fx-auth-feature{padding:12px!important;border:1px solid rgba(0,0,0,.04)!important;border-radius:14px!important;background:rgba(255,255,255,.75)!important;box-shadow:0 10px 26px rgba(0,0,0,.06)!important}
.fx-auth-feature span{display:inline-block!important;font-weight:800!important;color:#c7794e!important;margin-bottom:4px!important}
.fx-auth-feature strong{display:block!important;margin-bottom:4px!important;font-size:.95rem!important;color:#1f1f1f!important}
.fx-auth-feature small{display:block!important;color:#55576a!important;line-height:1.35!important}
@media(max-width:860px){.fx-auth-screen{padding:18px!important}.fx-auth-screen .fx-auth-card{padding:22px 18px!important}.fx-auth-screen .fx-auth-logos{flex-direction:column!important;gap:12px!important}.fx-auth-screen .fx-logo-divider{display:none!important}.fx-auth-actions{max-width:100%!important}}

/* ANIA 2.13.0 - biblioteca colaborativa de comandos */
#fx-mllm-app .fx-nav-badge{display:inline-grid!important;place-items:center!important;min-width:20px!important;height:20px!important;margin-left:auto!important;padding:0 6px!important;border-radius:999px!important;background:var(--wine)!important;color:#fff!important;font-size:.65rem!important;font-weight:800!important}
#fx-mllm-app .fx-nav-badge[hidden]{display:none!important}
#fx-mllm-app .fx-command-tabs{display:flex!important;gap:7px!important;overflow:auto!important;margin:0 0 12px!important;padding:2px 0 8px!important;scrollbar-width:thin!important}
#fx-mllm-app .fx-command-tabs button{min-height:34px!important;flex:0 0 auto!important;border:1px solid var(--line)!important;border-radius:999px!important;background:var(--surface)!important;color:var(--text2)!important;padding:6px 11px!important;font-size:.7rem!important;font-weight:700!important}
#fx-mllm-app .fx-command-tabs button.active{border-color:var(--wine)!important;background:var(--wineSoft)!important;color:var(--wine)!important}
#fx-mllm-app .fx-command-notifications{display:grid!important;gap:7px!important;margin:0 0 12px!important;padding:10px!important;border:1px solid color-mix(in srgb,var(--wine) 24%,var(--line))!important;border-radius:14px!important;background:var(--wineSoft)!important}
#fx-mllm-app .fx-command-notifications[hidden]{display:none!important}
#fx-mllm-app .fx-command-notifications article{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;padding:8px!important;border-radius:10px!important;background:var(--surface)!important}
#fx-mllm-app .fx-command-notifications strong,#fx-mllm-app .fx-command-notifications p,#fx-mllm-app .fx-command-notifications small{display:block!important;margin:0!important}
#fx-mllm-app .fx-command-notifications p{margin-top:3px!important;color:var(--text2)!important;font-size:.72rem!important}
#fx-mllm-app .fx-command-notifications small{margin-top:3px!important;color:var(--muted)!important;font-size:.62rem!important}
#fx-mllm-app .fx-command-notifications button{flex:0 0 auto!important;border:0!important;background:transparent!important;color:var(--wine)!important;font-size:.66rem!important;font-weight:700!important}
#fx-mllm-app #fx-prompt-library{display:grid!important;gap:10px!important}
#fx-mllm-app .fx-command-card{display:grid!important;gap:9px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--surface)!important;padding:14px!important;box-shadow:0 5px 18px rgba(24,24,27,.04)!important}
#fx-mllm-app .fx-command-card.status-changes_requested{border-color:#d97706!important;background:color-mix(in srgb,var(--surface) 96%,#fff7ed)!important}
#fx-mllm-app .fx-command-card.status-submitted,#fx-mllm-app .fx-command-card.status-under_review{border-color:#2563eb!important;background:color-mix(in srgb,var(--surface) 96%,#eff6ff)!important}
#fx-mllm-app .fx-command-card.status-published{border-color:rgba(0,153,51,.34)!important}
#fx-mllm-app .fx-command-card header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important}
#fx-mllm-app .fx-command-card header strong{display:block!important;margin-top:5px!important;color:var(--text)!important;font-size:.9rem!important}
#fx-mllm-app .fx-command-status{display:inline-flex!important;width:max-content!important;border-radius:999px!important;background:var(--side)!important;color:var(--text2)!important;padding:3px 7px!important;font-size:.62rem!important;font-weight:800!important}
#fx-mllm-app .fx-command-card.status-published .fx-command-status{background:#e8f7ee!important;color:#116329!important}
#fx-mllm-app .fx-command-card.status-submitted .fx-command-status,#fx-mllm-app .fx-command-card.status-under_review .fx-command-status{background:#eff6ff!important;color:#1d4ed8!important}
#fx-mllm-app .fx-command-card.status-changes_requested .fx-command-status{background:#fff4ce!important;color:#7c4a03!important}
#fx-mllm-app .fx-command-card>p{margin:0!important;color:var(--text2)!important;font-size:.78rem!important}
#fx-mllm-app .fx-command-purpose{color:var(--muted)!important;font-size:.7rem!important}
#fx-mllm-app .fx-command-meta{display:flex!important;flex-wrap:wrap!important;gap:5px!important}
#fx-mllm-app .fx-command-meta span{border-radius:999px!important;background:var(--side)!important;color:var(--muted)!important;padding:3px 7px!important;font-size:.62rem!important}
#fx-mllm-app .fx-command-risk{color:#9a3412!important;font-size:.66rem!important}
#fx-mllm-app .fx-command-card footer{display:flex!important;flex-wrap:wrap!important;gap:6px!important;padding-top:7px!important;border-top:1px solid var(--line)!important}
#fx-mllm-app .fx-command-card footer button,#fx-mllm-app .fx-command-use{min-height:31px!important;border:1px solid var(--line)!important;border-radius:9px!important;background:var(--surface)!important;color:var(--text2)!important;padding:5px 9px!important;font-size:.66rem!important;font-weight:700!important}
#fx-mllm-app .fx-command-card footer button.primary{border-color:var(--wine)!important;background:var(--wine)!important;color:#fff!important}
#fx-mllm-app .fx-command-card footer button.danger{color:#b91c1c!important}
#fx-mllm-app .fx-command-use{width:34px!important;padding:0!important;color:var(--wine)!important}
@media(max-width:680px){#fx-mllm-app .fx-command-card footer button{flex:1 1 44%!important}#fx-mllm-app .fx-command-notifications article{display:block!important}#fx-mllm-app .fx-command-notifications button{margin-top:6px!important;padding:0!important}}

/* ANIA 2.14.0 — chats organizados por projetos */
#fx-mllm-app .fx-title-stack{display:grid!important;min-width:0!important;max-width:min(360px,100%)!important}
#fx-mllm-app .fx-title-stack>input{width:100%!important}
#fx-mllm-app .fx-title-meta{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important}
#fx-mllm-app .fx-current-project{display:inline-flex!important;align-items:center!important;min-width:0!important;max-width:230px!important;margin:0!important;padding:1px 7px!important;border:0!important;border-radius:999px!important;background:var(--wineSoft)!important;color:var(--wine)!important;font-size:.62rem!important;font-weight:750!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
#fx-mllm-app .fx-current-project:hover{filter:brightness(.97)!important}
.fx-global-context-menu button>span:nth-child(2){display:grid!important;min-width:0!important}
.fx-global-context-menu button small{display:block!important;max-width:190px!important;margin-top:1px!important;color:var(--muted,#71717a)!important;font-size:10px!important;font-weight:500!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
.fx-global-context-menu .fx-context-separator{display:block!important;height:1px!important;margin:4px 5px!important;background:var(--line,#e4e4e7)!important}
#fx-mllm-app .fx-toast{display:flex!important;align-items:center!important;gap:12px!important}
#fx-mllm-app .fx-toast.show{pointer-events:auto!important}
#fx-mllm-app .fx-toast>span{min-width:0!important;flex:1 1 auto!important}
#fx-mllm-app .fx-toast>button{flex:0 0 auto!important;min-height:32px!important;padding:5px 10px!important;border:1px solid rgba(255,255,255,.32)!important;border-radius:9px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;font-weight:750!important}
#fx-mllm-app .fx-project-move-card{width:min(620px,100%)!important}
#fx-mllm-app .fx-project-move-current{margin:0 0 12px!important;padding:9px 11px!important;border-radius:12px!important;background:var(--side)!important;color:var(--text2)!important;font-size:.75rem!important}
#fx-mllm-app .fx-project-move-search{margin-bottom:12px!important}
#fx-mllm-app .fx-project-move-list{display:grid!important;gap:6px!important;max-height:min(52vh,460px)!important;overflow:auto!important;padding:2px!important;transition:opacity .16s ease!important}
#fx-mllm-app .fx-project-move-list.loading{opacity:.52!important;pointer-events:none!important}
#fx-mllm-app .fx-project-move-option{width:100%!important;min-height:62px!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:10px 12px!important;border:1px solid var(--line)!important;border-radius:15px!important;background:var(--surface)!important;color:var(--text)!important;text-align:left!important;transition:background .16s ease,border-color .16s ease,transform .16s ease!important}
#fx-mllm-app .fx-project-move-option:hover,#fx-mllm-app .fx-project-move-option:focus-visible{background:var(--side)!important;border-color:color-mix(in srgb,var(--wine) 34%,var(--line))!important;transform:translateY(-1px)!important}
#fx-mllm-app .fx-project-move-option.current{background:var(--wineSoft)!important;border-color:color-mix(in srgb,var(--wine) 34%,var(--line))!important}
#fx-mllm-app .fx-project-move-option>span:nth-child(2){display:grid!important;min-width:0!important}
#fx-mllm-app .fx-project-move-option strong,#fx-mllm-app .fx-project-move-option small{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#fx-mllm-app .fx-project-move-option strong{font-size:.8rem!important}
#fx-mllm-app .fx-project-move-option small{color:var(--muted)!important;font-size:.67rem!important}
#fx-mllm-app .fx-project-move-option>b{padding:3px 7px!important;border-radius:999px!important;background:var(--surface)!important;color:var(--wine)!important;font-size:.6rem!important}
#fx-mllm-app .fx-project-move-icon{width:34px!important;height:34px!important;display:grid!important;place-items:center!important;border-radius:11px!important;background:var(--side)!important;color:var(--wine)!important}
#fx-mllm-app .fx-project-move-create{width:100%!important;margin-top:12px!important}
#fx-mllm-app .fx-project-loading{min-height:92px!important;display:grid!important;place-items:center!important;color:var(--muted)!important;font-size:.75rem!important}
#fx-mllm-app .fx-project-panel-actions{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;margin-bottom:10px!important}
#fx-mllm-app .fx-project-panel-actions .fx-primary,#fx-mllm-app .fx-project-panel-actions .fx-secondary{min-height:40px!important;padding:7px 10px!important;font-size:.72rem!important}
#fx-mllm-app .fx-project-entry.archived{opacity:.72!important}
#fx-mllm-app .fx-project-entry .fx-project strong,#fx-mllm-app .fx-project-entry .fx-project small{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#fx-mllm-app .fx-project-entry .fx-project small{margin-top:3px!important;color:var(--muted)!important;font-size:.65rem!important}
#fx-mllm-app .fx-project-detail{margin-top:14px!important;padding-top:14px!important;border-top:1px solid var(--line)!important}
#fx-mllm-app .fx-project-detail>header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:start!important;gap:10px!important;margin-bottom:10px!important}
#fx-mllm-app .fx-project-detail>header span{color:var(--wine)!important;font-size:.6rem!important;font-weight:800!important;letter-spacing:.06em!important;text-transform:uppercase!important}
#fx-mllm-app .fx-project-detail h3{margin:2px 0 2px!important;color:var(--text)!important;font-size:1rem!important}
#fx-mllm-app .fx-project-detail p{margin:0!important;color:var(--muted)!important;font-size:.68rem!important;line-height:1.45!important}
#fx-mllm-app .fx-project-detail>header .fx-primary{min-height:38px!important;padding:7px 10px!important;font-size:.7rem!important}
#fx-mllm-app .fx-project-counts{display:flex!important;gap:7px!important;margin:0 0 10px!important}
#fx-mllm-app .fx-project-counts span{flex:1!important;padding:8px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--surface)!important;color:var(--muted)!important;font-size:.64rem!important;text-align:center!important}
#fx-mllm-app .fx-project-counts strong{display:block!important;color:var(--text)!important;font-size:.9rem!important}
#fx-mllm-app .fx-project-chat-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) 92px 132px!important;gap:6px!important;margin-bottom:9px!important}
#fx-mllm-app .fx-project-chat-toolbar input,#fx-mllm-app .fx-project-chat-toolbar select{width:100%!important;min-height:38px!important;padding:7px 9px!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--surface)!important;color:var(--text)!important;font-size:.68rem!important}
#fx-mllm-app .fx-project-chats{display:grid!important;gap:6px!important}
#fx-mllm-app .fx-project-chat{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;align-items:center!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--surface)!important;overflow:visible!important}
#fx-mllm-app .fx-project-chat.archived{opacity:.7!important}
#fx-mllm-app .fx-project-chat-open{min-width:0!important;min-height:70px!important;display:grid!important;gap:2px!important;padding:10px 8px 10px 11px!important;border:0!important;background:transparent!important;color:var(--text)!important;text-align:left!important}
#fx-mllm-app .fx-project-chat-open strong,#fx-mllm-app .fx-project-chat-open small,#fx-mllm-app .fx-project-chat-open span{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#fx-mllm-app .fx-project-chat-open strong{font-size:.76rem!important}
#fx-mllm-app .fx-project-chat-open small{color:var(--text2)!important;font-size:.64rem!important}
#fx-mllm-app .fx-project-chat-open span{color:var(--muted)!important;font-size:.59rem!important}
#fx-mllm-app .fx-project-chat>.fx-item-more{position:static!important;justify-self:center!important}
#fx-mllm-app .fx-project-chat-empty{min-height:180px!important}
#fx-mllm-app .fx-project-chat-empty button{margin-top:12px!important}
#fx-mllm-app .fx-project-pagination{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-top:8px!important}
#fx-mllm-app .fx-project-pagination button{min-height:34px!important;padding:6px 9px!important;border:1px solid var(--line)!important;border-radius:10px!important;background:var(--surface)!important;color:var(--text)!important;font-size:.65rem!important}
#fx-mllm-app .fx-project-pagination span{color:var(--muted)!important;font-size:.62rem!important}
@media(max-width:940px){#fx-mllm-app .fx-current-project{max-width:170px!important}}
@media(max-width:680px){#fx-mllm-app .fx-title-stack{max-width:calc(100vw - 76px)!important}#fx-mllm-app .fx-title-meta{display:none!important}#fx-mllm-app .fx-project-move-card{max-height:94vh!important}#fx-mllm-app .fx-project-move-list{max-height:55vh!important}#fx-mllm-app .fx-project-chat-toolbar{grid-template-columns:1fr 1fr!important}#fx-mllm-app .fx-project-chat-toolbar label{grid-column:1/-1!important}#fx-mllm-app .fx-project-panel-actions{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){#fx-mllm-app .fx-project-move-option{transition:none!important}}

.fx-global-context-menu .fx-context-readonly{display:block!important;padding:10px 12px!important;color:var(--muted,#71717a)!important;font-size:11px!important;line-height:1.4!important}

#fx-mllm-app .fx-project-move-more{width:100%!important;min-height:38px!important;margin-top:4px!important}

/* ANIA 2.16.0 - identidade e metadados do card de execução */
#fx-mllm-app .fx-msg-avatar-brand{padding:5px!important;background:color-mix(in srgb,var(--surface) 92%,transparent)!important;border:1px solid var(--line)!important;box-shadow:0 6px 18px rgba(24,24,27,.08)!important;overflow:hidden!important}
#fx-mllm-app .fx-ania-icon{display:grid!important;place-items:center!important;width:100%!important;height:100%!important}
#fx-mllm-app .fx-ania-icon img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important}
#fx-mllm-app .fx-ania-icon-fallback{display:grid!important;place-items:center!important;width:100%!important;height:100%!important;font-weight:800!important}
#fx-mllm-app .fx-processing-model{margin:5px 0 8px 15px!important;color:var(--muted)!important;font-size:.72rem!important;font-weight:650!important;line-height:1.35!important;overflow-wrap:anywhere!important}
#fx-mllm-app .fx-processing-card:focus-visible{outline:3px solid color-mix(in srgb,var(--wine) 38%,transparent)!important;outline-offset:3px!important}
@media(max-width:680px){#fx-mllm-app .fx-processing{align-items:flex-start!important}#fx-mllm-app .fx-processing>.fx-msg-avatar{flex:0 0 34px!important;width:34px!important;height:34px!important}#fx-mllm-app .fx-processing-card{max-width:calc(100% - 44px)!important}#fx-mllm-app .fx-processing-model{margin-left:0!important}}
@media(prefers-reduced-motion:reduce){#fx-mllm-app .fx-pulse{animation:none!important}}

/* ANIA 2.18.0 — projetos como pastas na barra lateral */
#fx-mllm-app .fx-sidebar-projects{min-height:0!important;margin-top:8px!important;border-top:1px solid var(--line)!important;padding-top:8px!important}
#fx-mllm-app .fx-sidebar-projects-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:5px 8px!important;color:var(--muted)!important;font-size:.69rem!important;font-weight:780!important;text-transform:uppercase!important;letter-spacing:.06em!important}
#fx-mllm-app .fx-sidebar-projects-heading button{width:30px!important;height:30px!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--text2)!important;font-size:1rem!important}
#fx-mllm-app .fx-sidebar-projects-heading button:hover,#fx-mllm-app .fx-sidebar-projects-heading button:focus-visible{background:var(--wineSoft)!important;color:var(--wine)!important}
#fx-mllm-app .fx-sidebar-project-list{display:grid!important;gap:3px!important;max-height:42vh!important;overflow:auto!important;padding:1px 2px 8px!important}
#fx-mllm-app .fx-sidebar-project{min-width:0!important;border-radius:13px!important}
#fx-mllm-app .fx-sidebar-project-row{display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;align-items:center!important;gap:2px!important}
#fx-mllm-app .fx-sidebar-project-toggle{display:flex!important;align-items:center!important;gap:7px!important;width:100%!important;min-width:0!important;min-height:38px!important;padding:7px 7px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:var(--text)!important;text-align:left!important}
#fx-mllm-app .fx-sidebar-project-toggle:hover,#fx-mllm-app .fx-sidebar-project-toggle:focus-visible{background:var(--side)!important;outline:2px solid transparent!important}
#fx-mllm-app .fx-project-chevron{display:inline-grid!important;place-items:center!important;width:14px!important;color:var(--muted)!important;font-size:1rem!important;transition:transform .18s ease!important}
#fx-mllm-app .fx-sidebar-project.expanded .fx-project-chevron{transform:rotate(90deg)!important}
#fx-mllm-app .fx-project-folder{color:var(--wine)!important;font-size:1rem!important}
#fx-mllm-app .fx-project-name{min-width:0!important;flex:1!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:.75rem!important;font-weight:720!important}
#fx-mllm-app .fx-project-count{min-width:22px!important;color:var(--muted)!important;font-size:.64rem!important;text-align:right!important}
#fx-mllm-app .fx-sidebar-project-children{display:grid!important;gap:2px!important;padding:2px 0 5px 21px!important}
#fx-mllm-app .fx-sidebar-chat.nested{margin:0!important}
#fx-mllm-app .fx-sidebar-chat.nested .fx-history-item{min-height:36px!important;padding-left:8px!important;border-left:2px solid var(--line)!important;border-radius:9px!important}
#fx-mllm-app .fx-sidebar-chat.active .fx-history-item{background:var(--wineSoft)!important;color:var(--wine)!important;border-color:var(--wine)!important}
#fx-mllm-app .fx-sidebar-project-state{padding:8px 10px!important;color:var(--muted)!important;font-size:.68rem!important;line-height:1.35!important}
#fx-mllm-app .fx-sidebar-project-state button{margin-left:4px!important;border:0!important;background:transparent!important;color:var(--wine)!important;font-weight:750!important}
#fx-mllm-app .fx-sidebar-project-state.error{color:#b42318!important}
#fx-mllm-app.sidebar-collapsed .fx-sidebar-projects,#fx-mllm-app.sidebar-collapsed .fx-sidebar-section{display:none!important}
@media(max-width:940px){#fx-mllm-app .fx-sidebar-project-list{max-height:38vh!important}.fx-global-context-menu{max-width:calc(100vw - 20px)!important}}
@media(max-width:430px){#fx-mllm-app .fx-sidebar-project-children{padding-left:15px!important}#fx-mllm-app .fx-sidebar-project-toggle{min-height:44px!important}#fx-mllm-app .fx-sidebar-project-row>.fx-item-more{width:40px!important;height:40px!important}}
@media(prefers-reduced-motion:reduce){#fx-mllm-app .fx-project-chevron{transition:none!important}}

/* ANIA 2.19.0 — identidade oficial transparente enviada pelo usuário */
#fx-mllm-app .ania-brand,
.fx-auth-screen .ania-brand{display:block!important;max-width:100%!important;background:transparent!important;line-height:0!important}
#fx-mllm-app .ania-brand img,
.fx-auth-screen .ania-brand img{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important;object-position:center!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important}
#fx-mllm-app .fx-brand.fx-brand-debug{min-height:66px!important;padding:4px 0 10px!important;overflow:visible!important}
#fx-mllm-app .ania-brand--sidebar{width:232px!important;max-width:100%!important}
#fx-mllm-app .ania-brand--symbol{width:44px!important;height:44px!important}
#fx-mllm-app .fx-welcome-mark{width:min(260px,58vw)!important;height:auto!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important}
#fx-mllm-app .ania-brand--hero{width:100%!important}
#fx-mllm-app .fx-welcome-logo{width:100%!important;height:auto!important;max-height:290px!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;object-fit:contain!important}
.fx-auth-screen .ania-brand--login{width:min(360px,82vw)!important}
.fx-auth-screen .fx-logo-ania img{width:100%!important;height:auto!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;object-fit:contain!important}
#fx-mllm-app .fx-msg-avatar-brand{padding:5px!important}
#fx-mllm-app .fx-ania-icon img{border-radius:0!important;background:transparent!important;box-shadow:none!important}
@media(max-width:940px){#fx-mllm-app .ania-brand--sidebar{width:218px!important}}
@media(max-width:680px){
  #fx-mllm-app .fx-welcome-mark{width:min(220px,64vw)!important}
  #fx-mllm-app .fx-welcome-logo{max-height:240px!important}
  .fx-auth-screen .ania-brand--login{width:min(300px,86vw)!important}
}
@media(max-width:430px){
  #fx-mllm-app .fx-welcome-mark{width:min(190px,68vw)!important}
  #fx-mllm-app .fx-welcome-logo{max-height:210px!important}
}
@media(prefers-reduced-motion:reduce){#fx-mllm-app .ania-brand img,.fx-auth-screen .ania-brand img{transition:none!important}}

/* Sidebar viewport architecture: fixed header, one scrollable center, persistent footer. */
#fx-mllm-app .fx-sidebar{
  height:100vh!important;
  height:100dvh!important;
  min-height:0!important;
  overflow:hidden!important;
}
#fx-mllm-app .fx-sidebar>.fx-brand,
#fx-mllm-app .fx-sidebar>.fx-brand-line,
#fx-mllm-app .fx-sidebar>.fx-new,
#fx-mllm-app .fx-sidebar>.fx-search,
#fx-mllm-app .fx-sidebar>.fx-nav{
  flex:0 0 auto!important;
}
#fx-mllm-app .fx-sidebar-scroll{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  overscroll-behavior:contain!important;
  scrollbar-gutter:stable!important;
  scrollbar-width:thin!important;
  scrollbar-color:rgba(60,60,67,.28) transparent!important;
  padding:0 3px 8px 0!important;
}
#fx-mllm-app .fx-sidebar-scroll::-webkit-scrollbar{width:6px!important;height:6px!important}
#fx-mllm-app .fx-sidebar-scroll::-webkit-scrollbar-track{background:transparent!important}
#fx-mllm-app .fx-sidebar-scroll::-webkit-scrollbar-thumb{background:rgba(60,60,67,.22)!important;border-radius:999px!important;border:1px solid transparent!important;background-clip:padding-box!important}
#fx-mllm-app .fx-sidebar-scroll:hover::-webkit-scrollbar-thumb,
#fx-mllm-app .fx-sidebar-scroll:focus-visible::-webkit-scrollbar-thumb{background:rgba(60,60,67,.4)!important;background-clip:padding-box!important}
#fx-mllm-app.dark .fx-sidebar-scroll{scrollbar-color:rgba(235,235,245,.3) transparent!important}
#fx-mllm-app.dark .fx-sidebar-scroll::-webkit-scrollbar-thumb{background:rgba(235,235,245,.24)!important;background-clip:padding-box!important}
#fx-mllm-app.dark .fx-sidebar-scroll:hover::-webkit-scrollbar-thumb,
#fx-mllm-app.dark .fx-sidebar-scroll:focus-visible::-webkit-scrollbar-thumb{background:rgba(235,235,245,.4)!important;background-clip:padding-box!important}
#fx-mllm-app .fx-sidebar-section,
#fx-mllm-app .fx-history,
#fx-mllm-app .fx-sidebar-projects,
#fx-mllm-app .fx-sidebar-project-list{
  min-height:0!important;
  overflow:visible!important;
}
#fx-mllm-app .fx-sidebar-bottom{
  flex:0 0 auto!important;
  min-height:0!important;
  margin-top:0!important;
  padding-top:10px!important;
  padding-bottom:max(0px,env(safe-area-inset-bottom))!important;
  background:var(--side)!important;
  position:relative!important;
  z-index:4!important;
}
#fx-mllm-app .fx-user-institution{min-height:34px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
#fx-mllm-app .fx-user-institution img{display:block!important;max-width:100%!important;max-height:34px!important;width:auto!important;height:auto!important;object-fit:contain!important}
@media(max-height:720px){
  #fx-mllm-app .fx-sidebar{padding-top:10px!important;padding-bottom:8px!important}
  #fx-mllm-app .fx-brand.fx-brand-debug{min-height:54px!important;padding-bottom:5px!important}
  #fx-mllm-app .fx-brand-line{margin-bottom:8px!important}
  #fx-mllm-app .fx-search{margin-top:8px!important;margin-bottom:6px!important}
  #fx-mllm-app .fx-nav{margin-bottom:6px!important}
  #fx-mllm-app .fx-sidebar-bottom{padding-top:7px!important}
  #fx-mllm-app .fx-user{padding-top:5px!important;padding-bottom:5px!important}
  #fx-mllm-app .fx-user-institution img{max-height:28px!important}
}
@media(max-width:940px){
  #fx-mllm-app .fx-sidebar{height:100vh!important;height:100dvh!important;padding-bottom:max(10px,env(safe-area-inset-bottom))!important}
  #fx-mllm-app .fx-sidebar-scroll{scrollbar-gutter:auto!important}
}
@media(prefers-reduced-motion:reduce){#fx-mllm-app .fx-sidebar-scroll{scroll-behavior:auto!important}}

/* Dynamic viewport and WordPress admin-bar offsets, scoped to the ANIA application. */
#fx-mllm-app{
  height:100vh!important;
  height:100dvh!important;
  min-height:0!important;
}
#fx-mllm-app .fx-layout,
#fx-mllm-app .fx-sidebar,
#fx-mllm-app .fx-main,
#fx-mllm-app .fx-panel{
  height:100%!important;
  min-height:0!important;
}
body.admin-bar #fx-mllm-app{
  height:calc(100vh - 32px)!important;
  height:calc(100dvh - 32px)!important;
}
@media(max-width:782px){
  body.admin-bar #fx-mllm-app{
    height:calc(100vh - 46px)!important;
    height:calc(100dvh - 46px)!important;
  }
}

/* ANIA 2.19.2 — um contexto, uma variante, um elemento renderizado */
#fx-mllm-app .fx-brand.fx-brand-debug{display:flex!important;align-items:center!important;justify-content:flex-start!important;min-height:66px!important;padding:4px 0 10px!important;overflow:visible!important}
#fx-mllm-app .fx-ania-brand-image{display:block!important;width:232px!important;max-width:100%!important;height:auto!important;aspect-ratio:10/3!important;object-fit:contain!important;object-position:center!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#fx-mllm-app.sidebar-collapsed .fx-ania-brand-image{width:46px!important;height:46px!important;aspect-ratio:1!important;margin-inline:auto!important}
#fx-mllm-app .fx-welcome-mark{display:grid!important;place-items:center!important;width:min(190px,46vw)!important;height:auto!important;min-height:0!important;margin:0 auto 14px!important;padding:0!important;overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
#fx-mllm-app .fx-welcome-logo{display:block!important;width:100%!important;height:auto!important;max-height:245px!important;object-fit:contain!important;object-position:center!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
#fx-mllm-app .fx-ania-icon>img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
@media(max-width:680px){#fx-mllm-app .fx-welcome-mark{width:min(150px,46vw)!important}#fx-mllm-app .fx-welcome-logo{max-height:194px!important}}

/* ANIA 2.22.1 — visible clear action inside chat composer */
#fx-mllm-app .fx-prompt-field{position:relative!important;min-width:0!important}
#fx-mllm-app .fx-prompt-field textarea{padding-right:104px!important}
#fx-mllm-app .fx-clear-message{position:absolute!important;top:9px!important;right:9px!important;z-index:2!important;min-width:82px!important;height:36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:color-mix(in srgb,var(--side) 90%,transparent)!important;color:var(--text2)!important;font-size:.72rem!important;font-weight:700!important;line-height:1!important;padding:0 11px!important;box-shadow:0 1px 2px rgba(0,0,0,.04)!important;transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease!important}
#fx-mllm-app .fx-clear-message[hidden]{display:none!important}
#fx-mllm-app .fx-clear-message:hover{background:var(--surface)!important;color:var(--text)!important;border-color:color-mix(in srgb,var(--wine) 28%,var(--line))!important}
#fx-mllm-app .fx-clear-message:active{transform:scale(.96)!important}
#fx-mllm-app .fx-clear-message:focus-visible{outline:3px solid rgba(143,0,0,.28)!important;outline-offset:2px!important}
#fx-mllm-app .fx-clear-message-icon{font-size:1.15rem!important;font-weight:500!important;line-height:1!important}
#fx-mllm-app .fx-clear-message-label{font:inherit!important;white-space:nowrap!important}
#fx-mllm-app .fx-control-tooltip{position:absolute!important;right:0!important;bottom:calc(100% + 8px)!important;width:max-content!important;max-width:180px!important;padding:6px 9px!important;border:1px solid var(--line)!important;border-radius:9px!important;background:var(--text)!important;color:var(--surface)!important;font-size:.7rem!important;font-weight:650!important;line-height:1.25!important;box-shadow:0 10px 28px rgba(0,0,0,.18)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transform:translateY(3px)!important;transition:.14s ease!important}
#fx-mllm-app .fx-clear-message:hover .fx-control-tooltip,#fx-mllm-app .fx-clear-message:focus-visible .fx-control-tooltip{opacity:1!important;visibility:visible!important;transform:none!important}
#fx-mllm-app .fx-composer-confirm-card{width:min(430px,100%)!important}
#fx-mllm-app .fx-composer-confirm-card>p{margin:4px 0 18px!important;color:var(--text2)!important;line-height:1.55!important}
#fx-mllm-app .fx-modal-actions{display:flex!important;justify-content:flex-end!important;gap:9px!important;flex-wrap:wrap!important}
#fx-mllm-app .fx-modal-actions .fx-secondary,#fx-mllm-app .fx-modal-actions .fx-primary{min-height:42px!important;padding:9px 15px!important}
@media(max-width:540px){#fx-mllm-app .fx-clear-message{min-width:40px!important;width:40px!important;height:40px!important;top:7px!important;right:7px!important;padding:0!important}#fx-mllm-app .fx-clear-message-label{display:none!important}#fx-mllm-app .fx-prompt-field textarea{padding-right:56px!important}#fx-mllm-app .fx-control-tooltip{display:none!important}#fx-mllm-app .fx-modal-actions>*{flex:1 1 120px!important}}
@media(prefers-reduced-motion:reduce){#fx-mllm-app .fx-clear-message,#fx-mllm-app .fx-control-tooltip{transition:none!important}}

/* ANIA 2.24.2 — download autenticado de documentos */
#fx-mllm-app .fx-artifact-card {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
#fx-mllm-app .fx-artifact-card:disabled { cursor: wait; opacity: .72; }
#fx-mllm-app .fx-artifact-card .fx-artifact-status {
  display: block;
  min-height: 1.2em;
  margin-top: 2px;
  color: var(--fx-muted, #6b7280);
  font-size: 11px;
  font-style: normal;
}
#fx-mllm-app .fx-artifact-card.is-downloading b { animation: fx-artifact-pulse 1s ease-in-out infinite; }
@keyframes fx-artifact-pulse { 50% { opacity: .35; transform: translateY(2px); } }
@media (prefers-reduced-motion: reduce) {
  #fx-mllm-app .fx-artifact-card.is-downloading b { animation: none; }
}

/* ANIA 2.26.0 — largura de chat persistida por usuário */
#fx-mllm-app {
  --ania-chat-centered-width: 920px;
  --ania-chat-inline-padding: clamp(16px, 2vw, 32px);
  --ania-chat-content-width: min(var(--ania-chat-centered-width), 100%);
}
#fx-mllm-app[data-chat-width="full"] {
  --ania-chat-content-width: 100%;
}
#fx-mllm-app .fx-chat-inner,
#fx-mllm-app .fx-composer {
  width: var(--ania-chat-content-width) !important;
  max-width: none !important;
  transition: width .2s ease, max-width .2s ease !important;
}
#fx-mllm-app[data-chat-width="full"] .fx-chat-inner,
#fx-mllm-app[data-chat-width="full"] .fx-composer-wrap {
  padding-inline: var(--ania-chat-inline-padding) !important;
}
#fx-mllm-app[data-chat-width="centered"] .fx-chat-inner,
#fx-mllm-app[data-chat-width="centered"] .fx-composer {
  margin-inline: auto !important;
}
#fx-mllm-app[data-chat-width="full"] .fx-chat-inner,
#fx-mllm-app[data-chat-width="full"] .fx-composer {
  margin-inline: 0 !important;
}
#fx-mllm-app[data-chat-width="full"] .fx-welcome > div {
  width: min(1100px, 100%) !important;
}
#fx-mllm-app[data-chat-width="full"] .fx-message.user .fx-msg-content {
  width: min(1100px, 92%) !important;
}
#fx-mllm-app[data-chat-width="full"] .fx-msg-content table,
#fx-mllm-app[data-chat-width="full"] .fx-msg-content pre,
#fx-mllm-app[data-chat-width="full"] .fx-msg-content img,
#fx-mllm-app[data-chat-width="full"] .fx-msg-content .ania-chart,
#fx-mllm-app[data-chat-width="full"] .fx-msg-content .fx-artifact-card {
  max-width: 100% !important;
}
#fx-mllm-app[data-chat-width="full"] .fx-msg-content > p,
#fx-mllm-app[data-chat-width="full"] .fx-msg-content > ul,
#fx-mllm-app[data-chat-width="full"] .fx-msg-content > ol {
  max-width: 88ch;
}
#fx-mllm-app .fx-chat-width-preference {
  grid-column: 1 / -1;
}
#fx-mllm-app .fx-preference-switch {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  min-height: 48px !important;
  margin-top: 10px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--line) !important;
  border-radius: 14px !important;
  background: var(--surface) !important;
  color: var(--text) !important;
  cursor: pointer !important;
}
#fx-mllm-app .fx-preference-switch input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
#fx-mllm-app .fx-preference-switch i {
  position: relative !important;
  flex: 0 0 48px !important;
  width: 48px !important;
  height: 28px !important;
  border-radius: 999px !important;
  background: var(--line) !important;
  transition: background .2s ease !important;
}
#fx-mllm-app .fx-preference-switch i::after {
  content: "" !important;
  position: absolute !important;
  top: 3px !important;
  left: 3px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.2) !important;
  transition: transform .2s ease !important;
}
#fx-mllm-app .fx-preference-switch input:checked + i {
  background: var(--wine) !important;
}
#fx-mllm-app .fx-preference-switch input:checked + i::after {
  transform: translateX(20px) !important;
}
#fx-mllm-app .fx-preference-switch:has(input:focus-visible) {
  outline: 3px solid rgba(143,0,0,.22) !important;
  outline-offset: 2px !important;
}
#fx-mllm-app .fx-preference-switch:has(input:disabled) {
  opacity: .62 !important;
  cursor: wait !important;
}
@media (max-width: 767px) {
  #fx-mllm-app {
    --ania-chat-inline-padding: clamp(10px, 3vw, 18px);
    --ania-chat-content-width: 100%;
  }
  #fx-mllm-app .fx-chat-inner,
  #fx-mllm-app .fx-composer-wrap {
    padding-inline: var(--ania-chat-inline-padding) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #fx-mllm-app .fx-chat-inner,
  #fx-mllm-app .fx-composer,
  #fx-mllm-app .fx-preference-switch i,
  #fx-mllm-app .fx-preference-switch i::after {
    transition: none !important;
  }
}

/* ANIA 2.30.0 — melhoria assistida do prompt */
#fx-mllm-app .fx-prompt-field{position:relative!important}
#fx-mllm-app .fx-prompt-actions{position:absolute!important;z-index:3!important;top:9px!important;right:9px!important;display:inline-flex!important;align-items:center!important;gap:7px!important}
#fx-mllm-app .fx-prompt-field textarea{padding-right:198px!important}
#fx-mllm-app .fx-improve-prompt[hidden],#fx-mllm-app .fx-clear-message[hidden]{display:none!important}
#fx-mllm-app .fx-improve-prompt,#fx-mllm-app .fx-clear-message{position:relative!important;inset:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:38px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:color-mix(in srgb,var(--surface) 90%,var(--bg))!important;color:var(--text2)!important;box-shadow:0 1px 2px rgba(0,0,0,.04)!important;cursor:pointer!important;transition:background .18s ease,border-color .18s ease,transform .18s ease!important}
#fx-mllm-app .fx-improve-prompt{padding:7px 10px!important}
#fx-mllm-app .fx-clear-message{padding:7px 9px!important}
#fx-mllm-app .fx-improve-prompt:hover,#fx-mllm-app .fx-clear-message:hover{background:var(--wineSoft)!important;border-color:color-mix(in srgb,var(--wine) 35%,var(--line))!important;color:var(--wine)!important}
#fx-mllm-app .fx-improve-prompt:active,#fx-mllm-app .fx-clear-message:active{transform:scale(.97)!important}
#fx-mllm-app .fx-improve-prompt:focus-visible,#fx-mllm-app .fx-clear-message:focus-visible{outline:3px solid color-mix(in srgb,var(--wine) 28%,transparent)!important;outline-offset:2px!important}
#fx-mllm-app .fx-improve-prompt:disabled,#fx-mllm-app .fx-clear-message:disabled{opacity:.48!important;cursor:not-allowed!important;transform:none!important}
#fx-mllm-app .fx-improve-prompt-icon,#fx-mllm-app .fx-clear-message-icon{display:grid!important;place-items:center!important;width:18px!important;height:18px!important;flex:none!important}
#fx-mllm-app .fx-improve-prompt-icon svg{width:18px!important;height:18px!important}
#fx-mllm-app .fx-improve-prompt[aria-busy="true"] .fx-improve-prompt-icon{animation:fx-improve-spin 1s linear infinite!important}
#fx-mllm-app .fx-control-tooltip{pointer-events:none!important;position:absolute!important;right:0!important;bottom:calc(100% + 8px)!important;width:max-content!important;max-width:260px!important;padding:7px 9px!important;border-radius:9px!important;background:var(--text)!important;color:var(--surface)!important;font-size:12px!important;line-height:1.3!important;opacity:0!important;transform:translateY(3px)!important;transition:opacity .15s ease,transform .15s ease!important}
#fx-mllm-app .fx-improve-prompt:hover .fx-control-tooltip,#fx-mllm-app .fx-improve-prompt:focus-visible .fx-control-tooltip,#fx-mllm-app .fx-clear-message:hover .fx-control-tooltip,#fx-mllm-app .fx-clear-message:focus-visible .fx-control-tooltip{opacity:1!important;transform:none!important}
#fx-mllm-app .fx-improve-prompt-card{width:min(1060px,calc(100vw - 32px))!important}
#fx-mllm-app .fx-improve-toolbar{display:flex!important;align-items:end!important;justify-content:space-between!important;gap:14px!important;margin-bottom:12px!important}
#fx-mllm-app .fx-improve-toolbar label{display:grid!important;gap:6px!important;font-weight:650!important;color:var(--text)!important}
#fx-mllm-app .fx-improve-toolbar select{min-width:240px!important}
#fx-mllm-app .fx-improve-status{min-height:24px!important;margin:0 0 10px!important;color:var(--text2)!important;font-size:14px!important}
#fx-mllm-app .fx-improve-compare{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}
#fx-mllm-app .fx-improve-compare section{display:grid!important;gap:7px!important;min-width:0!important}
#fx-mllm-app .fx-improve-compare label{font-weight:700!important;color:var(--text)!important}
#fx-mllm-app .fx-improve-compare textarea{width:100%!important;min-height:300px!important;max-height:52vh!important;resize:vertical!important;border:1px solid var(--line)!important;border-radius:14px!important;padding:14px!important;background:var(--surface)!important;color:var(--text)!important;font:inherit!important;line-height:1.55!important}
#fx-mllm-app .fx-improve-compare textarea[readonly]{background:color-mix(in srgb,var(--bg) 70%,var(--surface))!important;color:var(--text2)!important}
#fx-mllm-app .fx-improve-compare textarea:focus{outline:3px solid color-mix(in srgb,var(--wine) 22%,transparent)!important;border-color:var(--wine)!important}
@keyframes fx-improve-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){#fx-mllm-app .fx-prompt-field textarea{padding-right:105px!important}#fx-mllm-app .fx-improve-prompt-label,#fx-mllm-app .fx-clear-message-label{display:none!important}#fx-mllm-app .fx-improve-prompt,#fx-mllm-app .fx-clear-message{width:42px!important;height:42px!important;padding:0!important;border-radius:13px!important}#fx-mllm-app .fx-improve-compare{grid-template-columns:1fr!important}#fx-mllm-app .fx-improve-compare textarea{min-height:190px!important;max-height:32vh!important}#fx-mllm-app .fx-improve-toolbar{align-items:stretch!important;flex-direction:column!important}#fx-mllm-app .fx-improve-toolbar select{min-width:0!important;width:100%!important}}
@media(prefers-reduced-motion:reduce){#fx-mllm-app .fx-improve-prompt,#fx-mllm-app .fx-clear-message,#fx-mllm-app .fx-control-tooltip{transition:none!important}#fx-mllm-app .fx-improve-prompt[aria-busy="true"] .fx-improve-prompt-icon{animation:none!important}}


/* ANIA Interaction Design System 1.0.0 */
html.ania-interaction-open,body.ania-interaction-open{overflow:hidden!important;overscroll-behavior:none!important}
#fx-mllm-app .ania-interaction{--ania-dialog-inline:clamp(16px,2vw,28px)!important;isolation:isolate!important}
#fx-mllm-app .ania-interaction .fx-modal-card:focus{outline:none!important}
#fx-mllm-app .fx-modal-footer-spacer{flex:1 1 auto!important}
#fx-mllm-app .fx-destructive{background:#a31b1b!important;border-color:#a31b1b!important;color:#fff!important}
#fx-mllm-app .fx-destructive:hover{background:#861515!important;border-color:#861515!important}
#fx-mllm-app .fx-improve-prompt-card{width:min(1120px,calc(100vw - 32px))!important;max-height:min(92vh,920px)!important}
#fx-mllm-app .fx-improve-loading{display:flex!important;align-items:center!important;gap:12px!important;margin:0 0 14px!important;padding:13px 15px!important;border:1px solid color-mix(in srgb,var(--wine) 20%,var(--line))!important;border-radius:14px!important;background:var(--wineSoft)!important;color:var(--text)!important}
#fx-mllm-app .fx-improve-loading[hidden]{display:none!important}
#fx-mllm-app .fx-improve-loading .fx-spinner{border-color:color-mix(in srgb,var(--wine) 25%,transparent)!important;border-top-color:var(--wine)!important}
#fx-mllm-app .fx-improve-loading span:last-child{display:grid!important;gap:2px!important}
#fx-mllm-app .fx-improve-loading small{color:var(--text2)!important}
#fx-mllm-app .fx-comparison-panel{min-height:0!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--surface)!important;overflow:hidden!important}
#fx-mllm-app .fx-comparison-panel>header{position:sticky!important;top:0!important;z-index:1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:11px 14px!important;border-bottom:1px solid var(--line)!important;background:color-mix(in srgb,var(--side) 80%,var(--surface))!important}
#fx-mllm-app .fx-comparison-panel>header span{color:var(--muted)!important;font-size:.74rem!important;font-variant-numeric:tabular-nums!important}
#fx-mllm-app .fx-improve-compare textarea{min-height:330px!important;max-height:52vh!important;border:0!important;border-radius:0!important;box-shadow:none!important;resize:vertical!important}
#fx-mllm-app .fx-improve-footer{position:sticky!important;bottom:0!important;z-index:4!important}
#fx-mllm-app #fx-improve-regenerate-footer{display:none!important}
#fx-mllm-app .fx-composer-confirm-card{width:min(520px,calc(100vw - 32px))!important}
#fx-mllm-app .fx-composer-confirm-card .fx-modal-body:empty{display:none!important}
#fx-mllm-app .fx-composer-confirm-card .fx-modal-body{padding-top:18px!important}
@media(max-width:760px){
 #fx-mllm-app .fx-modal.ania-interaction{padding:0!important;align-items:stretch!important}
 #fx-mllm-app .fx-modal.ania-interaction .fx-modal-card{width:100%!important;max-height:100dvh!important;height:100dvh!important;border-radius:0!important;border-inline:0!important}
 #fx-mllm-app .fx-improve-toolbar #fx-improve-regenerate{display:none!important}
 #fx-mllm-app #fx-improve-regenerate-footer{display:inline-flex!important}
 #fx-mllm-app .fx-improve-compare{grid-template-columns:1fr!important}
 #fx-mllm-app .fx-comparison-original textarea{min-height:120px!important;max-height:22vh!important}
 #fx-mllm-app .fx-comparison-suggestion textarea{min-height:230px!important;max-height:42vh!important}
 #fx-mllm-app .fx-improve-footer{display:grid!important;grid-template-columns:1fr 1fr!important;padding-bottom:max(14px,env(safe-area-inset-bottom))!important}
 #fx-mllm-app .fx-improve-footer .fx-modal-footer-spacer{display:none!important}
 #fx-mllm-app .fx-improve-footer .fx-primary{grid-column:1/-1!important;grid-row:1!important}
 #fx-mllm-app .fx-improve-footer .fx-secondary{min-width:0!important}
}
@media(prefers-reduced-motion:reduce){#fx-mllm-app .fx-modal,#fx-mllm-app .fx-modal-card{animation:none!important;transition:none!important}}

/* Hero greeting: current user name only — premium multicolor treatment */
#fx-mllm-app{--fx-hero-user-name-gradient:linear-gradient(90deg,#0066d6 0%,#5856d6 22%,#9b3fc8 42%,#d61f56 62%,#d66a00 82%,#168a45 100%)}
#fx-mllm-app.dark{--fx-hero-user-name-gradient:linear-gradient(90deg,#4aa3ff 0%,#8c82ff 22%,#d07aef 42%,#ff6488 62%,#ffad45 82%,#62d98a 100%)}
#fx-mllm-app .fx-hero-user-name{color:var(--wine)!important;font:inherit!important;font-weight:inherit!important;background:var(--fx-hero-user-name-gradient)!important}
@supports ((-webkit-background-clip:text) or (background-clip:text)){#fx-mllm-app .fx-hero-user-name{-webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;-webkit-text-fill-color:transparent!important}}
@media (forced-colors:active){#fx-mllm-app .fx-hero-user-name{background:none!important;color:CanvasText!important;-webkit-text-fill-color:CanvasText!important}}

/* ANIA 2.39.0 — anexos unificados no compositor */
#fx-mllm-app .fx-composer-wrap{position:fixed!important}
#fx-mllm-app .fx-composer-wrap.is-dragging::before{content:"Solte imagens ou documentos aqui";position:absolute;inset:-8px;z-index:8;display:grid;place-items:center;border:2px dashed var(--wine);border-radius:24px;background:color-mix(in srgb,var(--surface) 92%,transparent);color:var(--wine);font-weight:750;letter-spacing:.01em;pointer-events:none;box-shadow:var(--shadow)}
#fx-mllm-app .fx-file-chips{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;max-height:190px!important;overflow:auto!important;gap:8px!important;padding:0 4px 9px!important}
#fx-mllm-app .fx-attachment-card{min-width:0!important;display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--side)!important;padding:8px!important;font-size:.72rem!important}
#fx-mllm-app .fx-attachment-card.status-failed{border-color:#c2410c!important;background:color-mix(in srgb,#c2410c 8%,var(--surface))!important}
#fx-mllm-app .fx-attachment-card.status-uploading{border-color:color-mix(in srgb,var(--wine) 40%,var(--line))!important}
#fx-mllm-app .fx-attachment-card>img,#fx-mllm-app .fx-attachment-type{width:42px!important;height:42px!important;border-radius:10px!important;object-fit:cover!important;background:var(--surface)!important;border:1px solid var(--line)!important}
#fx-mllm-app .fx-attachment-type{display:grid!important;place-items:center!important;color:var(--wine)!important;font-size:.61rem!important;font-weight:800!important;overflow:hidden!important}
#fx-mllm-app .fx-attachment-details{min-width:0!important;display:grid!important;gap:2px!important}
#fx-mllm-app .fx-attachment-details strong,#fx-mllm-app .fx-attachment-details small{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
#fx-mllm-app .fx-attachment-details small{color:var(--muted)!important;font-size:.65rem!important}
#fx-mllm-app .fx-attachment-actions{display:flex!important;gap:4px!important}
#fx-mllm-app .fx-attachment-actions button{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border:0!important;border-radius:9px!important;background:transparent!important;color:var(--wine)!important;font-weight:800!important}
#fx-mllm-app .fx-attachment-actions button:hover{background:var(--wineSoft)!important}
@media(max-width:680px){#fx-mllm-app .fx-file-chips{grid-template-columns:1fr!important;max-height:158px!important}#fx-mllm-app .fx-composer-wrap.is-dragging::before{inset:-4px;border-radius:20px;font-size:.82rem}}
@media(forced-colors:active){#fx-mllm-app .fx-composer-wrap.is-dragging::before,#fx-mllm-app .fx-attachment-card{border-color:CanvasText!important;background:Canvas!important;color:CanvasText!important}}

/* ANIA 2.41.0 — compositor respeita as colunas da aplicação e não apaga o rodapé lateral */
#fx-mllm-app .fx-composer-wrap{left:264px!important;right:0!important}
#fx-mllm-app.panel-open .fx-composer-wrap{right:350px!important}
#fx-mllm-app.sidebar-collapsed .fx-composer-wrap{left:78px!important}
#fx-mllm-app.sidebar-collapsed.panel-open .fx-composer-wrap{right:350px!important}
#fx-mllm-app .fx-sidebar{position:relative!important;z-index:30!important}
#fx-mllm-app .fx-sidebar-bottom{position:relative!important;z-index:2!important;background:var(--side)!important}
#fx-mllm-app .fx-model-option[data-availability="unavailable"],#fx-mllm-app .fx-model-option[disabled]{opacity:.68!important;cursor:not-allowed!important}
#fx-mllm-app .fx-model-availability{display:inline-flex!important;align-items:center!important;gap:5px!important;margin-top:3px!important;color:var(--muted)!important;font-size:.65rem!important}
#fx-mllm-app .fx-model-availability.is-ready{color:#147a3d!important}
#fx-mllm-app .fx-model-availability.is-warning{color:#9a6700!important}
#fx-mllm-app .fx-execution-error{border-color:color-mix(in srgb,#b42318 34%,var(--line))!important;background:color-mix(in srgb,#b42318 5%,var(--surface))!important}
#fx-mllm-app .fx-execution-error h4{margin:0 0 5px!important;color:#b42318!important}
#fx-mllm-app .fx-execution-error .fx-error-meta{display:flex!important;flex-wrap:wrap!important;gap:6px 12px!important;color:var(--muted)!important;font-size:.69rem!important}
#fx-mllm-app .fx-execution-step{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;gap:7px!important;align-items:start!important;padding:4px 0!important}
#fx-mllm-app .fx-execution-step.is-error{color:#b42318!important}
#fx-mllm-app .fx-execution-step.is-skipped{color:var(--muted)!important}
@media(max-width:940px){#fx-mllm-app .fx-composer-wrap,#fx-mllm-app.panel-open .fx-composer-wrap,#fx-mllm-app.sidebar-collapsed .fx-composer-wrap,#fx-mllm-app.sidebar-collapsed.panel-open .fx-composer-wrap{left:0!important;right:0!important}}
@media(forced-colors:active){#fx-mllm-app .fx-execution-error,#fx-mllm-app .fx-model-option{border-color:CanvasText!important}.fx-execution-error h4{color:CanvasText!important}}
/* Correções semânticas do card de erro de execução */
#fx-mllm-app .fx-execution-error-card{border-color:color-mix(in srgb,#b42318 34%,var(--line))!important;background:color-mix(in srgb,#b42318 5%,var(--surface))!important}
#fx-mllm-app .fx-execution-error-card .fx-error-mark,#fx-mllm-app .fx-execution-error-card .error{color:#b42318!important}
#fx-mllm-app .fx-execution-error-details ol{list-style:none!important;margin:10px 0!important;padding:0!important}
#fx-mllm-app .fx-execution-error-details li{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;gap:7px!important;padding:4px 0!important}
#fx-mllm-app .fx-execution-error-details li.error{color:#b42318!important}
#fx-mllm-app .fx-execution-error-details li.skipped{color:var(--muted)!important}
#fx-mllm-app .fx-execution-error-details dl{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin-top:10px!important}
#fx-mllm-app .fx-execution-error-details dl>div{border:1px solid var(--line)!important;border-radius:10px!important;padding:8px!important;background:var(--surface)!important}
#fx-mllm-app .fx-execution-error-details dt{color:var(--muted)!important;font-size:.65rem!important}
#fx-mllm-app .fx-execution-error-details dd{margin:2px 0 0!important;font-size:.72rem!important;overflow-wrap:anywhere!important}

/* ANIA 2.42.0 — comparação persistente por modelo */
#fx-mllm-app .fx-comparison-message .fx-msg-content{min-width:0!important;width:100%!important}
#fx-mllm-app .fx-comparison-heading{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;margin-bottom:13px!important;padding:14px 16px!important;border:1px solid var(--line)!important;border-radius:16px!important;background:color-mix(in srgb,var(--surface) 92%,var(--side))!important}
#fx-mllm-app .fx-comparison-heading strong{display:block!important;font-size:1rem!important;color:var(--text)!important}
#fx-mllm-app .fx-comparison-summary{margin:4px 0 0!important;color:var(--text2)!important;font-size:.82rem!important;line-height:1.4!important}
#fx-mllm-app .fx-comparison-global-status{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:5px 10px!important;border:1px solid var(--line)!important;border-radius:999px!important;background:var(--side)!important;color:var(--text2)!important;font-size:.72rem!important;font-weight:750!important;white-space:nowrap!important}
#fx-mllm-app .fx-comparison-global-status.status-completed{background:color-mix(in srgb,#2e9d5b 12%,var(--surface))!important;color:#176c3a!important;border-color:color-mix(in srgb,#2e9d5b 32%,var(--line))!important}
#fx-mllm-app .fx-comparison-global-status.status-completed_with_errors,#fx-mllm-app .fx-comparison-global-status.status-failed{background:color-mix(in srgb,#c84a42 11%,var(--surface))!important;color:#8c241f!important;border-color:color-mix(in srgb,#c84a42 30%,var(--line))!important}
#fx-mllm-app .fx-compare-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))!important;align-items:start!important}
#fx-mllm-app .fx-compare-card{display:flex!important;flex-direction:column!important;min-width:0!important;min-height:260px!important;max-height:min(72vh,760px)!important;box-shadow:0 8px 26px rgba(20,20,24,.045)!important}
#fx-mllm-app .fx-compare-card>header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;padding:12px 14px!important;background:color-mix(in srgb,var(--side) 82%,var(--surface))!important}
#fx-mllm-app .fx-compare-card>header>div{display:grid!important;gap:3px!important;min-width:0!important}
#fx-mllm-app .fx-compare-card>header strong{font-size:.86rem!important;color:var(--text)!important}
#fx-mllm-app .fx-compare-card>header small{color:var(--muted)!important;overflow-wrap:anywhere!important}
#fx-mllm-app .fx-comparison-status{display:inline-flex!important;align-items:center!important;gap:5px!important;flex:none!important;color:var(--text2)!important;font-size:.7rem!important;font-weight:700!important;white-space:nowrap!important}
#fx-mllm-app .fx-comparison-status b{display:grid!important;place-items:center!important;width:19px!important;height:19px!important;border-radius:50%!important;background:var(--side)!important}
#fx-mllm-app .fx-compare-card.status-completed .fx-comparison-status b{background:#dff5e7!important;color:#176c3a!important}
#fx-mllm-app .fx-compare-card.status-failed .fx-comparison-status b,#fx-mllm-app .fx-compare-card.status-timed_out .fx-comparison-status b,#fx-mllm-app .fx-compare-card.status-unavailable .fx-comparison-status b{background:#fae4e2!important;color:#9f2c26!important}
#fx-mllm-app .fx-compare-card>.fx-markdown{flex:1 1 auto!important;overflow:auto!important;padding:15px!important;line-height:1.65!important}
#fx-mllm-app .fx-comparison-state{display:grid!important;align-content:center!important;justify-items:start!important;gap:8px!important;flex:1 1 auto!important;min-height:190px!important;padding:18px!important}
#fx-mllm-app .fx-comparison-state strong{font-size:.9rem!important;color:var(--text)!important}
#fx-mllm-app .fx-comparison-state p{margin:0!important;color:var(--text2)!important;line-height:1.5!important}
#fx-mllm-app .fx-comparison-loading .fx-spinner{border-color:color-mix(in srgb,var(--wine) 20%,transparent)!important;border-top-color:var(--wine)!important}
#fx-mllm-app .fx-comparison-error{background:color-mix(in srgb,#c84a42 5%,var(--surface))!important}
#fx-mllm-app .fx-comparison-actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:9px!important;margin-top:5px!important}
#fx-mllm-app .fx-comparison-actions details{font-size:.75rem!important;color:var(--text2)!important}
#fx-mllm-app .fx-comparison-actions dl{display:grid!important;gap:5px!important;margin:8px 0 0!important}
#fx-mllm-app .fx-comparison-actions dl>div{display:grid!important;grid-template-columns:78px 1fr!important;gap:8px!important}
#fx-mllm-app .fx-comparison-actions dt{font-weight:700!important}
#fx-mllm-app .fx-compare-card>footer{margin-top:auto!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:900px){#fx-mllm-app .fx-compare-grid{grid-template-columns:1fr!important}#fx-mllm-app .fx-compare-card{max-height:none!important}}
@media(max-width:600px){#fx-mllm-app .fx-comparison-heading{flex-direction:column!important}#fx-mllm-app .fx-comparison-global-status{white-space:normal!important}#fx-mllm-app .fx-compare-card>header{flex-direction:column!important}#fx-mllm-app .fx-comparison-status{white-space:normal!important}}
@media(forced-colors:active){#fx-mllm-app .fx-comparison-global-status,#fx-mllm-app .fx-comparison-status b{forced-color-adjust:auto!important;border:1px solid CanvasText!important;background:Canvas!important;color:CanvasText!important}}

/* Professional-use policy guidance: scoped to the ANIA composer. */
#fx-mllm-app .fx-usage-policy-guidance{margin:8px 4px 2px;color:var(--fx-text-muted,#667085);font-size:12px;line-height:1.45}
[data-theme="dark"] #fx-mllm-app .fx-usage-policy-guidance{color:var(--fx-text-muted,#a8b0bf)}
@media (max-width:640px){#fx-mllm-app .fx-usage-policy-guidance{font-size:11px;margin-inline:2px}}


/* Projects live exclusively in the left sidebar; the right panel is reserved for Sources and Details. */
#fx-mllm-app .fx-sidebar-projects{order:1!important;margin:0!important;padding:4px 0 10px!important;border-top:0!important;border-bottom:1px solid var(--line)!important}
#fx-mllm-app .fx-sidebar-section{order:2!important;padding-top:8px!important}
#fx-mllm-app .fx-sidebar-projects-heading{display:grid!important;grid-template-columns:minmax(0,1fr) 34px!important;gap:4px!important;padding:2px 4px 5px!important}
#fx-mllm-app .fx-sidebar-projects-toggle{display:flex!important;align-items:center!important;gap:7px!important;width:100%!important;min-width:0!important;min-height:38px!important;padding:7px 8px!important;border:0!important;border-radius:11px!important;background:transparent!important;color:var(--text)!important;text-align:left!important;font:inherit!important;font-size:.72rem!important;font-weight:780!important;letter-spacing:.02em!important;text-transform:none!important}
#fx-mllm-app .fx-sidebar-projects-toggle:hover,#fx-mllm-app .fx-sidebar-projects-toggle:focus-visible{background:var(--wineSoft)!important;color:var(--wine)!important;outline:2px solid transparent!important}
#fx-mllm-app .fx-projects-heading-icon{font-size:1rem!important;color:var(--wine)!important}
#fx-mllm-app .fx-projects-section-chevron{margin-left:auto!important;color:var(--muted)!important;font-size:.72rem!important}
#fx-mllm-app .fx-sidebar-projects.is-collapsed{padding-bottom:4px!important}
#fx-mllm-app .fx-sidebar-project-list{display:grid!important;gap:3px!important;max-height:none!important;overflow:visible!important;padding:1px 2px 5px!important}
#fx-mllm-app .fx-sidebar-project-list[hidden]{display:none!important}
#fx-mllm-app .fx-sidebar-project-empty{display:grid!important;gap:7px!important;padding:10px!important}
#fx-mllm-app .fx-sidebar-project-empty strong{color:var(--text2)!important;font-size:.72rem!important}
#fx-mllm-app .fx-sidebar-project-empty button{justify-self:start!important;border:0!important;background:transparent!important;color:var(--wine)!important;font-weight:750!important;padding:0!important}
#fx-mllm-app .fx-panel-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
@media(max-width:940px){#fx-mllm-app .fx-sidebar-project-list{max-height:none!important}}
@media(max-width:430px){#fx-mllm-app .fx-sidebar-projects-toggle{min-height:44px!important}#fx-mllm-app .fx-sidebar-projects-heading>button:last-child{min-width:40px!important;min-height:40px!important}}

/* ANIA 2.47.0 — Ajuda como link direto ao manual oficial */
#fx-mllm-app .fx-help-button{display:flex!important;align-items:center!important;gap:10px!important;width:100%;min-height:42px;padding:9px 12px;border:0;border-radius:12px;background:transparent;color:inherit;text-decoration:none;font:inherit;font-weight:650;cursor:pointer;text-align:left}
#fx-mllm-app .fx-help-button:hover{background:var(--fx-hover,rgba(127,127,127,.10))}
#fx-mllm-app .fx-help-button:focus-visible{outline:3px solid rgba(143,0,0,.32);outline-offset:2px}
#fx-mllm-app .fx-help-button .fx-help-mark{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border:1px solid currentColor;border-radius:50%;font-size:.78rem;font-weight:800}

/* Policy block: persistent conversation card and acknowledgement dialog. */
#fx-mllm-app .fx-policy-block-message .fx-policy-shield{display:grid;place-items:center;background:color-mix(in srgb,var(--fx-warning,#b7791f) 16%,var(--fx-surface,#fff));color:var(--fx-warning,#8a5a12);border:1px solid color-mix(in srgb,currentColor 24%,transparent);font-weight:800}
#fx-mllm-app .fx-policy-block-card{border:1px solid color-mix(in srgb,var(--fx-warning,#b7791f) 28%,var(--fx-border,#d9dde5));background:color-mix(in srgb,var(--fx-warning,#b7791f) 6%,var(--fx-surface,#fff));border-radius:18px;padding:16px;box-shadow:0 10px 28px rgba(15,23,42,.06)}
#fx-mllm-app .fx-policy-block-card header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
#fx-mllm-app .fx-policy-block-card header strong{font-size:15px}.fx-policy-block-card time{font-size:12px;color:var(--fx-muted,#64748b)}
#fx-mllm-app .fx-policy-block-card p{margin:8px 0;line-height:1.55}.fx-policy-not-sent{font-weight:700}.fx-policy-safe-reason{color:var(--fx-muted,#475569)}
#fx-mllm-app .fx-policy-block-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
#fx-mllm-app .fx-policy-block-modal-card{max-width:520px}.fx-policy-block-modal-card .fx-modal-body p{font-size:15px;line-height:1.6}
@media(max-width:560px){#fx-mllm-app .fx-policy-block-card{border-radius:14px;padding:14px}#fx-mllm-app .fx-policy-block-actions>*{flex:1 1 100%}.fx-policy-block-modal-card{width:calc(100vw - 24px);max-height:calc(100vh - 24px)}}
