:root{--ink:#20262f;--muted:#68717d;--canvas:#f5f1ea;--paper:#fffdf9;--paper-strong:#fff;--line:#ded9d0;--line-soft:#ebe7df;--accent:#7359d9;--accent-dark:#533ba9;--accent-soft:#ece8ff;--mint:#cce9df;--mint-dark:#216b58;--peach:#ffddc9;--warning:#a65b18;--danger:#a33c47;--shadow:0 16px 40px #30271d14;--radius-lg:24px;--radius-md:16px;--radius-sm:10px;font-synthesis:none}*{box-sizing:border-box}html{background:var(--canvas);scroll-behavior:smooth}body{color:var(--ink);background:radial-gradient(circle at 86% 5%, #ded2ff8c, transparent 24rem), var(--canvas);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}:focus-visible{outline-offset:2px;outline:3px solid #7359d961}::selection{background:var(--accent-soft)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:100;background:var(--ink);color:#fff;border-radius:999px;padding:.7rem 1rem;position:fixed;top:-4rem;left:1rem}.skip-link:focus{top:1rem}.console-shell{grid-template-columns:248px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--line);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);z-index:20;background:#fffdf9e0;flex-direction:column;height:100vh;padding:1.25rem 1rem;display:flex;position:sticky;top:0}.brand{align-items:center;gap:.7rem;padding:.35rem .55rem 1.2rem;display:flex}.brand-mark{color:#fff;background:linear-gradient(140deg, var(--accent), #b865a6);border-radius:13px;place-items:center;width:38px;height:38px;font-weight:800;display:grid;box-shadow:0 8px 20px #7359d93d}.brand-copy strong,.brand-copy span{display:block}.brand-copy strong{letter-spacing:-.02em}.brand-copy span{color:var(--muted);margin-top:.08rem;font-size:.72rem}.nav-section-label{color:#8a8f97;letter-spacing:.12em;text-transform:uppercase;margin:1rem .65rem .45rem;font-size:.66rem;font-weight:750}.nav-list{gap:.2rem;display:grid}.nav-link{color:#525a65;border-radius:12px;align-items:center;gap:.7rem;padding:.63rem .72rem;font-size:.86rem;font-weight:600;display:flex}.nav-link:hover{color:var(--ink);background:#f1ede7}.nav-link.active{background:var(--accent-soft);color:var(--accent-dark)}.nav-icon{flex:0 0 18px;width:18px;height:18px}.tenant-card{border:1px solid var(--tenant-primary,var(--line));background:var(--paper);box-shadow:inset 3px 0 var(--tenant-secondary,transparent);border-radius:16px;margin-top:auto;padding:.8rem}.tenant-card-top{align-items:center;gap:.65rem;display:flex}.tenant-avatar{background:var(--peach);color:#502f20;border:2px solid var(--tenant-primary,transparent);width:34px;height:34px;box-shadow:inset 0 -3px var(--tenant-accent,transparent);border-radius:11px;place-items:center;font-size:.78rem;font-weight:800;display:grid;overflow:hidden}.tenant-avatar img{object-fit:cover;width:100%;height:100%}.tenant-name{font-size:.82rem;font-weight:750}.tenant-plan{color:var(--muted);margin-top:.1rem;font-size:.7rem}.main-column{min-width:0}.topbar{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);z-index:15;background:#f5f1eab8;border-bottom:1px solid #ded9d0cc;justify-content:space-between;align-items:center;height:70px;padding:0 clamp(1rem,3vw,2.5rem);display:flex;position:sticky;top:0}.topbar-context{align-items:center;gap:.7rem;display:flex}.mobile-menu{background:0 0;border:0;padding:.35rem;display:none}.sidebar-scrim{display:none}.status-dot{background:#3e9a78;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #3e9a781f}.topbar-label{color:var(--muted);font-size:.78rem}.topbar-actions{align-items:center;gap:.65rem;display:flex}.icon-button{border:1px solid var(--line);background:var(--paper);color:#59616c;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.user-pill{border:1px solid var(--line);background:var(--paper);border-radius:999px;align-items:center;gap:.55rem;padding:.3rem .55rem .3rem .3rem;display:flex}.user-avatar{background:var(--mint);width:30px;height:30px;color:var(--mint-dark);border-radius:50%;place-items:center;font-size:.7rem;font-weight:800;display:grid}.user-name{font-size:.78rem;font-weight:700}.page-content{width:min(1440px,100%);margin:0 auto;padding:clamp(1.25rem,3vw,2.5rem)}.page-header{justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:1.6rem;display:flex}.eyebrow{color:var(--accent-dark);text-transform:uppercase;letter-spacing:.11em;margin:0 0 .45rem;font-size:.7rem;font-weight:800}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.045em;margin-bottom:.45rem;font-size:clamp(1.7rem,3vw,2.35rem);line-height:1.06}h2{letter-spacing:-.025em}.page-lede{max-width:680px;color:var(--muted);margin-bottom:0;font-size:.92rem;line-height:1.55}.header-actions{flex-wrap:wrap;justify-content:flex-end;gap:.6rem;display:flex}.button{border:1px solid #0000;border-radius:12px;justify-content:center;align-items:center;gap:.45rem;min-height:40px;padding:.65rem .95rem;font-size:.8rem;font-weight:750;display:inline-flex}.button.primary{background:var(--ink);color:#fff;box-shadow:0 8px 18px #20262f29}.button.primary:hover{background:#343c48}.button.accent{background:var(--accent);color:#fff}.button.secondary{background:var(--paper);border-color:var(--line);color:var(--ink)}.button.ghost{color:var(--accent-dark);background:0 0}.button.danger{background:var(--danger);color:#fff}.button.destructive{color:var(--danger)}.button:disabled{opacity:.55;cursor:not-allowed}.conversation-actions{flex-wrap:wrap;align-items:center;gap:.4rem;min-width:210px;display:flex}.conversation-actions .button{min-height:34px;padding:.45rem .62rem;font-size:.7rem}.grid{gap:1rem;display:grid}.grid.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.dashboard{grid-template-columns:minmax(0,1.45fr) minmax(290px,.75fr);margin-top:1rem}.stack{grid-template-columns:minmax(0,1fr);gap:1rem;display:grid}.panel{border:1px solid var(--line);border-radius:var(--radius-md);background:#fffdf9e6;box-shadow:0 8px 30px #30271d0a}.panel-pad{padding:1.1rem}.panel-header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;display:flex}.panel-title{margin:0;font-size:.94rem}.panel-subtitle{color:var(--muted);margin:.2rem 0 0;font-size:.73rem}.metric-card{min-height:126px;padding:1rem;position:relative;overflow:hidden}.metric-card:after{content:"";background:var(--metric-tint,var(--accent-soft));border-radius:50%;width:90px;height:90px;position:absolute;bottom:-34px;right:-20px}.metric-label{color:var(--muted);font-size:.75rem;font-weight:650}.metric-value{letter-spacing:-.05em;margin-top:.7rem;font-size:1.75rem;font-weight:800}.metric-note{color:var(--mint-dark);margin-top:.3rem;font-size:.7rem;font-weight:700}.metric-note.muted{color:var(--muted)}.badge{white-space:nowrap;border-radius:999px;align-items:center;gap:.35rem;width:fit-content;padding:.3rem .55rem;font-size:.67rem;font-weight:800;display:inline-flex}.badge.positive{color:#216b58;background:#def3eb}.badge.warning{color:#985312;background:#fff0dc}.badge.neutral{color:#626872;background:#eeeae4}.badge.critical{color:var(--danger);background:#fde7e9}.badge.info{background:var(--accent-soft);color:var(--accent-dark)}.tiny-dot{background:currentColor;border-radius:50%;width:6px;height:6px}.table-wrap{overflow-x:auto}.data-table{border-collapse:collapse;width:100%;min-width:680px}.data-table th{text-align:left;color:#858a92;letter-spacing:.08em;text-transform:uppercase;border-bottom:1px solid var(--line-soft);padding:.72rem 1rem;font-size:.65rem}.data-table td{border-bottom:1px solid var(--line-soft);vertical-align:middle;padding:.85rem 1rem;font-size:.8rem}.data-table tbody tr:last-child td{border-bottom:0}.data-table tbody tr:hover{background:#fbf9f5}.cell-title{font-weight:750}.cell-subtitle{color:var(--muted);margin-top:.18rem;font-size:.7rem}.toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;margin-bottom:1rem;display:flex}.search{flex:1;min-width:min(320px,100%);max-width:460px;position:relative}.search input{border:1px solid var(--line);background:var(--paper);width:100%;height:42px;color:var(--ink);border-radius:12px;padding:0 1rem 0 2.45rem}.search svg{color:#858b94;position:absolute;top:.73rem;left:.82rem}.select,.input,.textarea{border:1px solid var(--line);background:var(--paper-strong);width:100%;color:var(--ink);border-radius:12px}.select,.input{height:42px;padding:0 .8rem}.textarea{resize:vertical;min-height:160px;padding:.85rem;line-height:1.55}.field{gap:.4rem;display:grid}.field label,.field-label{color:#4e5660;font-size:.72rem;font-weight:750}.field-hint{color:var(--muted);font-size:.68rem;line-height:1.4}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;display:grid}.span-two{grid-column:1/-1}.segmented{border:1px solid var(--line);background:var(--paper);border-radius:12px;gap:.15rem;padding:.2rem;display:inline-flex}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:9px;padding:.48rem .7rem;font-size:.72rem;font-weight:750}.segmented button.active{background:var(--ink);color:#fff}.progress{background:#ece8e0;border-radius:999px;height:7px;overflow:hidden}.progress>span{border-radius:inherit;background:linear-gradient(90deg, var(--accent), #b46ca5);height:100%;display:block}.divider{background:var(--line-soft);height:1px}.empty-state{text-align:center;color:var(--muted);padding:3rem 1.5rem}.empty-state strong{color:var(--ink);margin-bottom:.35rem;display:block}.callout{border-radius:var(--radius-md);background:linear-gradient(135deg,#f4f1ff,#fffaf3);border:1px solid #d8d0f7;padding:1rem}.callout-title{margin-bottom:.3rem;font-size:.82rem;font-weight:800}.callout p{color:var(--muted);margin:0;font-size:.75rem;line-height:1.5}.auth-shell{grid-template-columns:minmax(0,1.1fr) minmax(420px,.9fr);min-height:100vh;display:grid}.auth-story{color:#fff;background:#242433;flex-direction:column;justify-content:space-between;padding:clamp(2rem,6vw,5rem);display:flex;position:relative;overflow:hidden}.auth-story:before,.auth-story:after{content:"";filter:blur(2px);border-radius:50%;position:absolute}.auth-story:before{background:#7359d980;width:380px;height:380px;top:-120px;right:-120px}.auth-story:after{background:#cce9df47;width:280px;height:280px;bottom:-90px;left:-120px}.auth-brand,.auth-quote{z-index:1;position:relative}.auth-brand{align-items:center;gap:.8rem;font-weight:800;display:flex}.auth-quote{max-width:620px}.auth-quote h1{letter-spacing:-.06em;font-size:clamp(2.4rem,5vw,4.5rem);line-height:.98}.auth-quote p{color:#cac8d5;max-width:500px;line-height:1.6}.auth-form-side{background:var(--paper);place-items:center;padding:2rem;display:grid}.auth-card{width:min(420px,100%)}.auth-card h2{margin-bottom:.45rem;font-size:1.75rem}.auth-card>p{color:var(--muted);font-size:.86rem;line-height:1.5}.auth-form{gap:.9rem;margin-top:1.5rem;display:grid}.auth-error{color:var(--danger);background:#fff2f3;border:1px solid #efc4c8;border-radius:12px;padding:.75rem .85rem;font-size:.72rem;line-height:1.45}.auth-divider{color:#90949a;align-items:center;gap:.7rem;margin:.2rem 0;font-size:.7rem;display:flex}.auth-divider:before,.auth-divider:after{content:"";background:var(--line);flex:1;height:1px}.auth-sso-warning{margin-top:1rem}.full{width:100%}.auth-footnote{color:var(--muted);text-align:center;margin-top:1.4rem;font-size:.7rem}.sso-loader{border:4px solid var(--accent-soft);border-top-color:var(--accent);border-radius:50%;width:54px;height:54px;margin:0 auto 1.2rem;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.agent-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.agent-card{gap:.9rem;padding:1rem;transition:transform .2s,box-shadow .2s;display:grid}.agent-card:hover{box-shadow:var(--shadow);transform:translateY(-2px)}.agent-card-head{justify-content:space-between;gap:.8rem;display:flex}.agent-orb{background:linear-gradient(145deg, var(--accent-soft), var(--peach));width:46px;height:46px;color:var(--accent-dark);border-radius:16px;place-items:center;font-weight:850;display:grid}.agent-card h2{margin-bottom:.3rem;font-size:1rem}.agent-card p{color:var(--muted);min-height:2.3rem;margin-bottom:0;font-size:.76rem;line-height:1.5}.agent-meta{flex-wrap:wrap;gap:.4rem;display:flex}.mini-chip{color:#666c74;background:#f0ece5;border-radius:999px;padding:.25rem .45rem;font-size:.64rem;font-weight:700}.agent-card-foot{border-top:1px solid var(--line-soft);color:var(--muted);justify-content:space-between;align-items:center;padding-top:.8rem;font-size:.68rem;display:flex}.persona-layout{grid-template-columns:minmax(0,1fr) 310px;gap:1rem;display:grid}.persona-tabs{border-bottom:1px solid var(--line-soft);gap:.25rem;padding:.7rem .8rem 0;display:flex;overflow-x:auto}.persona-tab{color:var(--muted);white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;padding:.65rem .72rem;font-size:.75rem;font-weight:750}.persona-tab.active{color:var(--accent-dark);border-bottom-color:var(--accent)}.editor-area{padding:1rem}.editor-area .textarea{min-height:360px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem}.language-checks{flex-wrap:wrap;gap:.45rem;display:flex}.language-check{border:1px solid var(--line);border-radius:10px;align-items:center;gap:.4rem;padding:.45rem .65rem;font-size:.72rem;display:flex}.version-row{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;padding:.65rem 0;font-size:.75rem;display:flex}.version-row:last-child{border-bottom:0}.dropzone{text-align:center;background:#fbf9ff;border:1.5px dashed #bbb2db;border-radius:18px;padding:2rem}.dropzone input[type=file]{max-width:100%}.dropzone-icon{background:var(--accent-soft);width:48px;height:48px;color:var(--accent-dark);border-radius:15px;place-items:center;margin:0 auto .8rem;display:grid}.preview-list{gap:.65rem;display:grid}.preview-item{border:1px solid var(--line-soft);background:#fff;border-radius:12px;grid-template-columns:30px minmax(0,1fr);gap:.7rem;padding:.8rem;display:grid}.preview-number{background:var(--mint);width:28px;height:28px;color:var(--mint-dark);border-radius:9px;place-items:center;font-size:.7rem;font-weight:800;display:grid}.preview-item strong{font-size:.77rem}.preview-item p{color:var(--muted);margin:.2rem 0 0;font-size:.7rem;line-height:1.45}.chat-layout{grid-template-columns:260px minmax(0,1fr);min-height:650px;display:grid}.chat-settings{border-right:1px solid var(--line-soft);background:#fbf9f5;padding:1rem}.chat-window{flex-direction:column;min-width:0;display:flex}.chat-messages{flex-direction:column;flex:1;gap:.8rem;min-height:480px;padding:1.2rem;display:flex;overflow-y:auto}.chat-bubble{border-radius:17px;max-width:min(72%,620px);padding:.75rem .9rem;font-size:.8rem;line-height:1.5}.chat-bubble.customer{background:var(--ink);color:#fff;border-bottom-right-radius:5px;align-self:flex-end}.chat-bubble.agent{background:var(--accent-soft);color:#3d3267;border-bottom-left-radius:5px;align-self:flex-start}.chat-window .chat-bubble.agent{white-space:pre-wrap}.chat-bubble.system{color:var(--muted);background:#f0ece5;align-self:center;font-size:.68rem}.chat-time{opacity:.68;margin-top:.35rem;font-size:.6rem;display:block}.chat-composer{border-top:1px solid var(--line-soft);gap:.65rem;padding:1rem;display:flex}.chat-composer textarea{resize:none;flex:1;min-height:44px;max-height:130px;padding:.7rem .8rem}.inbox-layout{grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr);min-height:620px;display:grid}.inbox-list{border-right:1px solid var(--line-soft)}.inbox-item{border:0;border-bottom:1px solid var(--line-soft);text-align:left;background:0 0;gap:.35rem;width:100%;padding:.9rem 1rem;display:grid}.inbox-item:hover,.inbox-item.active{background:#f5f1ff}.inbox-item-top{justify-content:space-between;gap:.6rem;display:flex}.inbox-detail{padding:1.2rem}.timeline{gap:1rem;margin-top:1rem;display:grid}.timeline-item{grid-template-columns:34px minmax(0,1fr);gap:.75rem;display:grid}.timeline-mark{background:var(--accent-soft);width:30px;height:30px;color:var(--accent-dark);border-radius:10px;place-items:center;font-size:.68rem;font-weight:800;display:grid}.timeline-copy{border-bottom:1px solid var(--line-soft);padding-bottom:1rem;font-size:.78rem;line-height:1.5}.timeline-copy span{color:var(--muted);margin-top:.25rem;font-size:.67rem;display:block}.integration-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;display:grid}.integration-card{flex-direction:column;min-height:190px;padding:1rem;display:flex}.integration-logo{background:var(--accent-soft);width:42px;height:42px;color:var(--accent-dark);border-radius:14px;place-items:center;font-weight:850;display:grid}.integration-card h2{margin:.9rem 0 .3rem;font-size:.94rem}.integration-card p{color:var(--muted);font-size:.74rem;line-height:1.5}.integration-card .button{align-self:flex-start;margin-top:auto}.api-state{text-align:center;min-height:280px;color:var(--muted);align-content:center;place-items:center;gap:.75rem;padding:2rem;display:grid}.api-state strong{color:var(--ink);font-size:1rem}.api-state .sso-loader{margin:0 0 .5rem}.preview-code{color:#f2edff;white-space:pre-wrap;overflow-wrap:anywhere;background:#17151d;border-radius:14px;max-height:420px;padding:1rem;font:.72rem/1.55 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.agent-selector{min-width:min(260px,100%);color:var(--muted);letter-spacing:.08em;text-transform:uppercase;gap:.3rem;font-size:.66rem;font-weight:800;display:grid}.agent-selector .select{text-transform:none;letter-spacing:normal;min-width:230px;color:var(--ink);font-weight:700}.publish-banner{border-radius:var(--radius-md);background:linear-gradient(120deg,#fff5e6,#fffdf9);border:1px solid #e4cfae;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;padding:.9rem 1rem;display:flex}.publish-banner.current{background:linear-gradient(120deg,#effaf5,#fffdf9);border-color:#c9e4d9}.publish-banner.failed{background:#fff7f8;border-color:#e8c0c5}.publish-banner>div{align-items:center;gap:.8rem;min-width:0;display:flex}.publish-banner strong,.publish-banner span{display:block}.publish-banner strong{font-size:.82rem}.publish-banner div>span{color:var(--muted);margin-top:.18rem;font-size:.7rem;line-height:1.4}.publish-role-note{color:var(--warning);white-space:nowrap;font-size:.7rem;font-weight:750}.knowledge-metrics{margin-bottom:1rem}.knowledge-library-layout{grid-template-columns:245px minmax(0,1fr);align-items:start;gap:1rem;display:grid}.knowledge-library-main{min-width:0}.collection-sidebar{border:1px solid var(--line);border-radius:var(--radius-md);background:#fffdf9eb;position:sticky;top:86px;overflow:hidden;box-shadow:0 8px 30px #30271d0a}.collection-head{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:.8rem;min-height:67px;padding:.85rem 1rem;display:flex}.collection-head span,.collection-head small{display:block}.collection-head span{font-size:.78rem;font-weight:800}.collection-head small{color:var(--muted);margin-top:.15rem;font-size:.65rem}.collection-add{border:1px solid var(--line);background:var(--paper);width:30px;height:30px;color:var(--accent-dark);border-radius:10px;font-size:1.1rem}.collection-create{border-bottom:1px solid var(--line-soft);background:#fbf9f5;grid-template-columns:minmax(0,1fr) auto;gap:.4rem;padding:.7rem;display:grid}.collection-list{gap:.2rem;padding:.45rem;display:grid}.collection-row-wrap{border-radius:11px;position:relative}.collection-row-wrap.active{background:var(--accent-soft)}.collection-row{width:100%;min-height:54px;color:var(--ink);text-align:left;background:0 0;border:0;border-radius:11px;justify-content:space-between;align-items:center;gap:.7rem;padding:.58rem .65rem;display:flex}.collection-row:hover,.collection-row.active{background:var(--accent-soft)}.collection-row span,.collection-row strong,.collection-row small{min-width:0;display:block}.collection-row strong{text-overflow:ellipsis;white-space:nowrap;max-width:135px;font-size:.72rem;overflow:hidden}.collection-row small{max-width:145px;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin-top:.15rem;font-size:.61rem;overflow:hidden}.collection-row b{min-width:24px;color:var(--muted);text-align:center;background:#ece8e0;border-radius:999px;padding:.2rem .4rem;font-size:.61rem}.collection-actions{gap:.55rem;padding:0 .65rem .45rem;display:flex}.collection-actions button,.collection-edit button{color:var(--accent-dark);background:0 0;border:0;padding:0;font-size:.61rem;font-weight:750}.collection-edit{gap:.35rem;padding:.5rem;display:grid}.collection-edit .input{height:34px}.collection-error{color:var(--danger);margin:.3rem .7rem .8rem;font-size:.66rem;line-height:1.4}.knowledge-filters{gap:.55rem;display:flex}.knowledge-filters .select{min-width:145px}.knowledge-data-table{min-width:1180px}.knowledge-data-table th:nth-child(7),.knowledge-data-table td:nth-child(7){white-space:nowrap;min-width:150px}.knowledge-data-table th:last-child,.knowledge-data-table td:last-child{background:var(--paper);min-width:220px;position:sticky;right:0;box-shadow:-10px 0 16px #fffdf9d6}.knowledge-data-table tbody tr:hover td:last-child{background:#fbf9f5}.source-type,.category-chip{text-transform:capitalize;border-radius:999px;padding:.28rem .48rem;font-size:.64rem;font-weight:800;display:inline-flex}.source-type{color:#5f6570;background:#f0ece5}.category-chip.general{color:#55606d;background:#edf0f4}.category-chip.product{background:var(--accent-soft);color:var(--accent-dark)}.category-chip.policy{color:var(--warning);background:#fff0dc}.status-stack{gap:.25rem;display:grid}.pending-label{color:var(--warning);white-space:nowrap;font-size:.6rem;font-weight:750}.button.compact{min-height:32px;padding:.36rem .55rem;font-size:.66rem}.knowledge-row-actions{white-space:nowrap;justify-content:flex-end;align-items:center;gap:.15rem;display:flex}.agent-card-actions{align-items:center;gap:.2rem;display:flex}.dialog-backdrop{z-index:60;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#16191f7a;place-items:center;padding:clamp(1rem,4vw,3rem);display:grid;position:fixed;inset:0}.knowledge-dialog{border:1px solid var(--line);background:var(--paper);border-radius:22px;width:min(820px,100%);max-height:calc(100vh - 2rem);overflow:auto;box-shadow:0 24px 80px #16191f47}.compact-dialog{width:min(560px,100%)}.dialog-header{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:flex-start;gap:1rem;padding:1.2rem 1.3rem;display:flex}.dialog-header h2{margin-bottom:.35rem;font-size:1.25rem}.dialog-header p:not(.eyebrow){max-width:650px;color:var(--muted);margin:0;font-size:.73rem;line-height:1.5}.dialog-body{padding:1.2rem 1.3rem}.source-choice{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.source-choice button{border:1px solid var(--line);color:var(--muted);text-align:left;background:#fff;border-radius:14px;align-items:center;gap:.7rem;padding:.85rem;display:flex}.source-choice button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-dark);box-shadow:inset 0 0 0 1px var(--accent)}.source-choice span,.source-choice strong,.source-choice small{display:block}.source-choice strong{color:var(--ink);font-size:.78rem}.source-choice small{margin-top:.15rem;font-size:.65rem}.file-queue{gap:.4rem;display:grid}.file-queue-row{border:1px solid var(--line-soft);background:#fff;border-radius:11px;justify-content:space-between;align-items:center;gap:.8rem;min-height:55px;padding:.65rem .75rem;display:flex}.file-queue-row strong,.file-queue-row span{display:block}.file-queue-row strong{font-size:.72rem}.file-queue-row div>span{color:var(--muted);margin-top:.16rem;font-size:.62rem}.file-state{color:var(--muted);white-space:nowrap;background:#eeeae4;border-radius:999px;padding:.28rem .5rem;font-size:.62rem;font-weight:800}.file-state.previewing,.file-state.confirming{color:var(--warning);background:#fff0dc}.file-state.complete{color:var(--mint-dark);background:#def3eb}.file-state.failed{color:var(--danger);background:#fde7e9}.field-error{color:var(--danger);font-size:.64rem;line-height:1.4}.crawl-boundary{color:var(--mint-dark);background:#f1fbf7;border:1px solid #c9e4d9;border-radius:13px;align-items:flex-start;gap:.7rem;padding:.85rem;display:flex}.crawl-boundary strong,.crawl-boundary span{display:block}.crawl-boundary strong{font-size:.76rem}.crawl-boundary span{color:var(--muted);margin-top:.25rem;font-size:.68rem;line-height:1.45}.success-callout{background:#f1fbf7;border-color:#b9dfd0}.error-callout{background:#fff6f7;border-color:#e4b7bd}.copy-guarantee{background:#f1fbf7;border:1px solid #c9e4d9;border-radius:13px;padding:.85rem}.copy-guarantee strong,.copy-guarantee span{display:block}.copy-guarantee strong{color:var(--mint-dark);font-size:.76rem}.copy-guarantee span{color:var(--muted);margin-top:.25rem;font-size:.68rem;line-height:1.45}.source-detail-dialog{width:min(900px,100%)}.source-dialog-state{min-height:190px;color:var(--muted);text-align:center;align-content:center;place-items:center;gap:.65rem;display:grid}.source-dialog-state strong{color:var(--ink);font-size:.88rem}.source-dialog-state span:not(.sso-loader){max-width:420px;font-size:.72rem;line-height:1.5}.source-detail-heading,.source-dialog-footer{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.source-detail-heading>div,.source-dialog-actions,.source-dialog-footer{align-items:center;gap:.45rem;display:flex}.source-dialog-footer{justify-content:flex-end;padding-top:.15rem}.source-section-label{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:.4rem;font-size:.64rem;font-weight:800}.source-content{border:1px solid var(--line-soft);min-height:140px;max-height:430px;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;background:#f8f5ef;border-radius:14px;margin:0;padding:1rem;font:.75rem/1.65 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}.source-content-editor{resize:vertical;height:auto;min-height:300px;padding-top:.75rem;font:.76rem/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}.source-metadata{grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin:0;display:grid}.source-metadata>div{border:1px solid var(--line-soft);background:#fff;border-radius:12px;min-width:0;padding:.72rem .8rem}.source-metadata dt{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;margin-bottom:.28rem;font-size:.61rem;font-weight:800}.source-metadata dd{overflow-wrap:anywhere;color:var(--ink);text-transform:capitalize;margin:0;font-size:.72rem;line-height:1.45}.source-metadata .metadata-mono{text-transform:none;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.65rem}@media (max-width:1080px){.grid.metrics,.agent-cards,.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.persona-layout{grid-template-columns:1fr}.persona-layout>aside{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.knowledge-library-layout{grid-template-columns:210px minmax(0,1fr)}}@media (max-width:820px){.console-shell{grid-template-columns:1fr}.sidebar{width:264px;box-shadow:var(--shadow);transition:transform .2s;position:fixed;inset:0 auto 0 0;transform:translate(-105%)}.sidebar.open{transform:translate(0)}.sidebar-scrim{z-index:19;background:#20262f61;border:0;border-radius:0;display:block;position:fixed;inset:0}.mobile-menu{place-items:center;display:grid}.topbar{height:62px}.grid.dashboard,.chat-layout,.inbox-layout{grid-template-columns:1fr}.chat-settings{border-right:0;border-bottom:1px solid var(--line-soft)}.inbox-list{border-right:0;border-bottom:1px solid var(--line-soft);max-height:310px;overflow-y:auto}.auth-shell{grid-template-columns:1fr}.auth-story{min-height:300px}.auth-quote h1{font-size:2.5rem}.knowledge-library-layout{grid-template-columns:1fr}.collection-sidebar{position:static}.collection-list{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-row:first-child{grid-column:1/-1}.publish-banner{align-items:flex-start}}@media (max-width:620px){.page-content{padding:1rem}.page-header{display:grid}.header-actions{justify-content:flex-start}.grid.metrics,.grid.two,.grid.three,.agent-cards,.integration-grid,.form-grid{grid-template-columns:minmax(0,1fr)}.span-two{grid-column:auto}.persona-layout>aside{grid-template-columns:1fr}.user-name,.topbar-label{display:none}.chat-bubble{max-width:88%}.auth-story{min-height:260px;padding:1.5rem}.auth-quote p{font-size:.8rem}.auth-form-side{padding:1.4rem}.publish-banner,.publish-banner>div{align-items:flex-start;display:grid}.publish-banner .button{width:100%}.knowledge-filters,.knowledge-toolbar{align-items:stretch}.knowledge-filters{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.knowledge-filters .select{min-width:0}.collection-list,.source-choice,.source-metadata{grid-template-columns:1fr}.source-detail-heading{align-items:flex-start}.source-detail-heading,.source-dialog-footer{flex-wrap:wrap}.dialog-backdrop{padding:.5rem}.knowledge-dialog{border-radius:17px;max-height:calc(100vh - 1rem)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.conversation-workspace{grid-template-columns:minmax(240px,.65fr) minmax(0,1.65fr);min-height:650px;display:grid}.conversation-list{border-right:1px solid var(--line-soft);min-width:0}.conversation-filters{border-bottom:1px solid var(--line-soft);gap:.65rem;padding:1rem;display:grid}.conversation-filters .search-field,.conversation-filters .select{width:100%;min-width:0}.conversation-list-items{max-height:780px;overflow:auto}.conversation-list .inbox-item{overflow-wrap:anywhere;width:100%}.conversation-list .inbox-item-top{flex-wrap:wrap;gap:.5rem}.conversation-detail{flex-direction:column;gap:.8rem;min-width:0;padding:1.2rem;display:flex}.conversation-detail-header{overflow-wrap:anywhere;justify-content:space-between;align-items:flex-start;gap:.8rem;display:flex}.conversation-detail-header h2{margin:0;font-size:1.15rem}.conversation-detail-header p{margin:.3rem 0 0}.conversation-controls{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.conversation-usage{background:var(--surface-soft,#f5f3ef);color:var(--muted);border-radius:10px;flex-wrap:wrap;gap:.5rem 1rem;padding:.7rem;font-size:.74rem;display:flex}.conversation-transcript{border:1px solid var(--line-soft);border-radius:12px;height:min(50vh,560px);min-height:280px;overflow-y:auto}.conversation-message-content{white-space:pre-wrap;overflow-wrap:anywhere}.conversation-sender{margin-bottom:.35rem;font-size:.7rem;display:block}.chat-bubble.support{color:#204f43;background:#e3f2ed;border-bottom-left-radius:5px;align-self:flex-start}.conversation-composer{gap:.5rem;display:grid}.conversation-composer label{font-size:.8rem;font-weight:600}.conversation-composer .textarea{min-height:90px}.conversation-composer .button{justify-self:start}.conversation-record-actions{border-top:1px solid var(--line-soft);padding-top:.8rem;font-size:.75rem}.conversation-record-actions summary{cursor:pointer;color:var(--muted);margin-bottom:.5rem}@media (max-width:800px){.conversation-workspace{grid-template-columns:1fr}.conversation-list{border-right:0;border-bottom:1px solid var(--line-soft)}.conversation-list-items{max-height:230px}.conversation-detail{padding:.85rem}.conversation-detail-header{flex-wrap:wrap}}.conversation-usage-details{color:var(--muted);font-size:.73rem}.conversation-usage-details summary{cursor:pointer}.conversation-usage-details dl{grid-template-columns:auto 1fr;gap:.3rem 1rem;display:grid}.conversation-usage-details dd{margin:0}
