@font-face{font-family:Work;src:url('/static/work-sans-latin.woff2') format('woff2');font-display:swap;font-weight:100 900}*{box-sizing:border-box}body{margin:0;color:#243b32;background:#f8f9f5;font-family:Work,'Trebuchet MS',sans-serif;font-size:14px}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button{transition:background .15s,color .15s;border:0}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #6b8c50;outline-offset:3px}button:hover:not(:disabled){filter:brightness(.94)}[hidden]{display:none!important}.eyebrow,.section-label{font-size:10px;font-weight:600;letter-spacing:1.8px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:10px;line-height:1.5;letter-spacing:2px}.brand strong{font-size:13px;letter-spacing:1.8px}.brand-mark{position:relative;display:grid;place-items:center;width:43px;height:43px;border:1px solid #8cae98;border-radius:12px;font-family:Georgia,serif;font-size:40px;line-height:1;font-style:italic;letter-spacing:-3px;padding-right:6px}.brand-mark span{font-family:Work,sans-serif;font-style:normal;font-size:19px;position:absolute;right:4px;top:2px}.login-view{min-height:100dvh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:#172e27;color:#eaf0dd;padding:60px;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh;background-image:radial-gradient(ellipse at 100% 100%,#29473a,transparent 65%)}.login-story h1{font:normal clamp(42px,4.4vw,72px)/1.08 Georgia,serif;letter-spacing:-2px;margin:25px 0}.intro{line-height:1.9;color:#bdcdbf;font-size:16px}.story-footer{font-size:12px;color:#b3c2b7}.story-footer span{padding:0 10px}.login-panel{display:grid;place-items:center;padding:40px}.login-panel form{max-width:365px;width:100%}.login-panel h2{font-size:27px;letter-spacing:-.8px;margin:15px 0}.login-panel p{line-height:1.7;color:#6a786e;margin-bottom:28px}label{display:block;font-weight:500;font-size:12px;margin:20px 0 9px}input,dialog textarea{border:1px solid #cdd5cb;background:#fff;border-radius:8px;width:100%;padding:14px;color:#243b32}.primary{width:100%;background:#243e31;color:#f6f8ed;border-radius:8px;padding:14px 18px;font-weight:500;margin-top:20px;display:flex;justify-content:space-between;align-items:center}.login-panel small{display:block;text-align:center;color:#728074;margin-top:26px;font-size:11px}.error{color:#a23c32!important;min-height:18px;margin:10px 0!important}.workspace{height:100dvh;display:grid;grid-template-columns:264px minmax(0,1fr)}.sidebar{background:#172e27;color:#d7e1d3;padding:30px 20px 0;display:flex;flex-direction:column;min-height:0}.sidebar .brand{margin:0 10px 37px}.service-current{display:flex;align-items:center;gap:10px;background:#294539;border:1px solid #3e5c49;padding:14px;border-radius:8px;color:#f3f6e9;font-weight:500;font-size:13px}.live-dot{display:inline-block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:#9fbf88}.tag{margin-left:auto;color:#c1d6a8;background:#3a5441;font-size:8px;letter-spacing:1px;padding:4px 6px;border-radius:3px}.new-chat{background:transparent;color:#dce8d8;border:1px solid #4a6251;margin:20px 0 27px;padding:12px 10px;display:flex;align-items:center;gap:9px;border-radius:7px;font-size:12px}.new-chat span{font-size:18px;line-height:14px}.new-chat kbd{font-size:9px;margin-left:auto;opacity:.5}.sidebar .section-label{font-size:9px;color:#9eafa0;letter-spacing:1.6px;margin:0 12px 12px}#conversation-list{min-height:70px;overflow-y:auto;flex:1;margin:0 -5px}#conversation-list button{background:none;text-align:left;display:block;width:100%;padding:12px 15px;color:#b9cbbd;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-left:2px solid transparent;border-radius:3px}#conversation-list button[aria-current=true]{background:#2b4136;color:#f2f7e9;border-left-color:#c7dfa6}#conversation-list .empty-history{font-size:11px;line-height:1.8;color:#a6b9aa;padding:0 17px}.roadmap{margin-top:24px;border-top:1px solid #364d3e;padding-top:22px}.roadmap>div{margin:16px 12px;font-size:12px;color:#abbcac;display:grid;grid-template-columns:20px 1fr;gap:6px}.roadmap small{grid-column:2;color:#99ac9e;font-size:10px}.roadmap>div>span{font-size:15px}.sidebar-footer{border-top:1px solid #364d3e;display:flex;align-items:center;gap:10px;margin-top:20px;padding:20px 0}.avatar{display:grid;place-items:center;width:30px;height:30px;border:1px solid #57705c;border-radius:50%;font-size:10px;color:#cfdfc9}.sidebar-footer b{font-weight:500;font-size:11px}.sidebar-footer small{display:block;font-size:9px;color:#a1b1a3;margin-top:4px}.sidebar-footer button{margin-left:auto;color:#c2d2c2}main{min-width:0;display:flex;flex-direction:column;height:100dvh}.topbar{height:73px;flex-shrink:0;border-bottom:1px solid #dce1d7;display:flex;justify-content:space-between;align-items:center;padding:0 42px}.breadcrumb{font-size:11px;color:#778278}.breadcrumb span{padding:0 13px;color:#b4beb2}.breadcrumb b{color:#344e3f;font-weight:500}.topbar-right{display:flex;align-items:center;gap:24px}.connected{font-size:10px;color:#697c65;display:flex;align-items:center;gap:7px}.quiet-button{font-size:11px;font-weight:500;border:1px solid #cdd6c7;padding:9px 12px;border-radius:6px;background:transparent;color:#435c45}.icon-button{min-width:36px;min-height:36px;background:transparent;color:#647b63;font-size:21px;display:inline-grid;place-items:center;border-radius:5px}.chat-heading{padding:29px 42px 22px;display:flex;justify-content:space-between;align-items:center;gap:20px}.chat-heading .eyebrow{font-size:9px;letter-spacing:1.7px;color:#84927d}.chat-heading h2{font-size:16px;letter-spacing:-.35px;font-weight:500;margin:9px 0 0;max-width:650px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-actions{display:flex;align-items:center;gap:7px;flex-shrink:0}.conversation{flex:1;min-height:0;overflow:auto;padding:0 42px;scrollbar-gutter:stable}.welcome{max-width:840px;margin:clamp(10px,5vh,80px) auto 40px}.terminal-emblem{font:20px ui-monospace,monospace;display:grid;place-items:center;background:#e4ebdb;border:1px solid #d0dbc4;width:48px;height:48px;border-radius:12px;margin-bottom:30px;color:#587743}.welcome .eyebrow{color:#7f9077;font-size:9px}.welcome h1{font:normal clamp(36px,4vw,58px)/1.07 Georgia,'Times New Roman',serif;letter-spacing:-1.7px;margin:20px 0}.welcome h1 em{font-weight:normal;color:#648052}.welcome>p:not(.eyebrow){font-size:13px;color:#73806c;line-height:1.9}.suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:38px}.suggestions button{background:#f2f4ec;border:1px solid #dce2d3;border-radius:8px;padding:19px 16px 36px;text-align:left;position:relative;font-size:12px;color:#334c35;line-height:1.5;min-height:104px}.suggestions button span{display:block;font-size:8px;letter-spacing:1.3px;color:#809072;margin-bottom:12px}.suggestions b{position:absolute;bottom:12px;right:14px;font-size:17px;font-weight:400;color:#7c9270}.composer-area{padding:10px 42px 24px;flex-shrink:0}.composer{display:flex;gap:12px;align-items:flex-end;border:1px solid #bdcbb1;border-radius:11px;background:#fff;padding:13px 13px 13px 18px;box-shadow:0 4px 15px #28422505;max-width:1000px;margin:auto}.composer:focus-within{border-color:#6d8b57;box-shadow:0 0 0 2px #d8e2cf}.prompt-mark{font-size:22px;color:#7a9566;padding-bottom:5px}.composer textarea{resize:none;width:100%;height:36px;max-height:160px;min-height:36px;border:0;background:none;outline:none;padding:8px 0;line-height:1.5;color:#344c36;font-size:13px}.composer textarea:focus-visible{outline:none}.composer textarea::placeholder{color:#7a8774}.send-button{background:#284832;color:#eff6df;border-radius:8px;width:36px;height:36px;font-size:23px;flex-shrink:0}.composer-meta{display:flex;justify-content:space-between;gap:12px;max-width:1000px;margin:11px auto 0;color:#6d7d63;font-size:9px}.composer-meta .live-dot{width:4px;height:4px;margin-right:5px}.status{max-width:1000px;margin:0 auto 10px;font-size:11px;color:#6b805d;min-height:14px}.message{max-width:1000px;margin:20px auto 32px;animation:appear .2s ease}.message-label{font-size:9px;font-weight:600;letter-spacing:1.4px;color:#7c8e70;margin-bottom:12px;display:flex;gap:10px;align-items:center}.message-label span{font-weight:400;letter-spacing:0;color:#8e9a85}.message.user{margin-top:12px;margin-bottom:30px}.message.user .message-body{background:#eaf0e2;border:1px solid #dce5d2;border-radius:8px;padding:16px 20px}.message-body{line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;color:#324b38}.message-body p{margin:0 0 12px}.message-body pre,.plot{white-space:pre;overflow:auto;background:#ecf0e5;padding:15px;border:1px solid #d9e2d0;border-radius:7px;font:11px/1.6 ui-monospace,monospace}.message-body a{text-decoration:underline;text-decoration-color:#a6ba93;text-underline-offset:3px}.message.failed .message-body{color:#9b4435}.message.pending .message-body{color:#7c906e}.message.pending .message-body:after{content:' · · ·';animation:pulse 1.5s infinite}.message-tools{margin-top:12px;display:flex;gap:10px}.message-tools button{font-size:10px;background:none;color:#718268;padding:5px 0}.mobile-only{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{width:min(540px,calc(100% - 32px));border:1px solid #c9d5c0;border-radius:14px;background:#f8faf4;color:#29422f;padding:26px;box-shadow:0 24px 90px #142a2840}dialog::backdrop{background:#142b2555;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.dialog-heading h2{font-size:19px;font-weight:500;letter-spacing:-.6px}dialog p{font-size:12px;color:#65755c;line-height:1.8}dialog small{display:block;font-size:10px;line-height:1.6;color:#738366;margin-top:10px}dialog pre{font:10px/1.8 ui-monospace,monospace;overflow:auto;background:#eaf0e2;padding:16px;border-radius:7px}dialog a{font-size:12px}dialog textarea{resize:vertical}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.danger-button{background:#963f32;color:white;padding:12px 16px;border-radius:6px;font-size:12px}@keyframes appear{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes pulse{50%{opacity:.4}}@media(min-width:1500px){.conversation{padding-left:70px;padding-right:70px}.welcome{margin-top:8vh}}@media(max-height:800px){.welcome{margin-top:4px}.terminal-emblem{margin-bottom:18px}.welcome h1{font-size:43px}.suggestions{margin-top:22px}}@media(max-width:1000px){.workspace{grid-template-columns:225px 1fr}.sidebar{padding:25px 14px 0}.topbar{padding:0 25px}.chat-heading{padding:24px 25px 18px}.conversation{padding:0 25px}.composer-area{padding:10px 25px 20px}.chat-heading h2{max-width:300px}.suggestions{gap:8px}.suggestions button{padding:15px 11px 30px;font-size:11px}.composer-meta>span:last-child{display:none}.login-story{padding:40px}}@media(max-width:720px){.workspace{grid-template-columns:1fr}.sidebar{display:none;position:fixed;z-index:5;width:275px;top:64px;bottom:0;box-shadow:40px 0 100px #18332755}.workspace.menu-open .sidebar{display:flex}.mobile-only{display:inline-grid}.topbar{height:64px;padding:0 16px;gap:10px}.breadcrumb{flex:1}.breadcrumb span{padding:0 7px}.topbar-right{gap:7px}.connected{display:none}.chat-heading{padding:22px 20px 12px;gap:8px}.chat-heading h2{font-size:14px;max-width:210px}.chat-actions{gap:2px}.chat-actions .icon-button{min-width:28px}.chat-actions .quiet-button{padding:7px;font-size:10px}.conversation{padding:0 20px}.welcome{margin-top:20px}.welcome h1{font-size:45px}.welcome>p:not(.eyebrow){font-size:12px}.suggestions{grid-template-columns:1fr;gap:8px;margin-top:25px}.suggestions button{min-height:auto;padding:14px 33px 14px 14px;display:flex;align-items:center;gap:16px;font-size:11px}.suggestions button span{font-size:7px;margin:0;min-width:100px}.suggestions b{bottom:11px;right:14px}.composer-area{padding:10px 16px calc(15px + env(safe-area-inset-bottom))}.composer textarea{font-size:16px}.composer-meta{font-size:8px}.terminal-emblem{width:40px;height:40px;margin-bottom:24px}.login-view{grid-template-columns:1fr}.login-story{min-height:270px;padding:28px}.login-story h1{font-size:35px;margin:20px 0 0}.login-story .eyebrow,.login-story .intro,.story-footer{display:none}.login-panel{padding:35px 28px}.login-panel h2{font-size:24px}.login-panel small{margin-bottom:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Mapa manual de fuentes: sus estados reflejan las conexiones del servidor. */
.workspace{grid-template-columns:244px minmax(0,1fr) 322px}.sidebar{padding-left:16px;padding-right:16px}.topbar{padding:0 28px}.chat-heading{padding:27px 28px 20px}.chat-heading h2{max-width:370px}.conversation{padding:0 28px}.composer-area{padding-left:28px;padding-right:28px}.welcome h1{font-size:clamp(34px,3.25vw,51px)}.source-panel{border-left:1px solid #dce1d7;background:#f1f4ec;padding:32px 18px 24px;overflow:auto}.source-header{display:flex;align-items:center;justify-content:space-between;padding:0 6px}.source-header .eyebrow{font-size:8px;letter-spacing:1.2px;color:#7d8e71}.source-header h2{font:normal 23px Georgia,serif;letter-spacing:-.5px;margin:10px 0}.source-header button{display:none}.source-intro{font-size:11px;line-height:1.9;color:#728269;padding:0 6px;margin-top:9px}.source-graph{position:relative;width:100%;aspect-ratio:300/340;margin:18px auto 7px;max-width:330px}.source-graph svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.source-graph path{fill:none;stroke:#ccd5c4;stroke-width:1.2;stroke-dasharray:4 5;transition:stroke .3s}.source-graph path.connected{stroke:#749c52;stroke-width:1.5;stroke-dasharray:none}.source-graph path.active{stroke:#476d2f;stroke-width:2.5;stroke-dasharray:5 3;animation:flow 1s linear infinite}.agent-node{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:94px;height:91px;display:flex;align-items:center;justify-content:center;flex-direction:column;background:#243d2e;color:#eef5e5;border:4px solid #e1e9d7;border-radius:18px;box-shadow:0 0 0 1px #c7d6b9}.agent-node>span{font:italic 29px Georgia,serif;letter-spacing:-3px;padding-right:5px}.agent-node b{font-size:10px;font-weight:500;margin-top:2px}.agent-node small{font-size:7px;color:#c6d8b7;margin-top:4px}.source-node{position:absolute;width:86px;min-height:78px;transform:translate(-50%,-50%);border:1px solid #cfd9c6;border-radius:10px;background:#f8faf5;padding:10px 3px 9px;color:#718268;display:flex;align-items:center;flex-direction:column;gap:5px;box-shadow:0 2px 5px #213c2603}.source-node b{font-size:9px;font-weight:500}.source-node small{font-size:6.8px;color:#7b8a70}.node-icon{font:20px/1.1 Georgia,serif;color:#8c9e7e}.source-node[aria-pressed=true]{border-color:#8bab70;background:#e6efd9;color:#304c28;box-shadow:0 0 0 2px #d9e7cb}.source-node[aria-pressed=true] .node-icon{color:#5d803e}.source-node[aria-pressed=true] small{color:#517b33}.source-node.active{box-shadow:0 0 0 4px #d2e2be;animation:pulse 1.8s infinite}.source-node:disabled{opacity:1}.node-ventas{left:19.3%;top:18.2%}.node-acciones{left:50%;top:14.1%}.node-presupuestos{left:80.7%;top:18.2%}.node-calendario{left:19.3%;top:82.3%}.node-sucursales{left:50%;top:86.5%}.node-metodos{left:80.7%;top:82.3%}.source-summary{text-align:center;font-size:10px;color:#74896a;margin:14px 0 28px}.source-guide{border:1px solid #d4dfca;background:#e9eee1;padding:16px;border-radius:8px;font-size:10px;line-height:1.85;color:#6a7c60}.source-guide>b{font-size:11px;font-weight:500;color:#455d37}.source-guide p:last-child{margin-bottom:0}.source-guide strong{font-weight:500;color:#4c693e}.source-legend{display:flex;justify-content:center;gap:18px;margin-top:22px;color:#7d8c71;font-size:8px}.source-legend i{display:inline-block;width:6px;height:6px;border:1px solid #adbfa0;border-radius:50%;margin-right:4px}.source-legend span:last-child i{background:#86a86b;border-color:#86a86b}#source-count{display:inline-grid;place-items:center;margin-left:5px;border-radius:50%;min-width:15px;height:15px;background:#e2ebd7;font-size:9px}#sources-toggle{display:none}.composer-meta>span:last-child{display:none}.suggestions{grid-template-columns:1fr}.suggestions button{min-height:auto;padding:14px 30px 14px 14px;display:flex;align-items:center;gap:15px;font-size:11px}.suggestions button span{font-size:7px;margin:0;min-width:115px}.suggestions b{bottom:11px}.welcome{margin-top:clamp(4px,4vh,45px)}@keyframes flow{to{stroke-dashoffset:-16}}@media(min-width:1650px){.workspace{grid-template-columns:264px minmax(0,1fr) 360px}.source-panel{padding:37px 22px}.suggestions{grid-template-columns:repeat(3,1fr)}.suggestions button{display:block;padding:20px 16px 36px;min-height:110px}.suggestions button span{margin-bottom:13px}.welcome{margin-top:6vh}}@media(max-width:1200px){.workspace{grid-template-columns:225px minmax(0,1fr)}.source-panel{display:none}#sources-toggle{display:inline-block}.workspace.sources-open .source-panel{display:block;position:fixed;right:0;top:73px;bottom:0;width:340px;z-index:6;box-shadow:-30px 0 100px #1a332428}.source-header button{display:inline-grid}.welcome h1{font-size:45px}}@media(max-width:720px){.workspace{grid-template-columns:1fr}.topbar{padding:0 12px}.chat-heading{padding:22px 18px 14px}.chat-heading h2{max-width:180px}.conversation{padding:0 20px}.composer-area{padding-left:16px;padding-right:16px}.workspace.sources-open .source-panel{top:64px;width:min(340px,100%)}.breadcrumb{font-size:10px}.breadcrumb span{padding:0 5px}.topbar-right{gap:5px}.topbar-right .quiet-button{font-size:10px;padding:7px}.welcome h1{font-size:37px}.suggestions button{gap:8px;font-size:10px}.suggestions button span{min-width:100px}.source-node{min-height:80px}#source-count{margin-left:2px}.source-header button{min-width:44px;min-height:44px}}@media(prefers-reduced-motion:reduce){.source-graph path.active{animation:none}}
.source-node{color:#52634a}.source-node b{font-size:10px}.source-node small{font-size:8px;color:#617454}.source-intro{color:#58694f}.source-summary{color:#586f4d}.source-node[aria-pressed=true] small{color:#45682b}
