.tcanvas{flex-direction:column;gap:10px;height:100%;min-height:0;display:flex}.tcanvas-editor{border:1px solid var(--theus-line);background:var(--theus-surface-2);border-radius:12px;flex:auto;min-height:260px;position:relative;overflow:hidden}.tcanvas-hl,.tcanvas-ta{width:100%;height:100%;font-family:var(--theus-font-mono,ui-monospace, Menlo, monospace);tab-size:2;white-space:pre-wrap;word-break:break-word;overflow-wrap:break-word;box-sizing:border-box;border:none;margin:0;padding:12px 14px;font-size:12.5px;line-height:1.55}.tcanvas-hl{pointer-events:none;color:var(--theus-text);background:0 0;position:absolute;inset:0;overflow:hidden}.tcanvas-hl code{font:inherit;white-space:inherit;word-break:inherit;overflow-wrap:inherit}.tcanvas-ta{resize:none;color:var(--theus-text);caret-color:var(--tchat-acc-hi,#7b2eff);scrollbar-width:thin;scrollbar-color:#ffffff2e transparent;background:0 0;display:block;position:relative;overflow:auto}.tcanvas-editor.con-hl .tcanvas-ta{color:#0000}.tcanvas-editor.con-hl .tcanvas-ta::selection{color:#0000;background:#7b2eff52}.tcanvas-ta::placeholder{color:var(--theus-text-dim)}.tcanvas-ta:focus{outline:none}.tcanvas-editor:focus-within{border-color:#7b2eff8c}.tcanvas-meta{color:var(--theus-text-dim);justify-content:space-between;align-items:center;gap:10px;font-size:11.5px;display:flex}.tcanvas-estado.dirty{color:var(--tchat-acc-hi,#7b2eff);font-weight:700}.tcanvas-contador{font-variant-numeric:tabular-nums}.tcanvas-acciones{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.tcanvas-guardar{background:var(--tchat-acc,var(--theus-cap-01));color:#fff;font:inherit;cursor:pointer;transition:background .16s var(--tchat-ease,ease);border:none;border-radius:999px;padding:7px 15px;font-size:12.5px;font-weight:700}.tcanvas-guardar:hover:not(:disabled){background:#7b2eff}.tcanvas-guardar:disabled{opacity:.45;cursor:default}.tcanvas-descartar{border:1px solid var(--theus-line-strong);color:var(--ink-soft,#fffc);font:inherit;cursor:pointer;transition:border-color .16s var(--tchat-ease,ease), color .16s var(--tchat-ease,ease);background:0 0;border-radius:999px;padding:6px 13px;font-size:12.5px}.tcanvas-descartar:hover{color:var(--theus-text);border-color:#7b2eff80}.tcanvas-previa-btn{border:1px solid var(--theus-line-strong);color:var(--ink-soft,#fffc);font:inherit;cursor:pointer;transition:border-color .16s var(--tchat-ease,ease), color .16s var(--tchat-ease,ease);background:0 0;border-radius:999px;padding:6px 13px;font-size:12.5px}.tcanvas-previa-btn:hover{color:var(--theus-text);border-color:#7b2eff80}.tcanvas-previa{border:1px solid var(--theus-line);border-radius:12px;flex-direction:column;min-height:260px;display:flex;overflow:hidden}.tcanvas-previa-head{border-bottom:1px solid var(--theus-line);background:var(--theus-surface-1);color:var(--theus-text-dim);justify-content:space-between;align-items:center;gap:10px;padding:7px 12px;font-size:11.5px;display:flex}.tcanvas-previa-head button{border:1px solid var(--theus-line-strong);color:var(--theus-text-dim);font:inherit;cursor:pointer;transition:border-color .14s var(--tchat-ease,ease), color .14s var(--tchat-ease,ease);background:0 0;border-radius:999px;padding:3px 11px;font-size:11.5px}.tcanvas-previa-head button:hover{color:var(--theus-text);border-color:#7b2eff80}.tcanvas-previa .tchat-art-frame-wrap{border:none;border-radius:0;flex:auto}.tcanvas-previa .tchat-art-frame{min-height:220px}.tcanvas-ia{border:1px solid var(--theus-line);background:var(--theus-surface-1);border-radius:12px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.tcanvas-ia-label{text-transform:uppercase;letter-spacing:.08em;color:var(--theus-text-dim);font-size:11px;font-family:var(--theus-font-mono,ui-monospace, Menlo, monospace)}.tcanvas-ia-sel{background:var(--tchat-acc-soft,#7b2eff29);color:var(--theus-text);border:1px solid #7b2eff73;border-radius:999px;align-self:flex-start;align-items:center;gap:8px;padding:3px 10px;font-size:11.5px;display:inline-flex}.tcanvas-ia-sel button{color:var(--theus-text-dim);cursor:pointer;background:0 0;border:none;padding:0 2px;font-size:14px;line-height:1}.tcanvas-ia-sel button:hover{color:var(--theus-text)}.tcanvas-ia-hint{color:var(--theus-text-dim);margin:0;font-size:11.5px}.tcanvas-ia-fila{gap:8px;display:flex}.tcanvas-ia-fila input{border:1px solid var(--theus-line);background:var(--theus-surface-2);min-width:0;color:var(--theus-text);font:inherit;border-radius:999px;flex:1;padding:7px 13px;font-size:12.5px}.tcanvas-ia-fila input:focus{border-color:#7b2eff8c;outline:none}.tcanvas-ia-fila input::placeholder{color:var(--theus-text-dim)}.tcanvas-ia-btn{color:var(--tchat-acc-hi,#7b2eff);font:inherit;cursor:pointer;transition:background .16s var(--tchat-ease,ease);background:0 0;border:1px solid #7b2eff80;border-radius:999px;flex:none;padding:7px 14px;font-size:12.5px;font-weight:700}.tcanvas-ia-btn:hover:not(:disabled){background:var(--tchat-acc-soft,#7b2eff29)}.tcanvas-ia-btn:disabled{opacity:.45;cursor:default}.tcanvas-error{color:var(--theus-text);background:#ff2d6f1a;border:1px solid #ff2d6f73;border-radius:10px;margin:0;padding:8px 12px;font-size:12.5px;line-height:1.5}.tchat-art-bar-acc{flex:none;align-items:center;gap:8px;display:flex}.tchat-art-draft-dot{background:var(--tchat-acc-hi,#7b2eff);vertical-align:middle;border-radius:999px;width:6px;height:6px;margin-left:6px;display:inline-block}.tchat-art-progreso{background:var(--tchat-acc-soft,#7b2eff29);color:var(--theus-text);border:1px solid #7b2eff73;border-radius:10px;align-items:center;gap:8px;margin:8px 14px 0;padding:7px 12px;font-size:12.5px;display:flex}.tchat-art-progreso-punto{background:var(--tchat-acc-hi,#7b2eff);border-radius:999px;width:8px;height:8px;animation:1.1s ease-in-out infinite tcanvas-pulso}@keyframes tcanvas-pulso{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}.tchat-art-aviso{border:1px solid var(--theus-line-strong);background:var(--theus-surface-2);color:var(--theus-text-dim);border-radius:10px;align-items:flex-start;gap:8px;margin:8px 14px 0;padding:8px 12px;font-size:12.5px;line-height:1.5;display:flex}.tchat-art-aviso button{color:var(--theus-text-dim);cursor:pointer;background:0 0;border:none;margin-left:auto;padding:0 2px;font-size:15px;line-height:1}.tchat-art-aviso button:hover{color:var(--theus-text)}@media (prefers-reduced-motion:reduce){.tchat-art-progreso-punto{animation:none}.tcanvas-guardar,.tcanvas-descartar,.tcanvas-ia-btn{transition:none}}.tcanvas-previa-btn.es-vencida{border-color:var(--theus-energy-orange,#ff7a00);color:var(--theus-energy-orange,#ff7a00)}.tcanvas-previa-punto{background:var(--theus-energy-orange,#ff7a00);vertical-align:middle;border-radius:999px;width:6px;height:6px;margin-left:6px;display:inline-block}.tcanvas-previa-vencida{color:var(--theus-energy-orange,#ff7a00);font-size:12px;font-style:normal}.tchat .tcanvas{color:var(--chat-ui-text,#ededf0);gap:12px}.tchat .tcanvas-editor{border:1px solid var(--chat-ui-border,#dcd3ff1f);background:#0a090f38;border-radius:10px;min-height:240px}.tchat .tcanvas-editor:focus-within{border-color:var(--chat-ui-accent,#b8a4ee)}.tchat .tcanvas-hl,.tchat .tcanvas-ta{padding:14px 16px;font-size:13px;line-height:1.65}.tchat .tcanvas-ta{color:var(--chat-ui-text,#ededf0);caret-color:var(--chat-ui-accent,#b8a4ee)}.tchat .tcanvas-editor.con-hl .tcanvas-ta{color:#0000}.tchat .tcanvas-editor.con-hl .tcanvas-ta::selection{color:#0000;background:#b8a4ee40}.tchat .tcanvas-meta{color:var(--chat-ui-muted,#a6a6b1);gap:12px;font-size:11px;line-height:1.5}.tchat .tcanvas-estado.dirty{color:var(--chat-ui-accent,#b8a4ee);font-weight:500}.tchat .tcanvas-acciones{align-items:center;gap:8px}.tchat .tcanvas-acciones button,.tchat .tcanvas-ia-btn,.tchat .tcanvas-previa-head button{border:1px solid var(--chat-ui-border,#dcd3ff1f);border-top-color:var(--chat-ui-edge,#eee5ff33);min-height:34px;color:var(--chat-ui-text,#ededf0);background:var(--chat-ui-control,#ffffff0b);background-image:var(--chat-ui-glass,linear-gradient(180deg,#fff1,#ffffff04));box-shadow:none;border-radius:8px;justify-content:center;align-items:center;gap:7px;padding:7px 11px;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;transition:background-color .16s,border-color .16s;display:inline-flex}.tchat .tcanvas-acciones button:hover:not(:disabled),.tchat .tcanvas-ia-btn:hover:not(:disabled),.tchat .tcanvas-previa-head button:hover{background-color:var(--chat-ui-hover,#ffffff16);border-color:var(--chat-ui-edge,#eee5ff33)}.tchat .tcanvas-acciones .tcanvas-guardar{background-color:var(--chat-ui-primary,#7551c2);color:#fff;border-color:#ffffff26}.tchat .tcanvas-acciones .tcanvas-guardar:hover:not(:disabled){background-color:#8260cb}.tchat .tcanvas-acciones .tcanvas-descartar{color:var(--chat-ui-muted,#a6a6b1);background:0 0;border-color:#0000}.tchat .tcanvas-acciones .tcanvas-previa-btn{margin-left:auto}.tchat .tcanvas button:focus-visible,.tchat .tcanvas input:focus-visible{outline:2px solid var(--chat-ui-accent,#b8a4ee);outline-offset:3px}.tchat .tcanvas button:disabled{opacity:.45;cursor:default}.tchat .tcanvas-previa{border-color:var(--chat-ui-border);border-radius:10px;min-height:220px}.tchat .tcanvas-previa-head{background:var(--chat-ui-control,#ffffff0b);border-color:var(--chat-ui-border);color:var(--chat-ui-muted,#a6a6b1);padding:8px 12px}.tchat .tcanvas-previa-head button{background:0 0;border-color:#0000;min-height:28px;padding:3px 8px}.tchat .tcanvas-ia{border-color:var(--chat-ui-border);background:var(--chat-ui-control,#ffffff0b);border-radius:10px;gap:9px;padding:12px}.tchat .tcanvas-ia-label{letter-spacing:0;text-transform:none;color:var(--chat-ui-text,#ededf0);font-family:inherit;font-size:12px;line-height:1.5}.tchat .tcanvas-ia-hint{color:var(--chat-ui-muted,#a6a6b1);font-size:11px;line-height:1.5}.tchat .tcanvas-ia-sel{border-color:var(--chat-ui-border);background:var(--chat-ui-control);color:var(--chat-ui-text,#ededf0);border-radius:6px;padding:5px 8px}.tchat .tcanvas-ia-fila input{border:1px solid var(--chat-ui-border);min-height:36px;color:var(--chat-ui-text,#ededf0);background:#00000026;border-radius:8px;padding:8px 10px;font-size:12px}.tchat .tcanvas-ia-fila input::placeholder{color:var(--chat-ui-muted,#a6a6b1);opacity:1}.tchat .tcanvas-error{color:var(--chat-ui-danger,#efb2b5);background:#bc4c5c1a;border:0;border-radius:8px;font-size:12px}.tchat .tchat-art .tchat-art-progreso,.tchat .tchat-art .tchat-art-aviso{border:1px solid var(--chat-ui-border);background:var(--chat-ui-control);color:var(--chat-ui-muted,#a6a6b1);border-radius:8px;font-size:12px}@media (max-width:640px){.tchat .tcanvas-acciones .tcanvas-previa-btn{margin-left:0}.tchat .tcanvas-meta{flex-wrap:wrap;align-items:flex-start}.tchat .tcanvas-ia-fila{flex-wrap:wrap}.tchat .tcanvas-ia-fila input{flex-basis:100%}.tchat .tcanvas-ia-btn{margin-left:auto}}@media (pointer:coarse),(max-width:640px){.tchat .tcanvas-acciones button,.tchat .tcanvas-ia-btn,.tchat .tcanvas-previa-head button,.tchat .tcanvas-ia-fila input{min-height:44px}}@media (prefers-reduced-motion:reduce){.tchat .tcanvas-acciones button,.tchat .tcanvas-ia-btn,.tchat .tcanvas-previa-head button{transition:none}}.tchat.tchat-shell .tcanvas :is(.tcanvas-acciones,.tcanvas-previa-head,.tcanvas-ia) button>svg{stroke-width:1.7px;flex:0 0 16px;width:16px;max-width:16px;height:16px;max-height:16px}
.tchat-art{background:var(--theus-surface-1);border-left:1px solid var(--theus-line);z-index:20;flex-direction:column;flex:none;width:min(46vw,560px);min-width:340px;height:100dvh;display:flex;box-shadow:-24px 0 60px #1a0d3373}.tchat-art-top,.tchat-art-tabs,.tchat-art-bar{flex:none}.tchat-art-top{border-bottom:1px solid var(--theus-line);justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;display:flex}.tchat-art-ident{flex-direction:column;gap:2px;min-width:0;display:flex}.tchat-art-title{align-items:center;gap:8px;min-width:0;display:flex}.tchat-art-sub{color:var(--theus-text-dim);white-space:nowrap;text-overflow:ellipsis;margin:0;padding-left:26px;font-size:11.5px;line-height:1.35;overflow:hidden}.tchat-art-title strong{min-width:0;color:var(--theus-text);white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.tchat-art-kind{color:var(--tchat-acc-hi,#7b2eff);text-align:center;flex:0 0 18px;width:18px;font-size:14px}.tchat-art-top-acc{flex:none;align-items:center;gap:8px;display:flex}.tchat-art-download{border:1px solid var(--theus-line-strong);color:var(--theus-text,#fff);font:inherit;white-space:nowrap;cursor:pointer;transition:border-color .18s var(--tchat-ease,ease), background-color .18s var(--tchat-ease,ease);background:0 0;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:5px 14px;font-size:12.5px;font-weight:500;line-height:1.2;display:inline-flex}.tchat-art-download>span[aria-hidden]{opacity:.7;transition:transform .18s var(--tchat-ease,ease);font-size:.72em}.tchat-art-download[aria-expanded=true]>span[aria-hidden]{transform:rotate(180deg)}.tchat-art-download:hover{background:var(--tchat-hover,#ffffff0f);border-color:#7b2eff8c}.tchat-art-download[aria-expanded=true]{background:#7b2eff1f;border-color:#7b2effa6}.tchat-art-dl{position:relative}.tchat-art-dl-menu{z-index:30;background:var(--theus-surface-2,#16161d);border:1px solid var(--theus-line-strong);border-radius:12px;flex-direction:column;gap:2px;min-width:190px;padding:6px;display:flex;position:absolute;top:calc(100% + 6px);right:0;box-shadow:0 14px 34px #0006}.tchat-art-dl-menu button{text-align:left;color:var(--ink-soft,#ffffffd9);font:inherit;cursor:pointer;transition:background .14s var(--tchat-ease,ease), color .14s var(--tchat-ease,ease);background:0 0;border:none;border-radius:8px;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 10px;font-size:13px;display:flex}.tchat-art-dl-menu button:hover{color:var(--tchat-acc-hi,#7b2eff);background:#7b2eff29}.tchat-art-dl-ext{opacity:.55;font-variant-numeric:tabular-nums;font-size:11px}.tchat-art-close{color:var(--theus-text-dim);cursor:pointer;transition:color .16s var(--tchat-ease,ease);background:0 0;border:none;padding:0 4px;font-size:20px;line-height:1}.tchat-art-close:hover{color:var(--theus-text)}.tchat-art-tabs{border-bottom:1px solid var(--theus-line);scrollbar-width:thin;scrollbar-color:#ffffff2e transparent;gap:4px;padding:8px 10px;display:flex;overflow-x:auto}.tchat-art-tab{border:1px solid var(--theus-line);color:var(--ink-soft,#fffc);font:inherit;cursor:pointer;white-space:nowrap;text-overflow:ellipsis;max-width:200px;transition:border-color .16s var(--tchat-ease,ease), background .16s var(--tchat-ease,ease), color .16s var(--tchat-ease,ease);background:0 0;border-radius:999px;flex:none;align-items:center;gap:6px;padding:5px 12px;font-size:12px;display:inline-flex;overflow:hidden}.tchat-art-tab:hover{border-color:var(--theus-line-strong);color:var(--theus-text)}.tchat-art-tab.activa{background:var(--tchat-acc-soft,#7b2eff29);color:var(--theus-text);border-color:#7b2eff8c;font-weight:700}.tchat-art-tab-nombre{text-overflow:ellipsis;min-width:0;overflow:hidden}.tchat-art-tab-v{color:var(--theus-text-dim);font-variant-numeric:tabular-nums;flex:none;font-size:10px}.tchat-art-bar{border-bottom:1px solid var(--theus-line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 10px;min-height:42px;padding:8px 14px;display:flex}.tchat-art-ver{color:var(--theus-text-dim);flex:none;align-items:center;gap:6px;font-size:12px;display:inline-flex}.tchat-art-ver select{border:1px solid var(--theus-line-strong);background:var(--theus-surface-2);color:var(--theus-text);font:inherit;cursor:pointer;border-radius:8px;padding:4px 8px;font-size:12px}.tchat-art-vista{border:1px solid var(--theus-line-strong);background:var(--theus-surface-2);border-radius:999px;flex:none;gap:2px;padding:3px;display:inline-flex}.tchat-art-vista button{color:var(--theus-text-dim);font:inherit;white-space:nowrap;cursor:pointer;transition:background .16s var(--tchat-ease,ease), color .16s var(--tchat-ease,ease);background:0 0;border:none;border-radius:999px;justify-content:center;align-items:center;gap:6px;padding:4px 12px;font-size:12px;font-weight:500;display:inline-flex}.tchat-art-vista button:hover{color:var(--theus-text)}.tchat-art-vista button.activa{background:var(--tchat-acc,var(--theus-cap-01));color:#fff;font-weight:600}.tchat-art-body{scrollbar-width:thin;scrollbar-color:#ffffff2e transparent;flex:auto;min-height:0;padding:14px;overflow-y:auto}.tchat-art-previa{flex-direction:column;flex:auto;gap:8px;min-height:0;display:flex}.tchat-art-body>.tchat-art-previa{height:100%}.tchat-art-frame-wrap{border:1px solid var(--theus-line);background:#fff;border-radius:12px;flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.tchat-art-previa.es-ajustada{flex:none;height:auto}.tchat-art-previa.es-ajustada .tchat-art-frame-wrap{flex:none}.tchat-art-aislado{color:var(--theus-text-dim);flex:none;margin:0;padding:0 2px;font-size:11px;line-height:1.4}.tcanvas-previa .tchat-art-aislado{padding:0 10px 8px}.tchat-art-frame{background:#fff;border:none;flex:auto;width:100%;min-height:320px}.tchat-art-pres{padding:4px 2px 18px}.tchat-art-doc{color:var(--theus-text);font-size:15px;line-height:1.7}.tchat-art-body .tchat-md-code{border-radius:var(--ob-r-sm,14px);margin:0}.tchat-art-body .tchat-md-code-head{gap:8px;padding:6px 8px 6px 10px}.tchat-art-body .tchat-md-code pre{font-family:var(--tchat-mono,var(--theus-font-mono,ui-monospace, "SF Mono", Menlo, monospace));tab-size:4;padding:14px 16px 18px;font-size:13px;line-height:1.65}.tchat-art-body .tchat-md-code pre code{font:inherit}.tchat-art-body .tchat-md-code.es-ajustado pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.tchat-art-body .tchat-md-code-copy,.tchat-art-body .tchat-md-code-ajuste{align-items:center;min-height:28px;font-family:inherit;font-size:12.5px;display:inline-flex}.tchat-art-diff{flex-direction:column;gap:10px;display:flex}.tchat-art-diff-resumen{font-variant-numeric:tabular-nums;align-items:center;gap:12px;font-size:12px;display:flex}.tchat-art-diff-mas{color:var(--theus-teal);font-weight:700}.tchat-art-diff-menos{color:var(--theus-magenta);font-weight:700}.tchat-art-diff-nota{color:var(--theus-text-dim)}.tchat-art-diff-cuerpo{border:1px solid var(--theus-line);background:var(--theus-surface-2);scrollbar-width:thin;scrollbar-color:#ffffff2e transparent;border-radius:12px;padding:8px 0;overflow-x:auto}.tchat-art-diff-cuerpo code{width:max-content;min-width:100%;font-family:var(--theus-font-mono,ui-monospace, Menlo, monospace);tab-size:2;font-size:12.5px;line-height:1.55;display:block}.tchat-art-diff-linea{border-left:2px solid #0000;align-items:flex-start;padding:0 12px 0 0;display:flex}.tchat-art-diff-linea.añadida{background:color-mix(in srgb, var(--theus-teal) 14%, transparent);border-left-color:var(--theus-teal)}.tchat-art-diff-linea.quitada{background:color-mix(in srgb, var(--theus-magenta) 13%, transparent);border-left-color:var(--theus-magenta)}.tchat-art-diff-linea.igual{color:var(--theus-text-dim)}.tchat-art-diff-signo{text-align:center;-webkit-user-select:none;user-select:none;width:1.6em;color:var(--theus-text-dim);flex:none}.tchat-art-diff-linea.añadida .tchat-art-diff-signo{color:var(--theus-teal)}.tchat-art-diff-linea.quitada .tchat-art-diff-signo{color:var(--theus-magenta)}.tchat-art-diff-texto{white-space:pre}.tchat-art-diff.es-ajustado .tchat-art-diff-cuerpo code{width:auto}.tchat-art-diff.es-ajustado .tchat-art-diff-texto{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;flex:auto;min-width:0}.tchat-art-diff-aviso{border:1px dashed var(--theus-line-strong);background:var(--theus-surface-2);color:var(--theus-text-dim);border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.5}@media (max-width:900px){.tchat-art{z-index:70;width:100vw;min-width:0;max-width:100vw;height:100dvh;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right);position:fixed;inset:0}.tchat-art-top{padding-top:calc(12px + env(safe-area-inset-top))}.tchat-art-body{padding-bottom:calc(14px + env(safe-area-inset-bottom))}.tchat-art-tabs{scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity;scroll-padding-inline:10px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 24px),#0000 100%);mask-image:linear-gradient(90deg,#000 calc(100% - 24px),#0000 100%)}.tchat-art-tabs::-webkit-scrollbar{display:none}.tchat-art-tab{scroll-snap-align:start}.tchat-art-bar{scrollbar-width:none;overflow-x:auto}.tchat-art-bar::-webkit-scrollbar{display:none}}@media (max-width:640px){.tchat-art-top{padding:calc(10px + env(safe-area-inset-top)) 8px 10px 16px;gap:8px}.tchat-art-title strong{font-size:16px;font-weight:600}.tchat-art-sub{font-size:12.5px}.tchat-art-download{font-size:14px}.tchat-art-tabs{padding:8px 16px;scroll-padding-inline:16px}.tchat-art-tab{font-size:14px}.tchat-art-bar{padding:8px 16px}.tchat-art-vista{flex:100%;display:flex}.tchat-art-vista button{flex:auto;font-size:15px}.tchat-art-ver select{font-size:15px}.tchat-art-body{padding:12px 12px calc(16px + env(safe-area-inset-bottom))}.tchat-art-aislado{text-wrap:balance;font-size:12px}.tchat-art-dl-menu{min-width:224px}.tchat-art-dl-menu button{font-size:15px}.tchat-art-dl-ext{font-size:12.5px}}@media (max-height:560px){.tchat-art-frame{min-height:0}.tchat-art-top{gap:8px;padding:5px 10px}.tchat-art-title strong{font-size:12.5px}.tchat-art-download{padding:3px 9px;font-size:11px}.tchat-art-tabs{gap:3px;padding:4px 8px}.tchat-art-tab{max-width:130px;padding:3px 9px;font-size:11px}.tchat-art-bar{gap:8px;min-height:0;padding:4px 10px}.tchat-art-bar select,.tchat-art-vista button{padding:2px 9px;font-size:11px}.tchat-art-sub{display:none}.tchat-art-body{padding:8px}.tchat-art-doc{font-size:13.5px;line-height:1.55}.tchat-art-dl-menu{max-height:60dvh;overflow-y:auto}}.tchat-artcard-slot{margin:10px 0}.tchat-artcard{border:1px solid var(--theus-line-strong);background:var(--theus-surface-2);border-radius:14px;flex-direction:column;gap:10px;max-width:480px;padding:12px 14px;display:flex}.tchat-artcard-head{align-items:center;gap:10px;min-width:0;display:flex}.tchat-artcard-icon{background:var(--theus-surface-3);width:34px;height:34px;color:var(--tchat-acc-hi,#7b2eff);border-radius:10px;flex:none;place-items:center;font-size:16px;display:grid}.tchat-artcard-info{flex-direction:column;gap:2px;min-width:0;display:flex}.tchat-artcard-title{color:var(--theus-text);white-space:nowrap;text-overflow:ellipsis;font-size:13.5px;overflow:hidden}.tchat-artcard-meta{color:var(--theus-text-dim);font-size:11.5px}.tchat-artcard-head .tchat-spinner{flex:none;margin-left:auto}.tchat-artcard-actions{flex-wrap:wrap;gap:8px;display:flex}.tchat-artcard-btn{border:1px solid var(--theus-line-strong);color:var(--ink-soft,#fffc);font:inherit;cursor:pointer;transition:border-color .18s var(--tchat-ease,ease), color .18s var(--tchat-ease,ease), background-color .18s var(--tchat-ease,ease);background:0 0;border-radius:999px;padding:7px 14px;font-size:12.5px}.tchat-artcard-btn:hover{color:var(--tchat-acc-hi,#7b2eff);border-color:#7b2eff80}.tchat-artcard-btn:disabled{opacity:.6;cursor:default}.tchat-artcard-btn-primario{color:var(--theus-text);background:#7b2eff29;border-color:#7b2eff8c}.tchat-artcard-btn-primario:hover{color:var(--theus-text);background:#7b2eff42}.tchat-artcard-aviso{color:var(--theus-text-dim);font-size:12px;line-height:1.45}.tchat-art-pdf-guardar{color:var(--theus-text);font:inherit;cursor:pointer;background:#7b2eff29;border:1px solid #7b2eff8c;border-radius:999px;margin-left:8px;padding:5px 14px;font-size:12.5px}.tchat-art-pdf-guardar:hover{background:#7b2eff42}@media (max-width:640px){.tchat-artcard-btn{min-height:44px;padding:9px 16px}.tchat-artcard-actions{gap:10px}}@media (hover:none),(pointer:coarse){.tchat-artcard-btn,.tchat-art-download,.tchat-art-dl-menu button,.tchat-art-pdf-guardar{min-height:44px}.tchat-artcard-btn{padding:9px 16px}.tchat-art-dl-menu button{padding:10px 12px}.tchat-art-close{place-items:center;min-width:44px;min-height:44px;display:inline-grid}.tchat-art-vista button,.tchat-art-ver select{min-height:44px}.tchat-art-vista button,.tchat-art-download{padding:0 14px}.tchat-art-tab{min-height:44px;padding:0 16px}.tchat-art-body .tchat-md-code-copy,.tchat-art-body .tchat-md-code-ajuste{min-height:44px;padding:0 14px}}@media (hover:none) and (max-height:560px),(pointer:coarse) and (max-height:560px){.tchat-art-vista button,.tchat-art-ver select,.tchat-art-download,.tchat-art-tab,.tchat-art-body .tchat-md-code-copy,.tchat-art-body .tchat-md-code-ajuste{min-height:34px}.tchat-art-vista button{padding:0 10px}}.tchat-art-danado{border:1px solid var(--tchat-line-strong,#ffffff5c);border-radius:var(--ob-r-sm,10px);background:var(--tchat-panel-2,#0e0e11);color:var(--tchat-ink-soft,#ffffffd9);margin:0 0 10px;padding:10px 12px;font-size:12.5px;line-height:1.5}.tchat-art-danado strong{color:var(--tchat-ink,#fff);font-weight:600}.tchat .tchat-art .tchat-art-vista,.tchat .tchat-art .tchat-art-vista button,.tchat .tchat-art .tchat-art-download,.tchat .tchat-art .tchat-art-tab,.tchat .tchat-art .tchat-art-close{border-radius:var(--ob-r-pill,999px)}.tchat .tchat-art .tchat-art-frame-wrap{border-radius:var(--ob-r-sm,14px)}.tchat .tchat-art .tchat-art-dl-menu{border-radius:var(--ob-r-md,20px)}.tchat .tchat-art .tchat-art-dl-menu button{border-radius:var(--ob-r-sm,14px)}html:is([data-theme],:not([data-theme])) .tchat.tchat-shell .tchat-art .tchat-art-dl-menu[role=menu]{border:1px solid var(--tchat-line-strong,#ffffff5c);background:var(--tchat-panel-2,#0e0e11);-webkit-backdrop-filter:none;backdrop-filter:none;background-image:none;box-shadow:0 16px 48px #0000008c}.tchat .tchat-art .tchat-art-close:hover,.tchat .tchat-art .tchat-art-close:active{background:var(--tchat-hover,#ffffff0f);color:var(--theus-text)}.tchat .tchat-art .tchat-art-ver{letter-spacing:.06em;font-size:10.5px}.tchat .tchat-art .tchat-art-ver select{font-family:var(--tchat-sans,inherit);letter-spacing:0;border-radius:var(--ob-r-sm,14px)}@media (max-width:640px){.tchat .tchat-art .tchat-art-ver{font-size:11.5px}}.tchat .tchat-art{background:var(--chat-ui-panel,#1c1b24d1);color:var(--chat-ui-text,#ededf0);border-color:var(--chat-ui-border,#dcd3ff1f);box-shadow:none;-webkit-backdrop-filter:blur(var(--chat-ui-blur,20px));backdrop-filter:blur(var(--chat-ui-blur,20px))}.tchat-art-icon{flex:none;width:18px;height:18px;display:block}.tchat .tchat-art .tchat-art-top{border-color:var(--chat-ui-border);gap:12px;min-height:66px;padding:12px 16px}.tchat .tchat-art .tchat-art-title strong{letter-spacing:0;color:var(--chat-ui-text,#ededf0);font-family:inherit;font-size:14px;font-weight:600;line-height:1.45}.tchat .tchat-art .tchat-art-kind{color:var(--chat-ui-muted,#a6a6b1)}.tchat .tchat-art .tchat-art-sub{color:var(--chat-ui-muted,#a6a6b1);font-size:11px;line-height:1.4}.tchat .tchat-art .tchat-art-download,.tchat .tchat-art .tchat-art-ver select,.tchat .tchat-art .tchat-art-pdf-guardar{border:1px solid var(--chat-ui-border,#dcd3ff1f);border-top-color:var(--chat-ui-edge,#eee5ff33);background:var(--chat-ui-control,#ffffff0b);background-image:var(--chat-ui-glass,linear-gradient(180deg,#fff1,#ffffff04));min-height:32px;box-shadow:none;color:var(--chat-ui-text,#ededf0);letter-spacing:0;border-radius:8px;padding:6px 10px;font-family:inherit;font-size:12px;font-weight:500}.tchat .tchat-art .tchat-art-download:hover,.tchat .tchat-art .tchat-art-download[aria-expanded=true]{background-color:var(--chat-ui-hover,#ffffff16);border-color:var(--chat-ui-edge,#eee5ff33)}.tchat .tchat-art .tchat-art-download-chevron{width:14px;height:14px;color:var(--chat-ui-muted,#a6a6b1);transition:transform .16s}.tchat .tchat-art .tchat-art-download[aria-expanded=true] .tchat-art-download-chevron{transform:rotate(180deg)}.tchat .tchat-art .tchat-art-close{min-width:32px;min-height:32px;color:var(--chat-ui-muted,#a6a6b1);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:grid}.tchat .tchat-art .tchat-art-close:hover{background:var(--chat-ui-hover,#ffffff16);color:var(--chat-ui-text,#ededf0)}.tchat .tchat-art button:focus-visible,.tchat .tchat-art select:focus-visible{outline:2px solid var(--chat-ui-accent,#b8a4ee);outline-offset:3px}.tchat .tchat-art .tchat-art-tabs{border-color:var(--chat-ui-border);gap:4px;padding:0 12px;-webkit-mask-image:none;mask-image:none}.tchat .tchat-art .tchat-art-tab{min-height:36px;box-shadow:none;color:var(--chat-ui-muted,#a6a6b1);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:9px 10px;font-size:12px;font-weight:400}.tchat .tchat-art .tchat-art-tab.activa{border-bottom-color:var(--chat-ui-accent,#b8a4ee);color:var(--chat-ui-text,#ededf0);background:0 0;font-weight:500}.tchat .tchat-art .tchat-art-tab:hover{background:var(--chat-ui-control,#ffffff0b);color:var(--chat-ui-text,#ededf0)}.tchat .tchat-art .tchat-art-bar{border-color:var(--chat-ui-border);background:0 0;gap:10px;min-height:52px;padding:10px 16px}.tchat .tchat-art .tchat-art-ver{text-transform:none;letter-spacing:0;color:var(--chat-ui-muted,#a6a6b1);font-family:inherit;font-size:12px;line-height:1.4}.tchat .tchat-art .tchat-art-vista{border:1px solid var(--chat-ui-border,#dcd3ff1f);box-shadow:none;background:#0000001a;border-radius:9px;flex:0 auto;gap:2px;max-width:100%;padding:2px;display:inline-flex}.tchat .tchat-art .tchat-art-vista button{white-space:nowrap;min-height:28px;color:var(--chat-ui-muted,#a6a6b1);box-shadow:none;text-shadow:none;background:0 0;border:0;border-radius:6px;flex:auto;padding:5px 10px;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4}.tchat .tchat-art .tchat-art-vista button.activa{color:var(--chat-ui-text,#ededf0);background:var(--chat-ui-hover,#ffffff16);background-image:var(--chat-ui-glass,linear-gradient(180deg,#fff1,#ffffff04));box-shadow:inset 0 1px 0 var(--chat-ui-edge,#eee5ff33)}.tchat .tchat-art .tchat-art-vista button:hover:not(.activa){color:var(--chat-ui-text,#ededf0);background:var(--chat-ui-control,#ffffff0b)}.tchat .tchat-art .tchat-art-body{min-height:0;padding:16px}.tchat .tchat-art .tchat-art-frame-wrap{border:1px solid var(--chat-ui-border);box-shadow:none;border-radius:12px}.tchat .tchat-art .tchat-art-doc{border-radius:8px;max-width:100%}.tchat .tchat-art .tchat-art-dl-menu{border-radius:12px;min-width:196px;padding:5px}html:is([data-theme],:not([data-theme])) .tchat.tchat-shell .tchat-art .tchat-art-dl-menu[role=menu]{background:var(--chat-ui-solid,#1e1c26f5);background-image:var(--chat-ui-glass,linear-gradient(180deg,#fff1,#ffffff04));border:1px solid var(--chat-ui-edge,#eee5ff33);-webkit-backdrop-filter:blur(var(--chat-ui-blur,20px));backdrop-filter:blur(var(--chat-ui-blur,20px));box-shadow:0 3px 8px #0003}.tchat .tchat-art .tchat-art-dl-menu button{min-height:32px;color:var(--chat-ui-text,#ededf0);background:0 0;border:0;border-radius:7px;padding:7px 10px;font-size:12px}.tchat .tchat-art .tchat-art-dl-menu button:is(:hover,:focus-visible){background:var(--chat-ui-hover,#ffffff16);color:var(--chat-ui-text,#ededf0)}.tchat .tchat-art .tchat-art-dl-ext{opacity:1;color:var(--chat-ui-muted,#a6a6b1)}.tchat .tchat-art.tchat-art-embedded{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;position:relative}.tchat .tchat-art.tchat-art-embedded .tchat-art-top{z-index:4;border:0;min-height:0;padding:0;position:absolute;inset:10px 16px auto auto}.tchat .tchat-art.tchat-art-embedded .tchat-art-bar{align-items:center;min-height:56px;padding-right:154px}.tchat .tchat-art.tchat-art-embedded .tchat-art-body{padding-top:12px}@media (max-width:640px){.tchat .tchat-art .tchat-art-top{padding:10px 12px}.tchat .tchat-art .tchat-art-bar{padding:8px 12px}.tchat .tchat-art .tchat-art-vista{flex:auto}.tchat .tchat-art .tchat-art-body{padding:12px}.tchat .tchat-art.tchat-art-embedded .tchat-art-top{padding:0;inset:10px 12px auto auto}.tchat .tchat-art.tchat-art-embedded .tchat-art-bar{padding-right:66px}.tchat .tchat-art.tchat-art-embedded .tchat-art-download{width:36px;padding:0}.tchat .tchat-art.tchat-art-embedded .tchat-art-download-label,.tchat .tchat-art.tchat-art-embedded .tchat-art-download-chevron{display:none}}@media (pointer:coarse),(max-width:640px){.tchat .tchat-art .tchat-art-vista button,.tchat .tchat-art .tchat-art-download,.tchat .tchat-art .tchat-art-close,.tchat .tchat-art .tchat-art-ver select,.tchat .tchat-art .tchat-art-dl-menu button,.tchat .tchat-art .tchat-art-tab{min-height:44px}.tchat .tchat-art .tchat-art-close{min-width:44px}.tchat .tchat-art.tchat-art-embedded .tchat-art-download{width:44px}.tchat .tchat-art.tchat-art-embedded .tchat-art-bar{min-height:68px}}@media (prefers-reduced-motion:reduce){.tchat .tchat-art .tchat-art-download-chevron{transition:none}}.tchat .tchat-art .tchat-art-dl-menu{max-height:min(360px,100dvh - 220px);overflow-y:auto}.tchat .tchat-art .tchat-art-diff-cuerpo{border-color:var(--chat-ui-border);background:#0000001a;border-radius:8px}.tchat .tchat-art .tchat-art-diff-linea{border-left:0}.tchat .tchat-art .tchat-art-diff-linea.añadida{color:var(--chat-ui-success,#9ec7ad);background:#4788681f}.tchat .tchat-art .tchat-art-diff-linea.quitada{color:var(--chat-ui-danger,#e5a0a7);background:#bc4c5c1a}.tchat .tchat-art .tchat-art-diff-mas,.tchat .tchat-art .tchat-art-diff-linea.añadida .tchat-art-diff-signo{color:var(--chat-ui-success,#9ec7ad)}.tchat .tchat-art .tchat-art-diff-menos,.tchat .tchat-art .tchat-art-diff-linea.quitada .tchat-art-diff-signo{color:var(--chat-ui-danger,#e5a0a7)}.tchat.tchat-shell .tchat-art :is(.tchat-art-top-acc,.tchat-md-code-head) button>svg{stroke-width:1.7px;flex:0 0 16px;width:16px;max-width:16px;height:16px;max-height:16px}.tchat.tchat-shell .tchat-art .tchat-art-kind>svg{stroke-width:1.7px;flex:0 0 18px;width:18px;max-width:18px;height:18px;max-height:18px}
