@keyframes spin-icon{to{transform:rotate(360deg)}}:root{color-scheme:dark;--bg:#0f172a;--bg-secondary:#1e293b;--paper:#1e293b;--border:rgba(148,163,184,0.28);--primary:#3b82f6;--user-bg:#0b3360;--user-fg:#ffffff;--text:#e2e8f0;--muted:#94a3b8}body.conv-log-resize-active{cursor:col-resize !important;user-select:none !important}body.conv-log-resize-active *{cursor:col-resize !important}#root{height:100%;overflow:hidden}*{box-sizing:border-box}.MuiAppBar-root{position:relative;z-index:2;& .MuiToolbar-root{align-items:center;flex-wrap:nowrap}& .MuiToolbar-root .MuiTabs-root{flex:1 1 auto;min-width:0;max-width:100%;opacity:1;visibility:visible}& .MuiToolbar-root .MuiTabs-scroller{overflow:auto !important}& .MuiToolbar-root .MuiTab-root{min-height:36px;opacity:1;visibility:visible}& .MuiToolbar-root .MuiTabs-list{align-items:center}& .MuiToolbar-root iconify-icon{display:inline-flex;align-items:center}}.badge{display:inline-flex;align-items:center;font-size:0.68rem;padding:0.05rem 0.42rem;border-radius:999px;font-weight:600;border:1px solid transparent;&-itd{background:rgba(168,85,247,0.2);border-color:rgba(168,85,247,0.5);color:#d8b4fe}&-latency{background:rgba(125,211,252,0.15);border-color:rgba(125,211,252,0.45);color:#bae6fd;font-family:ui-monospace,Consolas,monospace}&-model{background:rgba(96,165,250,0.18);border-color:rgba(96,165,250,0.5);color:#93c5fd;font-family:ui-monospace,Consolas,monospace}&-nombre{background:rgba(20,184,166,0.2);border-color:rgba(20,184,166,0.55);color:#5eead4}&-ok{background:rgba(34,197,94,0.18);border-color:rgba(34,197,94,0.45);color:#86efac}&-operativa{background:rgba(148,163,184,0.22);border-color:rgba(148,163,184,0.55);color:#cbd5e1;font-family:ui-monospace,Consolas,monospace}&-pmpt{background:rgba(34,197,94,0.18);border-color:rgba(34,197,94,0.5);color:#86efac;font-family:ui-monospace,Consolas,monospace}&-premisa{background:rgba(244,114,182,0.18);border-color:rgba(244,114,182,0.5);color:#fbcfe8}&-tokens{background:rgba(251,191,36,0.18);border-color:rgba(251,191,36,0.5);color:#fde68a;font-family:ui-monospace,Consolas,monospace}&-warn{background:rgba(251,146,60,0.2);border-color:rgba(251,146,60,0.55);color:#fdba74}}.btn-iconify{display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;padding:0;border:1px solid var(--border);border-radius:6px;background:rgba(15,23,42,0.45);color:inherit;cursor:pointer;transition:background 0.15s;& iconify-icon[icon="mdi:loading"]{animation:spin-icon 0.9s linear infinite}&--labeled{width:auto;min-height:2rem;padding:0 0.75rem;gap:0.4rem}&--primary{background:var(--primary);border-color:var(--primary);color:#fff;&:hover:not(:disabled){background:#2563eb}}&--secondary{background:#14b8a6;border-color:#14b8a6;color:#0f172a;&:hover:not(:disabled){background:#0d9488;color:#fff}}&--sm{width:1.45rem;height:1.45rem;border-radius:999px}&--success{color:#4ade80;border-color:rgba(74,222,128,0.35)}&:disabled{opacity:0.45;cursor:not-allowed}&:hover:not(:disabled){background:rgba(148,163,184,0.2)}&__lbl{font-size:0.8rem;font-weight:500;line-height:1;white-space:nowrap}}.btn-with-icon{display:inline-flex;align-items:center;gap:0.35rem}.chat-historial{display:flex;flex-direction:column;gap:0.6rem;padding:0.25rem 0.1rem}.confirm-message{margin:0;white-space:pre-wrap;line-height:1.45;font-size:0.92rem}.conv-log-action-grp{display:flex;align-items:stretch;width:100%;max-width:100%;min-width:0;&__actions{display:inline-flex;flex-shrink:0;align-items:stretch;& .btn-iconify{width:2rem;height:2rem;border-radius:0;margin-left:-1px}&>span{display:inline-flex}&>span:first-child .btn-iconify{border-top-left-radius:0;border-bottom-left-radius:0}&>span:last-child .btn-iconify{border-top-right-radius:6px;border-bottom-right-radius:6px}}&__input{flex:1 1 auto;min-width:0;& .MuiOutlinedInput-root{height:2rem;border-top-right-radius:0;border-bottom-right-radius:0}}}.conv-log-resize-handle{position:absolute;top:0;right:0;width:6px;height:100%;cursor:col-resize;z-index:3;touch-action:none;transform:translateX(50%);background:transparent;transition:background 0.15s ease;&.is-dragging{background:rgba(30,144,255,0.12);&::after{background:#1e90ff;width:2px}}&::after{content:"";position:absolute;inset:0;width:1px;margin:0 auto;background:var(--border,rgba(148,163,184,0.45))}&:hover{background:rgba(30,144,255,0.12)}&:hover::after{background:#1e90ff;width:2px}}.conv-log-sidebar{box-sizing:border-box;padding-left:1rem;padding-right:0.75rem;& .conv-log-sidebar-block{width:100%;max-width:100%;box-sizing:border-box}}.conv-meta-badge{display:inline-flex;align-items:center;gap:0.12rem;max-width:min(100%,9.5rem);min-height:1rem;padding:0 0.28rem;border-radius:4px;border:none;background:rgba(148,163,184,0.12);line-height:1;vertical-align:middle;&--context{background:rgba(167,139,250,0.14);color:#c4b5fd}&--error{background:rgba(239,68,68,0.14);color:#fca5a5}&--latency{background:rgba(14,165,233,0.12);color:#bae6fd}&--metric{background:rgba(148,163,184,0.12);color:#cbd5e1}&--model{background:rgba(59,130,246,0.14);color:#93c5fd}&--operativa{background:rgba(251,191,36,0.16);color:#fcd34d}&--premisa{background:rgba(56,189,248,0.14);color:#7dd3fc}&--tokens{background:rgba(139,92,246,0.12);color:#ddd6fe}&--usd{background:rgba(16,185,129,0.12);color:#6ee7b7}&--vision{background:rgba(168,85,247,0.16);color:#d8b4fe}&__tag{flex-shrink:0;font-family:"IBM Plex Sans",system-ui,sans-serif;font-size:0.48rem;font-weight:700;letter-spacing:0.02em;text-transform:uppercase;opacity:0.72;&::after{content:"·";margin-left:0.12rem;opacity:0.4;font-weight:400}}&__val{font-family:"IBM Plex Mono",ui-monospace,Consolas,monospace;font-size:0.54rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;max-width:min(100%,7.5rem)}&--compact{flex-shrink:0;min-width:0;max-width:none;min-height:1.05rem;padding:0.05rem 0.32rem;border-radius:4px;font-family:"IBM Plex Sans",system-ui,sans-serif;font-size:0.48rem;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;line-height:1.15;white-space:nowrap}html[data-mui-color-scheme="light"] &{background:rgba(241,245,249,0.95);&--context{color:#6d28d9;background:rgba(237,233,254,0.95)}&--error{color:#b91c1c;background:rgba(254,242,242,0.98)}&--latency{color:#0369a1;background:rgba(224,242,254,0.95)}&--metric{color:#475569;background:rgba(241,245,249,0.98)}&--model{color:#1d4ed8;background:rgba(239,246,255,0.98)}&--operativa{color:#b45309;background:rgba(254,243,199,0.95)}&--premisa{color:#0369a1;background:rgba(224,242,254,0.95)}&--tokens{color:#5b21b6;background:rgba(245,243,255,0.98)}&--usd{color:#047857;background:rgba(236,253,245,0.98)}&--vision{color:#7e22ce;background:rgba(250,245,255,0.98)}}}.conv-msg-body{word-break:break-word;overflow-wrap:anywhere;& img{cursor:zoom-in}}.conv-msg-card{border-radius:0.5rem !important;& .MuiAlert-root{border-radius:0.5rem}&__meta-row{margin-top:0.45rem;padding:0}}.conv-msg-image-lightbox-btn{display:block;padding:0;border:1px solid var(--mui-palette-divider,rgba(255,255,255,0.12));border-radius:0.5rem;background:transparent;cursor:zoom-in;overflow:hidden;line-height:0;transition:transform 0.15s ease,box-shadow 0.15s ease;& img{display:block;max-width:min(220px,100%);max-height:160px;width:auto;height:auto;object-fit:cover}&:focus-visible{transform:translateY(-1px);box-shadow:0 8px 24px rgba(0,0,0,0.25);outline:none}&:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(0,0,0,0.25);outline:none}}.conv-msg-images{width:100%}.conv-msg-meta-chips{row-gap:0.28rem;column-gap:0.28rem;align-items:center;& .conv-msg-meta-chip{display:inline-flex;align-items:center;min-height:1.25rem;padding:0.1rem 0.5rem !important;border-radius:999px !important;border:1px solid rgba(148,163,184,0.32) !important;background:rgba(15,23,42,0.45) !important;line-height:1.2;box-shadow:0 0 10px rgba(30,144,255,0.06);& .conv-msg-usage-chip__inner{display:inline-flex;align-items:center;gap:0;font-family:"IBM Plex Mono",ui-monospace,Consolas,monospace}& .conv-msg-usage-chip__val{font-size:0.62rem;font-weight:600;white-space:nowrap;max-width:9.5rem;overflow:hidden;text-overflow:ellipsis}&--context{border-color:rgba(167,139,250,0.45) !important;background:rgba(139,92,246,0.12) !important;& .conv-msg-usage-chip__val{color:#ddd6fe}}&--premisa{border-color:rgba(56,189,248,0.42) !important;background:rgba(14,165,233,0.1) !important;& .conv-msg-usage-chip__val{color:#7dd3fc}}&--operativa{border-color:rgba(251,191,36,0.45) !important;background:rgba(245,158,11,0.1) !important;& .conv-msg-usage-chip__val{color:#fcd34d}}&--model{border-color:rgba(0,229,255,0.42) !important;background:rgba(14,165,233,0.1) !important;& .conv-msg-usage-chip__val{color:#a5f3fc}}&--metric{border-color:rgba(148,163,184,0.38) !important;background:rgba(148,163,184,0.1) !important;& .conv-msg-usage-chip__val{color:#cbd5e1}}&--error{border-color:rgba(239,68,68,0.45) !important;background:rgba(239,68,68,0.1) !important;& .conv-msg-usage-chip__val{color:#fca5a5}}&--vision{border-color:rgba(168,85,247,0.45) !important;background:rgba(168,85,247,0.1) !important;& .conv-msg-usage-chip__val{color:#e9d5ff}}html[data-mui-color-scheme="light"] &{background:rgba(248,250,252,0.95) !important;&--context{border-color:rgba(139,92,246,0.32) !important;background:rgba(139,92,246,0.08) !important;& .conv-msg-usage-chip__val{color:#5b21b6}}&--premisa{border-color:rgba(14,165,233,0.32) !important;background:rgba(14,165,233,0.08) !important;& .conv-msg-usage-chip__val{color:#0369a1}}&--operativa{border-color:rgba(245,158,11,0.35) !important;background:rgba(251,191,36,0.1) !important;& .conv-msg-usage-chip__val{color:#92400e}}&--model{border-color:rgba(14,165,233,0.32) !important;background:rgba(14,165,233,0.08) !important;& .conv-msg-usage-chip__val{color:#0c4a6e}}&--metric{border-color:rgba(100,116,139,0.28) !important;background:rgba(148,163,184,0.08) !important;& .conv-msg-usage-chip__val{color:#475569}}&--error{border-color:rgba(239,68,68,0.32) !important;background:rgba(239,68,68,0.08) !important;& .conv-msg-usage-chip__val{color:#b91c1c}}&--vision{border-color:rgba(168,85,247,0.32) !important;background:rgba(168,85,247,0.08) !important;& .conv-msg-usage-chip__val{color:#6b21a8}}}}}.conv-msg-usage-chip{display:inline-flex;align-items:center;font-family:inherit;border-radius:6px;border:1px solid rgba(148,163,184,0.28);background:rgba(15,23,42,0.35);padding:0.08rem 0.38rem;&--cache{border-color:rgba(167,139,250,0.4) !important;color:#ddd6fe !important}&--empty{opacity:0.42;border-style:dashed !important}&--in{border-color:rgba(96,165,250,0.45) !important;color:#bfdbfe !important}&--out{border-color:rgba(251,191,36,0.45) !important;color:#fde68a !important}&--total{border-color:rgba(52,211,153,0.5) !important;color:#a7f3d0 !important;background:rgba(16,185,129,0.1) !important}&__inner{display:inline-flex;align-items:baseline;gap:0.3rem;line-height:1.25}&__key{font-size:0.56rem;font-weight:700;letter-spacing:0.04em;text-transform:lowercase;opacity:0.82}&__val{font-size:0.58rem;font-weight:500;white-space:nowrap}html[data-mui-color-scheme="light"] &{background:rgba(248,250,252,0.95);&--cache{border-color:rgba(139,92,246,0.32) !important;color:#5b21b6 !important}&--in{border-color:rgba(59,130,246,0.35) !important;color:#1e40af !important}&--out{border-color:rgba(245,158,11,0.38) !important;color:#92400e !important}&--total{border-color:rgba(16,185,129,0.38) !important;color:#047857 !important;background:rgba(16,185,129,0.08) !important}}}.conv-msg-usage-stats{display:flex;flex-direction:column;gap:0.35rem;width:fit-content;min-width:10.25rem;max-width:22rem;padding:0.55rem 0.65rem;border-radius:10px;border:1px solid rgba(0,229,255,0.28);background:linear-gradient(165deg,rgba(11,18,32,0.94),rgba(15,23,42,0.82));box-shadow:0 0 0 1px rgba(30,144,255,0.1),0 8px 28px rgba(30,144,255,0.14),inset 0 1px 0 rgba(255,255,255,0.05);user-select:none;& .conv-msg-usage-chip{display:inline-flex;align-items:center;min-height:1.35rem;padding:0.12rem 0.5rem 0.12rem 0.46rem !important;border-radius:999px !important;border:1px solid rgba(148,163,184,0.32) !important;background:rgba(15,23,42,0.55) !important;line-height:1.2;vertical-align:middle;box-shadow:0 0 10px rgba(30,144,255,0.08)}& .conv-msg-usage-chip__inner{display:inline-flex;align-items:baseline;gap:0.28rem;line-height:1.25;font-family:"IBM Plex Mono",ui-monospace,Consolas,monospace}& .conv-msg-usage-chip__key{font-family:"IBM Plex Sans",system-ui,sans-serif;font-size:0.56rem;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;opacity:0.72;&::after{content:"·";margin-left:0.28rem;opacity:0.45;font-weight:400}}& .conv-msg-usage-chip__val{font-size:0.6rem;font-weight:600;white-space:nowrap}& .conv-msg-usage-chip--model,& .conv-msg-usage-chip--latency{border-color:rgba(0,229,255,0.45) !important;background:rgba(14,165,233,0.1) !important;box-shadow:0 0 14px rgba(0,229,255,0.22);& .conv-msg-usage-chip__key{color:#67e8f9}& .conv-msg-usage-chip__val{color:#a5f3fc}}& .conv-msg-usage-chip--usd{border-color:rgba(52,211,153,0.5) !important;background:rgba(16,185,129,0.1) !important;box-shadow:0 0 14px rgba(16,185,129,0.2);& .conv-msg-usage-chip__key{color:#34d399}& .conv-msg-usage-chip__val{color:#6ee7b7}}& .conv-msg-usage-chip--tokens{border-color:rgba(167,139,250,0.5) !important;background:rgba(139,92,246,0.1) !important;box-shadow:0 0 14px rgba(139,92,246,0.22);& .conv-msg-usage-chip__key{color:#c4b5fd}& .conv-msg-usage-chip__val{color:#ddd6fe}}& .conv-msg-usage-chip--scope{& .conv-msg-usage-chip__key{opacity:1;&::after{content:none}}}& .conv-msg-usage-chip--scope-msg{border-color:rgba(59,130,246,0.5) !important;background:rgba(59,130,246,0.12) !important;box-shadow:0 0 14px rgba(59,130,246,0.2);& .conv-msg-usage-chip__key{color:#93c5fd}}& .conv-msg-usage-chip--scope-prev{border-color:rgba(148,163,184,0.45) !important;background:rgba(148,163,184,0.12) !important;box-shadow:0 0 12px rgba(148,163,184,0.16);& .conv-msg-usage-chip__key{color:#cbd5e1}}& .conv-msg-usage-chip--vision{border-color:rgba(168,85,247,0.45) !important;background:rgba(168,85,247,0.1) !important;box-shadow:0 0 14px rgba(168,85,247,0.2);& .conv-msg-usage-chip__val{color:#e9d5ff}}&--clickable{cursor:pointer;&,& *{cursor:pointer}transition:border-color 0.2s ease,box-shadow 0.2s ease,transform 0.2s ease;&:focus-visible{outline:none;border-color:rgba(0,229,255,0.55);box-shadow:0 0 0 1px rgba(0,229,255,0.25),0 10px 32px rgba(30,144,255,0.22),inset 0 1px 0 rgba(255,255,255,0.06)}&:hover{border-color:rgba(0,229,255,0.5);box-shadow:0 0 0 1px rgba(0,229,255,0.22),0 10px 32px rgba(30,144,255,0.22),inset 0 1px 0 rgba(255,255,255,0.06);transform:translateY(-1px)}}&--left{align-items:flex-start;& .conv-msg-usage-stats__group{justify-content:flex-start}& .conv-msg-usage-stats__values{justify-content:flex-start}}&--right{align-items:flex-end;& .conv-msg-usage-stats__group{justify-content:flex-end}& .conv-msg-usage-stats__values{justify-content:flex-end}}&__chips{flex:1 1 auto;min-width:0;max-width:100%}&__groups{display:flex;flex-direction:column;align-items:stretch;gap:0.32rem;width:100%;&--left{align-items:flex-start}&--right{align-items:flex-end}}&__group{display:inline-flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:0.28rem;width:fit-content;max-width:100%;min-width:0}&__meta{display:flex;flex-direction:column;gap:0.32rem;width:100%;margin-bottom:0.2rem;padding-bottom:0.38rem;border-bottom:1px dashed rgba(148,163,184,0.22);&--left{align-items:flex-start}&--right{align-items:flex-end}}&__values{display:inline-flex;flex-wrap:nowrap;align-items:center;gap:0.28rem;min-width:0}html[data-mui-color-scheme="light"] &{border-color:rgba(148,163,184,0.32);background:#ffffff;box-shadow:none;& .conv-msg-usage-chip{background:#f8fafc;border-color:rgba(148,163,184,0.32);box-shadow:none}& .conv-msg-usage-chip--model,& .conv-msg-usage-chip--latency{border-color:rgba(14,165,233,0.35) !important;background:#f0f9ff !important;box-shadow:none;& .conv-msg-usage-chip__val{color:#0369a1}}& .conv-msg-usage-chip--usd{border-color:rgba(16,185,129,0.35) !important;background:#ecfdf5 !important;box-shadow:none;& .conv-msg-usage-chip__val{color:#047857}}& .conv-msg-usage-chip--tokens{border-color:rgba(139,92,246,0.32) !important;background:#f5f3ff !important;box-shadow:none;& .conv-msg-usage-chip__val{color:#5b21b6}}& .conv-msg-usage-chip--scope-msg{border-color:rgba(59,130,246,0.35) !important;background:#eff6ff !important;box-shadow:none;& .conv-msg-usage-chip__key{color:#1d4ed8}}& .conv-msg-usage-chip--scope-prev{border-color:rgba(100,116,139,0.32) !important;background:#f8fafc !important;box-shadow:none;& .conv-msg-usage-chip__key{color:#475569}}&--clickable{&:focus-visible,&:hover{border-color:rgba(100,116,139,0.45);box-shadow:none;transform:none}}}}.conv-usage-dialog{font-family:"IBM Plex Sans",system-ui,sans-serif;&__concept{font-weight:600;font-size:0.92rem}&__ctx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(11rem,1fr));gap:0.45rem 0.75rem}&__ctx-item{display:grid;grid-template-columns:4.75rem 1fr;gap:0.45rem;align-items:baseline;padding:0.35rem 0.5rem;border-radius:8px;border:1px solid rgba(148,163,184,0.16);background:rgba(15,23,42,0.28);&--vision{border-color:rgba(168,85,247,0.38);background:rgba(168,85,247,0.1)}&--wide{grid-column:1 / -1;grid-template-columns:minmax(5.5rem,8rem) 1fr}}&__ctx-k{font-size:0.62rem;font-weight:700;text-transform:uppercase;letter-spacing:0.05em;color:var(--muted,#94a3b8)}&__ctx-v{font-size:0.82rem;line-height:1.35;word-break:break-word}&__meta{display:flex;flex-direction:column;gap:0.85rem}&__mono{font-family:"IBM Plex Mono",ui-monospace,Consolas,monospace !important;font-size:0.92rem !important;font-weight:500 !important;white-space:nowrap}&__row{&--empty{& .conv-usage-dialog__mono{opacity:0.45}}}&__table{width:100%;border-collapse:collapse;font-size:0.95rem;& tbody td{padding:0.55rem 0.65rem;border-bottom:1px solid rgba(148,163,184,0.12);vertical-align:middle;&:nth-child(2){text-align:right}}& tbody td.conv-usage-dialog__val{color:#34d399;font-weight:700 !important}& tbody tr:last-child td{border-bottom:none;font-weight:700;background:rgba(16,185,129,0.06)}& thead th{text-align:left;font-size:0.72rem;font-weight:700;letter-spacing:0.06em;text-transform:uppercase;color:var(--muted,#94a3b8);padding:0.35rem 0.65rem 0.5rem;border-bottom:1px solid rgba(148,163,184,0.22);&:nth-child(2){text-align:right}}}&__tok-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(4.75rem,1fr));gap:0.4rem}&__tok-item{text-align:center;padding:0.4rem 0.35rem;border-radius:8px;border:1px solid rgba(167,139,250,0.22);background:rgba(99,102,241,0.08)}&__tok-k{display:block;font-size:0.58rem;font-weight:700;text-transform:uppercase;letter-spacing:0.05em;opacity:0.72;margin-bottom:0.12rem}&__tok-v{display:block;font-size:0.88rem;font-weight:700;color:#ddd6fe}html[data-mui-color-scheme="light"] &{&__ctx-item{background:rgba(248,250,252,0.95);border-color:rgba(148,163,184,0.22);&--vision{border-color:rgba(168,85,247,0.28);background:rgba(250,245,255,0.98)}}&__table{& tbody td.conv-usage-dialog__val{color:#047857}& tbody tr:last-child td{background:rgba(16,185,129,0.08)}}&__tok-item{background:rgba(238,242,255,0.95);border-color:rgba(99,102,241,0.18)}&__tok-v{color:#4338ca}}}.drop-zone{display:flex;flex-direction:column;align-items:center;gap:0.45rem;padding:0.85rem;margin-bottom:0.65rem;border:2px dashed var(--border);border-radius:8px;text-align:center;transition:border-color 0.15s,background 0.15s;&--active{border-color:var(--primary);background:rgba(59,130,246,0.08)}&-file-btn{cursor:pointer;display:inline-flex}}.empty-state{color:var(--muted);text-align:center;padding:2rem 1rem}.error-text{margin:0;font-size:0.85rem;color:#f87171}.header-auth-wrap{flex-wrap:nowrap}.header-session-badge{cursor:default;pointer-events:auto;& .status-dot--inline{pointer-events:auto;cursor:pointer}}.header-session-btn{gap:0.4rem}.header-session-user{max-width:7rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:inherit;cursor:default}.hint-text{margin:0;font-size:0.85rem}.isa-app{height:100%;display:flex;flex-direction:column;overflow:hidden}.isa-cm-host{& .CodeMirror-foldgutter{width:0.85em}& .CodeMirror-foldmarker{color:#888;cursor:pointer;line-height:0.3;padding-top:0.25em}}.isa-cm-panel{&--bounded{display:flex;flex-direction:column;min-height:0;overflow:hidden;& .isa-cm-editor-surface--bounded{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;overflow:hidden;height:100%}& .isa-cm-host{flex:1 1 auto;min-height:0;height:100%;overflow:hidden}& .isa-cm-host .CodeMirror{height:100% !important;max-height:100% !important;overflow:hidden !important}& .isa-cm-host .CodeMirror-lines{padding-bottom:0.35rem}& .isa-cm-host .CodeMirror-scroll{overflow:auto !important;overflow-y:auto !important;height:100% !important;max-height:100% !important;margin-bottom:0 !important;margin-right:0 !important;padding-bottom:0.75rem !important;padding-right:0 !important}& .isa-cm-host .CodeMirror-sizer{margin-bottom:0 !important;padding-bottom:0.5rem !important}}&--toolbar.isa-cm-panel--bounded{& .isa-cm-host .CodeMirror-scroll{padding-bottom:1rem !important}}}.isa-header{flex:0 0 auto;display:flex;flex-direction:column;gap:0.35rem;padding:0.5rem 1rem 0.4rem;background:var(--bg-secondary);border-bottom:1px solid var(--border);&-actions{margin-left:auto;flex:0 0 auto}&-top{display:flex;align-items:center;gap:0.75rem;width:100%;min-width:0}}.isa-layout-body{&>.MuiBox-root{height:100%;min-height:0;box-sizing:border-box}&>.conv-log-shell{flex:1;min-height:0;height:100%}&>.paty-chat-shell{flex:1;min-height:0;height:100%}&>.tool-grid{height:100%;min-height:0;box-sizing:border-box;padding:0.5rem}&>.tool-grid-prompts{height:100%;min-height:0;box-sizing:border-box;padding:0.5rem}}.isa-layout-root{& .MuiAppBar-root .MuiToolbar-root .MuiChip-sizeSmall{height:auto;min-height:28px;padding-top:3px;padding-bottom:3px;padding-left:10px;padding-right:6px}& .MuiAppBar-root .MuiToolbar-root .MuiChip-sizeSmall .MuiChip-icon{margin-left:2px;margin-right:6px}& .MuiAppBar-root .MuiToolbar-root .MuiChip-sizeSmall .MuiChip-label{padding-left:6px;padding-right:10px;padding-top:2px;padding-bottom:2px}& .MuiAppBar-root .MuiToolbar-root .header-session-chip.MuiChip-sizeSmall .MuiChip-label{padding-left:10px;padding-right:10px}& .header-session-btn .MuiChip-clickable{&:focus-visible{background:rgba(20,184,166,0.28)}&:hover{background:rgba(20,184,166,0.28)}}& .header-session-btn .MuiChip-root{background:rgba(20,184,166,0.18);border:1px solid rgba(20,184,166,0.32);color:#5eead4;font-weight:600;box-shadow:none}& .header-session-btn .MuiChip-root .MuiChip-icon{display:none}& .header-session-btn .MuiChip-root .MuiChip-label{color:inherit}& .header-session-chip.MuiChip-clickable{&:focus-visible{background:rgba(20,184,166,0.28)}&:hover{background:rgba(20,184,166,0.28)}}& .header-session-chip.MuiChip-root{background:rgba(20,184,166,0.18);border:1px solid rgba(20,184,166,0.32);color:#5eead4;font-weight:600;box-shadow:none}& .header-session-chip.MuiChip-root .MuiChip-icon{display:none}& .header-session-chip.MuiChip-root .MuiChip-label{color:inherit}html[data-mui-color-scheme="light"] &{& .header-session-btn .MuiChip-clickable{&:focus-visible{background:rgba(20,184,166,0.2)}&:hover{background:rgba(20,184,166,0.2)}}& .header-session-btn .MuiChip-root{background:rgba(20,184,166,0.12);border-color:rgba(20,184,166,0.26);color:#0f766e}& .header-session-chip.MuiChip-clickable{&:focus-visible{background:rgba(20,184,166,0.2)}&:hover{background:rgba(20,184,166,0.2)}}& .header-session-chip.MuiChip-root{background:rgba(20,184,166,0.12);border-color:rgba(20,184,166,0.26);color:#0f766e}}}.isa-logo{display:inline-flex;align-items:center;gap:0.5rem;font-size:1.2rem;font-weight:700;color:var(--primary);flex:0 0 auto;&-img{border-radius:50%;object-fit:cover;flex:0 0 auto}}.isa-main{flex:1 1 auto;min-height:0;overflow:hidden;padding:0.5rem 0.75rem 0.75rem;display:flex;flex-direction:column}.isa-nav{display:flex;gap:0.35rem;align-items:center;min-width:0;&-link{padding:0.3rem 0.8rem;border-radius:4px;border:none;background:transparent;color:inherit;font:inherit;font-size:0.88rem;cursor:pointer;transition:background 0.15s;&:hover{background:rgba(148,163,184,0.15)}}&-sub{padding-left:3.25rem;border-top:1px dashed var(--border);padding-top:0.35rem}&-tools{flex:1 1 auto;font-weight:600}}.isa-nav-link{&--icon{display:inline-flex;align-items:center;justify-content:center;width:2.1rem;height:2.1rem;padding:0;& iconify-icon{pointer-events:none}}&.active{background:var(--primary);color:#fff}}.isa-sep{opacity:0.35;flex:0 0 auto}.lab-target-label{display:inline-flex;align-items:center;gap:0.3rem}.lab-target-switch{margin:0 !important;gap:0.15rem;-webkit-user-select:none;user-select:none;& .MuiFormControlLabel-label{font-size:0.78rem;font-weight:600;line-height:1}}.log-conv-load{width:min(100%,220px);& .MuiInputAdornment-root{margin-left:0}&__btn{margin-right:-6px;border-top-left-radius:0;border-bottom-left-radius:0;min-height:30px;min-width:36px;padding-left:0.45rem;padding-right:0.45rem}}.log-input-footer{flex:0 0 auto;padding-top:0.25rem}.log-input-toolbar{flex:0 0 auto}.log-json-editor-wrap{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column;flex:1 1 auto;min-height:0;display:flex;flex-direction:column;& .isa-cm-panel--fill{min-height:12rem}}.meta-dialog-panel{padding:1rem 1.25rem;box-sizing:border-box;max-height:none;overflow:visible}.meta-grid{display:flex;flex-direction:column;gap:0.45rem;max-height:70dvh;overflow:auto}.meta-k{font-weight:600;font-size:0.78rem;text-transform:uppercase;opacity:0.85}.meta-prompt-exact{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;font-family:"IBM Plex Mono",ui-monospace,Consolas,monospace;font-size:0.82rem;line-height:1.55;color:var(--text,#e2e8f0);padding:0.65rem 0.75rem;border-radius:8px;border:1px solid rgba(148,163,184,0.2);background:rgba(15,23,42,0.35);html[data-mui-color-scheme="light"] &{color:#1e293b;background:rgba(248,250,252,0.95);border-color:rgba(148,163,184,0.32)}}.meta-prompt-md{white-space:normal;word-break:break-word;overflow-wrap:anywhere;& .md-table-wrap{overflow-x:auto;margin:0.75rem 0;max-width:100%}& table{width:100%;min-width:16rem;border-collapse:collapse;margin:0;font-size:0.88rem;line-height:1.4}& tbody tr{&:nth-child(even){background:rgba(148,163,184,0.06)}}& td{border:1px solid rgba(148,163,184,0.35);padding:0.4rem 0.6rem;text-align:left;vertical-align:top}& th{border:1px solid rgba(148,163,184,0.35);padding:0.4rem 0.6rem;text-align:left;vertical-align:top}& thead th{background:rgba(30,144,255,0.12);font-weight:600}html[data-mui-color-scheme="light"] &{& thead th{background:rgba(30,144,255,0.08)}}}.meta-prompt-panel{box-sizing:border-box;max-height:min(70dvh,640px);overflow:auto;padding:1rem 1.25rem 1.5rem}.meta-prompt-section{&+.meta-prompt-section{margin-top:1.5rem;padding-top:1.25rem;border-top:1px dashed rgba(148,163,184,0.22)}}.meta-prompt-stat{background:rgba(15,23,42,0.45);border:1px solid rgba(30,144,255,0.15);border-radius:8px;padding:0.45rem 0.55rem;text-align:center;&--cost{& .meta-prompt-stat__v{color:#34d399}}&--usage{grid-column:1 / -1;text-align:left}&__k{display:block;font-size:0.65rem;text-transform:uppercase;letter-spacing:0.04em;opacity:0.78;margin-bottom:0.15rem}&__usage-body{margin-top:0.15rem}&__usage-cols{display:flex;flex-wrap:wrap;gap:0.35rem 0.65rem}&__usage-grid{display:grid;gap:0.45rem 0.55rem;align-items:center;width:100%}&__usage-grid-cell{display:block;text-align:right;font-family:"IBM Plex Mono",ui-monospace,Consolas,monospace;font-size:0.8rem;font-weight:700;line-height:1.35;color:#34d399;padding:0.2rem 0;white-space:nowrap}&__usage-grid-col-h{display:block;font-size:0.62rem;font-weight:700;text-transform:uppercase;letter-spacing:0.05em;text-align:right;opacity:0.72;padding-bottom:0.1rem;border-bottom:1px solid rgba(148,163,184,0.14)}&__usage-grid-corner{display:block}&__usage-grid-head{display:contents}&__usage-grid-row{display:contents;&--cum{& .meta-prompt-stat__usage-grid-cell{opacity:0.92}}}&__usage-group{display:flex;flex-direction:column;gap:0.35rem}&__usage-group-label{display:inline-flex;align-self:center;justify-self:start;font-size:0.62rem;font-weight:700;text-transform:uppercase;letter-spacing:0.04em;padding:0.12rem 0.45rem;border-radius:4px;line-height:1.35;&--cum{color:#a5b4fc;background:rgba(99,102,241,0.16);border:1px solid rgba(99,102,241,0.32)}&--msg{color:#93c5fd;background:rgba(59,130,246,0.18);border:1px solid rgba(59,130,246,0.35)}}&__usage-item{display:inline-flex;align-items:baseline;gap:0.3rem;min-width:4.5rem}&__usage-item-k{font-size:0.62rem;text-transform:uppercase;letter-spacing:0.03em;opacity:0.72}&__usage-item-v{font-weight:700;font-family:ui-monospace,Consolas,monospace;font-size:0.88rem;color:var(--text,#e2e8f0);&--cost{color:#34d399}}&__usage-label{font-size:0.62rem;text-transform:uppercase;letter-spacing:0.04em;opacity:0.78;padding-top:0.2rem}&__usage-row{display:grid;grid-template-columns:4.25rem 1fr;gap:0.5rem;align-items:start}&__v{display:block;font-weight:700;font-family:ui-monospace,Consolas,monospace;font-size:0.92rem;color:var(--text,#e2e8f0)}html[data-mui-color-scheme="light"] &{background:rgba(255,255,255,0.85);&--cost{& .meta-prompt-stat__v{color:#047857}}&__usage-grid-cell{color:#047857}&__usage-group-label{&--cum{color:#4338ca;background:rgba(224,231,255,0.95);border-color:rgba(99,102,241,0.28)}&--msg{color:#1d4ed8;background:rgba(219,234,254,0.95);border-color:rgba(59,130,246,0.28)}}&__usage-item-v{&--cost{color:#047857}}&__v{color:#0f172a}}}.meta-prompt-summary{margin-bottom:1.25rem;padding:0.85rem 1rem;border-radius:10px;border:1px solid rgba(30,144,255,0.22);background:linear-gradient(135deg,rgba(30,144,255,0.1),rgba(99,102,241,0.06));box-shadow:inset 0 1px 0 rgba(255,255,255,0.04);&__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(7.5rem,1fr));gap:0.45rem}&__title{font-weight:700 !important;margin-bottom:0.65rem !important;letter-spacing:0.02em;background:linear-gradient(90deg,#1e90ff,#6366f1);-webkit-background-clip:text;background-clip:text;color:transparent}html[data-mui-color-scheme="light"] &{background:linear-gradient(135deg,rgba(240,247,255,0.95),rgba(255,255,255,0.9));border-color:rgba(30,144,255,0.16)}}.meta-row{display:grid;grid-template-columns:140px 1fr;gap:0.5rem;padding:0.3rem 0;border-bottom:1px dashed rgba(148,163,184,0.2);&--block{grid-template-columns:1fr;gap:0.35rem}}.meta-v{& pre{margin:0;white-space:pre-wrap;word-break:break-word;font-size:0.78rem;background:rgba(15,23,42,0.6);padding:0.5rem;border-radius:6px}&--full{display:block;width:100%}}.msg-badges{display:inline-flex;flex-wrap:wrap;gap:0.28rem;text-transform:none;letter-spacing:normal}.msg-body{line-height:1.55;font-size:0.92rem;word-break:break-word;& .md-table-wrap{overflow-x:auto;margin:0.75rem 0;max-width:100%}& img{max-width:100%;border-radius:6px;margin-top:0.35rem}& table{width:100%;min-width:16rem;border-collapse:collapse;margin:0;font-size:0.88rem;line-height:1.4}& tbody tr{&:nth-child(even){background:rgba(148,163,184,0.06)}}& td{border:1px solid rgba(148,163,184,0.35);padding:0.4rem 0.6rem;text-align:left;vertical-align:top}& th{border:1px solid rgba(148,163,184,0.35);padding:0.4rem 0.6rem;text-align:left;vertical-align:top}& thead th{background:rgba(30,144,255,0.12);font-weight:600}&.operativa{font-size:0.78rem;opacity:0.9}html[data-mui-color-scheme="light"] &{& thead th{background:rgba(30,144,255,0.08)}}}.msg-card{max-width:82%;border-radius:0.5rem;padding:0.65rem 0.85rem;border:1px solid var(--border);background:var(--paper);&.operativa{max-width:320px;background:color-mix(in srgb,#64748b 22%,var(--paper));font-size:0.82rem}&.stream-error{border-color:rgba(251,146,60,0.65)}&.user{background:var(--user-bg);color:var(--user-fg);border-color:rgba(59,130,246,0.35)}}.msg-head{font-size:0.72rem;text-transform:uppercase;letter-spacing:0.05em;opacity:0.8;margin-bottom:0.45rem;display:flex;flex-wrap:wrap;gap:0.35rem;align-items:center;justify-content:space-between;&.operativa{font-size:0.65rem;opacity:0.7}}.msg-row{display:flex;width:100%;&.assistant{justify-content:flex-start}&.operativa{justify-content:flex-start}&.user{justify-content:flex-end}}.panel-body{flex:1 1 auto;min-height:0;overflow:auto;padding:0.65rem 0.75rem;&-log-input{display:flex;flex-direction:column;gap:0.5rem;min-height:0;overflow:hidden;height:100%}&-sql{display:flex;flex-direction:column;gap:0.5rem}&.panel-body-tabs{flex:1 1 auto;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:0.5rem}}.panel-body-sql{& .MuiTextField-root{flex:1 1 auto;min-height:0}& textarea{height:100% !important;overflow:auto !important}}.panel-body-tabs{& .prompt-instrucciones-zone{flex:1 1 52%;min-height:14rem}& .prompt-mapeo-scroll .MuiTableBody-root .MuiTableCell-root{font-size:0.8rem}& .prompt-mapeo-scroll .MuiTableHead-root .MuiTableCell-root{position:sticky;top:0;z-index:2;background:var(--bg-secondary);font-weight:600;font-size:0.72rem;letter-spacing:0.01em;border-bottom:1px solid var(--border);box-shadow:0 1px 0 var(--border)}}.panel-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:0.5rem;padding:0.55rem 0.75rem;border-bottom:1px solid var(--border);background:rgba(15,23,42,0.35);&-count-chip{align-self:center;margin-right:0.35rem;height:1.625rem}}.panel-head-count-chip{& .MuiChip-label{display:inline-flex;align-items:center;justify-content:center;padding-right:0.65rem;padding-left:0.55rem;line-height:1}}.prompt-body-preview{flex:1 1 auto;width:100%;box-sizing:border-box;min-height:0;height:100%;max-height:100%;overflow:auto;border:1px solid var(--border);border-radius:8px;padding:0.75rem 1rem;background:rgba(15,23,42,0.35);cursor:default;user-select:text;position:relative;contain:layout paint;& .prompt-html-note{margin:0.5rem 0;padding:0.55rem 0.75rem;border-left:3px solid rgba(59,130,246,0.65);background:rgba(59,130,246,0.08);border-radius:0 0.35rem 0.35rem 0}& .prompt-md-preview{width:100%;max-width:none;margin:0;padding:0;user-select:text;overflow-wrap:anywhere;word-break:break-word}& details{margin:0.5rem 0;padding:0.45rem 0.65rem;border:1px solid rgba(148,163,184,0.35);border-radius:0.45rem;background:rgba(15,23,42,0.22)}& kbd{font-family:ui-monospace,Consolas,monospace;font-size:0.85em;padding:0.08em 0.35em;border-radius:0.25rem;border:1px solid rgba(148,163,184,0.45);background:rgba(30,41,59,0.55)}& mark{background:rgba(250,204,21,0.38);color:inherit;padding:0 0.12em;border-radius:0.15em}& sub{font-size:0.78em}& summary{cursor:pointer;font-weight:600;user-select:none}& sup{font-size:0.78em}&--editable{cursor:pointer;&:hover{border-color:rgba(30,144,255,0.45);box-shadow:0 0 0 1px rgba(30,144,255,0.12)}}&__empty{padding:2rem 0.5rem;text-align:center;font-style:italic}&__loading{flex:1 1 auto;display:flex;align-items:center;justify-content:center;min-height:6rem;width:100%}html[data-mui-color-scheme="light"] &{background:rgba(255,255,255,0.94);border-color:rgba(30,144,255,0.16);color:#1e293b;& .msg-body{color:#334155}& .prompt-html-note{background:rgba(219,234,254,0.55)}& .prompt-md-preview{color:#334155}& .prompt-md-preview h1{color:#0f172a}& .prompt-md-preview h2{color:#0f172a}& .prompt-md-preview h3{color:#0f172a}& .prompt-md-preview h4{color:#0f172a}& details{background:rgba(241,245,249,0.95);border-color:rgba(148,163,184,0.45)}& kbd{background:#f8fafc;border-color:rgba(148,163,184,0.55)}&--editable{&:hover{border-color:rgba(30,144,255,0.38);box-shadow:0 0 0 1px rgba(30,144,255,0.12)}}}}.prompt-chat-body{font-family:"IBM Plex Sans",system-ui,sans-serif;font-size:0.84rem;line-height:1.55;color:var(--text,#e2e8f0);& ol{margin:0.35rem 0 0.65rem;padding-left:1.25rem}& p{margin:0 0 0.65rem;&:last-child{margin-bottom:0}}& ul{margin:0.35rem 0 0.65rem;padding-left:1.25rem}html[data-mui-color-scheme="light"] &{color:#1e293b}}.prompt-chat-line{border-radius:8px;padding:0.55rem 0.7rem;border:1px solid rgba(148,163,184,0.18);background:rgba(15,23,42,0.35);&--assistant{border-left:3px solid #10b981;& .prompt-chat-prompt{color:#6ee7b7}}&--other{border-left:3px solid #f59e0b}&--system{border-left:3px solid #94a3b8}&--user{border-left:3px solid #1e90ff;& .prompt-chat-prompt{color:#93c5fd}}&__head{margin-bottom:0.3rem}html[data-mui-color-scheme="light"] &{background:rgba(248,250,252,0.95);border-color:rgba(148,163,184,0.32);&--assistant{& .prompt-chat-prompt{color:#047857}}&--user{& .prompt-chat-prompt{color:#1d4ed8}}}}.prompt-chat-prompt{font-family:"IBM Plex Mono",ui-monospace,Consolas,monospace;font-size:0.72rem;font-weight:700;letter-spacing:0.02em;color:#7dd3fc;html[data-mui-color-scheme="light"] &{color:#0369a1}}.prompt-chat-transcript{display:flex;flex-direction:column;gap:0.65rem;margin:0;&--query{margin-top:0.75rem;padding-top:0.75rem;border-top:1px dashed rgba(148,163,184,0.28)}}.prompt-drop-overlay{position:absolute;inset:0;z-index:6;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.45rem;padding:1rem;border:2px dashed var(--primary);border-radius:8px;background:rgba(59,130,246,0.1);text-align:center;pointer-events:none}.prompt-instrucciones-zone{flex:1 1 52%;min-height:14rem;display:flex;flex-direction:column;gap:0.35rem;overflow:hidden;isolation:isolate;position:relative;z-index:1}.prompt-mapeo-actions{width:3.25rem;padding-left:0.35rem;padding-right:0.35rem}.prompt-mapeo-block{flex:1 1 auto;min-height:10rem;padding-top:0.15rem;overflow:hidden;display:flex;flex-direction:column;position:relative;z-index:0}.prompt-mapeo-metric{font-variant-numeric:tabular-nums;color:var(--text-secondary,rgba(255,255,255,0.65));&-sep{color:#888}}.prompt-mapeo-scroll{flex:1 1 auto;min-height:0;overflow:auto;border:1px solid var(--border);border-radius:6px;background:rgba(15,23,42,0.35);& .MuiTextField-root .MuiInputBase-input{padding:0.25rem 0.4rem}& .MuiTextField-root .MuiInputBase-root{font-size:0.72rem}}.prompt-mapeo-tipo{display:inline-flex;align-items:center;gap:0.45rem}.prompt-md-dialog{padding:0 !important;&>.prompt-md-editor-surface{width:100%;max-width:none;margin:0;border-left:none;border-right:none;border-radius:0}}.prompt-md-editor-surface{box-sizing:border-box;max-width:52rem;margin:0 auto;min-height:18rem;padding:1.25rem 1.5rem 2rem;border:1px dashed rgba(148,163,184,0.35);border-radius:8px;outline:none;& img{max-width:100%;height:auto;border-radius:8px;display:block;margin:0.65rem 0;border:1px solid rgba(148,163,184,0.2)}&--readonly{opacity:0.85;pointer-events:none}&:focus{border-color:rgba(30,144,255,0.55)}html[data-mui-color-scheme="light"] &{background:rgba(255,255,255,0.96);border-color:rgba(148,163,184,0.38);color:#1e293b}}.prompt-md-plain-editor{width:100%;box-sizing:border-box;& .MuiInputBase-input{min-height:70vh}& .MuiInputBase-root{width:100%;min-height:18rem;align-items:flex-start;padding:1.25rem 1.5rem 2rem;border-radius:0;font-family:ui-monospace,Consolas,monospace;font-size:0.875rem;line-height:1.55}& fieldset{border-left:none;border-right:none;border-radius:0}}.prompt-md-preview{box-sizing:border-box;max-width:none;width:100%;margin:0;padding:0;& .md-table-wrap{overflow-x:auto;margin:0.75rem 0;max-width:100%}& .prompt-html-note{margin:0.5rem 0;padding:0.55rem 0.75rem;border-left:3px solid rgba(59,130,246,0.65);background:rgba(59,130,246,0.08);border-radius:0 0.35rem 0.35rem 0}& .prompt-var-badge{display:inline-flex;vertical-align:baseline;max-width:100%;user-select:none}& .prompt-var-chip{display:inline-flex;vertical-align:baseline;max-width:100%;user-select:none}& blockquote{border-left:3px solid rgba(59,130,246,0.5);margin:0.75rem 0;padding-left:1rem;opacity:0.92}& code{&:not(pre code){background:rgba(15,23,42,0.5);padding:0.1rem 0.35rem;border-radius:4px;font-size:0.88em}}& details{margin:0.5rem 0;padding:0.45rem 0.65rem;border:1px solid rgba(148,163,184,0.35);border-radius:0.45rem;background:rgba(15,23,42,0.22)}& h1{margin:1.25rem 0 0.5rem;line-height:1.3;&:first-child{margin-top:0}}& h2{margin:1.25rem 0 0.5rem;line-height:1.3;&:first-child{margin-top:0}}& h3{margin:1.25rem 0 0.5rem;line-height:1.3;&:first-child{margin-top:0}}& h4{margin:1.25rem 0 0.5rem;line-height:1.3}& hr{border:none;border-top:1px solid rgba(148,163,184,0.25);margin:1rem 0}& img{max-width:100%;height:auto;border-radius:8px;display:block;margin:0.65rem 0;border:1px solid rgba(148,163,184,0.2)}& kbd{font-family:ui-monospace,Consolas,monospace;font-size:0.85em;padding:0.08em 0.35em;border-radius:0.25rem;border:1px solid rgba(148,163,184,0.45);background:rgba(30,41,59,0.55)}& li{margin:0.25rem 0}& mark{background:rgba(250,204,21,0.38);color:inherit;padding:0 0.12em;border-radius:0.15em}& ol{margin:0.5rem 0;padding-left:1.5rem}& p{margin:0.65rem 0}& pre{background:rgba(15,23,42,0.65);border-radius:8px;padding:0.75rem 1rem;overflow-x:auto;font-size:0.85rem;line-height:1.45}& sub{font-size:0.78em}& summary{cursor:pointer;font-weight:600;user-select:none}& sup{font-size:0.78em}& table{width:100%;min-width:16rem;border-collapse:collapse;margin:0;font-size:0.88rem;line-height:1.4;width:100%;border-collapse:collapse;margin:0.75rem 0;font-size:0.9rem}& tbody tr{&:nth-child(even){background:rgba(148,163,184,0.06)}}& td{border:1px solid rgba(148,163,184,0.35);padding:0.4rem 0.6rem;text-align:left;vertical-align:top;border:1px solid rgba(148,163,184,0.25);padding:0.35rem 0.55rem;text-align:left}& th{border:1px solid rgba(148,163,184,0.35);padding:0.4rem 0.6rem;text-align:left;vertical-align:top;border:1px solid rgba(148,163,184,0.25);padding:0.35rem 0.55rem;text-align:left}& thead th{background:rgba(30,144,255,0.12);font-weight:600}& ul{margin:0.5rem 0;padding-left:1.5rem}html[data-mui-color-scheme="light"] &{& .prompt-html-note{background:rgba(219,234,254,0.55)}& .prompt-var-badge{background:hsl(var(--var-tone-h) 78% 93% / 1);border-color:hsl(var(--var-tone-h) 52% 68% / 0.45);color:hsl(var(--var-tone-h) 55% 28%)}& .prompt-var-chip{background:hsl(var(--var-tone-h) 78% 93% / 1);border-color:hsl(var(--var-tone-h) 52% 68% / 0.45);color:hsl(var(--var-tone-h) 55% 28%)}& blockquote{border-left-color:rgba(30,144,255,0.5);color:#475569;opacity:1}& code{&:not(pre code){background:rgba(226,232,240,0.9);border:1px solid rgba(148,163,184,0.28);color:#0c4a6e}}& details{background:rgba(241,245,249,0.95);border-color:rgba(148,163,184,0.45)}& hr{border-top-color:rgba(148,163,184,0.4)}& kbd{background:#f8fafc;border-color:rgba(148,163,184,0.55)}& pre{background:#f1f5f9;border:1px solid rgba(148,163,184,0.38);color:#0f172a}& tbody tr{&:nth-child(even){background:rgba(241,245,249,0.85)}}& td{border-color:rgba(148,163,184,0.38);color:#1e293b}& th{border-color:rgba(148,163,184,0.38);color:#1e293b}& thead th{background:rgba(30,144,255,0.08)}}}.prompt-plain-block{padding:0.55rem 0.7rem;border-radius:8px;border:1px solid rgba(148,163,184,0.18);background:rgba(15,23,42,0.25);font-size:0.84rem;line-height:1.55;& table{width:100%;min-width:16rem;border-collapse:collapse;margin:0;font-size:0.88rem;line-height:1.4}& tbody tr{&:nth-child(even){background:rgba(148,163,184,0.06)}}& td{border:1px solid rgba(148,163,184,0.35);padding:0.4rem 0.6rem;text-align:left;vertical-align:top}& th{border:1px solid rgba(148,163,184,0.35);padding:0.4rem 0.6rem;text-align:left;vertical-align:top}& thead th{background:rgba(30,144,255,0.12);font-weight:600}html[data-mui-color-scheme="light"] &{background:rgba(248,250,252,0.95);& thead th{background:rgba(30,144,255,0.08)}}}.prompt-tabs{flex:0 0 auto;min-height:42px;border-bottom:1px solid var(--border);& .MuiTab-root{font-size:0.72rem;text-transform:none;padding:0.35rem 0.65rem}&--vertical{flex:0 0 12.5rem !important;width:12.5rem !important;min-width:11rem !important;max-width:14rem !important;display:flex;flex-direction:column;align-items:stretch;align-self:stretch;height:100%;min-height:0;max-height:100%;border-bottom:none;border-right:1px solid var(--border);overflow:hidden;& .MuiTab-root{display:flex !important;width:100% !important;max-width:none !important;min-width:0 !important;min-height:2.25rem;align-items:center;justify-content:flex-start;text-align:left}& .MuiTabs-flexContainer{flex-direction:column !important;align-items:stretch !important}& .MuiTabs-list{flex-direction:column !important;align-items:stretch !important}& .MuiTabs-scroller{overflow-y:auto !important;overflow-x:hidden !important;height:100%;max-height:100%;width:100%}}}.prompt-tabs-layout{position:relative;display:flex;flex-direction:row;align-items:stretch;gap:0;flex:1 1 auto;height:100%;min-height:0;max-height:100%;min-width:0;overflow:hidden;&>.prompt-tabs,&>.MuiTabs-root{flex:0 0 12.5rem;width:12.5rem;min-width:11rem;max-width:14rem;flex-shrink:0}& .tab-editor{flex:1 1 auto;min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;padding-top:0;padding-left:0.65rem;overflow:hidden;& .prompt-body-preview{flex:1 1 auto;min-height:0}}&--drop-active{& .prompt-tabs--vertical{opacity:0.45}& .tab-editor{opacity:0.45}}}.prompt-tabs:not(.prompt-tabs--vertical) .MuiTab-root{min-height:42px}.prompt-var-badge{display:inline-flex;align-items:center;gap:0.2rem;vertical-align:baseline;margin:0 0.12rem;padding:0.08rem 0.35rem 0.08rem 0.45rem;border-radius:999px;font-family:ui-monospace,Consolas,monospace;font-size:0.78rem;line-height:1.35;--var-tone-h:210;background:hsl(var(--var-tone-h) 52% 42% / 0.22);border:1px solid hsl(var(--var-tone-h) 48% 58%);color:hsl(var(--var-tone-h) 62% 72%);white-space:nowrap}.prompt-var-chip{display:inline-flex;align-items:center;gap:0.2rem;vertical-align:baseline;margin:0 0.12rem;padding:0.08rem 0.35rem 0.08rem 0.45rem;border-radius:999px;font-family:ui-monospace,Consolas,monospace;font-size:0.78rem;line-height:1.35;--var-tone-h:210;background:hsl(var(--var-tone-h) 52% 42% / 0.22);border:1px solid hsl(var(--var-tone-h) 48% 58%);color:hsl(var(--var-tone-h) 62% 72%);white-space:nowrap;&--static{cursor:default}&__del{display:inline-flex;align-items:center;justify-content:center;width:1.1rem;height:1.1rem;margin:0;padding:0;border:1px solid currentColor;border-radius:50%;background:transparent;color:inherit;font-size:0.85rem;line-height:1;cursor:pointer;opacity:0.72;&:hover{background:transparent;color:inherit;opacity:1}}&__label{pointer-events:none}}.scroll-panel{height:100%}.sql-exec-bar{flex:0 0 auto}.status-dot{width:10px;height:10px;border-radius:50%;border:none;padding:0;margin:0 0.2rem;cursor:pointer;flex-shrink:0;transition:box-shadow 0.15s ease,opacity 0.15s ease;&--disconnected{background:#64748b;box-shadow:0 0 0 2px rgba(100,116,139,0.28)}&--error{background:#f97316;box-shadow:0 0 0 2px rgba(249,115,22,0.28)}&--gray{background:#64748b;box-shadow:0 0 0 2px rgba(100,116,139,0.28)}&--green{background:#22c55e;box-shadow:0 0 0 2px rgba(34,197,94,0.28)}&--inline{display:inline-block;margin:0;width:8px;height:8px}&--ok{background:#22c55e;box-shadow:0 0 0 2px rgba(34,197,94,0.28)}&--orange{background:#f97316;box-shadow:0 0 0 2px rgba(249,115,22,0.28)}&--pending{background:#f97316;box-shadow:0 0 0 2px rgba(249,115,22,0.28)}&-trigger{display:inline-flex;align-items:center;justify-content:center}}.tab-dot{width:6px;height:6px;border-radius:50%;background:#4ade80;&--dirty{background:#fb923c}}.tab-editor{min-width:0;& .MuiTextField-root{width:100%}& textarea{height:auto !important;min-height:12rem;overflow:visible !important;resize:vertical}}.tab-label{display:inline-flex;align-items:center;gap:0.3rem;width:100%;min-width:0;&>span{&:not(.tab-dot){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}& iconify-icon{flex-shrink:0}}.toast-stack{position:fixed;right:1rem;bottom:1rem;z-index:2000;display:flex;flex-direction:column-reverse;gap:0.5rem;pointer-events:none;max-width:min(420px,calc(100vw - 2rem));& .MuiSnackbar-root{pointer-events:auto;position:relative !important;inset:auto !important}}.tok{background:rgba(15,23,42,0.5);border-radius:6px;padding:0.35rem;text-align:center;&-k{display:block;font-size:0.68rem;opacity:0.75;text-transform:uppercase}&-v{font-weight:700;font-family:ui-monospace,Consolas,monospace}}.tokens-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0.35rem}.tool-grid{flex:1 1 auto;min-height:0;display:grid;gap:0.65rem;overflow:hidden;&-2{grid-template-columns:minmax(280px,1fr) minmax(0,1.35fr)}&-3{grid-template-columns:minmax(240px,1fr) minmax(220px,0.9fr) minmax(0,1.2fr)}&-prompts{grid-template-columns:minmax(0,1.2fr) minmax(300px,1fr)}}.tool-grid-prompts{&--solo{grid-template-columns:1fr}}.tool-panel{min-height:0;display:flex;flex-direction:column;background:rgba(30,41,59,0.72) !important;border:1px solid var(--border) !important;border-radius:8px !important;overflow:hidden;&-half{flex:1 1 50%;min-height:0}}.tool-stack-right{min-height:0;display:flex;flex-direction:column;gap:0.65rem;overflow:hidden}body{height:100%;margin:0;overflow:hidden;font-family:"IBM Plex Sans",system-ui,sans-serif;background:var(--bg);color:var(--text)}code{font-family:ui-monospace,Consolas,monospace;font-size:0.85em}html{height:100%;margin:0;overflow:hidden}@media (max-width:720px){.isa-tool-tab-label{display:none}}@media (max-width:899px){.conv-log-thread-title-chip{display:none !important}.header-login-btn{&--icon{min-width:36px !important}}.header-session-chip{& .MuiChip-label{display:none}}.header-session-avatar-btn{padding:0;width:32px;height:32px;flex-shrink:0;border:2px solid rgba(20,184,166,0.45);background:rgba(15,23,42,0.35);&--view-as{border-color:rgba(245,158,11,0.55);box-shadow:0 0 0 1px rgba(245,158,11,0.2)}&:hover{border-color:rgba(20,184,166,0.75);background:rgba(20,184,166,0.12)}&:focus-visible{outline:2px solid rgba(20,184,166,0.55);outline-offset:2px}}.header-session-avatar{width:100%;height:100%;border-radius:50%;object-fit:cover;display:block;pointer-events:none}html[data-mui-color-scheme="light"] .header-session-avatar-btn{border-color:rgba(20,184,166,0.38);background:rgba(255,255,255,0.92);&:hover{border-color:rgba(15,118,110,0.55);background:rgba(20,184,166,0.08)}}html[data-mui-color-scheme="light"] .header-session-avatar-btn--view-as{border-color:rgba(245,158,11,0.5)}.isa-layout-body{&>.tool-grid-prompts{padding:0.25rem}}.panel-head{flex-wrap:wrap;row-gap:0.5rem;padding-left:0.75rem;padding-right:0.75rem;&>.MuiStack-root{flex-wrap:wrap;justify-content:flex-end}}.paty-mobile-sidebar-drawer{& .conv-log-action-grp__input{min-width:0}& .conv-log-sidebar{padding-left:0.75rem;padding-right:0.75rem;width:100%;max-width:100%;min-width:0;box-sizing:border-box}}.paty-mobile-sidebar-fab{box-shadow:0 4px 14px rgba(0,0,0,0.28);&--log{bottom:calc(0.75rem+env(safe-area-inset-bottom,0px))}}}@media (max-width:960px){.header-auth-wrap{justify-content:flex-end}.isa-header-actions{width:100%;margin-left:0}.isa-header-top{flex-wrap:wrap}}@media (max-width:1100px){.tool-grid-3{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;&>{&:last-child{grid-column:1 / -1}}}}@media (max-width:800px){.tool-grid-2{grid-template-columns:1fr;grid-template-rows:none;overflow-y:auto;& .scroll-panel{max-height:50vh}}.tool-grid-3{grid-template-columns:1fr;grid-template-rows:none;overflow-y:auto;& .scroll-panel{max-height:50vh}}}@media (max-width:1100px){.tool-grid-prompts{grid-template-columns:1fr;overflow-y:auto}}