:root{color:#17213a;background:#eef1f6;font-family:Inter,Segoe UI,system-ui,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}.portal{display:grid;grid-template-columns:238px minmax(0,1fr);width:min(1500px,calc(100% - 2rem));min-height:calc(100vh - 2rem);margin:1rem auto;overflow:hidden;border:1px solid #d8dee9;border-radius:.8rem;background:#fff;box-shadow:0 1rem 3rem #1f2b5214}.sidebar{border-right:1px solid #dde3ee;background:#f8f9fb}.brand{display:flex;align-items:center;gap:.7rem;border-bottom:1px solid #dde3ee;padding:1.2rem;font-weight:750}.brand span{display:grid;width:1.8rem;height:1.8rem;place-items:center;border-radius:.4rem;color:#fff;background:#175cd3}.team-picker{display:grid;gap:.45rem;margin:.9rem;border:1px solid #d8dee9;border-left:4px solid #2e90fa;border-radius:.5rem;padding:.75rem;color:#667085;font-size:.72rem;font-weight:750;text-transform:uppercase}.team-picker select{text-transform:none}nav{padding-bottom:1.5rem}nav button{width:100%;border:0;border-left:3px solid transparent;padding:.62rem 1.25rem;text-align:left;color:#667085;background:transparent}nav button:hover,nav .nav-active{border-left-color:#2e90fa;color:#101828;background:#e9edf3}.nav-category{margin:1.1rem 1.25rem .25rem;color:#98a2b3;font-size:.66rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.workspace{min-width:0;padding:2rem}.topbar,.toolbar,.enable-strip,.source-row,.summary-row{display:flex;align-items:center;justify-content:space-between;gap:1rem}.topbar{margin-bottom:2rem}.eyebrow{margin:0 0 .35rem;color:#175cd3;font-size:.72rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:1.8rem}.page-heading{margin-bottom:1.4rem}.page-heading h2{margin-bottom:.35rem;font-size:1.55rem}.page-heading p,.muted,.empty,.source-row p,.toolbar p{margin-bottom:0;color:#667085}.connection,.badge{border-radius:999px;padding:.4rem .72rem;font-size:.75rem;font-weight:750}.connection{border:1px solid #d0d5dd}.steps,.card-grid,.metrics{display:grid;gap:.8rem}.steps{grid-template-columns:repeat(4,1fr);margin-bottom:1.8rem}.steps button,.metrics div{display:grid;gap:.5rem;border:1px solid #dde3ee;padding:1.1rem;text-align:left;color:inherit;background:#fff}.steps button:hover{border-color:#2e90fa}.steps button.step-complete{border-color:#a6f4c5;background:#f6fef9}.steps span,.metrics span{color:#667085;font-size:.72rem;font-weight:750;text-transform:uppercase}.steps p{margin:0;color:#667085;font-size:.8rem;font-weight:400}.onboarding-guidance{margin:-.6rem 0 1rem;border-left:4px solid #2e90fa;padding:.7rem .9rem;color:#344054;background:#eff8ff}.section-title{margin:0 0 .8rem}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.action-card{min-height:155px;border:1px solid #dde3ee;border-radius:.65rem;padding:1.2rem;text-align:left;color:inherit;background:#fff}.action-card:hover{border-color:#2e90fa}.action-card p{min-height:2.6rem;margin:.6rem 0 1rem;color:#667085}.action-card span{color:#175cd3;font-size:.85rem}.panel{border:1px solid #dde3ee;border-radius:.65rem;padding:1.2rem;background:#fff}.stack,.editor{display:grid;gap:1rem}.toolbar{margin-bottom:1rem}.toolbar h3,.toolbar p{margin-bottom:0}.form-grid,.row{display:grid;gap:1rem}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.row{grid-template-columns:1.2fr 1.2fr .8fr}label{display:grid;gap:.42rem;color:#344054;font-size:.86rem;font-weight:650}input,select,textarea{width:100%;border:1px solid #cdd5e5;border-radius:.48rem;padding:.68rem .75rem;color:#17213a;background:#fff}textarea{resize:vertical}fieldset{margin:0;border:1px solid #dde3ee;border-radius:.55rem;padding:1rem}.activation-controls{min-width:0;border:0;padding:0}legend{padding:0 .35rem;font-weight:700}.checks{display:flex;flex-wrap:wrap;gap:.75rem 1.2rem}.checks label,.toggle-row{display:flex;align-items:center}.checks input,.toggle-row input{width:auto}.trigger-requirement{margin:0;color:#b54708;font-size:.86rem;font-weight:650}.trigger-actions{display:flex;justify-content:flex-end;gap:.75rem}.trigger-toolbar{margin-top:1rem}.trigger-toolbar>div{display:flex;align-items:baseline;gap:.75rem}.trigger-toolbar>div h3,.trigger-toolbar>div p{margin:0}.table-actions{display:flex;gap:.5rem}.primary,.secondary{border-radius:.48rem;padding:.62rem .9rem;font-weight:700}.primary{border:1px solid #175cd3;color:#fff;background:#175cd3}.secondary{border:1px solid #cdd5e5;color:#344054;background:#fff}.compact{padding:.42rem .68rem;font-size:.78rem}button:disabled{cursor:not-allowed;opacity:.45}.auth-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:.8rem;min-height:42px;padding:.4rem 1rem;border-bottom:1px solid #dde3ee;color:#667085;background:#fff;font-size:.8rem}.auth-toolbar button{padding:.35rem .7rem}.auth-page{display:grid;min-height:100vh;place-items:center;padding:1.5rem}.auth-card{width:min(420px,100%);border:1px solid #dde3ee;border-radius:.8rem;padding:2rem;background:#fff;box-shadow:0 1rem 3rem #1f2b5214}.auth-card .primary{margin-top:1rem}.auth-card.error{border-color:#fda29b}.table-panel{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:.86rem}th,td{border-bottom:1px solid #eaecf0;padding:.8rem}th{color:#667085;font-size:.72rem;text-transform:uppercase}.source-row{border-bottom:1px solid #eaecf0;padding-bottom:1rem}.source-row:last-child{border-bottom:0;padding-bottom:0}.badge.connected{color:#067647;background:#ecfdf3}.badge.partial,.badge.grant_needed{color:#b54708;background:#fffaeb}.badge.not_connected{color:#475467;background:#f2f4f7}.metrics{grid-template-columns:repeat(4,1fr);margin-bottom:1rem}.metrics strong{font-size:1.8rem}.enable-strip{margin-top:1rem;border:1px solid #b2ddff;border-radius:.65rem;padding:1rem;background:#eff8ff}.enable-strip p{margin:.25rem 0 0;color:#475467}.diagnose-box{display:grid;grid-template-columns:1fr auto;align-items:end;gap:1rem}.error{margin-bottom:1rem;border:1px solid #fda29b;border-radius:.5rem;padding:.8rem;color:#b42318;background:#fef3f2}.insight-publisher{display:grid;justify-items:end;gap:.65rem;margin-top:1rem;border-top:1px solid #eaecf0;padding-top:1rem}.insight-publish-trigger{display:flex;align-items:center;gap:.45rem}.lab-badge{border-radius:999px;padding:.18rem .45rem;color:#b54708;background:#fffaeb;font-size:.68rem;font-weight:800;letter-spacing:.04em}.insight-publish-editor{display:grid;width:100%;gap:.9rem;border:1px solid #b2ddff;border-radius:.55rem;padding:1rem;background:#eff8ff}.insight-publish-editor p{margin:0;color:#344054;font-size:.86rem}.incident-id-override{grid-column:1 / -1}.insight-publish-actions{display:flex;justify-content:flex-end;gap:.65rem}.insight-publish-success,.insight-publish-error{margin:0;font-size:.86rem;font-weight:650}.insight-publish-success{color:#067647}.insight-publish-error{color:#b42318}.vault-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.vault-page-heading h1{margin-bottom:.2rem}.vault-page-heading p{margin:0;color:#667085;font-size:.82rem}.vault-hero{display:flex;align-items:center;justify-content:space-between;gap:1.25rem;margin-bottom:.9rem;border:1px solid #12b76a;border-left:4px solid #12b76a;border-radius:.5rem;padding:1.1rem 1.25rem;background:#fff}.vault-warning{border-color:#f79009}.vault-hero-copy{display:flex;align-items:flex-start;gap:.8rem}.vault-status-icon{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:50%;color:#fff;background:#12b76a;font-weight:700}.vault-hero h3{margin-bottom:.2rem;font-size:.95rem}.vault-hero p{margin:0 0 .12rem;color:#475467;font-size:.82rem}.vault-hero small{color:#667085}.vault-hero .primary{display:flex;align-items:center;gap:.4rem;white-space:nowrap}.vault-discovery-note{display:flex;align-items:center;gap:.65rem;margin-bottom:.9rem;border:1px solid #84caff;border-radius:.4rem;padding:.6rem .85rem;color:#475467;background:#eff8ff;font-size:.78rem}.vault-discovery-note>span{color:#1570ef}.vault-discovery-note p{margin:0}.vault-sources{margin-bottom:.9rem;padding:0;overflow:hidden}.vault-sources th:nth-child(1){width:38%}.vault-sources th:nth-child(2){width:18%}.vault-sources th:nth-child(3){width:29%}.vault-sources th:nth-child(4){width:15%}.vault-sources td{vertical-align:middle}.vault-sources td:last-child{text-align:right}.vault-sources .sm{white-space:nowrap}.vault-source-name{display:flex;align-items:flex-start;gap:.65rem}.vault-source-name div{display:grid;gap:.12rem}.vault-source-name small,.vault-sources td>small{display:block;color:#667085}.vault-source-icon{display:grid;flex:0 0 26px;width:26px;height:26px;place-items:center;border:1px solid #d0d5dd;border-radius:.3rem;color:#475467;background:#f9fafb;font-size:.68rem}.vault-access{display:block;font-weight:600;text-transform:capitalize}.access-accessible{color:#067647}.access-permission_required,.access-failed{color:#b42318}.access-checking,.access-unknown{color:#667085}.vault-dialog-backdrop{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:2rem;background:#101828b8}.vault-browser{display:flex;flex-direction:column;width:min(1040px,100%);max-height:min(820px,calc(100vh - 4rem));overflow:hidden;border:1px solid #d0d5dd;border-radius:.5rem;background:#fff;box-shadow:0 1rem 3rem #10182840}.vault-browser-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid #eaecf0;padding:1rem 1.15rem}.vault-browser-heading h2{margin-bottom:.2rem;font-size:1.15rem}.vault-browser-heading p{margin:0;color:#667085;font-size:.8rem}.vault-close{display:grid;width:32px;height:32px;place-items:center;border:1px solid #d0d5dd;border-radius:.3rem;padding:0;color:#475467;background:#fff;font-size:1.2rem}.vault-close:hover{color:#101828;background:#f2f4f7}.vault-browser>.muted{padding:1.25rem}.vault-documents{padding:0;overflow:auto}.vault-documents table{table-layout:fixed}.vault-documents th:nth-child(1){width:55%}.vault-documents th:nth-child(2){width:32%}.vault-documents th:nth-child(3){width:13%}.vault-documents td{overflow-wrap:anywhere;vertical-align:top}.vault-documents td p{max-width:440px;margin:.25rem 0 0;color:#667085}.vault-documents a{color:#175cd3;font-weight:600;white-space:nowrap}.load-more{margin:.9rem 1.15rem 1.1rem}.chat-page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.2rem}.chat-page-heading h2{margin-bottom:.35rem;font-size:1.55rem}.chat-page-heading p:last-child{max-width:760px;margin:0;color:#667085}.interactive-chat{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:620px;overflow:hidden;border:1px solid #d8dee9;border-radius:.7rem;background:#fff}.chat-sessions{display:flex;flex-direction:column;gap:.55rem;border-right:1px solid #e4e7ec;padding:1rem;background:#f8f9fb}.chat-sessions>strong{margin-bottom:.25rem}.chat-sessions button{display:grid;gap:.25rem;width:100%;border:1px solid transparent;border-radius:.45rem;padding:.7rem;overflow:hidden;text-align:left;color:#344054;background:transparent}.chat-sessions button:hover,.chat-sessions button.selected{border-color:#b2ddff;background:#eff8ff}.chat-sessions button span{overflow:hidden;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.chat-sessions button small{color:#667085;text-transform:capitalize}.chat-workspace{display:flex;min-width:0;flex-direction:column}.chat-transcript{display:flex;flex:1 1 auto;min-height:480px;max-height:65vh;flex-direction:column;gap:1.2rem;overflow-y:auto;padding:1.4rem}.chat-empty{display:grid;max-width:540px;margin:auto;justify-items:center;text-align:center}.chat-empty>span{display:grid;width:48px;height:48px;margin-bottom:1rem;place-items:center;border-radius:12px;color:#fff;background:#175cd3;font-size:1.25rem;font-weight:800}.chat-empty h3{margin-bottom:.45rem}.chat-empty p{color:#667085}.chat-turn{display:grid;gap:.8rem}.chat-message{display:grid;max-width:min(780px,88%);gap:.35rem;border-radius:.7rem;padding:.9rem 1rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.user{justify-self:end;color:#1849a9;background:#eff8ff}.chat-message.assistant{justify-self:start;border:1px solid #e4e7ec;background:#fff}.chat-run-status{width:fit-content;border-radius:999px;padding:.35rem .65rem;color:#475467;background:#f2f4f7;font-size:.78rem;text-transform:capitalize}.chat-run-status.failed,.chat-run-status.cancelled{color:#b42318;background:#fef3f2}.chat-composer{display:grid;gap:.7rem;border-top:1px solid #e4e7ec;padding:1rem;background:#fcfcfd}.chat-composer textarea{min-height:82px;resize:vertical}.chat-composer>div{display:flex;justify-content:flex-end;gap:.65rem}.incident-search{display:grid;grid-template-columns:minmax(260px,520px) auto;align-items:end;gap:1rem;margin-bottom:1rem}.insight-list{display:grid;gap:1rem}.insight-card{display:grid;gap:.9rem}.insight-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.insight-card header h3{margin:.65rem 0 0}.insight-card time{color:#667085;font-size:.78rem;white-space:nowrap}.insight-highlight{margin:0;border-left:4px solid #2e90fa;padding:.75rem .9rem;color:#344054;background:#eff8ff;font-weight:650}.insight-highlight>:first-child{margin-top:0}.insight-highlight>:last-child{margin-bottom:0}.insight-content{max-height:500px;overflow:auto;border:1px solid #eaecf0;border-radius:.45rem;padding:1rem;color:#344054;background:#fcfcfd;line-height:1.55;overflow-wrap:anywhere}.insight-text{font-family:Cascadia Code,Consolas,monospace;font-size:.82rem;white-space:pre-wrap}.insight-json pre{margin:0;font-family:Cascadia Code,Consolas,monospace;font-size:.82rem;white-space:pre-wrap}.insight-render-warning{margin:0 0 .75rem;color:#b54708;font-size:.82rem;font-weight:650}.insight-html>:first-child{margin-top:0}.insight-html>:last-child{margin-bottom:0}.insight-html h1,.insight-html h2,.insight-html h3,.insight-html h4,.insight-html h5,.insight-html h6{color:#101828;line-height:1.3}.insight-html p,.insight-html ul,.insight-html ol,.insight-html blockquote,.insight-html pre,.insight-html table{margin:.8rem 0}.insight-html blockquote{margin-left:0;border-left:4px solid #b2ddff;padding-left:.9rem;color:#475467}.insight-html pre,.insight-html code{font-family:Cascadia Code,Consolas,monospace}.insight-html pre{overflow-x:auto;border-radius:.35rem;padding:.8rem;background:#f2f4f7;white-space:pre-wrap}.insight-html :not(pre)>code{border-radius:.2rem;padding:.1rem .25rem;background:#f2f4f7}.insight-html table{width:100%;border-collapse:collapse}.insight-html th,.insight-html td{border:1px solid #d0d5dd;padding:.5rem .65rem;text-align:left;vertical-align:top}.insight-html th{background:#f2f4f7}.insight-html a{color:#175cd3}.insight-source{border-top:1px solid #eaecf0;padding-top:.75rem}.insight-source summary{width:fit-content;color:#175cd3;cursor:pointer;font-size:.82rem;font-weight:650}.insight-source pre{max-height:320px;margin:.75rem 0 0;overflow:auto;border:1px solid #eaecf0;border-radius:.45rem;padding:.8rem;color:#344054;background:#f9fafb;font-family:Cascadia Code,Consolas,monospace;font-size:.78rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.insight-card footer{display:flex;flex-wrap:wrap;gap:.45rem 1rem;color:#667085;font-size:.75rem}.insight-format-warning{margin-left:.3rem;color:#dc6803;cursor:help}@media(max-width:900px){.portal{grid-template-columns:1fr;width:100%;margin:0;border-radius:0}.sidebar{border-right:0;border-bottom:1px solid #dde3ee}nav{display:flex;overflow-x:auto}nav button{width:auto;white-space:nowrap;border-left:0;border-bottom:3px solid transparent}nav .nav-active{border-bottom-color:#2e90fa}.nav-category{display:none}.workspace{padding:1.2rem}.steps,.metrics,.card-grid,.form-grid,.row{grid-template-columns:1fr}.vault-page-heading,.vault-hero{align-items:stretch;flex-direction:column}.vault-page-heading .connection{align-self:flex-start;overflow-wrap:anywhere}.vault-hero .primary{align-self:flex-start}.vault-sources thead{display:none}.vault-sources table,.vault-sources tbody,.vault-sources tr,.vault-sources td{display:block;width:100%}.vault-sources tr{border-bottom:1px solid #eaecf0;padding:.8rem .9rem}.vault-sources td{border:0;padding:.25rem 0;text-align:left}.vault-sources td:last-child{margin-top:.45rem;text-align:left}.vault-dialog-backdrop{align-items:end;padding:0}.vault-browser{width:100%;max-height:88vh;border-right:0;border-bottom:0;border-left:0;border-radius:.5rem .5rem 0 0}.vault-documents thead{display:none}.vault-documents table,.vault-documents tbody,.vault-documents tr,.vault-documents td{display:block;width:100%}.vault-documents tr{border-bottom:1px solid #eaecf0;padding:.8rem 1rem}.vault-documents td{border:0;padding:.3rem 0}.vault-documents td:nth-child(2):before{content:"Path: ";font-weight:750}.vault-documents td:nth-child(3):before{content:"Original: ";font-weight:750}.chat-page-heading{flex-direction:column}.interactive-chat{grid-template-columns:1fr}.chat-sessions{max-height:190px;overflow-y:auto;border-right:0;border-bottom:1px solid #e4e7ec}.chat-transcript{max-height:none}.incident-search{grid-template-columns:1fr}.insight-card header{flex-direction:column}}
