:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;color:#e2e8f0;background-color:#0f172a;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at top,rgba(15,118,110,.24),transparent 55%),radial-gradient(circle at bottom,rgba(245,158,11,.16),transparent 45%),#0f172a}a{color:inherit}html,body{max-width:100%;overflow-x:hidden}pre,code,textarea,table,img,video{max-width:100%}pre{overflow-x:auto;white-space:pre-wrap;word-break:break-word}:root{--app-bg: radial-gradient(circle at top, rgba(15, 118, 110, .24), transparent 55%), radial-gradient(circle at bottom, rgba(245, 158, 11, .14), transparent 45%), #0f172a;--text-primary: #e2e8f0;--text-muted: #94a3b8;--sidebar-bg: rgba(15, 23, 42, .9);--sidebar-border: rgba(148, 163, 184, .15);--panel-bg: rgba(30, 41, 59, .6);--card-bg: rgba(30, 41, 59, .7);--panel-border: rgba(148, 163, 184, .2);--accent: #0ea5a4}.mono{overflow-wrap:anywhere;word-break:break-word}.workspace-view,.workspace-layout,.workspace-controls,.workspace-chat{width:100%;max-width:100%}.two-col-responsive{display:grid;grid-template-columns:.6fr 1.4fr;gap:1rem}.outline-pane{position:sticky;top:72px;align-self:start}@media(max-width:1100px){.two-col-responsive{grid-template-columns:1fr}.outline-pane{position:static;height:auto;overflow:visible;padding-right:0}}.app-container{display:flex;height:100vh;background:var(--app-bg);color:var(--text-primary);overflow:hidden}.app-content{flex:1;padding:2rem 2rem 3rem}.sidebar{width:280px;padding:2rem 1.5rem;display:flex;flex-direction:column;gap:2rem;background:#0f172ae6;border-right:1px solid rgba(148,163,184,.15);box-shadow:4px 0 16px #0f172a40;transition:width .2s ease,padding .2s ease}.sidebar--collapsed{width:80px;padding:1.5rem .75rem}.sidebar-brand{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.sidebar-logo{display:flex;align-items:center;gap:.6rem}.sidebar-logo__img,.sidebar--collapsed .sidebar-logo__img{width:64px;height:64px}.sidebar-title h1{margin:0;font-size:1.1rem;font-weight:600}.sidebar-title p{margin:.25rem 0 0;font-size:.9rem;color:#94a3b8}.sidebar-toggle{border:1px solid rgba(148,163,184,.4);background:#0f172acc;color:#e2e8f0;border-radius:9px;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;font-size:.9rem;cursor:pointer}.sidebar--collapsed .sidebar-title,.sidebar--collapsed .sidebar-nav__subtitle,.sidebar--collapsed .sidebar-footer{display:none}.sidebar-nav{display:flex;flex-direction:column;gap:.75rem}.sidebar-nav__item{display:flex;align-items:center;gap:.6rem;padding:.85rem 1rem;border-radius:14px;border:1px solid transparent;background:#1e293b99;color:inherit;text-align:left;cursor:pointer;transition:border-color .2s ease,background .2s ease,transform .2s ease}.sidebar-nav__item:hover{border-color:#6366f173;background:#6366f126;transform:translate(4px)}.sidebar-nav__item.active{border-color:#6366f1bf;background:#6366f138}.sidebar-user{display:flex;align-items:center;gap:.75rem;margin:.25rem 0 1.25rem;padding:.85rem 1rem;border-radius:14px;background:var(--panel-bg);border:1px solid var(--panel-border)}.sidebar-user__avatar{width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0ea5a4,#f59e0b);color:#fff;font-weight:700;font-size:.95rem;box-shadow:0 6px 24px #6366f14d;border:none;cursor:pointer}.sidebar--collapsed .sidebar-user{justify-content:center}.sidebar-user__meta{display:flex;flex-direction:column;gap:.25rem}.sidebar-user__name{font-weight:600}.sidebar-user__theme{display:flex;flex-direction:column;gap:.2rem;color:var(--text-muted);font-size:.85rem}.sidebar-user__theme select{width:100%;padding:.4rem .5rem;border-radius:9px;border:1px solid var(--panel-border);background:#ffffff0a;color:inherit}.sidebar-nav__icon{width:32px;height:32px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;background:#0f172ae6;font-size:1.1rem}.sidebar-nav__icon .material-symbols-outlined{font-size:20px;line-height:1;font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24}.sidebar-nav__label{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem}.sidebar-nav__title{font-size:1rem;font-weight:600}.sidebar-nav__subtitle{font-size:.82rem;color:#a5b4fc}.sidebar--collapsed .sidebar-nav__label{display:none}.sidebar-footer{margin-top:auto;display:flex;flex-direction:column;gap:.6rem;font-size:.85rem;color:#94a3b8}.sidebar-footer__status{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#e2e8f0}.status-dot{width:10px;height:10px;border-radius:999px;background:#22c55e}.status-dot.busy{background:#f97316;animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{0%{transform:scale(1);opacity:.9}50%{transform:scale(1.4);opacity:.45}to{transform:scale(1);opacity:.9}}.sidebar-footer__info{display:flex;flex-direction:column;gap:.1rem}.sidebar-footer__credit{margin-top:8px;font-size:.72rem;color:#94a3b8;text-align:center;opacity:.8}.sidebar-label{text-transform:uppercase;letter-spacing:.06em;font-size:.7rem;color:#64748b}.sidebar-value{font-size:.85rem;word-break:break-word}.sidebar-badge{display:inline-flex;align-items:center;justify-content:center;margin-top:6px;padding:2px 8px;border-radius:999px;background:#f97316;color:#0b0c12;font-size:.7rem;font-weight:700;width:fit-content}.mail-notice{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-radius:12px;background:#fbbf242e;color:#fbbf24;border:1px solid rgba(251,191,36,.3);margin-bottom:16px}.approval-feedback{margin-top:14px;padding:10px 14px;border-radius:12px;font-size:.92rem;font-weight:600;border:1px solid transparent}.approval-feedback--pending{background:#60a5fa24;color:#93c5fd;border-color:#60a5fa47}.approval-feedback--success{background:#34d3991f;color:#6ee7b7;border-color:#34d39947}.approval-feedback--error{background:#f871711f;color:#fca5a5;border-color:#f8717147}.telemat-mail-view,.telemat-mail-list{display:flex;flex-direction:column;gap:16px}.telemat-mail-card{padding:16px;border-radius:14px;background:#0f172a99;border:1px solid rgba(148,163,184,.18);display:flex;flex-direction:column;gap:12px}.telemat-mail-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.telemat-mail-attachments{display:grid;gap:12px}.telemat-mail-attachment{padding:12px;border-radius:12px;background:#0f172a59;border:1px solid rgba(148,163,184,.15)}.telemat-mail-attachment.accepted{border-color:#22c55e80}.telemat-mail-attachment.rejected{border-color:#ef444480}.telemat-mail-attachment__title{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font-weight:600}.status-pill{padding:2px 8px;border-radius:999px;font-size:.7rem;font-weight:700;background:#94a3b833;color:var(--text-primary)}.app-content{flex:1;padding:2.5rem clamp(1.5rem,4vw,3rem);overflow-y:auto;overflow-x:hidden;display:flex;flex-direction:column;gap:2rem}.view-header,.workspace-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;padding:1.2em}.view-header h2,.workspace-header h2{margin:0;font-size:1.6rem;font-weight:600}.view-header p,.workspace-header p{margin:.3rem 0 0;color:#94a3b8;max-width:60ch}.workspace-header__project{margin:.6rem 0 0;font-size:.95rem;font-weight:700;color:#e2e8f0;background:#6366f12e;border:1px solid rgba(99,102,241,.35);border-radius:9px;padding:.35rem .85rem;display:inline-flex;gap:.35rem;align-items:center}.workspace-project-delete{width:26px;height:26px;background:#f8717133;color:#fecaca}.workspace-project-delete:hover:not(:disabled){background:#f8717159}.workspace-project-delete:disabled{opacity:.5;cursor:not-allowed}.workspace-header__actions{display:flex;align-items:center;gap:1.25rem}.button-group{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.workspace-stats{background:#1e293bbf;border-radius:16px;padding:.85rem 1.1rem;border:1px solid rgba(148,163,184,.18);text-align:center}.workspace-stats__value{display:block;font-size:1.4rem;font-weight:600}.workspace-stats__label{font-size:.78rem;color:#94a3b8}.workspace-layout{display:grid;grid-template-columns:1fr;gap:1.8rem}.workspace-controls{display:grid;grid-template-columns:1fr;gap:1.5rem;align-content:start}.control-card,.template-card,.settings-card{background:#0f172ad1;border-radius:18px;border:1px solid rgba(148,163,184,.15);padding:1.5rem;display:flex;flex-direction:column;gap:1rem;box-shadow:0 18px 40px #0f172a66;width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden}.control-card header,.template-card header,.settings-card header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.control-card header h3,.template-card header h3,.settings-card header h3{margin:0;font-size:1.1rem;font-weight:600}.control-card header p,.template-card header p,.settings-card header p{margin:.2rem 0 0;font-size:.9rem;color:#94a3b8}.workspace-chat{display:flex;flex-direction:column;gap:1.25rem;overflow:visible}.workspace-subnav-card{position:sticky;top:12px;z-index:34}.workspace-subnav{display:flex;flex-wrap:wrap;gap:.6rem}.workspace-subnav__item{border:1px solid rgba(148,163,184,.2);background:#0f172a8c;color:var(--text-primary);border-radius:999px;padding:.55rem .9rem;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}.workspace-subnav__item:hover{border-color:#6366f173;background:#6366f12e;transform:translateY(-1px)}.workspace-subnav__item.is-active{border-color:#6366f1cc;background:#6366f14d;box-shadow:inset 0 0 0 1px #6366f12e}.chat-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.workspace-doc-toolbar{position:sticky;top:12px;z-index:35;padding:10px 12px;margin:-.25rem -.25rem .25rem;border:1px solid rgba(148,163,184,.18);border-radius:14px;background:#0f172af0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 12px 28px #0f172a3d}.chat-toolbar__title{display:block;font-size:1.1rem;font-weight:600}.chat-toolbar__subtitle{margin:.3rem 0 0;color:#94a3b8;max-width:48ch}.result-meta{display:flex;flex-wrap:wrap;gap:.75rem 1rem;align-items:center}.primary-link{color:#a5b4fc;text-decoration:underline}.progress{width:100%;height:8px;background:#94a3b833;border-radius:999px;overflow:hidden}.progress__bar{height:100%;width:40%;background:linear-gradient(90deg,#0ea5a4,#f59e0b);border-radius:999px;animation:indeterminate 1.2s infinite ease-in-out}@keyframes indeterminate{0%{transform:translate(-100%)}50%{transform:translate(20%)}to{transform:translate(100%)}}.chat-badge-group{display:flex;flex-wrap:wrap;gap:.5rem}.badge{padding:.35rem .75rem;border-radius:999px;background:#6366f12e;color:#e0e7ff;font-size:.75rem;font-weight:600}.badge.ghost{background:#94a3b833;color:#cbd5f5}.chat-messages{flex:1;min-height:320px;max-height:720px;overflow-y:auto;display:flex;flex-direction:column;gap:.85rem;padding-right:.25rem}.chat-message{padding:.85rem 1rem;border-radius:16px;max-width:80%;background:#111827b8;border:1px solid rgba(148,163,184,.18)}.chat-message.user{align-self:flex-end;background:linear-gradient(135deg,#6366f1d9,#4f46e5bf)}.chat-message__meta{display:flex;justify-content:space-between;font-size:.75rem;color:#94a3b8;margin-bottom:.4rem}.chat-message__content{margin:0;white-space:pre-wrap;font-size:.93rem;line-height:1.5}.chat-input{display:flex;gap:.75rem;align-items:flex-end}.chat-input textarea{flex:1;min-height:120px;max-height:280px;resize:vertical;border-radius:16px;border:1px solid rgba(148,163,184,.2);background:#0f172aa6;color:inherit;padding:.9rem 1rem;font-size:.95rem}.prompt-textarea{width:100%;max-width:100%;min-height:220px;resize:vertical;border-radius:16px;border:1px solid rgba(148,163,184,.2);background:#0f172aa6;color:inherit;padding:.9rem 1rem;font-size:.95rem;box-sizing:border-box}.primary-button,.secondary-button,.ghost-button,.danger-button,.icon-button{border:none;cursor:pointer;font-weight:600}.primary-button{border-radius:14px;background:linear-gradient(135deg,#0ea5a4,#f59e0b);color:#fff;padding:.75rem 1.6rem;transition:transform .2s ease,box-shadow .2s ease}.primary-button:disabled{opacity:.6;cursor:not-allowed}.primary-button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 12px 30px #6366f152}.secondary-button{border-radius:12px;border:1px solid rgba(148,163,184,.7);background:#94a3b824;color:#f8fafc;padding:.55rem 1rem}.secondary-button:hover{border-color:#6366f1d9;background:#6366f140}.ghost-button{border-radius:12px;border:1px solid rgba(148,163,184,.25);background:transparent;color:#e2e8f0;padding:.55rem 1.1rem}.ghost-button:hover{border-color:#6366f180;background:#6366f12e}.danger-button{border-radius:12px;border:1px solid rgba(248,113,113,.7);background:#f8717126;color:#fecaca;padding:.55rem 1rem}.danger-button:hover{border-color:#f87171f2;background:#f8717140}.danger-button:disabled{opacity:.55;cursor:not-allowed}.gear-button{border:none;background:transparent;color:#0f172a;font-size:1rem;padding:0;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;position:relative;cursor:pointer}.gear-button--active{background:#10b98114;border:1px solid rgba(16,185,129,.35);border-radius:999px}.gear-button .gear-icon{font-size:1.1rem;line-height:1}.gear-button:hover{color:#111827;background:transparent}.icon-button{width:30px;height:30px;border-radius:50%;background:#6366f12e;color:#e0e7ff;display:inline-flex;align-items:center;justify-content:center}.icon-button:hover{background:#6366f14d}.chat-widget{position:fixed;right:22px;bottom:22px;z-index:1200}.chat-widget__fab{width:54px;height:54px;border-radius:50%;border:none;background:linear-gradient(135deg,#0ea5a4,#f59e0b);color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 18px 35px #6366f159;cursor:pointer}.chat-widget__panel{width:360px;max-height:70vh;background:#0f172af2;border:1px solid rgba(148,163,184,.2);border-radius:18px;box-shadow:0 30px 60px #0f172a8c;display:flex;flex-direction:column;overflow:hidden}.chat-widget__header{display:flex;justify-content:space-between;align-items:center;padding:.9rem 1rem;border-bottom:1px solid rgba(148,163,184,.2)}.chat-widget__subtitle{display:block;font-size:.75rem;color:#94a3b8}.chat-widget__actions{display:flex;gap:.4rem;align-items:center}.chat-widget__messages{padding:.9rem;overflow-y:auto;display:flex;flex-direction:column;gap:.6rem;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.5) transparent}.chat-widget__input{padding:.8rem;border-top:1px solid rgba(148,163,184,.2);display:grid;grid-template-columns:1fr auto;gap:.6rem}.chat-widget__doc-filter{grid-column:1 / -1;border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172abf;color:inherit;padding:.5rem .8rem;font-size:.85rem}.chat-docs-panel{margin-top:.6rem;border:1px solid rgba(148,163,184,.2);border-radius:12px;padding:.6rem .8rem;background:#0f172aa6}.chat-docs-panel summary{cursor:pointer;font-weight:600;color:#e2e8f0}.chat-docs-panel__actions{display:flex;gap:.5rem;margin:.5rem 0 .4rem;flex-wrap:wrap}.chat-docs-panel__list{display:grid;gap:.35rem;max-height:180px;overflow:auto;margin-top:.35rem;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.5) transparent}.chat-docs-panel__item{display:flex;gap:.5rem;align-items:center;font-size:.85rem}.chat-widget__input-actions{display:flex;flex-direction:column;gap:.4rem}.chat-widget__input-actions--row{flex-direction:row;justify-content:flex-end;gap:.45rem}.chat-widget__input-actions--row .icon-button{width:32px;height:32px;border-radius:10px;background:#94a3b829;color:#e2e8f0;border:1px solid rgba(148,163,184,.25)}.chat-widget__input-actions--row .icon-button:hover{background:#6366f138;border-color:#6366f166}.chat-widget__input-actions--row .icon-button .material-symbols-outlined{font-size:16px}.chat-widget__input textarea{border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172abf;color:inherit;padding:.6rem .8rem;resize:none}.chat-bubble{max-width:85%;padding:.6rem .8rem;border-radius:16px;font-size:.9rem;line-height:1.4}.chat-bubble--user{align-self:flex-end;background:#6366f1bf;color:#fff}.chat-bubble--assistant{align-self:flex-start;background:#1e293bd9;border:1px solid rgba(148,163,184,.15)}.chat-sources{margin-top:.4rem;font-size:.7rem;color:#cbd5f5}.chat-sources ul{margin:.2rem 0 0;padding-left:1rem;max-height:none;overflow:visible}.chat-sources li{max-width:100%}.chat-source-link{font-size:.72rem;padding:.2rem .4rem;display:block;width:100%;text-align:left;white-space:normal;word-break:break-word;overflow-wrap:anywhere}.chat-source-link__main{display:block;font-weight:600}.chat-source-link__meta{display:block;opacity:.82;margin-top:.18rem}.chat-source-link__evidence{display:block;margin-top:.18rem;color:#f8fafc}.chat-source-badge{display:inline-block;margin-top:.22rem;margin-right:.35rem;padding:.12rem .45rem;border-radius:999px;background:#10b9812e;border:1px solid rgba(16,185,129,.35);color:#d1fae5;font-size:.68rem;font-weight:700}.chatbot-view{display:flex;flex-direction:column;gap:1.5rem}.chatbot-layout{display:grid;grid-template-rows:1fr auto;gap:1rem;min-height:calc(100vh - 240px)}.chatbot-messages{background:#0f172ab8;border-radius:18px;border:1px solid rgba(148,163,184,.2);padding:1.5rem;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(148,163,184,.5) transparent}.chatbot-message{display:flex;margin-bottom:1.1rem}.chatbot-message--user{justify-content:flex-end}.chatbot-message__bubble{max-width:70%;padding:1rem 1.1rem;border-radius:18px;background:#1e293bd9;border:1px solid rgba(148,163,184,.18);color:#e2e8f0}.chatbot-message--user .chatbot-message__bubble{background:linear-gradient(135deg,#6366f1d9,#4f46e5cc);color:#fff}.chatbot-sources{margin-top:.7rem;font-size:.78rem;color:#cbd5f5}.chatbot-sources ul{margin:.4rem 0 0;padding-left:1rem;max-height:none;overflow:visible}.chatbot-sources li{max-width:100%}.chatbot-sources li p{margin:.3rem 0 0;color:#e2e8f0}.chatbot-source-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.6rem}.chatbot-source-row__meta{display:flex;flex-direction:column;gap:.18rem;min-width:0}.chatbot-input textarea{width:100%;border-radius:16px;border:1px solid rgba(148,163,184,.3);background:#0f172ab3;color:inherit;padding:.9rem 1rem;resize:vertical}.chatbot-doc-filter{width:100%;border-radius:16px;border:1px solid rgba(148,163,184,.3);background:#0f172ab3;color:inherit;padding:.6rem .9rem;font-size:.88rem;margin-top:.5rem}.chatbot-docs-panel{margin-top:.6rem;border:1px solid rgba(148,163,184,.2);border-radius:14px;padding:.8rem .9rem;background:#0f172a99}.chatbot-docs-panel summary{cursor:pointer;font-weight:600;color:#e2e8f0}.chatbot-docs-panel summary::-webkit-details-marker{display:none}.chatbot-docs-panel summary:after{content:"▾";margin-left:8px;opacity:.7}.chatbot-docs-panel[open] summary:after{content:"▴"}.chat-widget__messages::-webkit-scrollbar,.chatbot-messages::-webkit-scrollbar,.chat-docs-panel__list::-webkit-scrollbar,.chatbot-docs-panel__list::-webkit-scrollbar{width:8px}.chat-widget__messages::-webkit-scrollbar-track,.chatbot-messages::-webkit-scrollbar-track,.chat-docs-panel__list::-webkit-scrollbar-track,.chatbot-docs-panel__list::-webkit-scrollbar-track{background:#0f172a66;border-radius:999px}.chat-widget__messages::-webkit-scrollbar-thumb,.chatbot-messages::-webkit-scrollbar-thumb,.chat-docs-panel__list::-webkit-scrollbar-thumb,.chatbot-docs-panel__list::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#94a3b8b3,#6366f199);border-radius:999px}.chat-widget__messages::-webkit-scrollbar-thumb:hover,.chatbot-messages::-webkit-scrollbar-thumb:hover,.chat-docs-panel__list::-webkit-scrollbar-thumb:hover,.chatbot-docs-panel__list::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#94a3b8d9,#4f46e5cc)}.chatbot-docs-panel__actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-bottom:.5rem}.chatbot-docs-panel__list{display:grid;gap:.45rem;max-height:260px;overflow:auto}.chatbot-docs-panel__item{display:flex;gap:.6rem;align-items:center;font-size:.9rem}.chatbot-input__actions{margin-top:.6rem;display:flex;align-items:center;gap:.75rem}.chat-busy{display:inline-flex;align-items:center;gap:6px;padding:2px 6px}.chat-typing{display:inline-flex;align-items:center;gap:6px;padding:4px 2px}.chat-busy__dot{width:6px;height:6px;border-radius:50%;background:#94a3b8;animation:chat-busy-pulse 1s ease-in-out infinite}.chat-busy__dot:nth-child(2){animation-delay:.2s}.chat-busy__dot:nth-child(3){animation-delay:.4s}.chat-search-status{display:inline-flex;align-items:center;margin-top:.45rem;font-size:.78rem;color:#9cc5ff}@keyframes chat-busy-pulse{0%,to{opacity:.3;transform:translateY(0)}50%{opacity:.9;transform:translateY(-2px)}}.chat-widget__panel table,.chatbot-view table,.chatbot-message__bubble table{width:100%;border-collapse:collapse;margin:.5rem 0;font-size:.88rem;table-layout:auto}.chat-widget__panel th,.chat-widget__panel td,.chatbot-view th,.chatbot-view td,.chatbot-message__bubble th,.chatbot-message__bubble td{border:1px solid rgba(148,163,184,.35);padding:6px 8px;text-align:left;vertical-align:top;word-break:break-word}.chat-widget__panel tbody tr:nth-child(2n),.chatbot-view tbody tr:nth-child(2n),.chatbot-message__bubble tbody tr:nth-child(2n){background:#94a3b814}.chat-widget__panel th,.chatbot-view th,.chatbot-message__bubble th{background:#94a3b82e;color:#e2e8f0}.chatbot-empty{text-align:center;color:#cbd5f5;padding:2rem 1rem}.form-group{display:flex;flex-direction:column;gap:.4rem}.form-group label{font-size:.85rem;font-weight:600;color:#9aa7c4}.form-group input,.form-group select,.form-group textarea{border-radius:12px;border:1px solid rgba(148,163,184,.22);background:#0f172aa6;color:inherit;padding:.65rem .8rem;font-size:.92rem}.form-grid{display:grid;gap:1rem;grid-template-columns:repeat(2,minmax(0,1fr))}.form-hint{font-size:.78rem;color:#7c8da9}.form-hint.error{color:#fca5a5}.form-hint.success{color:#86efac;font-weight:600}.mermaid-log{max-height:180px;overflow:auto;border-radius:10px;padding:.75rem;background:#0f172a99;border:1px solid rgba(148,163,184,.2);color:#e2e8f0}.invalid input,.invalid select,.invalid textarea{border-color:#f87171!important;box-shadow:0 0 0 3px #f8717126}.error-text{color:#fca5a5;font-size:.8rem;margin-top:.25rem}.invalid-input{border-color:#f87171!important;box-shadow:0 0 0 3px #f8717126}.metadata-list,.template-definitions-list{display:flex;flex-direction:column;gap:1rem}.metadata-item,.definition-card{border-radius:14px;border:1px solid rgba(148,163,184,.2);background:#111827c7;padding:1rem;display:flex;flex-direction:column;gap:.75rem}.metadata-header,.definition-header{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}.metadata-label{font-weight:600;font-size:.95rem;color:#e0e7ff}.metadata-key{font-size:.78rem;color:#94a3b8}.metadata-grid{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}.badge{display:inline-block}.mono{font-family:JetBrains Mono,Fira Code,monospace;font-size:.78rem}.template-view,.settings-view,.workspace-view{display:flex;flex-direction:column;gap:2rem;width:100%;max-width:1480px;margin:0 auto}.workspace-sticky-progress{position:fixed;z-index:60;display:flex;flex-direction:column;gap:.55rem;padding:.85rem 1rem;width:min(820px,calc(100vw - 32px));border:1px solid rgba(99,102,241,.24);border-radius:16px;background:#0f172ae0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 18px 40px #0f172a47}.workspace-sticky-progress--collapsed{gap:.45rem;padding-bottom:.7rem}.workspace-sticky-progress__meta{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.workspace-sticky-progress__label{font-weight:600;color:#e2e8f0}.workspace-sticky-progress__heading{display:inline-flex;align-items:center;gap:.6rem;flex-wrap:wrap}.workspace-sticky-progress__status{display:inline-flex;align-items:center;padding:.22rem .55rem;border-radius:999px;font-size:.74rem;font-weight:700;letter-spacing:.02em;border:1px solid rgba(148,163,184,.22);background:#1e293bad;color:#cbd5e1}.workspace-sticky-progress__status--running{border-color:#60a5fa59;background:#1e40af38;color:#dbeafe}.workspace-sticky-progress__status--success{border-color:#4ade8047;background:#15803d33;color:#dcfce7}.workspace-sticky-progress__status--error{border-color:#f871714d;background:#991b1b38;color:#fee2e2}.workspace-sticky-progress__status--cancelled{border-color:#fbbf2452;background:#92400e3d;color:#fde68a}.workspace-sticky-progress__dragbar{cursor:grab;-webkit-user-select:none;user-select:none}.workspace-sticky-progress__value{color:#a5b4fc;font-size:.88rem;white-space:nowrap}.workspace-sticky-progress__actions{display:inline-flex;align-items:center;gap:.5rem}.workspace-sticky-progress__action-button{min-height:30px;padding:.35rem .75rem}.workspace-sticky-progress__toggle{width:30px;height:30px;min-width:30px;padding:0}.workspace-sticky-progress__detail{color:#cbd5e1;font-size:.9rem;line-height:1.35}.workspace-sticky-progress__submeta{display:flex;flex-wrap:wrap;gap:.65rem 1rem;color:#94a3b8;font-size:.78rem}.workspace-sticky-progress__live{display:inline-flex;align-items:center;gap:.45rem;color:#dbeafe}.workspace-sticky-progress__live-dot{width:8px;height:8px;border-radius:50%;background:#60a5fa;box-shadow:0 0 #60a5fa73;animation:workspace-progress-pulse 1.4s infinite}.outline-coverage-summary-card{display:flex;flex-direction:column;gap:.85rem;padding:1rem 1.1rem;border:1px solid rgba(148,163,184,.18);border-radius:16px;background:#0f172a85}.outline-status-badge{display:inline-flex;align-items:center;padding:.26rem .65rem;border-radius:999px;font-size:.76rem;font-weight:700;border:1px solid rgba(148,163,184,.22);background:#1e293b85;color:#cbd5e1}.outline-status-badge--neutral{color:#cbd5e1}.outline-status-badge--running{border-color:#60a5fa4d;background:#1e40af2e;color:#dbeafe}.outline-status-badge--success{border-color:#4ade8047;background:#15803d2e;color:#dcfce7}.outline-status-badge--warning{border-color:#fbbf2447;background:#92400e2e;color:#fde68a}.outline-status-badge--error{border-color:#f8717147;background:#991b1b2e;color:#fee2e2}.outline-progress-card{display:flex;flex-direction:column;gap:.85rem;padding:1rem 1.1rem;border:1px solid rgba(99,102,241,.18);border-radius:16px;background:linear-gradient(180deg,#1e293bc7,#0f172ae0)}.outline-progress-card__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.outline-progress-card__header-actions{display:inline-flex;align-items:center;gap:.6rem;flex-wrap:wrap}.outline-progress-card__title-row{display:inline-flex;align-items:center;gap:.65rem;flex-wrap:wrap}.outline-progress-card__title{font-size:1rem;font-weight:700;color:#e2e8f0}.outline-progress-card__value{color:#a5b4fc;font-size:.9rem;font-weight:700}.outline-progress-card__action-button{min-height:30px;padding:.35rem .75rem}.outline-progress-card__submeta{display:flex;flex-wrap:wrap;gap:.65rem 1rem;color:#94a3b8;font-size:.8rem}.outline-progress-card__detail{color:#cbd5e1;font-size:.92rem;line-height:1.45}.outline-progress-card__actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.outline-progress-card__steps{display:flex;flex-wrap:wrap;gap:.45rem}.outline-progress-card__step{display:inline-flex;align-items:center;gap:.42rem;padding:.35rem .7rem;border-radius:999px;font-size:.8rem;border:1px solid rgba(148,163,184,.18);background:#1e293b94;color:#cbd5e1}.outline-progress-card__step-dot{width:8px;height:8px;border-radius:50%;background:#64748b}.outline-progress-card__step--running{border-color:#60a5fa59;color:#dbeafe}.outline-progress-card__step--running .outline-progress-card__step-dot{background:#60a5fa;box-shadow:0 0 0 4px #60a5fa2e}.outline-progress-card__step--done{border-color:#4ade8047;color:#dcfce7}.outline-progress-card__step--done .outline-progress-card__step-dot{background:#4ade80}.outline-progress-card__step--error{border-color:#f871714d;color:#fee2e2}.outline-progress-card__step--error .outline-progress-card__step-dot{background:#f87171}.outline-progress-card__step--skipped{color:#94a3b8;opacity:.8}.outline-progress-card__step--skipped .outline-progress-card__step-dot{background:#475569}.outline-progress-card__track{margin-top:.1rem}.outline-coverage-summary-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.outline-coverage-summary-card__title{font-size:1rem;font-weight:700;color:#e2e8f0}.outline-coverage-summary-card__verdict{display:inline-flex;align-items:center;padding:.28rem .65rem;border-radius:999px;font-size:.75rem;font-weight:700;border:1px solid rgba(148,163,184,.24)}.outline-coverage-summary-card__verdict--success{background:#15803d2e;border-color:#4ade8040;color:#dcfce7}.outline-coverage-summary-card__verdict--warning{background:#92400e33;border-color:#fbbf2440;color:#fde68a}.outline-coverage-summary-card__verdict--error{background:#991b1b33;border-color:#f8717140;color:#fee2e2}.outline-coverage-summary-card__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.outline-coverage-summary-card__metric{display:flex;flex-direction:column;gap:.22rem;padding:.8rem .9rem;border-radius:14px;background:#1e293b9e;border:1px solid rgba(148,163,184,.14)}.outline-coverage-summary-card__metric-label{font-size:.78rem;font-weight:700;color:#cbd5e1;text-transform:uppercase;letter-spacing:.03em}.outline-coverage-summary-card__metric-value{font-size:.92rem;color:#e2e8f0;line-height:1.4}.outline-coverage-summary-card__detail{color:#cbd5e1;font-size:.92rem;line-height:1.45}.outline-coverage-summary-card__missing{display:flex;flex-direction:column;gap:.45rem;padding:.85rem .95rem;border-radius:14px;border:1px solid rgba(248,113,113,.2);background:#7f1d1d24}.outline-coverage-summary-card__missing-label{font-size:.8rem;font-weight:700;color:#fecaca;text-transform:uppercase;letter-spacing:.03em}.outline-coverage-summary-card__missing-list{margin:0;padding-left:1rem;color:#fee2e2;font-size:.9rem}.outline-coverage-summary-card__missing-list li+li{margin-top:.3rem}.outline-coverage-summary-card__actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.ghost-button--warning{border-color:#fbbf2459;background:#92400e29;color:#fde68a}.ghost-button--warning:hover:not(:disabled){border-color:#fbbf2480;background:#92400e42}.ghost-button--danger{border-color:#f8717159;background:#7f1d1d2e;color:#fecaca}.ghost-button--danger:hover:not(:disabled){border-color:#f8717185;background:#7f1d1d47}@keyframes workspace-progress-pulse{0%{transform:scale(1);box-shadow:0 0 #60a5fa73}70%{transform:scale(1.05);box-shadow:0 0 0 8px #60a5fa00}to{transform:scale(1);box-shadow:0 0 #60a5fa00}}@media(max-width:880px){.outline-coverage-summary-card__metrics{grid-template-columns:1fr}}.workspace-sticky-progress__steps{display:flex;flex-wrap:wrap;gap:.45rem}.workspace-sticky-progress__step{display:inline-flex;align-items:center;gap:.42rem;padding:.35rem .7rem;border-radius:999px;font-size:.8rem;border:1px solid rgba(148,163,184,.18);background:#1e293b94;color:#cbd5e1}.workspace-sticky-progress__step-dot{width:8px;height:8px;border-radius:50%;background:#64748b}.workspace-sticky-progress__step--running{border-color:#60a5fa59;color:#dbeafe}.workspace-sticky-progress__step--running .workspace-sticky-progress__step-dot{background:#60a5fa;box-shadow:0 0 0 4px #60a5fa2e}.workspace-sticky-progress__step--done{border-color:#4ade8047;color:#dcfce7}.workspace-sticky-progress__step--done .workspace-sticky-progress__step-dot{background:#4ade80}.workspace-sticky-progress__step--error{border-color:#f871714d;color:#fee2e2}.workspace-sticky-progress__step--error .workspace-sticky-progress__step-dot{background:#f87171}.workspace-sticky-progress__step--skipped{opacity:.7;background:#0f172a75}.workspace-sticky-progress__tasks{display:flex;flex-wrap:wrap;gap:.5rem}.workspace-sticky-progress__task{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .65rem;border-radius:999px;font-size:.82rem;border:1px solid rgba(148,163,184,.2);background:#0f172a8c;color:#cbd5e1}.workspace-sticky-progress__task-dot{width:8px;height:8px;border-radius:50%;background:#94a3b8}.workspace-sticky-progress__task--pending .workspace-sticky-progress__task-dot{background:#94a3b8}.workspace-sticky-progress__task--running{border-color:#60a5fa59;color:#dbeafe}.workspace-sticky-progress__task--running .workspace-sticky-progress__task-dot{background:#60a5fa;box-shadow:0 0 0 4px #60a5fa2e}.workspace-sticky-progress__task--done{border-color:#4ade8047;color:#dcfce7}.workspace-sticky-progress__task--done .workspace-sticky-progress__task-dot{background:#4ade80}.workspace-sticky-progress__task--error{border-color:#f871714d;color:#fee2e2}.workspace-sticky-progress__task--error .workspace-sticky-progress__task-dot{background:#f87171}.workspace-sticky-progress__track{height:10px}.template-layout,.settings-layout{display:grid;gap:1.8rem}.settings-layout{margin-top:2em}.settings-tabs{display:inline-flex;gap:.6rem;padding:.4rem;background:#0f172a99;border:1px solid rgba(148,163,184,.25);border-radius:14px;width:fit-content}.settings-tabs-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.settings-save-button{width:42px;height:42px;border-radius:50%;border:none;background:linear-gradient(135deg,#0f766e,#7c3aed);color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative;box-shadow:0 12px 24px #4f46e559}.settings-save-button:hover{transform:translateY(-1px);box-shadow:0 16px 30px #4f46e566}.settings-save-badge{position:absolute;top:4px;right:4px;width:10px;height:10px;border-radius:50%;background:#f97316;border:2px solid rgba(15,23,42,.9)}.settings-tab{border:1px solid transparent;background:transparent;color:#cbd5f5;padding:.5rem .9rem;border-radius:12px;font-weight:600;cursor:pointer}.settings-tab.active{border-color:#6366f199;background:#6366f12e;color:#eef2ff}.settings-prompts-toolbar{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.prompt-search{flex:1 1 320px;min-width:240px;border-radius:12px;border:1px solid rgba(148,163,184,.25);background:#0f172ab3;color:inherit;padding:.55rem .85rem}.settings-prompts-list{display:grid;gap:1rem}.settings-prompt-item{display:flex;flex-direction:column;gap:.5rem;padding:.75rem;border-radius:12px;border:1px solid rgba(148,163,184,.15);background:#1118278c}.template-layout,.settings-layout{grid-template-columns:1fr}@media(min-width:1600px){.app-content{padding:2.5rem 3rem 4rem}.template-view,.settings-view,.workspace-view{max-width:1640px}}@media(max-width:720px){.form-grid,.metadata-grid{grid-template-columns:1fr}.workspace-sticky-progress{padding:.75rem .85rem;width:calc(100vw - 16px)}}.template-table-wrapper{overflow-x:auto}.template-table{width:100%;border-collapse:collapse;font-size:.9rem}.template-table th,.template-table td{padding:.6rem .8rem;border-bottom:1px solid rgba(148,163,184,.15);text-align:left}.tenant-kb-table{width:100%;border-collapse:collapse;font-size:.9rem}.tenant-kb-table th,.tenant-kb-table td{padding:.65rem .8rem;border-bottom:1px solid rgba(148,163,184,.12);text-align:left;vertical-align:middle}.tenant-kb-table th{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8}.tenant-kb-table .empty-row{padding:1rem;color:var(--text-muted)}.file-cell{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.file-cell .file-name{font-weight:600;color:inherit}.ghost-link{color:var(--text-muted);text-decoration:none;font-size:.78rem}.ghost-link:hover{color:var(--text-primary)}.project-table-wrapper{overflow-x:auto;overflow-y:visible;border:1px solid rgba(148,163,184,.2);border-radius:14px;background:#0f172a40;box-shadow:0 12px 28px #0f172a40}.project-table{width:100%;border-collapse:separate;border-spacing:0;font-size:.9rem}.project-table th,.project-table td{padding:.75rem .9rem;border-bottom:1px solid rgba(148,163,184,.12);text-align:left;vertical-align:top;line-height:1.4;word-break:break-word}.project-table th{font-size:.74rem;text-transform:uppercase;letter-spacing:.06em;color:#a8b2c1;background:#020617b3;position:sticky;top:0;z-index:1}.table-sort-button{display:inline-flex;align-items:center;gap:.35rem;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit;cursor:pointer}.table-sort-button:hover{color:#dbe7ff}.table-sort-button span:last-child{opacity:.8;font-size:.82em}.project-table tbody tr:nth-child(2n){background:#94a3b80d}.project-table tbody tr:hover{background:#3b82f614}.project-table tbody tr:last-child td{border-bottom:none}.project-table th:first-child,.project-table td:first-child{padding-left:1.1rem;width:14%;max-width:220px}.project-view--embedded{gap:.8rem}.project-view__embedded{border:none;padding:0;background:transparent}.project-table th:nth-child(2),.project-table td:nth-child(2){width:14%;min-width:140px}.project-table th:nth-child(3),.project-table td:nth-child(3){width:11%;min-width:120px;word-break:normal;overflow-wrap:normal}.project-table td:nth-child(3){white-space:normal}.project-table th:last-child,.project-table td:last-child{padding-right:1.1rem}.project-table--lifecycle th:first-child,.project-table--lifecycle td:first-child{width:24%;max-width:none}.project-table--lifecycle th:nth-child(2),.project-table--lifecycle td:nth-child(2){width:19%}.project-table--lifecycle th:nth-child(3),.project-table--lifecycle td:nth-child(3){width:14%}.project-table--lifecycle th:nth-child(4),.project-table--lifecycle td:nth-child(4){width:14%}.project-table--lifecycle th:nth-child(5),.project-table--lifecycle td:nth-child(5){width:17%}.project-table--lifecycle th:nth-child(6),.project-table--lifecycle td:nth-child(6){width:17%}.project-table--lifecycle tbody tr{cursor:default}.project-table--lifecycle tbody tr.project-row--active td{background:linear-gradient(90deg,#3b82f629,#3b82f614);box-shadow:inset 3px 0 #60a5fae6}.project-row__identity,.project-row__deadline,.project-stage-cell,.project-health-cell{display:flex;flex-direction:column;gap:.3rem}.project-row__badges,.project-health-cell__pills{display:flex;flex-wrap:wrap;gap:.35rem}.project-stage-cell--error .badge{border-color:#ef444473;color:#fecaca}.project-stage-cell--warning .badge{border-color:#f59e0b73;color:#fde68a}.project-stage-cell--success .badge{border-color:#22c55e73;color:#bbf7d0}.project-health-pill{display:inline-flex;align-items:center;justify-content:center;min-width:40px;padding:.18rem .45rem;border-radius:999px;border:1px solid rgba(148,163,184,.28);font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.project-health-pill--ok{color:#bbf7d0;border-color:#22c55e66;background:#22c55e1a}.project-health-pill--warn{color:#fde68a;border-color:#f59e0b66;background:#f59e0b1a}.project-health-pill--fail{color:#fecaca;border-color:#ef444466;background:#ef44441a}.project-health-pill--none{color:var(--text-muted);background:#94a3b814}.project-lifecycle-sidebar__header{display:flex;justify-content:space-between;gap:1rem;align-items:start}.project-lifecycle-sidebar__header-actions{display:flex;gap:.5rem;align-items:center}.project-lifecycle-sidebar__header h4{margin:0 0 .35rem}.project-lifecycle-sidebar__section{display:grid;gap:.35rem}.project-lifecycle-sidebar__section p{margin:0}.project-lifecycle-sidebar__milestones,.project-lifecycle-sidebar__issues{margin:0;padding-left:0;list-style:none;display:grid;gap:.45rem}.project-lifecycle-sidebar__milestone{display:flex;align-items:center;gap:.5rem}.project-lifecycle-sidebar__milestone-dot{width:9px;height:9px;border-radius:999px;background:#94a3b859;flex:0 0 auto}.project-lifecycle-sidebar__milestone--done .project-lifecycle-sidebar__milestone-dot{background:#22c55e}.project-lifecycle-sidebar__milestone--warning .project-lifecycle-sidebar__milestone-dot{background:#f59e0b}.project-lifecycle-sidebar__milestone--fail .project-lifecycle-sidebar__milestone-dot{background:#ef4444}.project-lifecycle-sidebar__actions{display:flex;gap:.75rem;flex-wrap:wrap}.project-lifecycle-sidebar__collapsed-summary{display:grid;gap:.5rem;justify-items:center}.project-status-select{width:100%;min-width:140px;border-radius:10px;border:1px solid rgba(148,163,184,.35);background:#0f172aa6;color:inherit;padding:.35rem .5rem;font-size:.85rem}.project-status-select:disabled{opacity:.6;cursor:not-allowed}.project-inline-input,.project-inline-textarea{width:100%;border-radius:10px;border:1px solid rgba(148,163,184,.35);background:#0f172ac7;color:inherit;padding:.45rem .6rem;font-size:.85rem}.project-inline-textarea{resize:vertical;min-height:88px}.project-inline-actions{display:flex;flex-direction:column;gap:.5rem;min-width:120px}.project-table__editor-row td{background:#0f172a61}.project-inline-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem 1rem}.project-inline-editor-grid__full{grid-column:1 / -1}.project-name-cell{display:flex;flex-direction:column;gap:.35rem}.project-analysis{display:inline-flex;align-items:center;gap:.4rem;font-size:.72rem;color:var(--text-muted)}.project-analysis .status-dot{width:8px;height:8px}.project-info-button{width:32px;height:32px;border-radius:999px;border:1px solid rgba(148,163,184,.35);background:transparent;color:inherit;font-weight:700;cursor:pointer}.project-actions{position:relative;display:inline-flex;align-items:center}.project-actions__toggle{width:32px;height:32px;border-radius:8px;border:1px solid rgba(148,163,184,.35);background:transparent;color:inherit;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.project-actions__dots{display:inline-block;transform:rotate(90deg);letter-spacing:2px;font-weight:700}.project-actions__menu{position:absolute;top:calc(100% + 6px);right:0;min-width:180px;background:var(--card-bg, #0f172a);border:1px solid var(--panel-border, rgba(148, 163, 184, .3));border-radius:10px;box-shadow:0 12px 28px #0000004d;padding:.25rem;z-index:5}.project-actions__menu--left{right:auto;left:0}.project-actions__menu button{width:100%;padding:.45rem .6rem;border:none;background:transparent;text-align:left;color:inherit;cursor:pointer;border-radius:8px}.project-actions__menu button:hover{background:#94a3b826}.modal--project-detail{width:min(1080px,calc(100vw - 2rem))}.project-detail-modal{display:grid;gap:1rem}.project-detail-modal__hero{display:flex;justify-content:space-between;gap:1rem;align-items:start;padding-bottom:.9rem;border-bottom:1px solid rgba(148,163,184,.18)}.project-detail-modal__grid{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:1rem}.telemat-reason__button{border:none;background:transparent;color:inherit;padding:0;width:100%;text-align:left;cursor:pointer;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.telemat-reason__button:hover{color:#a5b4fc;text-decoration:underline}.telemat-description__button{border:none;background:transparent;color:inherit;padding:0;width:100%;text-align:left;cursor:pointer;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;word-break:break-word}.telemat-description__button:hover{color:#a5b4fc;text-decoration:underline}.telemat-project-link{border:none;background:transparent;color:#a5b4fc;padding:0;cursor:pointer;font-weight:600;text-align:left}.telemat-project-link:hover{text-decoration:underline;color:#c7d2fe}.table-toolbar{display:flex;gap:1rem;align-items:center;justify-content:space-between;flex-wrap:wrap}.table-toolbar__search{flex:1 1 240px;min-width:220px}.table-toolbar__search input{width:100%;padding:.65rem 2.4rem .65rem .9rem;border-radius:999px;border:1px solid rgba(148,163,184,.35);background:#0f172a99;color:var(--text-primary);font-size:.9rem;box-shadow:inset 0 0 0 1px transparent}.table-toolbar__search{position:relative}.table-toolbar__search:after{content:"search";font-family:Material Symbols Outlined;position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:18px;color:#94a3b8;pointer-events:none}.table-toolbar__search input:focus{outline:none;border-color:#6366f199;box-shadow:0 0 0 3px #6366f133}.table-toolbar__paging{display:inline-flex;gap:.6rem;align-items:center}.table-pagination{display:flex;justify-content:flex-end;align-items:center;gap:.75rem;margin-top:.5rem}.radio-group{display:flex;flex-wrap:wrap;gap:.75rem}.radio-item{display:inline-flex;align-items:center;gap:.4rem;font-size:.9rem;color:var(--text-primary)}.radio-item input{accent-color:#0ea5a4}.telemat-history-table th:nth-child(1),.telemat-history-table td:nth-child(1){width:11%;min-width:108px}.telemat-history-table th:nth-child(2),.telemat-history-table td:nth-child(2){width:14%}.telemat-history-table th:nth-child(3),.telemat-history-table td:nth-child(3){width:18%}.telemat-history-table th:nth-child(4),.telemat-history-table td:nth-child(4){width:8%;min-width:84px}.telemat-history-table th:nth-child(5),.telemat-history-table td:nth-child(5){width:7%;min-width:72px}.telemat-history-table th:nth-child(6),.telemat-history-table td:nth-child(6){width:10%;min-width:96px}.telemat-history-table th:nth-child(7),.telemat-history-table td:nth-child(7){width:30%}.telemat-history-table th:nth-child(8),.telemat-history-table td:nth-child(8){width:2%;min-width:52px}.telemat-history-table th,.telemat-history-table td{vertical-align:top}.telemat-history-table{border-collapse:separate;border-spacing:0}.telemat-history-table thead th{position:sticky;top:0;z-index:2;background:#060d22f5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(99,102,241,.22)}.telemat-history-table tbody tr{transition:background .18s ease,transform .18s ease}.telemat-history-table tbody tr:nth-child(odd) td{background:#121e446b}.telemat-history-table tbody tr:nth-child(2n) td{background:#0d1839ad}.telemat-history-table tbody tr:hover td{background:#26376e85}.telemat-history-table td{padding-top:.5rem;padding-bottom:.5rem;border-bottom:1px solid rgba(148,163,184,.1);line-height:1.2}.telemat-sort-button{display:inline-flex;align-items:center;gap:.35rem;width:100%;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:700;text-align:left;cursor:pointer}.telemat-sort-button:hover,.telemat-sort-button:focus-visible{color:#93c5fd;outline:none}.telemat-history-table td:nth-child(6){white-space:nowrap}.telemat-history-table td:nth-child(4),.telemat-history-table td:nth-child(5){white-space:nowrap}.telemat-history-table td:nth-child(8){padding-left:.2rem;padding-right:.2rem;overflow:visible;white-space:nowrap}.telemat-category{display:inline-flex;align-items:center;justify-content:center;padding:.22rem .52rem;border-radius:999px;font-size:.7rem;font-weight:700;border:1px solid rgba(148,163,184,.3);background:#0f172a66;color:var(--text-primary);white-space:nowrap}.telemat-category--software{background:#3b82f629;border-color:#3b82f673;color:#bfdbfe}.telemat-category--cloud{background:#0ea5e929;border-color:#0ea5e973;color:#bae6fd}.telemat-category--network{background:#10b98129;border-color:#10b98173;color:#a7f3d0}.telemat-category--security{background:#ef444429;border-color:#ef444473;color:#fecaca}.telemat-category--hardware{background:#f59e0b29;border-color:#f59e0b73;color:#fde68a}.telemat-category--health{background:#ec489929;border-color:#ec489973;color:#fbcfe8}.telemat-category--license{background:#8b5cf629;border-color:#8b5cf673;color:#ddd6fe}.telemat-category--support{background:#22c55e29;border-color:#22c55e73;color:#bbf7d0}.telemat-category--advisory{background:#a855f729;border-color:#a855f773;color:#e9d5ff}.telemat-category--other{background:#94a3b81f;border-color:#94a3b84d;color:#cbd5e1}.telemat-date-cell,.telemat-project-cell{display:flex;flex-direction:column;gap:.08rem}.telemat-project-cell .telemat-category{align-self:flex-start;margin-top:.16rem}.telemat-date-cell span:first-child,.telemat-project-cell strong{color:#e5eefc;font-weight:700}.telemat-date-cell span:last-child,.telemat-project-cell span{color:#94a3b8;font-size:.72rem}.telemat-project-cell strong{line-height:1.18}.telemat-source-cell{color:#aebcd6;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.7rem;line-height:1.18;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.92}.telemat-status-badge{display:inline-flex;align-items:center;justify-content:center;min-width:74px;padding:.18rem .46rem;border-radius:999px;font-size:.7rem;font-weight:700;border:1px solid rgba(148,163,184,.25);white-space:nowrap;line-height:1.1;overflow:visible}.telemat-status-badge--accepted{background:#22c55e24;border-color:#22c55e6b;color:#bbf7d0}.telemat-status-badge--rejected{background:#ef444424;border-color:#ef44446b;color:#fecaca}.telemat-status-badge--review{background:#f59e0b24;border-color:#f59e0b6b;color:#fde68a}.telemat-project-link.telemat-status-badge{padding:.24rem .6rem;text-decoration:none}.telemat-project-link.telemat-status-badge:hover{text-decoration:none;filter:brightness(1.08)}.telemat-status-cell{white-space:nowrap;text-align:center}.telemat-history-actions{display:flex;flex-direction:column;align-items:center;gap:5px;justify-content:flex-start;white-space:nowrap;width:auto;min-width:0}.telemat-history-actions .ghost-button,.telemat-history-actions .secondary-button{display:inline-flex;align-items:center;justify-content:center;width:32px;min-height:30px;padding:0;border-radius:999px;font-weight:600}.telemat-history-actions .ghost-button{border:1px solid rgba(148,163,184,.4)}.telemat-history-actions .telemat-reanalyze{min-width:38px}.telemat-history-actions .telemat-reanalyze.is-accepted{border-color:#22c55e99;color:#86efac;box-shadow:0 0 0 1px #22c55e26}.telemat-history-actions .telemat-reanalyze.is-rejected{border-color:#ef444499;color:#fca5a5;box-shadow:0 0 0 1px #ef444426}.telemat-history-actions .telemat-reanalyze.is-review{border-color:#f59e0b99;color:#fcd34d;box-shadow:0 0 0 1px #f59e0b26}.telemat-history-actions .material-symbols-outlined{font-size:17px;line-height:1}.telemat-history-table .telemat-description__button{-webkit-line-clamp:2}.telemat-history-table .telemat-reason__button{-webkit-line-clamp:5;line-height:1.18;word-break:normal;overflow-wrap:anywhere}.telemat-cell-meta{margin-top:2px;font-size:.68rem;line-height:1.1}.telemat-warning-inline{margin-top:2px;font-size:.68rem;line-height:1.1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.project-progress{display:flex;flex-direction:column;gap:.35rem;min-width:160px}.project-progress__bar{height:8px;background:#94a3b833;border-radius:999px;overflow:hidden}.project-progress__bar span{display:block;height:100%;background:linear-gradient(90deg,#22c55e,#3b82f6)}.project-progress__meta{display:flex;gap:.5rem;flex-wrap:wrap;font-size:.72rem;color:var(--text-muted)}@media(max-width:1100px){.project-detail-modal__hero{flex-direction:column}.project-detail-modal__grid{grid-template-columns:1fr}}.telemat-batch-progress{display:flex;flex-direction:column;gap:.5rem;margin-top:.25rem}.telemat-batch-progress__meta{display:flex;align-items:center;justify-content:space-between;gap:.75rem;font-size:.9rem;color:var(--text-primary)}.telemat-batch-progress__meta strong{color:#a78bfa;min-width:3rem}.telemat-batch-progress__bar{height:10px}.telemat-timeline{display:grid;gap:10px;padding:10px 12px;border:1px solid rgba(148,163,184,.2);border-radius:10px;background:#0f172a40}.telemat-step{display:grid;grid-template-columns:14px 1fr;gap:10px;align-items:center;color:#7c8da9;font-size:.92rem}.telemat-step__dot{width:10px;height:10px;border-radius:999px;border:2px solid rgba(148,163,184,.45);background:transparent}.telemat-step--done{color:#e2e8f0}.telemat-step--done .telemat-step__dot{border-color:#16a34a;background:#16a34a}.telemat-step--active{color:#f8fafc;font-weight:600}.telemat-step--active .telemat-step__dot{border-color:#0ea5e9;background:#0ea5e9;box-shadow:0 0 0 4px #0ea5e926}.telemat-step--error{color:#fca5a5}.telemat-step--error .telemat-step__dot{border-color:#ef4444;background:#ef4444}.outline-action-button{border:1px solid rgba(148,163,184,.35);background:#94a3b81f;color:var(--text-primary);font-weight:600}.outline-action-button:hover{background:#94a3b838}.outline-action-button:disabled{opacity:.55;cursor:not-allowed}.outline-regenerate-button{width:28px;height:28px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;padding:0}.outline-regenerate-button .material-symbols-outlined{font-size:16px;line-height:1}.outline-toolbar{display:flex;gap:1rem;flex-wrap:wrap;align-items:stretch;padding:.9rem 1rem;border:1px solid var(--panel-border, rgba(148, 163, 184, .2));border-radius:14px;background:var(--card-bg, #0f172a);box-shadow:inset 0 1px #ffffff0a}.outline-toolbar__group{display:flex;flex-direction:column;gap:.5rem;min-width:240px;flex:1 1 240px}.outline-toolbar__group--wide{min-width:320px;flex:2 1 340px}.outline-toolbar__label{font-weight:700;color:var(--text-primary)}.outline-toolbar__row{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.outline-toolbar__actions{display:grid;grid-template-columns:repeat(2,minmax(180px,1fr));gap:.6rem;width:100%}.outline-toolbar__input{min-width:220px}.outline-toolbar__input--grow{flex:1 1 260px}.template-feedback{padding:.6rem .8rem;border-radius:12px;font-size:.82rem}.template-feedback.error{background:#f8717126;border:1px solid rgba(248,113,113,.3);color:#fecaca}.template-feedback.success{background:#22c55e26;border:1px solid rgba(34,197,94,.3);color:#bbf7d0}.modal-overlay{position:fixed;inset:0;background:#02061799;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:1rem;z-index:9999}.modal{width:min(980px,96vw);max-height:90vh;overflow:auto;background:#0f172af5;border:1px solid rgba(148,163,184,.22);border-radius:16px;box-shadow:0 22px 60px #020617b3;padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.75rem}.modal header h3{margin:0}.modal pre{background:#1e293b99;border:1px solid rgba(148,163,184,.2);border-radius:12px;padding:.75rem 1rem;max-height:260px;overflow:auto}.modal header{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem}.modal__close{width:32px;height:32px;border-radius:10px;border:1px solid rgba(148,163,184,.3);background:#94a3b81f;color:inherit;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.modal__close:hover{background:#6366f133;border-color:#6366f166}.modal__close .material-symbols-outlined{font-size:18px;line-height:1}.chat-source-modal{width:min(980px,96vw)}.chat-source-text{background:#0f172acc;border:1px solid rgba(148,163,184,.2);border-radius:12px;padding:.9rem 1rem;max-height:60vh;overflow:auto;white-space:pre-wrap;color:#e2e8f0}.chat-source-text mark{background:#fde047;color:#1f2937;padding:0 2px;border-radius:3px}.markdown-preview{background:#0f172acc;border:1px solid rgba(148,163,184,.2);border-radius:12px;padding:.9rem 1rem;color:#e2e8f0;line-height:1.55}.markdown-preview p{margin:0 0 .6rem}.markdown-preview p:last-child{margin-bottom:0}.markdown-preview ul,.markdown-preview ol{margin:.4rem 0 .6rem 1.2rem}.markdown-preview li{margin:.2rem 0}.markdown-preview h1,.markdown-preview h2,.markdown-preview h3{margin:.8rem 0 .4rem}.markdown-preview table{width:100%;border-collapse:collapse;margin:.6rem 0;font-size:.9rem}.markdown-preview th,.markdown-preview td{border:1px solid rgba(148,163,184,.35);padding:6px 8px;text-align:left;vertical-align:top;word-break:break-word}.analysis-grid{display:grid;gap:.75rem}.analysis-item{border:1px solid rgba(148,163,184,.2);border-radius:12px;padding:.75rem 1rem;background:#111827b3;display:flex;flex-direction:column;gap:.4rem}.analysis-item__label{font-weight:600;color:#e0e7ff;font-size:.85rem}.analysis-item__value{color:#e2e8f0}.analysis-item ul{margin:0 0 .2rem 1.2rem}.banner-error{background:#ef444426;border:1px solid rgba(239,68,68,.35);color:#fecaca;border-radius:12px;padding:.75rem 1rem}.collapsible-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1rem}details.collapsible{border:1px solid rgba(148,163,184,.18);border-radius:14px;padding:.75rem 1rem;background:#1e293b99}details.collapsible summary{cursor:pointer;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:.75rem;list-style:none}details.collapsible summary .summary-caret{display:inline-flex;width:16px;justify-content:center;font-size:14px;color:#a5b4fc;transition:transform .2s ease}details.collapsible summary::-webkit-details-marker{display:none}.collapsible-summary-label{display:flex;flex-direction:column;gap:.25rem}.collapsible summary .summary-icon{font-size:1.1rem;color:#a5b4fc;transition:transform .2s ease}.summary-icon{font-size:0}.summary-icon:before{content:"▶";font-size:14px;display:inline-block;transition:transform .2s ease;color:#a5b4fc}details.collapsible[open] summary .summary-icon{transform:rotate(90deg)}details.collapsible[open] summary .summary-icon:before{transform:rotate(90deg)}details.collapsible[open] summary .summary-caret{transform:rotate(90deg)}.loader-dot{width:12px;height:12px;border-radius:50%;display:inline-block;background:#16a34a;margin-left:6px;animation:loaderPulse .8s ease-in-out infinite}@keyframes loaderPulse{0%,to{opacity:.4;transform:scale(.9)}50%{opacity:1;transform:scale(1.1)}}.collapsible-content{margin-top:.75rem;display:flex;flex-direction:column;gap:.75rem}.placeholder-collapsible .placeholder-list{margin:0;padding-left:1.25rem;display:flex;flex-direction:column;gap:.35rem;font-size:.9rem;color:#cbd5f5}.placeholder-collapsible .placeholder-list li code{background:#6366f12e;border-radius:6px;padding:.1rem .35rem;margin-right:.35rem;color:#a5b4fc}.card-header-with-help{display:flex;align-items:center;gap:.5rem}.help-icon{width:28px;height:28px;border-radius:999px;border:1px solid rgba(148,163,184,.3);background:#1e293b99;color:#cbd5f5;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,transform .2s ease}.help-icon:hover{background:#6366f140;transform:translateY(-1px)}.help-text{margin-top:.6rem;background:#6366f11f;border:1px solid rgba(99,102,241,.3);border-radius:12px;padding:.75rem 1rem;font-size:.85rem;color:#cbd5f5}.template-actions{display:flex;justify-content:flex-end;gap:.75rem}.checkbox-label{display:inline-flex;align-items:center;gap:.5rem;font-weight:600;color:#cbd5f5}.checkbox-label input{width:18px;height:18px;accent-color:#0ea5a4}@media(max-width:1100px){.workspace-layout{grid-template-columns:1fr}.workspace-controls{order:2}.workspace-chat{order:1}.workspace-header,.view-header{flex-direction:column;align-items:stretch}}@media(max-width:720px){.app-container{flex-direction:column}.sidebar{width:100%;flex-direction:row;flex-wrap:wrap;align-items:center;gap:1rem;border-right:none;border-bottom:1px solid rgba(148,163,184,.15)}.sidebar-nav{flex-direction:row;flex-wrap:wrap}.sidebar-nav__item{flex:1 1 140px}.app-content{padding:1.5rem}}.modal-backdrop{position:fixed;inset:0;background:#0000008c;display:flex;align-items:center;justify-content:center;z-index:2000;padding:1rem}.modal{width:min(520px,100%);background:var(--card-bg, #0f172a);color:var(--text-primary, #e2e8f0);border:1px solid var(--panel-border, rgba(148, 163, 184, .3));border-radius:16px;box-shadow:0 30px 90px #00000059;display:flex;flex-direction:column;gap:1rem;padding:1.25rem 1.25rem 1rem}.modal--wide{width:min(920px,100%)}.modal__header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.modal__header h3{margin:0}.modal__header p{margin:.25rem 0 0;color:var(--text-muted, #94a3b8)}.modal__body{display:flex;flex-direction:column;gap:1rem;max-height:68vh;overflow:auto}.modal__body pre{white-space:pre-wrap;overflow-wrap:anywhere}.modal__footer{display:flex;justify-content:flex-end;gap:.75rem}.icon-button{border:none;background:transparent;color:inherit;font-size:1.2rem;cursor:pointer}.modal select{width:100%}.profile-fab{position:fixed;top:18px;right:18px;z-index:1500;width:44px;height:44px;border-radius:50%;border:1px solid var(--panel-border, rgba(148, 163, 184, .3));background:var(--card-bg, #0f172a);color:var(--text-primary, #e2e8f0);display:inline-flex;align-items:center;justify-content:center;font-size:1.1rem;cursor:pointer;box-shadow:0 12px 30px #00000040}.profile-fab:hover{transform:translateY(-1px);box-shadow:0 14px 34px #0000004d}.wizard-menu{display:flex;gap:.5rem;padding:.5rem 0;margin-bottom:1rem;border-bottom:1px solid #e5e5e5;flex-wrap:wrap}.wizard-step{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border:1px solid #e5e5e5;border-radius:999px;background:#fff;cursor:pointer}.wizard-step.disabled{opacity:.4;pointer-events:none}.wizard-step.active{border-color:#0f62fe;background:#eef5ff}.wizard-step__index{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#0f62fe;color:#fff;font-weight:600;font-size:.85rem}.wizard-step.active .wizard-step__index{background:#0946b5}.wizard-step__title{font-weight:600}.wizard-step__subtitle{display:block;font-size:.75rem;color:#666}.word-like{background:#f2f2f2;padding:16px}.word-like .page{background:#fff;margin:0 auto 16px;min-height:1123px;box-shadow:0 2px 8px #00000014;box-sizing:border-box;padding:96px 72px;color:#222;font-family:Calibri,Arial,Helvetica,sans-serif;font-size:11pt;line-height:1.4}.table-warning{margin:6px 0;padding:6px 8px;border-radius:8px;font-size:.78rem;color:#fef3c7;background:#fbbf242e;border:1px solid rgba(251,191,36,.35)}.table-wrapper{display:block;margin:.4rem 0}.table-toggle-row{display:flex;justify-content:flex-end;margin:0 0 6px}.table-toggle{border:1px solid rgba(148,163,184,.35);background:#94a3b81f;color:inherit;border-radius:10px;padding:4px 8px;font-size:.75rem;cursor:pointer}.table-toggle:hover{border-color:#6366f199;background:#6366f12e}.word-like h1{font-size:18pt;margin:18pt 0 6pt;border-bottom:1px solid #e6e6e6}.word-like h2{font-size:16pt;margin:16pt 0 6pt}.word-like h3{font-size:14pt;margin:14pt 0 4pt}.word-like p{margin:0 0 8pt}.word-like ul,.word-like ol{margin:0 0 8pt 24pt}.word-like table{width:100%;border-collapse:collapse;margin:8pt 0}.word-like th,.word-like td{border:1px solid #c8c8c8;padding:6px 8px}.word-like th{background:#f5f5f5}.word-like tbody tr:nth-child(2n){background:#fafafa}.table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.word-like figure{margin:8pt 0;text-align:center}.word-like figure img{max-width:100%;height:auto}.word-like figure figcaption{font-size:9pt;color:#666;margin-top:4pt}.word-like .page-break{page-break-after:always;height:0;margin:0;border:0}.todo-highlight{background:#fef3c7;color:#7c2d12;padding:0 3px;border-radius:4px;cursor:pointer}.todo-item-list{display:flex;flex-direction:column;gap:8px}.todo-item-row{display:flex;flex-direction:column;gap:6px;align-items:flex-start;padding:10px;border-radius:10px;border:1px solid rgba(148,163,184,.35);background:#94a3b814}.todo-item-header{width:100%;display:flex;align-items:center;gap:8px}.todo-item-header .ghost-button{margin-left:auto;padding:4px 6px;border-radius:8px}.todo-item-header .material-symbols-outlined{font-size:16px;line-height:1}.todo-item-label{font-weight:600;color:inherit}.todo-item-row textarea{width:100%;border-radius:8px;border:1px solid #cbd5e1;padding:6px 8px;background:#fff;color:#0f172a;resize:vertical}.kb-original{background:#0f172a;color:#e2e8f0;padding:10px 12px;border-radius:8px;white-space:pre-wrap;max-height:320px;overflow:auto}.kb-original mark{background:#facc15;color:#1f2937;padding:0 2px;border-radius:3px}.kb-doc-frame{width:100%;min-height:60vh;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.kb-doc-text{background:#0f172a;color:#e2e8f0;padding:12px;border-radius:8px;white-space:pre-wrap;max-height:60vh;overflow:auto}.kb-doc-text mark.kb-doc-highlight{background:#fde047;color:#1f2937;padding:0 2px;border-radius:3px}.modal--fullscreen{width:min(1200px,96vw);max-width:1200px;height:92vh;max-height:92vh;overflow:auto}.word-like__content{min-height:48px;margin:0 0 12px;white-space:pre-wrap;outline:none}.word-like__preview table{width:100%;border-collapse:collapse;margin:8pt 0}.word-like__preview th,.word-like__preview td{border:1px solid #c8c8c8;padding:6px 8px}.word-like__preview th{background:#f5f5f5}.word-like__mermaid{margin-top:6px;display:flex;flex-direction:column;gap:8px}.word-like__mermaid-item{padding:8px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.word-like__mermaid-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.word-like__mermaid-actions{display:inline-flex;gap:6px;align-items:center}.word-like__mermaid-open{width:28px;height:28px;background:#3b82f61f;color:#1d4ed8}.word-like__mermaid-open:hover{background:#3b82f638}.word-like__mermaid-remove{width:28px;height:28px;background:#0f172a14;color:#334155}.word-like__mermaid-remove:hover{background:#ef444426;color:#b91c1c}.word-like__images{margin-top:8px;display:flex;flex-direction:column;gap:10px}.word-like__images--editing{margin-top:12px}.word-like__tables{margin-top:8px;display:flex;flex-direction:column;gap:10px}.word-like__tables--editing{margin-top:12px}.word-like__table-block{width:100%;cursor:grab}.word-like__table-block-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}.word-like__table-block-label{font-size:.82rem;font-weight:600;color:#475569}.word-like__block-actions{display:inline-flex;align-items:center;gap:6px}.workspace-table-editor{width:100%;border-collapse:collapse}.workspace-table-editor th,.workspace-table-editor td{padding:6px;border:1px solid rgba(148,163,184,.25);vertical-align:top}.workspace-table-editor__cell{display:flex;align-items:center;gap:6px}.word-like__image{margin:0;padding:8px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.word-like__images--editing .word-like__image{cursor:grab}.word-like__image-dnd{display:flex;flex-direction:column;gap:6px}.word-like__image-dropzone{border:1px dashed rgba(59,130,246,.45);border-radius:8px;padding:6px 10px;font-size:.82rem;color:#475569;background:#3b82f60f;text-align:center}.word-like__image--dragging{opacity:.6;border-color:#3b82f68c}.word-like__image--mermaid{padding-top:6px}.mermaid-block{background:#0f172a;color:#e2e8f0;padding:8px;border-radius:6px;font-size:.9rem;overflow-x:auto}.mermaid-render svg{max-width:100%;height:auto;display:block}.word-like__mermaid-error{border:1px solid rgba(180,74,74,.45);background:#b44a4a14;color:#7a1f1f;border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.45;white-space:pre-wrap}.mermaid-editor{width:100%;min-height:72px;border:1px solid #d1d5db;border-radius:8px;padding:8px 10px;font-family:JetBrains Mono,Fira Code,monospace;font-size:.9rem;background:#fff;color:#0f172a;box-sizing:border-box}.word-like__toolbar{position:sticky;top:84px;z-index:30;display:flex;justify-content:flex-end;padding:8px 10px;margin-bottom:8px;gap:8px;border:1px solid rgba(148,163,184,.22);border-radius:12px;background:#f8fafcf0;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 10px 24px #0f172a14}@media(max-width:720px){.workspace-doc-toolbar{top:8px;padding:8px 10px}.word-like__toolbar{top:74px}}.word-like__progress{display:flex;flex-direction:column;gap:8px;margin-bottom:10px}.word-like__progress-row{display:flex;flex-direction:column;gap:6px}.word-like__editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 8px;margin-bottom:8px;border:1px solid #d1d5db;border-radius:8px;background:#f8fafc}.word-like__editor-toolbar .editor-btn{border:1px solid #cbd5e1;background:#fff;color:#0f172a;padding:4px 8px;font-size:.85rem;border-radius:6px;cursor:pointer}.word-like__editor-toolbar .editor-btn:hover{background:#f1f5f9}.word-like__editor-toolbar .editor-btn:active{background:#e2e8f0}.word-like__editor-toolbar .editor-sep{width:1px;height:20px;background:#d1d5db;margin:0 4px}.word-like--fullscreen{background:#f8fafc;padding:16px;height:100vh;overflow:auto}.word-like__heading-row{display:flex;align-items:center;gap:8px}.word-like__heading-row h1,.word-like__heading-row h2,.word-like__heading-row h3{margin:0}.word-like__heading-action{width:28px;height:28px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;padding:0}.word-like__heading-action .material-symbols-outlined{font-size:16px;line-height:1}.word-like__heading-row .ghost-button{padding:4px 10px;border-radius:8px;font-size:.95rem;background:#3b82f61f;color:#0f172a;border:1px solid rgba(59,130,246,.35)}.word-like__heading-loader{display:inline-flex;align-items:center;gap:4px;margin-left:4px}.word-like__heading-loader .dot{width:6px;height:6px;border-radius:999px;background:#ef4444;animation:word-like-heading-pulse 1s ease-in-out infinite}.word-like__heading-loader .dot:nth-child(2){animation-delay:.2s}.word-like__heading-loader .dot:nth-child(3){animation-delay:.4s}@keyframes word-like-heading-pulse{0%,to{opacity:.3;transform:translateY(0)}50%{opacity:.95;transform:translateY(-2px)}}.word-like__node{scroll-margin-top:96px}.word-like .align-left{text-align:left}.word-like .align-center{text-align:center}.word-like .align-right{text-align:right}.gear-dot.ok{display:inline-block;width:8px;height:8px;margin-left:0;border-radius:50%;background:#16a34a;box-shadow:0 0 0 2px #16a34a26;position:absolute;right:-2px;bottom:-2px}.gear-dot.warn{display:inline-block;width:8px;height:8px;margin-left:0;border-radius:50%;background:#f59e0b;box-shadow:0 0 0 2px #f59e0b26;position:absolute;right:-2px;bottom:-2px}.outline-node__row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.outline-node__row>input{flex:1 1 100%!important;min-width:0;order:6}.outline-node__badges{display:flex;flex-wrap:wrap;gap:6px;flex:0 1 auto;justify-content:flex-start;order:3;margin-left:auto}.outline-node__badges .badge{white-space:nowrap;background:#3b82f62e;color:#1e293b;border:1px solid rgba(59,130,246,.35)}.outline-node__row>.ghost-button:not(.outline-toggle){order:4}.outline-node__row>.ghost-button:not(.outline-toggle):first-of-type{margin-left:0}.outline-node__row .loader-dot{order:5}.outline-toggle{width:28px;height:28px;min-width:28px;min-height:28px;border-radius:50%;line-height:1;display:inline-flex;align-items:center;justify-content:center}.outline-node .badge.ghost{background:#6366f124;color:#0f172a;border:1px solid rgba(99,102,241,.35)}.outline-node--flash{animation:outlineFlash .5s ease-in-out 5}@keyframes outlineFlash{0%,to{box-shadow:0 0 #3b82f600;background:#fff}50%{box-shadow:0 0 0 3px #3b82f673;background:#eef2ff}}.sidebar{background:var(--sidebar-bg);border-right:1px solid var(--sidebar-border);color:var(--text-primary)}.sidebar-title p,.sidebar-footer,.sidebar-nav__subtitle{color:var(--text-muted)}.sidebar-nav__item{background:var(--panel-bg);color:var(--text-primary)}.sidebar-nav__item:hover{border-color:color-mix(in srgb,var(--accent) 55%,transparent);background:color-mix(in srgb,var(--accent) 20%,var(--panel-bg))}.sidebar-nav__item.active{border-color:color-mix(in srgb,var(--accent) 75%,transparent);background:color-mix(in srgb,var(--accent) 25%,var(--panel-bg))}.view-header h2,.settings-card h3{color:var(--text-primary)}.app-container.theme-default{--app-bg: radial-gradient(circle at top, rgba(15, 118, 110, .24), transparent 55%), radial-gradient(circle at bottom, rgba(245, 158, 11, .14), transparent 45%), #0f172a;--text-primary: #e2e8f0;--text-muted: #94a3b8;--sidebar-bg: rgba(15, 23, 42, .9);--sidebar-border: rgba(148, 163, 184, .15);--panel-bg: rgba(30, 41, 59, .6);--card-bg: rgba(30, 41, 59, .7);--panel-border: rgba(148, 163, 184, .2);--accent: #0ea5a4}.app-container.theme-black{--app-bg: #05060a;--text-primary: #f3f4f6;--text-muted: #cbd5e1;--sidebar-bg: #0b0c12;--sidebar-border: rgba(99, 102, 241, .35);--panel-bg: #0f172a;--card-bg: #0b1224;--panel-border: rgba(99, 102, 241, .35);--accent: #a855f7}.app-container.theme-black input,.app-container.theme-black textarea,.app-container.theme-black select{background:#0f172a;color:#f3f4f6;border-color:#6366f159}.app-container.theme-white{--app-bg: #f8fafc;--text-primary: #0f172a;--text-muted: #475569;--sidebar-bg: #ffffff;--sidebar-border: #e2e8f0;--panel-bg: #f8fafc;--card-bg: #ffffff;--panel-border: #e2e8f0;--accent: #2563eb}.app-container.theme-white input,.app-container.theme-white textarea,.app-container.theme-white select{background:#fff;color:#0f172a;border-color:#cbd5e1}.telemat-table{table-layout:fixed;width:100%}.telemat-table td{overflow:hidden}.telemat-history-table td:nth-child(6),.telemat-history-table td:nth-child(6) .telemat-status-badge,.telemat-history-table td:nth-child(6) .telemat-project-link.telemat-status-badge{overflow:visible}.telemat-table th:nth-child(3),.telemat-table td:nth-child(3){width:16%}.telemat-table th:nth-child(4),.telemat-table td:nth-child(4){width:10%}.telemat-table th:nth-child(5),.telemat-table td:nth-child(5){width:8%}.telemat-table th:nth-child(6),.telemat-table td:nth-child(6){width:8%}.telemat-table th:nth-child(7),.telemat-table td:nth-child(7){width:auto}.telemat-table th:nth-child(8),.telemat-table td:nth-child(8){width:auto}.telemat-last-run-table th:nth-child(1),.telemat-last-run-table td:nth-child(1){width:9%;min-width:120px}.telemat-last-run-table th:nth-child(2),.telemat-last-run-table td:nth-child(2){width:30%}.telemat-last-run-table th:nth-child(3),.telemat-last-run-table td:nth-child(3){width:8%;min-width:88px}.telemat-last-run-table th:nth-child(4),.telemat-last-run-table td:nth-child(4){width:28%}.telemat-last-run-table th:nth-child(5),.telemat-last-run-table td:nth-child(5){width:8%;min-width:110px}.telemat-last-run-table th:nth-child(6),.telemat-last-run-table td:nth-child(6){width:17%}.telemat-kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px}.telemat-kpi{border:1px solid rgba(148,163,184,.28);border-radius:12px;background:#0f172a8c;padding:10px 12px;min-height:68px;display:flex;flex-direction:column;justify-content:space-between}.telemat-kpi__label{font-size:12px;color:#94a3b8;line-height:1.2}.telemat-kpi__value{font-size:28px;line-height:1;color:#e2e8f0;letter-spacing:.2px}.telemat-kpi--accepted .telemat-kpi__value{color:#34d399}.telemat-kpi--review .telemat-kpi__value{color:#fbbf24}.telemat-kpi--rejected .telemat-kpi__value{color:#f87171}.telemat-kpi--muted .telemat-kpi__value{color:#a3a3a3}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px;background:radial-gradient(circle at top,rgba(99,102,241,.18),transparent 35%),#0f172a}.login-card{width:min(520px,100%);padding:32px;border-radius:24px;border:1px solid rgba(148,163,184,.24);background:#0f172aeb;box-shadow:0 24px 80px #0f172a59}.login-card__brand{display:flex;gap:16px;align-items:center;margin-bottom:24px}.login-card__brand h1{margin:0}.login-card__brand p{margin:6px 0 0;color:var(--muted-text)}.login-card__logo{width:64px;height:64px;object-fit:contain}.login-form{display:grid;gap:16px}.login-submit{width:100%;justify-content:center}.profile-summary{display:grid;gap:4px}.settings-users-list{display:grid;gap:16px}.settings-user-card{padding:18px;border-radius:18px;border:1px solid rgba(148,163,184,.16);background:#0f172a5c}.settings-user-meta{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;color:var(--muted-text);font-size:.9rem}.settings-user-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
