.agente-module{--agente-radius-lg:18px;--agente-radius-md:12px;--agente-radius-sm:10px;--agente-radius-pill:999px;--agente-surface:var(--joy-palette-background-surface,#fff);--agente-muted:var(--joy-palette-neutral-50,#f8fafc);--agente-muted-2:var(--joy-palette-neutral-100,#f1f5f9);--agente-border:var(--joy-palette-neutral-outlinedBorder,#e2e8f0);--agente-border-soft:color-mix(in srgb, var(--agente-border) 65%, transparent);--agente-shadow-sm:0 1px 2px #0f172a0a;--agente-shadow-md:0 8px 30px #0f172a0f;--agente-shadow-lg:0 18px 48px #0f172a14;--agente-accent:var(--joy-palette-primary-500,#2563eb);--agente-accent-soft:var(--joy-palette-primary-softBg,#dbeafe);--agente-text-muted:var(--joy-palette-neutral-500,#64748b);--agente-transition:.16s cubic-bezier(.4, 0, .2, 1)}.agente-page{flex-direction:column;gap:10px;height:100%;min-height:0;display:flex}.agente-page-body{flex-direction:column;flex:1;min-height:0;display:flex}.agente-module-nav{border-radius:var(--agente-radius-pill);background:color-mix(in srgb, var(--agente-muted) 75%, var(--agente-surface));border:1px solid var(--agente-border-soft);flex-wrap:wrap;align-items:center;gap:6px;width:fit-content;max-width:100%;padding:4px;display:flex}.agente-module-nav a{border-radius:var(--agente-radius-pill);color:var(--agente-text-muted);transition:background var(--agente-transition), color var(--agente-transition), box-shadow var(--agente-transition);align-items:center;gap:6px;padding:7px 14px;font-size:.82rem;font-weight:500;text-decoration:none;display:inline-flex}.agente-module-nav a:hover{color:var(--joy-palette-text-primary,#0f172a);background:color-mix(in srgb, var(--agente-surface) 80%, transparent)}.agente-module-nav a.is-active{color:var(--joy-palette-primary-700,#1d4ed8);background:var(--agente-surface);box-shadow:var(--agente-shadow-sm)}.agente-shell{border:1px solid var(--agente-border-soft);border-radius:var(--agente-radius-lg);background:var(--agente-surface);min-height:0;box-shadow:var(--agente-shadow-md);flex-direction:column;flex:1;display:flex;overflow:hidden}.agente-panel-layout{background:linear-gradient(180deg, var(--agente-muted) 0%, var(--agente-surface) 140px);flex:1;min-height:0;display:flex}.agente-rail{border-right:1px solid var(--agente-border-soft);background:color-mix(in srgb, var(--agente-muted) 55%, var(--agente-surface));flex-shrink:0;width:300px;padding:14px 12px;overflow-y:auto}.agente-rail-title{letter-spacing:.06em;text-transform:uppercase;color:var(--agente-text-muted);margin:0 0 8px 4px;font-size:.72rem;font-weight:600}.agente-panel-main{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.agente-panel-header{border-bottom:1px solid var(--agente-border-soft);background:color-mix(in srgb, var(--agente-surface) 90%, var(--agente-accent-soft));flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 18px;display:flex}.agente-panel-content{flex:1;min-height:0;padding:16px 18px;overflow-y:auto}.agente-card{border:1px solid var(--agente-border-soft);border-radius:var(--agente-radius-md);background:var(--agente-surface);box-shadow:var(--agente-shadow-sm);transition:box-shadow var(--agente-transition);padding:14px 16px}.agente-card:hover{box-shadow:var(--agente-shadow-md)}.agente-card-title{margin:0 0 10px;font-size:.9rem;font-weight:600}.agente-section-label{color:var(--agente-text-muted);margin:0 0 6px;font-size:.78rem;font-weight:600}.agente-code-block{border-radius:var(--agente-radius-sm);color:#e2e8f0;background:#0f172a;margin:0;padding:12px 14px;font-size:.76rem;line-height:1.45;overflow:auto}.agente-chip-grid{flex-wrap:wrap;gap:6px;display:flex}.agente-rag-grid{flex:1;grid-template-rows:auto 1fr;grid-template-columns:1fr 1fr;gap:14px;min-height:0;padding:16px 18px;display:grid;overflow-y:auto}.agente-rag-query{grid-area:1/1}.agente-rag-results{flex-direction:column;grid-area:1/2/span 2;min-height:280px;display:flex;overflow:hidden}.agente-rag-results-scroll{flex-direction:column;flex:1;gap:8px;min-height:0;margin-top:10px;display:flex;overflow-y:auto}.agente-rag-ingest{grid-area:2/1}.agente-result-card{border-radius:var(--agente-radius-sm);border:1px solid var(--agente-border-soft);background:color-mix(in srgb, var(--agente-muted) 40%, var(--agente-surface));padding:12px 14px}.agente-drawer-panel{background:linear-gradient(180deg, var(--agente-muted) 0%, var(--agente-surface) 120px);height:100%;padding:20px}.agente-drawer-title{margin:0 0 4px;font-size:1.1rem;font-weight:600}.agente-drawer-subtitle{color:var(--agente-text-muted);margin:0 0 16px;font-size:.84rem}.agente-mode-card{text-align:left;width:100%;border-radius:var(--agente-radius-md)!important;transition:border-color var(--agente-transition), background var(--agente-transition)!important;padding:12px 14px!important}.agente-studio-tabs{flex-direction:column;flex:1;min-height:0;display:flex}.agente-studio-tabs .MuiTabList-root{background:0 0;gap:4px;padding:0 12px}.agente-studio-tabs .MuiTab-root{border-radius:var(--agente-radius-pill);min-height:36px;font-size:.84rem;font-weight:500}.agente-studio-tabs .MuiTab-root[aria-selected=true]{background:var(--agente-accent-soft);color:var(--joy-palette-primary-700,#1d4ed8)}.agente-studio-tabs .MuiTabPanel-root{flex:1;min-height:0;padding:0;overflow-y:auto}.agente-rail .MuiListItemButton-root{border-radius:var(--agente-radius-sm);transition:background var(--agente-transition);margin-bottom:2px}.agente-rail .MuiListItemButton-root.Mui-selected{background:var(--agente-accent-soft);color:var(--joy-palette-primary-800,#1e40af)}.agente-status-dot{border-radius:50%;width:8px;height:8px;margin-right:6px;display:inline-block}.agente-status-dot.is-ok{background:#22c55e;box-shadow:0 0 0 3px #22c55e33}.agente-status-dot.is-warn{background:#94a3b8}@media (width<=1100px){.agente-rag-grid{grid-template-rows:auto;grid-template-columns:1fr}.agente-rag-query,.agente-rag-results,.agente-rag-ingest{grid-area:auto/1}.agente-rail{border-right:none;border-bottom:1px solid var(--agente-border-soft);width:100%;max-height:220px}.agente-panel-layout{flex-direction:column}}@media (width<=900px){.agente-module-nav{flex-wrap:nowrap;width:100%;overflow-x:auto}}.agente-memories-rail{border-left:1px solid var(--agente-border-soft);border-right:none;width:260px}.agente-module #smart-chat-root.smart-chat-root{--smart-chat-radius:var(--agente-radius-lg,18px);--smart-chat-composer-radius:26px;--smart-chat-surface:var(--agente-surface,#fff);--smart-chat-muted:var(--agente-muted,#f8fafc);--smart-chat-border:var(--agente-border,#e2e8f0);--smart-chat-shadow:var(--agente-shadow-md,0 8px 30px #0f172a0f)}#smart-chat-root.smart-chat-root{--smart-chat-radius:16px;--smart-chat-composer-radius:26px;--smart-chat-surface:var(--joy-palette-background-surface,#fff);--smart-chat-muted:var(--joy-palette-neutral-50,#f8fafc);--smart-chat-border:var(--joy-palette-neutral-outlinedBorder,#e5e7eb);--smart-chat-shadow:0 8px 30px #0f172a0f;flex-direction:column;height:100%;min-height:0;display:flex}#smart-chat-root .smart-chat-shell{border:1px solid var(--smart-chat-border);border-radius:var(--smart-chat-radius);background:var(--smart-chat-surface);min-height:0;box-shadow:var(--smart-chat-shadow);flex-direction:column;flex:1;display:flex;overflow:hidden}#smart-chat-root .smart-chat-toolbar{border-bottom:1px solid var(--smart-chat-border);background:color-mix(in srgb, var(--smart-chat-surface) 92%, var(--joy-palette-primary-50,#eff6ff));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);flex-shrink:0;padding:10px 14px}#smart-chat-root .smart-chat-body{background:linear-gradient(180deg, var(--smart-chat-muted) 0%, var(--smart-chat-surface) 120px);flex:1;min-height:0;display:flex}#smart-chat-root .smart-chat-sidebar{background:color-mix(in srgb, var(--smart-chat-muted) 80%, transparent);border-right:1px solid var(--smart-chat-border)!important;padding:12px 10px 12px 12px!important}#smart-chat-root .smart-chat-sidebar .MuiListItemButton-root{border-radius:10px;margin-bottom:2px}#smart-chat-root .smart-chat-sidebar .MuiListItemButton-root.Mui-selected{background:var(--joy-palette-primary-softBg,#dbeafe);color:var(--joy-palette-primary-softColor,#1e3a8a)}#smart-chat-root .smart-chat-main{flex-direction:column;flex:1;min-width:0;max-width:none;min-height:0;margin:0;padding:0;display:flex}#smart-chat-root .smart-chat-thread{background:0 0;border:none;border-radius:0;flex-direction:column;flex:1;min-height:0;display:flex}#smart-chat-root .smart-chat-viewport{scroll-behavior:smooth;flex-direction:column;flex:1;gap:16px;min-height:0;padding:20px 20px 8px;display:flex;overflow-y:auto}#smart-chat-root .smart-chat-empty-state{margin:auto}#smart-chat-root .smart-chat-empty-icon{box-shadow:0 10px 30px #2563eb26}#smart-chat-root .smart-chat-msg{word-break:break-word;box-sizing:border-box;gap:10px;max-width:min(760px,92%);font-size:.95rem;line-height:1.55;display:flex}#smart-chat-root .smart-chat-msg-user{background:var(--joy-palette-primary-500,#2563eb);color:#fff;border-radius:20px 20px 6px;flex-direction:row-reverse;align-self:flex-end;padding:12px 16px;box-shadow:0 6px 18px #2563eb38}#smart-chat-root .smart-chat-msg-user .smart-chat-md a{color:#dbeafe}#smart-chat-root .smart-chat-msg-user .smart-chat-md code{color:#fff;background:#ffffff29}#smart-chat-root .smart-chat-msg-assistant{width:100%;max-width:min(820px,100%);color:var(--joy-palette-text-primary,#111827);background:0 0;align-self:flex-start;padding:0}#smart-chat-root .smart-chat-msg-avatar{background:linear-gradient(135deg,#60a5fa,#2563eb);border-radius:999px;flex-shrink:0;width:28px;height:28px;margin-top:4px;box-shadow:0 4px 12px #2563eb40}#smart-chat-root .smart-chat-msg-body{background:color-mix(in srgb, var(--smart-chat-surface) 88%, var(--smart-chat-muted));border:1px solid var(--smart-chat-border);border-radius:14px;flex:1;min-width:0;padding:10px 14px}#smart-chat-root .smart-chat-md{width:100%;min-width:0}#smart-chat-root .smart-chat-md>:first-child{margin-top:0}#smart-chat-root .smart-chat-md>:last-child{margin-bottom:0}#smart-chat-root .smart-chat-md p{margin:.55em 0}#smart-chat-root .smart-chat-md h1,#smart-chat-root .smart-chat-md h2,#smart-chat-root .smart-chat-md h3,#smart-chat-root .smart-chat-md h4,#smart-chat-root .smart-chat-md h5,#smart-chat-root .smart-chat-md h6{margin:.8em 0 .35em;font-weight:600;line-height:1.3}#smart-chat-root .smart-chat-md h1{font-size:1.25em}#smart-chat-root .smart-chat-md h2{font-size:1.15em}#smart-chat-root .smart-chat-md h3{font-size:1.05em}#smart-chat-root .smart-chat-md ul,#smart-chat-root .smart-chat-md ol{margin:.5em 0;padding-left:1.4em}#smart-chat-root .smart-chat-md li+li{margin-top:.2em}#smart-chat-root .smart-chat-md blockquote{border-left:3px solid var(--joy-palette-neutral-300,#d1d5db);color:var(--joy-palette-neutral-600,#4b5563);margin:.5em 0;padding-left:.75em}#smart-chat-root .smart-chat-md a{color:var(--joy-palette-primary-600,#1d4ed8);text-decoration:underline}#smart-chat-root .smart-chat-md code{background:var(--joy-palette-neutral-100,#f3f4f6);border-radius:6px;padding:.12em .4em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.88em}#smart-chat-root .smart-chat-md pre{color:#f8fafc;background:#0f172a;border-radius:10px;margin:.65em 0;padding:.8em .9em;overflow-x:auto}#smart-chat-root .smart-chat-md pre code{color:inherit;background:0 0;padding:0;font-size:.85em}#smart-chat-root .smart-chat-md table{border-collapse:collapse;width:100%;margin:.5em 0;display:table}#smart-chat-root .smart-chat-md th,#smart-chat-root .smart-chat-md td{border:1px solid var(--smart-chat-border);padding:.4em .55em}#smart-chat-root .smart-chat-md th{background:var(--joy-palette-neutral-100,#f3f4f6);font-weight:600}#smart-chat-root .smart-chat-md hr{border:none;border-top:1px solid var(--smart-chat-border);margin:.8em 0}#smart-chat-root .smart-chat-composer-wrap{background:linear-gradient(180deg, transparent, var(--smart-chat-surface) 28%);flex-shrink:0;padding:8px 16px 14px}#smart-chat-root .smart-chat-composer{border:1px solid var(--smart-chat-border);border-radius:var(--smart-chat-composer-radius);background:var(--smart-chat-surface);align-items:flex-end;gap:10px;padding:10px 12px 10px 16px;display:flex;box-shadow:0 10px 38px #0f172a14}#smart-chat-root .smart-chat-composer:focus-within{border-color:var(--joy-palette-primary-300,#93c5fd);box-shadow:0 10px 38px #0f172a14, 0 0 0 3px color-mix(in srgb, var(--joy-palette-primary-200,#bfdbfe) 65%, transparent)}#smart-chat-root .smart-chat-input{resize:none;min-height:24px;max-height:180px;font:inherit;background:0 0;border:none;outline:none;flex:1;padding:6px 0;line-height:1.5}#smart-chat-root .smart-chat-send{min-width:40px;min-height:40px;border-radius:999px!important}#smart-chat-root .smart-chat-send:disabled{opacity:.45}#smart-chat-root .smart-chat-composer-hint{text-align:center;color:var(--joy-palette-neutral-500,#6b7280);justify-content:center;align-items:center;gap:6px;margin:8px 0 0;font-size:.75rem;display:flex}#smart-chat-root .smart-chat-composer-hint-icon{color:var(--joy-palette-primary-500,#6366f1);flex-shrink:0;font-size:14px}#smart-chat-root .smart-chat-model-select .MuiSelect-button{background:var(--smart-chat-surface);border-radius:999px;min-height:34px;font-size:.82rem}@media (width<=900px){#smart-chat-root .smart-chat-viewport{padding:14px 12px 6px}#smart-chat-root .smart-chat-composer-wrap{padding:6px 10px 10px}#smart-chat-root .smart-chat-msg{max-width:96%}}@keyframes aui-pulse{50%{opacity:.5}}:where(.aui-md[data-status=running]):empty:after,:where(.aui-md[data-status=running])>:where(:not(ol):not(ul):not(pre)):last-child:after,:where(.aui-md[data-status=running])>pre:last-child code:after,:where(.aui-md[data-status=running])>:where(:is(ol,ul):last-child)>:where(li:last-child:not(:has(*>li))):after,:where(.aui-md[data-status=running])>:where(:is(ol,ul):last-child)>:where(li:last-child)>:where(:is(ol,ul):last-child)>:where(li:last-child:not(:has(*>li))):after,:where(.aui-md[data-status=running])>:where(:is(ol,ul):last-child)>:where(li:last-child)>:where(:is(ol,ul):last-child)>:where(li:last-child)>:where(:is(ol,ul):last-child)>:where(li:last-child):after{--aui-content:"●";content:var(--aui-content);margin-left:.25rem;margin-right:.25rem;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;animation:2s cubic-bezier(.4,0,.6,1) infinite aui-pulse}
