:root{--primary-accent:#1d4ed8;--secondary-accent:#2563eb;--accent-hover:#1e40af;--accent-light:#eff6ff;--accent-border:#bfdbfe;--bg-main:#f8fafc;--bg-surface:#fff;--bg-card:#fff;--bg-muted:#f1f5f9;--border-color:#e2e8f0;--border-subtle:#cbd5e1;--text-main:#0f172a;--text-muted:#64748b;--text-light:#94a3b8;--text-inverse:#fff;--status-idle:#94a3b8;--status-active:#2563eb;--status-success:#10b981;--status-warning:#f59e0b;--shadow-sm:0 1px 3px #0f172a0d;--shadow-md:0 4px 20px -2px #1d4ed814;--shadow-lg:0 10px 25px -5px #1d4ed81f;--font-body:"Inter", system-ui, -apple-system, sans-serif;--font-heading:"Outfit", "Inter", system-ui, sans-serif;font-family:var(--font-body);color:var(--text-main);background-color:var(--bg-main);box-sizing:border-box;font-size:15px;line-height:1.5}*,:before,:after{box-sizing:inherit;margin:0;padding:0}body{background-color:var(--bg-main);min-height:100vh;color:var(--text-main);font-family:var(--font-body);margin:0;overflow-x:hidden}button,input,textarea,select{font-family:var(--font-body)}#root{flex-direction:column;min-height:100vh;display:flex}h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);color:var(--text-main);letter-spacing:-.02em;font-weight:600}h1{font-size:1.875rem;line-height:2.25rem}h2{font-size:1.5rem;line-height:2rem}h3{font-size:1.25rem;line-height:1.75rem}h4{font-size:1rem;line-height:1.5rem}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--bg-muted)}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:9999px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.btn{font-family:var(--font-body);cursor:pointer;border:1px solid #0000;border-radius:.5rem;justify-content:center;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;text-decoration:none;transition:all .2s ease-in-out;display:inline-flex}.btn-primary{background-color:var(--primary-accent);color:var(--text-inverse)}.btn-primary:hover{background-color:var(--accent-hover);box-shadow:0 4px 12px #1d4ed840}.btn-secondary{background-color:var(--accent-light);color:var(--primary-accent);border-color:var(--accent-border)}.btn-secondary:hover{background-color:#dbeafe}.btn-outline{color:var(--text-main);border-color:var(--border-color);background-color:#0000}.btn-outline:hover{background-color:var(--bg-muted);border-color:var(--border-subtle)}.btn:disabled{opacity:.6;cursor:not-allowed}.agent-badge{text-transform:uppercase;letter-spacing:.05em;background-color:var(--accent-light);color:var(--secondary-accent);border:1px solid var(--accent-border);border-radius:9999px;align-items:center;gap:.375rem;padding:.25rem .625rem;font-size:.75rem;font-weight:600;display:inline-flex}@keyframes pulse-subtle{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.05)}}.animate-pulse-subtle{animation:2s cubic-bezier(.4,0,.6,1) infinite pulse-subtle}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-spin{animation:1s linear infinite spin}.markdown-body{color:var(--text-main);-webkit-overflow-scrolling:touch;min-width:0;max-width:100%;font-size:.9375rem;line-height:1.6;overflow-x:auto}.markdown-body p{margin-bottom:.75rem}.markdown-body p:last-child{margin-bottom:0}.markdown-body ul,.markdown-body ol{margin-bottom:.75rem;margin-left:1.5rem}.markdown-body table{table-layout:auto;box-sizing:border-box;border-collapse:separate;border-spacing:0;border:1px solid var(--border-color);width:100%;max-width:100%;box-shadow:var(--shadow-sm);border-radius:.5rem;margin:1rem 0;display:table;overflow:hidden}@media (width<=768px){.markdown-body table{-webkit-overflow-scrolling:touch;display:block;overflow-x:auto}}.markdown-body th{background-color:var(--primary-accent);color:var(--text-inverse);font-family:var(--font-heading);text-align:left;white-space:normal;word-break:break-word;overflow-wrap:break-word;padding:.75rem 1rem;font-size:.875rem;font-weight:600}.markdown-body td{border-bottom:1px solid var(--border-color);background-color:var(--bg-surface);word-break:break-word;overflow-wrap:break-word;padding:.75rem 1rem;font-size:.875rem}.markdown-body tr:last-child td{border-bottom:none}.markdown-body tr:nth-child(2n) td{background-color:var(--accent-light)}.markdown-body code{background-color:var(--bg-muted);color:var(--primary-accent);border-radius:.25rem;padding:.15rem .4rem;font-family:Consolas,Monaco,monospace;font-size:.85em}.markdown-body pre{color:#f8fafc;background-color:#0f172a;border-radius:.5rem;margin:.75rem 0;padding:1rem;overflow-x:auto}.markdown-body pre code{color:inherit;background-color:#0000;padding:0}.markdown-body blockquote{border-left:4px solid var(--secondary-accent);color:var(--text-muted);margin:.75rem 0;padding-left:1rem;font-style:italic}.visualizer-card-container{background:var(--bg-surface);border:1px solid var(--border-color);box-shadow:var(--shadow-md);border-radius:.75rem;flex-direction:column;gap:1.25rem;padding:1.5rem;display:flex}.visualizer-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding-bottom:1rem;display:flex}@media (width<=900px){.visualizer-header{flex-direction:column;align-items:flex-start;gap:.85rem}}.title-row{align-items:center;gap:.85rem;display:flex}.icon-badge{background:#fff;border:1px solid #cbd5e1;border-radius:.65rem;flex-shrink:0;justify-content:center;align-items:center;width:42px;height:42px;display:flex;box-shadow:0 2px 8px #0f172a14}.visualizer-title{font-family:var(--font-heading);color:var(--text-main);margin:0;font-size:1.25rem;font-weight:700}.visualizer-subtitle{color:var(--text-muted);margin:0;font-size:.8rem}.btn-header-action{color:#fff;cursor:pointer;background:#1d4ed8;border:none;border-radius:.5rem;align-items:center;gap:.4rem;padding:.55rem 1rem;font-size:.85rem;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #1d4ed833}.btn-header-action:hover:not(:disabled){background:#1e40af;transform:translateY(-1px);box-shadow:0 4px 14px #1d4ed84d}.btn-header-action:disabled{opacity:.6;cursor:not-allowed;transform:none}.empty-view-card-state{text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:.75rem;flex-direction:column;align-items:center;gap:.75rem;padding:3rem 1.5rem;display:flex}.empty-view-card-state .empty-title{color:#0f172a;margin:0;font-size:1.1rem;font-weight:700}.empty-view-card-state .empty-desc{color:#64748b;margin:0;font-size:.85rem}.empty-view-card-state .btn-primary-action{color:#fff;cursor:pointer;background:#1d4ed8;border:none;border-radius:.5rem;align-items:center;gap:.4rem;margin-top:.5rem;padding:.6rem 1.25rem;font-size:.875rem;font-weight:600;transition:all .2s;display:inline-flex}.empty-view-card-state .btn-primary-action:hover{background:#1e40af;box-shadow:0 4px 12px #1d4ed833}.empty-visualizer-container{background:var(--bg-surface);border:1px solid var(--border-color);text-align:center;box-shadow:var(--shadow-sm);border-radius:1rem;flex-direction:column;justify-content:center;align-items:center;padding:3.5rem 1.5rem;display:flex}.empty-visualizer-box{flex-direction:column;align-items:center;gap:.85rem;max-width:480px;display:flex}.empty-visualizer-icon{background:linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));border-radius:1.25rem;justify-content:center;align-items:center;width:72px;height:72px;margin-bottom:.5rem;display:flex;box-shadow:0 10px 25px -5px #1d4ed859}.empty-visualizer-title{font-family:var(--font-heading);color:var(--text-muted);margin:0;font-size:1.25rem;font-weight:400;line-height:1.4}.empty-visualizer-subtitle{color:var(--text-muted);margin:0;font-size:.875rem;line-height:1.5}.top-notification-banner{box-sizing:border-box;color:#1d4ed8;width:100%;font-family:var(--font-heading,inherit);z-index:9999;background:#eff6ff;border-bottom:1px solid #bfdbfe;flex-shrink:0;font-size:.85rem;line-height:1.4;animation:.25s cubic-bezier(.16,1,.3,1) slideDownBanner;box-shadow:0 2px 10px #1d4ed80f}@keyframes slideDownBanner{0%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}.banner-container{box-sizing:border-box;justify-content:space-between;align-items:center;gap:1rem;max-width:1400px;margin:0 auto;padding:.5rem 1.25rem;display:flex}.banner-content{flex:1;align-items:center;gap:.6rem;min-width:0;display:flex}.banner-icon{color:#1d4ed8;flex-shrink:0}.banner-message{color:#1e40af;white-space:nowrap;text-overflow:ellipsis;font-weight:600;overflow:hidden}.banner-close-btn{color:#1d4ed8;cursor:pointer;background:#dbeafe;border:1px solid #bfdbfe;border-radius:.35rem;flex-shrink:0;justify-content:center;align-items:center;padding:.25rem;transition:all .15s;display:flex}.banner-close-btn:hover{color:#1e40af;background:#bfdbfe;transform:scale(1.05)}@media (width<=640px){.banner-container{padding:.45rem .85rem}.banner-message{white-space:normal;font-size:.8rem}}.navbar{z-index:40;background:#fff;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;height:68px;padding:0 1.5rem;display:flex;position:relative;box-shadow:0 2px 10px #1d4ed80a}.navbar-left,.navbar-center,.navbar-right{align-items:center;gap:1rem;display:flex}.brand-logo{align-items:center;gap:.75rem;display:flex}.logo-icon{background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 100%);border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:38px;height:38px;display:flex;box-shadow:0 4px 12px #1d4ed840}.logo-text{flex-direction:column;display:flex}.brand-title{font-family:var(--font-heading);color:#1d4ed8;letter-spacing:-.02em;font-size:1.35rem;font-weight:700;line-height:1.1}.server-status{border-radius:9999px;align-items:center;gap:.35rem;padding:.35rem .75rem;font-size:.75rem;font-weight:500;display:flex}.server-status.online{color:#047857;background-color:#ecfdf5;border:1px solid #a7f3d0}.server-status.offline{color:#dc2626;background-color:#fef2f2;border:1px solid #fecaca}.thread-selector-container{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.6rem;align-items:center;gap:.5rem;padding:.25rem .5rem;display:flex}.thread-select{color:#0f172a;cursor:pointer;background:0 0;border:none;outline:none;font-family:inherit;font-size:.875rem;font-weight:500}.user-profile-chip{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9999px;align-items:center;gap:.75rem;padding:.35rem .75rem;display:flex}.user-avatar-fallback{color:#fff;background:#1d4ed8;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:.8rem;font-weight:600;display:flex}.user-info{flex-direction:column;display:flex}.user-name{color:#0f172a;font-size:.85rem;font-weight:600;line-height:1.2}.btn-icon-logout{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:.375rem;justify-content:center;align-items:center;padding:.3rem;transition:all .2s;display:flex}.btn-icon-logout:hover{color:#ef4444;background:#fee2e2}.btn-upload-cnb{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:.5rem;align-items:center;gap:.4rem;padding:.45rem .85rem;font-size:.85rem;font-weight:600;transition:all .15s;display:inline-flex}.btn-upload-cnb:hover{background:#dbeafe;border-color:#2563eb;transform:translateY(-1px)}.btn-hamburger-menu{color:#1e293b;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:center;padding:.4rem;transition:all .2s;display:none}.btn-hamburger-menu:hover{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.mobile-menu-drawer{z-index:99;background:#fff;border-bottom:1px solid #cbd5e1;padding:.75rem 1rem;animation:.2s ease-out slideDown;position:absolute;top:100%;left:0;right:0;box-shadow:0 12px 24px #0f172a1f}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.mobile-nav-list{flex-direction:column;gap:.4rem;display:flex}.mobile-nav-item{color:#475569;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:.5rem;align-items:center;gap:.75rem;width:100%;padding:.65rem .85rem;font-size:.9rem;font-weight:500;transition:all .2s;display:flex}.mobile-nav-item:hover{color:#1d4ed8;background:#f8fafc}.mobile-nav-item.active,.mobile-cnb-btn{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe;font-weight:600}.cnb-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:99999;background:#0f172a80;justify-content:center;align-items:center;padding:1rem;animation:.2s ease-out fadeInModal;display:flex;position:fixed;inset:0}@keyframes fadeInModal{0%{opacity:0}to{opacity:1}}.cnb-modal-card{background:#fff;border:1px solid #e2e8f0;border-radius:.85rem;width:100%;max-width:500px;animation:.25s cubic-bezier(.16,1,.3,1) scaleUpModal;overflow:hidden;box-shadow:0 20px 40px -10px #0f172a40}@keyframes scaleUpModal{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.cnb-modal-header{background:#f8fafc;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;display:flex}.cnb-modal-title-row{align-items:center;gap:.75rem;display:flex}.cnb-modal-icon{color:#1d4ed8}.cnb-modal-title{font-family:var(--font-heading);color:#0f172a;margin:0;font-size:1.15rem;font-weight:700}.cnb-modal-subtitle{color:#64748b;margin:.15rem 0 0;font-size:.8rem}.cnb-modal-close-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:.35rem;justify-content:center;align-items:center;padding:.35rem;transition:all .15s;display:flex}.cnb-modal-close-btn:hover{color:#0f172a;background:#e2e8f0}.cnb-modal-form{flex-direction:column;gap:1.25rem;padding:1.5rem;display:flex}.cnb-form-group{flex-direction:column;gap:.4rem;display:flex}.cnb-form-label{color:#334155;font-size:.85rem;font-weight:600}.required-star{color:#dc2626}.cnb-form-input{color:#0f172a;border:1px solid #cbd5e1;border-radius:.5rem;outline:none;width:100%;padding:.65rem .85rem;font-size:.9rem;transition:border-color .2s,box-shadow .2s}.cnb-form-input:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb1f}.cnb-dropzone{text-align:center;cursor:pointer;background:#f8fafc;border:2px dashed #cbd5e1;border-radius:.65rem;padding:1.5rem 1rem;transition:all .2s}.cnb-dropzone:hover{background:#eff6ff;border-color:#2563eb}.cnb-dropzone.has-file{background:#eff6ff;border-style:solid;border-color:#bfdbfe;padding:1rem}.dropzone-placeholder{flex-direction:column;align-items:center;gap:.4rem;display:flex}.upload-icon{color:#1d4ed8}.upload-text{color:#1e40af;font-size:.875rem;font-weight:600}.upload-hint{color:#64748b;font-size:.75rem}.selected-file-info{align-items:center;gap:.75rem;width:100%;display:flex}.file-icon{color:#1d4ed8;flex-shrink:0}.file-details{text-align:left;flex-direction:column;flex:1;min-width:0;display:flex}.file-name{color:#0f172a;white-space:nowrap;text-overflow:ellipsis;font-size:.875rem;font-weight:600;overflow:hidden}.file-size{color:#64748b;font-size:.75rem}.change-file-btn{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:.35rem;padding:.3rem .6rem;font-size:.75rem;font-weight:600;transition:all .15s}.change-file-btn:hover{color:#0f172a;background:#f1f5f9}.cnb-modal-actions{justify-content:flex-end;align-items:center;gap:.75rem;margin-top:.5rem;display:flex}.btn-process-cnb{align-items:center;gap:.4rem;display:inline-flex}.spin-loader{color:#1d4ed8;animation:1s linear infinite spin}.btn-process-cnb .spin-loader,.btn-primary .spin-loader,.btn-load-visualizers .spin-loader,.btn-load-visualizers .spin{color:#fff}@media (width<=768px){.navbar{gap:.4rem;height:auto;min-height:56px;padding:.5rem .75rem}.btn-hamburger-menu{display:inline-flex!important}.navbar-left,.navbar-right{gap:.4rem}.navbar-center,.thread-selector-container,.brand-logo{display:none!important}.server-status span{display:none}.server-status{padding:.25rem .45rem}.thread-select{max-width:110px;font-size:.8rem}.user-name{display:none}.user-profile-chip{background:0 0;border:none;padding:.2rem .35rem}.btn-icon-logout{border-radius:.5rem;flex-shrink:0;justify-content:center;align-items:center;padding:.45rem;color:#dc2626!important;background:#fee2e2!important;display:inline-flex!important}.cnb-btn-text{display:none}.btn-upload-cnb{padding:.45rem}}.message-row{gap:.85rem;width:100%;margin-bottom:1.25rem;display:flex}.user-row{flex-direction:row-reverse}.avatar-cell{flex-shrink:0}.user-chat-avatar{color:#fff;background:#1d4ed8;border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;font-size:.8rem;font-weight:600;display:flex;overflow:hidden;box-shadow:0 2px 8px #1d4ed833}.user-avatar-img{object-fit:cover;border-radius:50%;width:100%;height:100%}.assistant-chat-avatar{background:linear-gradient(135deg,#1d4ed8,#2563eb);border-radius:50%;justify-content:center;align-items:center;width:36px;height:36px;display:flex;box-shadow:0 2px 8px #2563eb40}.message-bubble-wrapper{flex-direction:column;width:100%;min-width:0;max-width:90%;display:flex}.user-row .message-bubble-wrapper{width:auto;max-width:75%}.assistant-header-meta{align-items:center;gap:.5rem;margin-bottom:.35rem;display:flex}.assistant-label{color:#0f172a;font-size:.8rem;font-weight:700}.timestamp{color:#94a3b8;font-size:.7rem}.message-bubble{-webkit-overflow-scrolling:touch;overflow-wrap:break-word;word-break:break-word;border-radius:.85rem;min-width:0;padding:.85rem 1.15rem;overflow-x:auto;box-shadow:0 2px 10px #0f172a0a}@media (width<=768px){.message-bubble-wrapper{max-width:100%}.user-row .message-bubble-wrapper{max-width:90%}.message-bubble{padding:.75rem .95rem}}.user-bubble{color:#fff;background:#1d4ed8;border-top-right-radius:.15rem}.user-bubble .markdown-body{color:#fff}.user-bubble .markdown-body code{color:#fff;background:#fff3}.assistant-bubble{background:#fff;border:1px solid #e2e8f0;border-top-left-radius:.15rem}.floating-dots-footer{border-top:1px solid #f1f5f9;align-items:center;margin-top:.65rem;padding-top:.45rem;display:flex}.floating-dots-loader{align-items:center;gap:.4rem;padding:.35rem .5rem;display:inline-flex}.floating-dots-loader .dot{background-color:#2563eb;border-radius:50%;width:8px;height:8px;animation:1.4s ease-in-out infinite both floatDot}.floating-dots-loader .dot:first-child{animation-delay:-.32s}.floating-dots-loader .dot:nth-child(2){animation-delay:-.16s}.floating-dots-loader .dot:nth-child(3){animation-delay:0s}@keyframes floatDot{0%,80%,to{opacity:.4;transform:scale(.4)}40%{opacity:1;transform:scale(1.1)translateY(-5px)}}.quick-action-toolbar{border-top:1px solid #f1f5f9;flex-wrap:wrap;gap:.4rem;margin-top:.85rem;padding-top:.65rem;display:flex}.quick-view-btn{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:.375rem;align-items:center;gap:.35rem;padding:.3rem .65rem;font-size:.75rem;font-weight:600;transition:all .15s;display:inline-flex}.quick-view-btn:hover{background:#dbeafe;transform:translateY(-1px)}.agent-sidebar{background:#fff;border-right:1px solid #e2e8f0;flex-direction:column;gap:1rem;width:260px;min-width:260px;padding:1.15rem .85rem;transition:width .25s cubic-bezier(.16,1,.3,1),min-width .25s cubic-bezier(.16,1,.3,1),padding .25s;display:flex;overflow-y:auto;box-shadow:2px 0 12px #1d4ed808}.agent-sidebar.collapsed{width:64px;min-width:64px;padding:1.15rem .4rem}.sidebar-header{border-bottom:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding-bottom:.75rem;display:flex}.agent-sidebar.collapsed .sidebar-header{justify-content:center}.sidebar-title{color:#0f172a;text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:.5rem;font-size:.825rem;font-weight:700;display:flex}.btn-toggle-menu{color:#475569;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:.4rem;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;transition:all .2s;display:inline-flex}.btn-toggle-menu:hover{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}.nav-menu{flex-direction:column;gap:.4rem;display:flex}.nav-item{color:#64748b;cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:.5rem;align-items:center;gap:.75rem;width:100%;padding:.65rem .85rem;font-size:.875rem;font-weight:500;transition:all .2s;display:flex}.nav-item:hover{color:#1d4ed8;background:#f8fafc}.nav-item.active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe;font-weight:600}.agent-sidebar.collapsed .sidebar-title{display:none!important}.agent-sidebar.collapsed .nav-label{display:none}.agent-sidebar.collapsed .nav-item{justify-content:center;padding:.65rem .25rem}@media (width<=900px){.agent-sidebar{display:none!important}}.app-shell{background:#f8fafc;flex-direction:column;height:100vh;max-height:100vh;display:flex;overflow:hidden}.app-main-layout{flex:1;min-height:0;display:flex;overflow:hidden}.central-workspace{background:#f8fafc;flex-direction:column;flex:1;min-width:0;display:flex;overflow:hidden}.workspace-scroll-area{flex-direction:column;flex:1;min-height:0;padding:1.25rem;display:flex;overflow-y:auto}.workspace-scroll-area.chat-mode{overflow:hidden}.chat-view-wrapper{flex-direction:column;flex:1;gap:1rem;min-height:0;display:flex;overflow:hidden}.centered-hero-state{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;padding:2rem;animation:.3s ease-in-out fadeIn;display:flex}@keyframes fadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.hero-logo-box{background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 100%);border-radius:1.25rem;justify-content:center;align-items:center;width:76px;height:76px;margin-bottom:1.25rem;display:flex;box-shadow:0 10px 30px #1d4ed840}.hero-title{font-family:var(--font-heading);color:#0f172a;letter-spacing:-.03em;margin:0;font-size:2.25rem;font-weight:800}.hero-subtitle{color:#64748b;margin-top:.4rem;font-size:.95rem;font-weight:500}.messages-timeline{flex:1;min-height:0;padding-right:.5rem;overflow-y:auto}.chat-input-form{background:#fff;border:1px solid #cbd5e1;border-radius:.85rem;flex-direction:column;flex-shrink:0;gap:.5rem;padding:.65rem .85rem;transition:border-color .2s,box-shadow .2s;display:flex;box-shadow:0 4px 16px #0f172a0a}.chat-input-form:focus-within{border-color:#2563eb;box-shadow:0 4px 20px #2563eb1f}.chat-attachment-chip{background:#eff6ff;border:1px solid #bfdbfe;border-radius:.5rem;align-self:flex-start;align-items:center;gap:.4rem;padding:.35rem .65rem;font-size:.8rem;display:inline-flex}.chip-icon{color:#1d4ed8}.chip-name{color:#1e40af;font-weight:600}.chip-size{color:#64748b;font-size:.725rem}.chip-remove-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:.25rem;justify-content:center;align-items:center;padding:.15rem;display:inline-flex}.chip-remove-btn:hover{color:#ef4444;background:#fee2e2}.btn-attach-file{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:.5rem;justify-content:center;align-items:center;padding:.45rem;transition:all .2s;display:inline-flex}.btn-attach-file:hover:not(:disabled){color:#1d4ed8;background:#f1f5f9}.btn-attach-file:disabled{opacity:.5;cursor:not-allowed}.spin{animation:1s linear infinite spin}.chat-input-row{align-items:flex-end;gap:.5rem;width:100%;display:flex}.chat-textarea-input{color:#0f172a;resize:none;background:0 0;border:none;outline:none;flex:1;max-height:140px;padding:.25rem;font-family:inherit;font-size:.925rem;line-height:1.5;overflow-y:auto}.send-btn{border-radius:.6rem;align-self:flex-end;padding:.65rem 1.15rem}@media (width<=900px){.app-main-layout{min-height:0}.workspace-scroll-area{padding:.75rem}.centered-hero-state{padding:1rem}.hero-title{font-size:1.75rem}.hero-logo-box{width:60px;height:60px}.chat-input-form{padding:.5rem .65rem}}.login-backdrop{z-index:1000;box-sizing:border-box;font-family:var(--font-body);background-color:#f8fafc;justify-content:center;align-items:center;padding:1.5rem;display:flex;position:fixed;inset:0;overflow:hidden}.bg-glow{filter:blur(120px);pointer-events:none;opacity:.6;border-radius:50%;position:absolute}.bg-glow-1{background:radial-gradient(circle,#2563eb0f 0%,#fff0 70%);width:600px;height:600px;top:-150px;left:-100px}.bg-glow-2{background:radial-gradient(circle,#1d4ed80d 0%,#fff0 70%);width:500px;height:500px;bottom:-100px;right:-50px}.login-container{z-index:1;grid-template-columns:1.15fr .85fr;align-items:center;gap:3.5rem;width:100%;max-width:1100px;min-height:580px;display:grid;position:relative}.login-hero-col{color:#0f172a;flex-direction:column;gap:2.25rem;display:flex}.hero-brand-header{align-items:center;gap:1rem;display:flex}.brand-logo-badge{align-items:center;gap:.65rem;display:flex}.brand-logo-img{object-fit:contain;filter:drop-shadow(0 4px 10px #1d4ed833);width:36px;height:36px}.brand-name{font-family:var(--font-heading);color:#0f172a;letter-spacing:-.025em;font-size:1.65rem;font-weight:800}.hero-version-pill{color:#1d4ed8;letter-spacing:.05em;background:#eff6ff;border:1px solid #bfdbfe;border-radius:9999px;align-items:center;gap:.4rem;padding:.3rem .75rem;font-size:.725rem;font-weight:700;display:inline-flex}.hero-main-content{flex-direction:column;gap:1rem;display:flex}.hero-headline{font-family:var(--font-heading);letter-spacing:-.03em;color:#0f172a;margin:0;font-size:2.5rem;font-weight:800;line-height:1.15}.gradient-text{background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 50%,#3b82f6 100%);-webkit-text-fill-color:transparent;-webkit-background-clip:text}.hero-description{color:#64748b;max-width:520px;margin:0;font-size:1rem;line-height:1.6}.agent-graph-graphic{background:#f8fafc;border:1px solid #e2e8f0;border-radius:1rem;justify-content:center;align-items:center;width:100%;height:110px;display:flex;position:relative;overflow:hidden;box-shadow:0 4px 15px #0f172a08}.graph-svg-container{width:100%;height:100%;position:relative}.graph-lines{width:100%;height:100%}.graph-node{cursor:pointer;background:linear-gradient(135deg,#1d4ed8,#2563eb);border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;transition:transform .2s,box-shadow .2s;display:flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 4px 15px #1d4ed859}.graph-node:hover{transform:translate(-50%,-50%)scale(1.15);box-shadow:0 6px 20px #1d4ed880}.node-ping{pointer-events:none;border:2px solid #2563eb;border-radius:50%;animation:3s cubic-bezier(0,0,.2,1) infinite nodePingAnim;position:absolute;inset:-4px}.node-1 .node-ping{animation-delay:0s}.node-2 .node-ping{animation-delay:1s}.node-3 .node-ping{animation-delay:2s}@keyframes nodePingAnim{0%{opacity:.8;transform:scale(1)}70%,to{opacity:0;transform:scale(1.7)}}.node-1{top:50%;left:20%}.node-2{background:linear-gradient(135deg,#2563eb,#3b82f6);width:40px;height:40px;top:50%;left:50%}.node-3{top:50%;left:80%}.node-tooltip{color:#475569;white-space:nowrap;background:#fff;border:1px solid #e2e8f0;border-radius:.25rem;padding:.15rem .4rem;font-size:.65rem;font-weight:700;position:absolute;bottom:-22px;box-shadow:0 2px 6px #0000000d}.hero-trust-footer{flex-direction:column;gap:.75rem;display:flex}.trust-label{color:#94a3b8;text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;font-weight:700}.trust-badges-grid{flex-wrap:wrap;gap:.65rem;display:flex}.trust-chip{color:#334155;background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;align-items:center;gap:.45rem;padding:.4rem .85rem;font-size:.8rem;font-weight:600;display:inline-flex}.login-card-col{justify-content:center;display:flex}.auth-card{box-sizing:border-box;background:#fff;border:1px solid #e2e8f0;border-radius:1.5rem;flex-direction:column;gap:2rem;width:100%;max-width:420px;padding:2.5rem;display:flex;position:relative;overflow:hidden;box-shadow:0 20px 50px -10px #1d4ed817,0 1px 3px #0f172a0a}.card-header{flex-direction:column;gap:.65rem;display:flex}.auth-badge{color:#1d4ed8;letter-spacing:.08em;background:#eff6ff;border:1px solid #bfdbfe;border-radius:.35rem;align-self:flex-start;padding:.25rem .65rem;font-size:.7rem;font-weight:800;display:inline-block}.auth-title{font-family:var(--font-heading);color:#0f172a;margin:0;font-size:1.75rem;font-weight:700;line-height:1.2}.auth-subtitle{color:#64748b;margin:0;font-size:.875rem;line-height:1.5}.auth-body{flex-direction:column;gap:1.75rem;display:flex}.google-auth-box{justify-content:center;width:100%;display:flex}.features-checklist{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.85rem;flex-direction:column;gap:.85rem;padding:1.25rem;display:flex}.check-item{color:#334155;align-items:center;gap:.65rem;font-size:.825rem;display:flex}.check-icon{color:#1d4ed8;flex-shrink:0}.card-footer{color:#64748b;text-align:center;border-top:1px solid #f1f5f9;justify-content:center;align-items:center;gap:.45rem;padding-top:1.25rem;font-size:.725rem;display:flex}@media (width<=960px){.login-hero-col{display:none}.login-container{grid-template-columns:1fr;justify-content:center;max-width:440px;min-height:auto}}.rubric-block-container{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;gap:1.25rem;padding:1.5rem;display:flex;box-shadow:0 4px 20px -2px #1d4ed814}.rubric-section{flex-direction:column;gap:.85rem;display:flex}.rubric-section .section-title,.section-title{color:#1d4ed8;align-items:center;gap:.4rem;margin:0;font-size:1rem;font-weight:700;line-height:1.45;display:flex}.rubric-section .section-title span,.section-title span{color:#1d4ed8}.rubric-table{border-collapse:separate;border-spacing:0;border:1px solid #e2e8f0;border-radius:.65rem;width:100%;overflow:hidden}.rubric-table th{color:#1d4ed8;font-family:var(--font-heading);text-transform:uppercase;letter-spacing:.03em;text-align:left;background:#eff6ff;border-bottom:1px solid #bfdbfe;padding:.75rem 1rem;font-size:.8rem;font-weight:700}.rubric-table td{color:#0f172a;vertical-align:top;border-bottom:1px solid #e2e8f0;padding:.85rem 1rem;font-size:.825rem;line-height:1.45}.rubric-table tr:last-child td{border-bottom:none}.rubric-table tr:nth-child(odd) td{background:#fff}.rubric-table tr:nth-child(2n) td{background:#f8fafc}.multimodal-visualizer-container{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;gap:1.25rem;padding:1.5rem;display:flex;box-shadow:0 4px 20px -2px #1d4ed814}.resources-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:1.25rem;display:grid}.resource-card{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;transition:all .2s;display:flex;overflow:hidden}.resource-card:hover{border-color:#bfdbfe;transform:translateY(-2px);box-shadow:0 8px 24px #1d4ed81a}.card-badge{text-transform:uppercase;align-items:center;gap:.35rem;padding:.35rem .75rem;font-size:.725rem;font-weight:700;display:flex}.card-badge.video{color:#dc2626;background:#fee2e2}.card-badge.sitio_web{color:#1e40af;background:#dbeafe}.card-badge.audio{color:#7e22ce;background:#f3e8ff}.card-badge.imagen{color:#166534;background:#dcfce7}.card-badge.documento{color:#92400e;background:#fef3c7}.video-embed-wrapper{background:#0f172a;height:0;padding-bottom:56.25%;position:relative;overflow:hidden}.video-embed-wrapper iframe{border:0;width:100%;height:100%;position:absolute;top:0;left:0}.preview-box{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;height:140px;padding:1rem;font-size:.85rem;font-weight:600;display:flex}.preview-box.type-sitio_web{color:#1d4ed8;background:linear-gradient(135deg,#eff6ff,#dbeafe)}.preview-box.type-audio{color:#7e22ce;background:linear-gradient(135deg,#f3e8ff,#fae8ff)}.preview-box.type-documento{color:#92400e;background:linear-gradient(135deg,#fef3c7,#fef08a)}.sim-icon-bg{background:#fff;border-radius:50%;justify-content:center;align-items:center;width:48px;height:48px;display:flex;box-shadow:0 4px 12px #0f172a1a}.card-content{flex-direction:column;flex:1;gap:.5rem;padding:1rem;display:flex}.card-title{color:#0f172a;margin:0;font-size:.95rem;font-weight:700}.card-desc{color:#64748b;margin:0;font-size:.825rem;line-height:1.45}.query-tag{color:#1e40af;background:#eff6ff;border-radius:.25rem;margin-top:.25rem;padding:.2rem .5rem;font-size:.725rem}.card-footer{border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;margin-top:auto;padding-top:.75rem;display:flex}.meta-tag{color:#64748b;font-size:.725rem;font-weight:500}.btn-link{color:#2563eb;align-items:center;gap:.25rem;font-size:.8rem;font-weight:600;text-decoration:none;display:inline-flex}.btn-link:hover{text-decoration:underline}@media (width<=640px){.multimodal-visualizer-container{padding:.85rem}.resources-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:.85rem}}.history-visualizer-container{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;gap:1.25rem;padding:1.5rem;display:flex;box-shadow:0 4px 20px -2px #1d4ed814}.btn-new-thread-action{color:#fff;cursor:pointer;background:#1d4ed8;border:none;border-radius:.5rem;align-items:center;gap:.4rem;padding:.55rem 1rem;font-size:.85rem;font-weight:600;transition:all .2s;display:flex}.btn-new-thread-action:hover{background:#1e40af;box-shadow:0 4px 12px #1d4ed833}.history-content-section{flex-direction:column;gap:1rem;display:flex}.history-stats-bar{color:#64748b;align-items:center;gap:1rem;font-size:.825rem;display:flex}.stats-badge,.active-thread-badge{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.4rem;padding:.35rem .75rem}.stats-badge strong,.active-thread-badge strong{color:#1d4ed8}.empty-history-state{text-align:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:.75rem;flex-direction:column;align-items:center;gap:.75rem;padding:3rem 1.5rem;display:flex}.btn-primary-create{color:#fff;cursor:pointer;background:#1d4ed8;border:none;border-radius:.5rem;align-items:center;gap:.4rem;margin-top:.5rem;padding:.6rem 1.25rem;font-size:.875rem;font-weight:600;display:flex}.threads-history-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;display:grid}.thread-card{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;gap:.85rem;padding:1rem;transition:all .2s;display:flex}.thread-card:hover{border-color:#93c5fd;transform:translateY(-2px);box-shadow:0 4px 16px #1d4ed814}.thread-card.active-card{background:#f8fafc;border-color:#2563eb;box-shadow:0 4px 16px #2563eb1f}.card-top{justify-content:space-between;align-items:center;display:flex}.thread-title-box{align-items:center;gap:.5rem;display:flex}.thread-icon{color:#1d4ed8;flex-shrink:0}.thread-card-title{font-family:var(--font-heading);color:#0f172a;margin:0;font-size:.95rem;font-weight:700}.current-badge{color:#047857;background:#dcfce7;border:1px solid #86efac;border-radius:9999px;padding:.15rem .45rem;font-size:.65rem;font-weight:800}.thread-card-meta{color:#64748b;justify-content:space-between;align-items:center;font-size:.75rem;display:flex}.meta-time{align-items:center;gap:.25rem;display:flex}.meta-id{font-family:monospace;font-size:.7rem}.card-actions{border-top:1px solid #f1f5f9;align-items:center;gap:.5rem;margin-top:auto;padding-top:.75rem;display:flex}.btn-card-open{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:.4rem;flex:1;justify-content:center;align-items:center;gap:.35rem;padding:.45rem .75rem;font-size:.8rem;font-weight:600;transition:all .15s;display:flex}.btn-card-open:hover{background:#dbeafe;border-color:#2563eb}.btn-card-delete{color:#e11d48;cursor:pointer;background:#fff1f2;border:1px solid #fecdd3;border-radius:.4rem;justify-content:center;align-items:center;gap:.35rem;padding:.45rem .75rem;font-size:.8rem;font-weight:600;transition:all .15s;display:flex}.btn-card-delete:hover{color:#be123c;background:#ffe4e6;border-color:#fda4af}.planifications-list-wrapper{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;gap:1.5rem;padding:1.5rem;display:flex;box-shadow:0 1px 3px #0000000d}.btn-refresh-plans{color:#475569;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:.5rem;align-items:center;gap:.45rem;padding:.5rem .85rem;font-size:.85rem;font-weight:500;transition:all .2s;display:inline-flex}.btn-refresh-plans:hover:not(:disabled){color:#1e293b;background:#f8fafc;border-color:#94a3b8}.loading-state{text-align:center;color:#64748b;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;padding:4rem 1rem;display:flex}.empty-state{text-align:center;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;justify-content:center;align-items:center;gap:1.25rem;min-height:320px;padding:4rem 1.5rem;display:flex;box-shadow:0 4px 20px -2px #1d4ed814}.empty-state-title{font-family:var(--font-heading);color:#64748b;max-width:520px;margin:0;font-size:1.15rem;font-weight:400;line-height:1.5}.btn-go-chat{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:.4rem;justify-content:center;align-items:center;gap:.35rem;padding:.55rem 1.15rem;font-size:.85rem;font-weight:600;transition:all .15s;display:flex}.btn-go-chat:hover{background:#dbeafe;border-color:#2563eb}.plans-table{border-collapse:separate;border-spacing:0;border:1px solid #e2e8f0;border-radius:.65rem;width:100%;overflow:hidden}.plans-table th{color:#1d4ed8;font-family:var(--font-heading);text-transform:uppercase;letter-spacing:.03em;text-align:left;background:#eff6ff;border-bottom:1px solid #bfdbfe;padding:.75rem 1rem;font-size:.8rem;font-weight:700}.plans-table td{color:#0f172a;vertical-align:middle;border-bottom:1px solid #e2e8f0;padding:.85rem 1rem;font-size:.825rem;line-height:1.45}.plans-table tr:last-child td{border-bottom:none}.plans-table tr:nth-child(odd) td{background:#fff}.plans-table tr:nth-child(2n) td,.plans-table tr:hover{background:#f8fafc}.text-main{color:#0f172a;font-weight:600}.grade-badge{color:#334155;white-space:normal;word-break:break-word;overflow-wrap:anywhere;text-align:left;background:#f1f5f9;border-radius:.375rem;max-width:240px;padding:.3rem .65rem;font-size:.8rem;font-weight:500;line-height:1.45;display:inline-block}.date-cell{color:#64748b;white-space:nowrap;font-size:.85rem}.status-badge{text-transform:capitalize;border-radius:9999px;align-items:center;padding:.2rem .55rem;font-size:.775rem;font-weight:600;display:inline-flex}.status-badge.finalizado{color:#166534;background:#dcfce7}.status-badge.en_proceso{color:#92400e;background:#fef3c7}.btn-load-visualizers{color:#fff;cursor:pointer;background:#1d4ed8;border:none;border-radius:.5rem;align-items:center;gap:.45rem;padding:.5rem .9rem;font-size:.825rem;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 1px 2px #1d4ed833}.btn-load-visualizers:hover:not(:disabled){background:#1e40af;transform:translateY(-1px)}.btn-load-visualizers:disabled{opacity:.7;cursor:not-allowed}.pagination-bar{color:#64748b;border-top:1px solid #f1f5f9;justify-content:space-between;align-items:center;padding-top:1rem;font-size:.875rem;display:flex}.pagination-buttons{align-items:center;gap:.5rem;display:flex}.btn-pagination{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:.375rem;align-items:center;gap:.35rem;padding:.45rem .75rem;font-size:.825rem;font-weight:500;transition:all .2s;display:inline-flex}.btn-pagination:hover:not(:disabled){background:#f8fafc;border-color:#94a3b8}.btn-pagination:disabled{opacity:.5;cursor:not-allowed}.plan-visualizer-container{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;gap:1.25rem;padding:1.5rem;display:flex;box-shadow:0 4px 20px -2px #1d4ed814}.fila-title-banner{background:#eff6ff;border-left:4px solid #1d4ed8;border-radius:.375rem;margin-bottom:1rem;padding:.65rem 1rem}.fila-title-banner .banner-text{font-family:var(--font-heading);color:#1d4ed8;font-size:1.05rem;font-weight:700}.btn-export-word{color:#fff;cursor:pointer;background:#1d4ed8;border:none;border-radius:.5rem;align-items:center;gap:.4rem;padding:.5rem 1rem;font-size:.85rem;font-weight:600;transition:all .2s;display:inline-flex;box-shadow:0 2px 8px #1d4ed833}.btn-export-word:hover{background:#1e40af;transform:translateY(-1px);box-shadow:0 4px 14px #1d4ed84d}.plan-metadata-grid{grid-template-columns:repeat(4,1fr);gap:.75rem;display:grid}@media (width<=992px){.plan-metadata-grid{grid-template-columns:repeat(2,1fr)}}@media (width<=576px){.plan-metadata-grid{grid-template-columns:1fr}}.meta-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:.5rem;flex-direction:column;padding:.75rem .85rem;transition:all .15s;display:flex}.meta-card:hover{border-color:#cbd5e1;box-shadow:0 2px 8px #0f172a0a}.meta-label{color:#1d4ed8;text-transform:uppercase;letter-spacing:.04em;align-items:center;gap:.3rem;font-size:.725rem;font-weight:700;display:flex}.meta-value{color:#0f172a;margin-top:.25rem;font-size:.875rem;font-weight:600;line-height:1.3}.curricular-row-block{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;gap:1.25rem;padding:1.25rem;display:flex}.competency-tree-box{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.25rem;transition:all .25s}.competency-tree-box.has-active-path{border-color:#93c5fd;box-shadow:0 4px 20px #2563eb14}.tree-root-node{background:#eff6ff;border:1px solid #bfdbfe;border-radius:.65rem;padding:1rem;transition:all .2s}.tree-root-node.active-root{background:#dbeafe;border-color:#2563eb;box-shadow:0 0 12px #2563eb40}.box-title{color:#1d4ed8;text-transform:uppercase;align-items:center;gap:.4rem;margin-bottom:.4rem;font-size:.85rem;font-weight:700;display:flex}.competency-text{color:#0f172a;font-size:.925rem;font-weight:600;line-height:1.5}.tree-container{margin-top:1.15rem;padding-left:.25rem}.tree-section-header{color:#64748b;text-transform:uppercase;letter-spacing:.05em;align-items:center;gap:.35rem;margin-bottom:.85rem;font-size:.725rem;font-weight:700;display:flex}.tree-branches-wrapper{border-left:2px solid #cbd5e1;flex-direction:column;gap:.85rem;padding-left:1.25rem;transition:border-color .2s;display:flex;position:relative}.tree-branches-wrapper.trunk-highlighted{border-left-color:#1d4ed8;box-shadow:-2px 0 8px #1d4ed84d}.tree-branch-group{position:relative}.tree-branch-node{cursor:pointer;align-items:center;padding-left:1.25rem;transition:all .2s;display:flex;position:relative}.branch-line-connector{background:#cbd5e1;width:1.25rem;height:2px;transition:all .2s;position:absolute;top:50%;left:-1.25rem}.tree-branch-node.active-branch .branch-line-connector{background:#1d4ed8;height:3px;box-shadow:0 0 8px #1d4ed899}.branch-content-box{background:#f8fafc;border:1px solid #cbd5e1;border-radius:.5rem;flex-direction:column;gap:.2rem;width:100%;padding:.65rem .85rem;transition:all .2s;display:flex}.tree-branch-node:hover .branch-content-box{background:#eff6ff;border-color:#93c5fd}.tree-branch-node.active-branch .branch-content-box{background:#eff6ff;border-color:#2563eb;box-shadow:0 2px 12px #2563eb2e}.ind-badge{color:#1d4ed8;text-transform:uppercase;font-size:.7rem;font-weight:700}.ind-name{color:#0f172a;font-size:.875rem;font-weight:600}.tree-leaves-wrapper{border-left:2px dashed #cbd5e1;flex-direction:column;gap:.5rem;margin-top:.6rem;margin-left:2rem;padding-left:1.25rem;transition:border-color .2s;display:flex;position:relative}.tree-leaves-wrapper.subtrunk-highlighted{border-left-style:solid;border-left-color:#1d4ed8;box-shadow:-2px 0 8px #1d4ed84d}.tree-leaf-node{cursor:pointer;align-items:center;padding-left:1.25rem;transition:all .2s;display:flex;position:relative}.leaf-line-connector{background:#cbd5e1;width:1.25rem;height:2px;transition:all .2s;position:absolute;top:50%;left:-1.25rem}.tree-leaf-node.active-leaf .leaf-line-connector{background:#1d4ed8;height:3px;box-shadow:0 0 8px #1d4ed899}.leaf-content-box{color:#334155;background:#fff;border:1px solid #e2e8f0;border-radius:.375rem;align-items:center;gap:.5rem;width:100%;padding:.5rem .75rem;font-size:.825rem;transition:all .2s;display:flex}.tree-leaf-node:hover .leaf-content-box{color:#1d4ed8;border-color:#bfdbfe}.tree-leaf-node.active-leaf .leaf-content-box{color:#1d4ed8;background:#eff6ff;border-color:#2563eb;font-weight:600;box-shadow:0 2px 8px #1d4ed826}.content-bullet{font-size:.85rem}.plan-table-wrapper{flex-direction:column;gap:.75rem;display:flex}.section-subtitle{color:#0f172a;align-items:center;gap:.4rem;font-size:.95rem;font-weight:700;display:flex}.table-responsive{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.plan-table{border-collapse:separate;border-spacing:0;border:1px solid #e2e8f0;border-radius:.65rem;width:100%;min-width:540px;overflow:hidden}.plan-table th{color:#1d4ed8;font-family:var(--font-heading);text-transform:uppercase;letter-spacing:.03em;text-align:left;background:#eff6ff;border-bottom:1px solid #bfdbfe;padding:.75rem 1rem;font-size:.8rem;font-weight:700}.plan-table td{color:#0f172a;vertical-align:top;border-bottom:1px solid #e2e8f0;padding:.85rem 1rem;font-size:.85rem;line-height:1.5}.plan-table tr:last-child td{border-bottom:none}.plan-table tr:nth-child(odd) td{background:#fff}.plan-table tr:nth-child(2n) td{background:#f8fafc}@media (width<=768px){.plan-visualizer-container{padding:1rem}.tree-container{-webkit-overflow-scrolling:touch;padding-bottom:.5rem;overflow-x:auto}.tree-branches-wrapper{min-width:320px}}.phase-pill{white-space:nowrap;border-radius:9999px;padding:.2rem .6rem;font-size:.725rem;font-weight:700;display:inline-block}.phase-inicio{color:#1e40af;background:#dbeafe;border:1px solid #bfdbfe}.phase-desarrollo{color:#3730a3;background:#e0e7ff;border:1px solid #c7d2fe}.phase-cierre{color:#166534;background:#dcfce7;border:1px solid #86efac}@media (width<=900px){.btn-new-thread-action{justify-content:center;width:100%}.history-stats-bar{flex-direction:column;align-items:flex-start;gap:.5rem}}.word-editable-element{cursor:pointer;transition:all .15s;position:relative}.word-editable-element:hover{outline-offset:1px;outline:2px dashed #93c5fd!important}.word-editable-element.word-element-selected{outline-offset:1px;border-radius:4px;background-color:#eff6ffbf!important;outline:2px solid #2563eb!important}.plan-table tr.word-editable-element:hover td,.rubric-table tr.word-editable-element:hover td{background-color:#f0f7ff!important}.plan-table tr.word-element-selected td,.rubric-table tr.word-element-selected td{background-color:#e0f2fe!important}.plan-table td.word-editable-element:hover,.rubric-table td.word-editable-element:hover{outline-offset:-2px;background-color:#e0f2fe!important;outline:2px dashed #3b82f6!important}.plan-table td.word-element-selected,.rubric-table td.word-element-selected{outline-offset:-2px;background-color:#dbeafe!important;outline:2px solid #2563eb!important}.element-editor-popover{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;flex-direction:column;gap:.75rem;padding:.85rem 1rem;animation:.15s cubic-bezier(.16,1,.3,1) popoverFadeIn;display:flex;box-shadow:0 10px 25px -5px #0f172a1f,0 8px 10px -6px #0f172a14}@keyframes popoverFadeIn{0%{opacity:0;transform:translateY(4px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}.popover-header{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.header-info{flex-direction:column;gap:.2rem;display:flex;overflow:hidden}.element-kind-title{font-family:var(--font-heading);color:#0f172a;white-space:nowrap;text-overflow:ellipsis;max-width:270px;font-size:.875rem;font-weight:700;overflow:hidden}.element-selector-tag{color:#475569;text-overflow:ellipsis;white-space:nowrap;background:#f1f5f9;border-radius:.3rem;align-self:flex-start;max-width:270px;padding:.15rem .45rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.725rem;overflow:hidden}.popover-close-btn{color:#94a3b8;cursor:pointer;background:0 0;border:none;border-radius:.25rem;justify-content:center;align-items:center;padding:.2rem;transition:all .15s;display:flex}.popover-close-btn:hover{color:#0f172a;background:#f1f5f9}.popover-textarea{color:#0f172a;resize:vertical;border:1px solid #cbd5e1;border-radius:.5rem;outline:none;width:100%;min-height:56px;padding:.5rem .75rem;font-family:inherit;font-size:.825rem;transition:border-color .15s,box-shadow .15s}.popover-textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb26}.popover-footer{flex-direction:column;gap:.4rem;display:flex}.intent-label{color:#64748b;font-size:.725rem;font-weight:600}.intent-buttons-row{gap:.5rem;display:flex}.btn-intent{color:#1e293b;cursor:pointer;background:#f8fafc;border:1px solid #cbd5e1;border-radius:.4rem;align-items:center;gap:.35rem;padding:.4rem .75rem;font-size:.8rem;font-weight:600;transition:all .15s;display:inline-flex}.btn-intent:hover:not(:disabled){color:#1d4ed8;background:#eff6ff;border-color:#93c5fd}.btn-intent:disabled{opacity:.5;cursor:not-allowed}.btn-change:hover:not(:disabled){color:#1d4ed8;background:#eff6ff;border-color:#2563eb}.btn-header-editor-toggle{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:.5rem;align-items:center;gap:.4rem;padding:.45rem .8rem;font-size:.825rem;font-weight:600;transition:all .2s;display:inline-flex}.btn-header-editor-toggle.active{color:#1d4ed8;background:#eff6ff;border-color:#93c5fd;box-shadow:0 2px 8px #1d4ed81f}.btn-header-editor-toggle:hover{background:#f8fafc;border-color:#94a3b8}.btn-header-editor-toggle.active:hover{background:#dbeafe}.editor-mode-hint-banner{color:#1e40af;background:#eff6ff;border:1px dashed #93c5fd;border-radius:.5rem;align-items:center;gap:.5rem;margin-bottom:.75rem;padding:.5rem .85rem;font-size:.8rem;display:flex}
