:root{--blue:#1466b4;--violet:#6a258f;--navy:#192537;--muted:#52637a;--soft:#f4f6fa;--stroke:#e0e7f0;--white:#fff;--green:#17674e;--amber:#915715;--radius:15px;color:var(--navy);background:var(--soft);font-family:Heebo,Assistant,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;font-size:14px}a{color:var(--blue);text-underline-offset:3px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}svg{flex:none}h1,h2,h3,p{margin:0}h1{letter-spacing:-.035em;font-size:clamp(27px,4vw,40px);font-weight:760;line-height:1.2}h2{letter-spacing:-.018em;font-size:17px}small,.muted{color:var(--muted)}input,textarea,select{width:100%;min-width:0;color:var(--navy);background:#fff;border:1px solid #d7e0eb;border-radius:9px;outline:none;padding:10px 11px}input:focus,textarea:focus,select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1466b41b}textarea{resize:vertical}button:focus-visible,a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}label{gap:7px;font-weight:650;display:grid}label input,label textarea,label select{font-weight:400}label.check{flex-direction:row;align-items:center;gap:9px;font-weight:500;display:flex}.check input{width:16px;height:16px;accent-color:var(--blue);margin:0}.shell{grid-template-columns:242px minmax(0,1fr);min-height:100dvh;display:grid}.sidebar{border-inline-end:1px solid var(--stroke);background:#fff;flex-direction:column;gap:22px;min-width:0;height:100dvh;padding:23px 16px 16px;display:flex;position:sticky;top:0}.brand{flex:none;align-items:center;gap:11px;padding:0 9px;display:flex}.brand img{object-fit:cover;border:1px solid var(--stroke);background:#eaf1fc;border-radius:11px;display:block}.brand div{justify-items:start;display:grid}.brand b{letter-spacing:.075em;font-size:17px;line-height:1.08}.brand span{color:var(--blue);letter-spacing:.21em;margin-top:4px;font-size:10px;font-weight:750}.workspace{border:1px solid var(--stroke);border-radius:12px;align-items:center;gap:10px;min-width:0;padding:10px;display:flex}.workspace div:nth-child(2){gap:4px;min-width:0;display:grid}.workspace strong{white-space:nowrap;font-size:12px}.workspace span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.workspace-icon,.avatar{width:32px;height:32px;color:var(--blue);background:#e8f1fc;border-radius:9px;flex:none;place-items:center;font-weight:750;display:grid}.avatar{color:var(--violet);background:#f1e7f7}.workspace-caret{color:#62748d;margin-inline-start:auto}.sidebar nav{gap:5px;display:grid}.sidebar nav button{color:#485a72;text-align:start;white-space:nowrap;background:0 0;border:0;border-radius:9px;align-items:center;gap:12px;min-height:44px;padding:10px 12px;font-size:13px;font-weight:650;display:flex}.sidebar nav button:hover{background:var(--soft)}.sidebar nav .nav-active{color:#0d589f;background:#e9f3ff}.sidebar-footer{margin-top:auto}.sidebar-footer button{color:var(--muted);background:0 0;border:0;margin-inline-start:auto;padding:4px}.sidebar-footer .workspace{border:0}.body-shell{min-width:0}.top{border-bottom:1px solid var(--stroke);background:#fff;justify-content:space-between;align-items:center;gap:10px;height:67px;padding:0 clamp(17px,3.2vw,42px);display:flex}.breadcrumb,.top-actions{color:var(--muted);align-items:center;gap:11px;font-size:13px;display:flex}.breadcrumb b{color:var(--navy)}.demo-tag,.date-tag,.chart-legend{border:1px solid var(--stroke);color:#405671;white-space:nowrap;background:#fff;border-radius:8px;align-items:center;gap:7px;padding:7px 10px;font-size:12px;font-weight:650;display:inline-flex}.demo-tag{color:var(--violet);background:#f8f0fb;border-color:#eee1f7}.content{width:100%;max-width:1530px;margin:auto;padding:33px clamp(16px,3.2vw,42px) 40px}.page-heading{justify-content:space-between;align-items:end;gap:16px;margin-bottom:25px;display:flex}.page-heading p{color:var(--muted);margin-top:8px;font-size:14px;line-height:1.5}.date-tag{padding:9px 12px}.panel{border:1px solid var(--stroke);border-radius:var(--radius);background:#fff;min-width:0;box-shadow:0 1px 2px #23364a06}.panel-heading{color:var(--navy);justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:16px;display:flex}.panel-heading>svg{color:var(--muted)}.panel-heading p{color:var(--muted);margin-top:5px;font-size:12px;line-height:1.5}.primary,.secondary,.icon-button,.text-button{white-space:nowrap;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:8px 13px;font-weight:650;text-decoration:none;display:inline-flex}.primary{background:var(--blue);color:#fff;border:1px solid var(--blue)}.primary:hover:not(:disabled){background:#0f5495}.secondary,.icon-button{color:#244363;background:#fff;border:1px solid #d9e3ef}.secondary:hover,.icon-button:hover{background:#f2f7fe}.icon-button{width:40px;min-height:39px;padding:7px}.text-button{color:var(--blue);text-align:start;background:0 0;border:0;min-height:34px;padding:5px 0}.text-button:hover{text-decoration:underline}.danger{color:#963a3b}.notice{color:#11558d;background:#eef6ff;border-radius:8px;padding:8px 11px;font-size:13px}.pending,.empty{color:var(--muted);padding:24px}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;display:grid}.metric{align-content:start;justify-items:start;gap:6px;min-height:147px;padding:17px;display:grid}.metric-icon{border-radius:9px;flex:none;place-items:center;width:37px;height:36px;font-style:normal;display:grid}.metric-icon.blue{color:var(--blue);background:#eaf3ff}.metric-icon.purple{color:var(--violet);background:#f5eafa}.metric-icon.cyan{color:#176b70;background:#e7f5f5}.metric-icon.violet{color:#5140a8;background:#efedfb}.metric p{color:#334b69;margin-top:3px;font-size:13px;font-weight:670}.metric strong{direction:ltr;font-size:30px;font-weight:760;line-height:1}.metric small{font-size:11px}.overview-grid{grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:15px;margin-top:16px;display:grid}.overview-grid.twin{grid-template-columns:1fr 1fr}.chart,.performance,.ranking,.kb,.connection,.evidence{padding:18px}.chart-legend i{background:#3083ce;border-radius:50%;width:9px;height:9px}.chart-body{gap:12px;height:181px;padding:4px 0 23px;display:flex}.chart-scale{height:100%;color:var(--muted);flex-direction:column;justify-content:space-between;font-size:10px;display:flex}.chart-grid{direction:rtl;background:repeating-linear-gradient(0deg,#e6edf5 0 1px,#0000 1px 25%);border-block-start:1px solid #e6edf5;flex:1;grid-template-columns:repeat(7,1fr);min-width:0;display:grid}.chart-col{flex-direction:column;justify-content:end;align-items:center;min-width:0;display:flex;position:relative}.bar{background:#83b7e7;border-radius:6px 6px 2px 2px;width:min(34px,52%);min-height:2px}.bar.last{background:var(--blue)}.chart-col span{color:var(--muted);white-space:nowrap;font-size:10px;position:absolute;bottom:-21px}.stat-line,.ranking-line,.connection-row{border-bottom:1px solid #edf1f6;justify-content:space-between;align-items:center;gap:9px;padding:9px 0;display:flex}.stat-line>span{color:#394e67;align-items:center;gap:8px;font-size:12px;display:flex}.performance .metric-icon{width:29px;height:29px}.performance .text-button{margin-top:9px}.ranking-line{font-size:13px}.ranking-line b{color:var(--blue)}.toolbar{flex-wrap:wrap;gap:9px;margin-bottom:15px;display:flex}.toolbar select{width:auto}.inline-notice{margin-bottom:12px}.search-box{color:#65788f;background:#fff;border:1px solid #dce5f0;border-radius:9px;align-items:center;gap:7px;padding:0 10px;display:flex}.search-box input{box-shadow:none;background:0 0;border:0;padding:10px 0}.search-box:focus-within{border-color:var(--blue)}.form-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.editor{gap:15px;margin-bottom:15px;padding:18px;display:grid}.editor .panel-heading{margin:0}.editor>button{justify-self:start}.source-list{display:grid}.source-row{border-top:1px solid #edf1f6;align-items:center;gap:10px;min-width:0;padding:11px 0;display:flex}.source-icon{color:#1466b4;background:#eaf3ff;border-radius:9px;flex:none;place-items:center;width:35px;height:35px;display:grid}.source-details{flex:1;gap:4px;min-width:0;display:grid}.source-details b{overflow-wrap:anywhere}.source-details span,.evidence-item span{color:var(--muted);font-size:12px}.source-row .secondary{min-height:33px}.state{white-space:nowrap;border-radius:100px;align-items:center;gap:5px;padding:4px 8px;font-size:11px;font-weight:650;display:inline-flex}.state.ai{color:var(--green);background:#e8f7f0}.state.human{color:var(--amber);background:#fdf0db}.state.closed{color:#4e627b;background:#edf2f7}.inbox{grid-template-columns:minmax(235px,34%) minmax(0,1fr);min-height:610px;display:grid;overflow:hidden}.thread-list{border-inline-end:1px solid var(--stroke);min-width:0}.list-tools{gap:11px;padding:13px;display:grid}.segmented{background:#eef3fa;border-radius:9px;gap:3px;padding:3px;display:flex}.segmented button{color:#52657f;background:0 0;border:0;border-radius:7px;flex:1;min-height:32px;font-weight:650}.segmented .current{color:var(--blue);background:#fff;box-shadow:0 1px 3px #1737541a}.thread{text-align:start;border:0;width:100%;color:var(--navy);background:#fff;border-block-start:1px solid #eef2f7;align-items:center;gap:9px;min-height:63px;padding:13px;display:flex}.thread.selected{background:#eaf4ff}.thread-avatar{width:35px;height:35px;color:var(--blue);background:#eef4fc;border-radius:50%;flex:none;place-items:center;display:grid}.thread-copy{flex:1;gap:4px;min-width:0;display:grid}.thread-copy span{white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:12px;overflow:hidden}.thread-time{color:#5c708b;white-space:nowrap;justify-items:end;gap:6px;font-size:11px;display:grid}.thread-time i{background:var(--violet);border-radius:50%;width:7px;height:7px}.thread-panel{grid-template-rows:auto minmax(350px,1fr) auto;min-width:0;display:grid}.thread-header,.thread-actions{align-items:center;gap:8px;display:flex}.thread-header{border-bottom:1px solid var(--stroke);justify-content:space-between;padding:13px}.thread-header h2{margin-bottom:5px}.thread-header .secondary{min-height:39px}.mobile-back{display:none}.messages,.play-history{background:#f4f8fd radial-gradient(#d7e5f1 1.05px,#0000 1.05px) 0 0/20px 20px;flex-direction:column;gap:12px;min-width:0;max-height:57vh;padding:17px;display:flex;overflow:auto}.message{overflow-wrap:anywhere;background:#e6f1ff;border:1px solid #d4e5f9;border-radius:12px;align-self:flex-end;max-width:min(92%,540px);padding:10px 12px}.message.inbound{background:#fff;border-color:#e0e9f1;align-self:flex-start}.message.note{background:#fff4d7;border-color:#f5dca1;align-self:center}.message-kind,.message-time{color:#4d617b;font-size:10px}.message p{white-space:pre-wrap;margin:4px 0;line-height:1.55}.composer{border-top:1px solid var(--stroke);gap:8px;padding:12px;display:grid}.composer-row{align-items:end;gap:8px;display:flex}.composer-tools{justify-content:space-between;gap:10px;display:flex}.composer button{flex:none}.composer textarea{min-height:44px}.note-active{color:var(--violet)}.thread-empty,.play-intro{color:var(--muted);align-content:center;place-items:center;gap:12px;min-height:300px;padding:23px;display:grid}.thread-empty{grid-row:span 3}.play-grid,.settings-grid{grid-template-columns:minmax(0,1.55fr) minmax(245px,1fr);align-items:start;gap:15px;display:grid}.play>.panel-heading{margin:0;padding:16px}.play-history{min-height:400px}.play-intro .metric-icon{width:48px;height:48px}.examples{flex-wrap:wrap;justify-content:center;gap:8px;max-width:470px;display:flex}.examples button{white-space:normal;font-size:12px}.evidence-item{border-top:1px solid #edf1f6;justify-items:start;gap:6px;padding:11px 0;display:grid}.evidence-item a{gap:5px;font-weight:650;display:flex}.product-image{object-fit:contain;border:1px solid var(--stroke);border-radius:8px}.settings-side{gap:14px;display:grid}.connection-row:last-child{border:0}.login-page{background:radial-gradient(ellipse at 75% 25%,#ddeafa,transparent 48%),radial-gradient(ellipse at 10% 90%,#f0e4f5,transparent 46%),var(--soft);place-items:center;min-height:100dvh;padding:18px;display:grid}.login-card{border:1px solid var(--stroke);background:#fff;border-radius:18px;gap:12px;width:min(100%,440px);padding:28px;display:grid;box-shadow:0 14px 55px #18344b12}.login-card .brand{margin-bottom:8px;padding:0}.login-card h1{font-size:28px}.login-card>p{color:var(--muted);line-height:1.55}.login-card form{gap:14px;margin-top:8px;display:grid}.login-icon{width:42px;height:42px;color:var(--blue);background:#e7f2fe;border-radius:10px;place-items:center;display:grid}.error{color:#983635}@media (max-width:1080px){.shell{grid-template-columns:200px minmax(0,1fr)}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:1fr}.overview-grid.twin{grid-template-columns:1fr 1fr}}@media (max-width:760px){.shell{padding-bottom:calc(62px + env(safe-area-inset-bottom,0px));display:block}.sidebar{z-index:5;height:auto;padding:4px 5px calc(4px + env(safe-area-inset-bottom,0px));border-inline-end:0;border-top:1px solid var(--stroke);position:fixed;inset:auto 0 0;box-shadow:0 -3px 16px #1925370d}.sidebar>.brand,.sidebar>.workspace,.sidebar-footer{display:none}.sidebar nav{grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;display:grid}.sidebar nav button{white-space:normal;text-align:center;flex-direction:column;justify-content:center;gap:4px;min-height:48px;padding:5px 1px;font-size:10px;display:flex}.top{height:55px}.breadcrumb{gap:7px}.breadcrumb b,.breadcrumb b+span{display:none}.content{padding-top:20px}.page-heading{flex-wrap:wrap;align-items:start;gap:8px;margin-bottom:17px}.date-tag{padding:5px 8px;font-size:11px}.metric-grid,.overview-grid{gap:9px}.metric{min-height:123px;padding:12px}.metric strong{font-size:26px}.overview-grid.twin,.settings-grid,.play-grid{grid-template-columns:1fr}.inbox{grid-template-columns:1fr;min-height:440px}.thread-list{border:0}.thread-panel,.inbox.mobile-thread .thread-list{display:none}.inbox.mobile-thread .thread-panel{grid-template-rows:auto minmax(260px,1fr) auto;display:grid}.mobile-back{display:inline-flex}.thread-header{gap:5px;padding:9px}.thread-header h2{font-size:15px}.thread-actions{margin-inline-start:auto}.thread-actions .icon-button{width:33px}.thread-actions .secondary{padding:6px 8px}.messages{max-height:50vh}.composer .primary span{display:none}.play-history{min-height:325px}.source-row{flex-wrap:wrap;gap:6px}.source-details{min-width:130px}.source-icon{display:none}.source-row>.state{order:4}.settings-side{gap:10px}}@media (max-width:365px){.form-grid{grid-template-columns:1fr}.top{padding-inline:10px}.thread-actions .secondary span{display:none}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;animation-duration:.01ms!important}}.attention-link{color:#77470a;white-space:nowrap;background:#fff8e9;border:1px solid #eddab5;border-radius:9px;align-items:center;gap:6px;padding:8px 10px;font-weight:700;display:inline-flex}.activity-alert{color:#164f82;background:#eaf3ff;border-bottom:1px solid #cce0f5;align-items:center;gap:12px;padding:10px clamp(16px,3.2vw,42px);display:flex}.activity-alert span{flex:1}.activity-alert button{color:inherit;background:0 0;border:0;font-weight:700}.quick-replies{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.quick-replies span{color:var(--muted);font-size:11px}.quick-replies button{border:1px solid var(--stroke);color:#24527b;background:#f6f9fd;border-radius:20px;padding:5px 9px;font-size:11px}.shell[data-theme=dark]{--navy:#eaf1fb;--muted:#b2c1d3;--soft:#101927;--stroke:#35465d;--white:#1b293a;color:var(--navy);background:var(--soft)}.shell[data-theme=dark] .sidebar,.shell[data-theme=dark] .top,.shell[data-theme=dark] .panel,.shell[data-theme=dark] .thread,.shell[data-theme=dark] .secondary,.shell[data-theme=dark] .icon-button,.shell[data-theme=dark] .date-tag,.shell[data-theme=dark] .chart-legend,.shell[data-theme=dark] .search-box,.shell[data-theme=dark] input,.shell[data-theme=dark] textarea,.shell[data-theme=dark] select{color:#eaf1fb;background:#1b293a;border-color:#35465d}.shell[data-theme=dark] .sidebar nav button,.shell[data-theme=dark] .stat-line>span,.shell[data-theme=dark] .metric p{color:#c8d6e7}.shell[data-theme=dark] .sidebar nav .nav-active,.shell[data-theme=dark] .thread.selected{color:#c7e3ff;background:#243f5e}.shell[data-theme=dark] .segmented{background:#25354a}.shell[data-theme=dark] .segmented .current{color:#fff;background:#3b506a}.shell[data-theme=dark] .segmented button{color:#c0cfe0}.shell[data-theme=dark] .messages,.shell[data-theme=dark] .play-history{background-color:#142232;background-image:radial-gradient(#2d4055 1px,#0000 1px)}.shell[data-theme=dark] .message{background:#264260;border-color:#385c7e}.shell[data-theme=dark] .message.inbound{background:#27374a;border-color:#3b5065}.shell[data-theme=dark] .message.note{background:#554724;border-color:#77633b}.shell[data-theme=dark] .message-kind,.shell[data-theme=dark] .message-time{color:#cad7e8}.shell[data-theme=dark] .quick-replies button{color:#d6eafa;background:#263a50}.shell[data-theme=dark] .search-box input{background:0 0}.shell[data-theme=dark] .thread{border-block-start-color:#35465d}.shell[data-theme=dark] .notice,.shell[data-theme=dark] .activity-alert{color:#d8ebff;background:#253f5d}.shell[data-theme=dark] .state.ai{color:#b8f3d7;background:#204b3c}.shell[data-theme=dark] .state.human{color:#ffe3a5;background:#594826}.shell[data-theme=dark] .state.closed{color:#e3eaf2;background:#35465d}.shell[data-theme=dark] .thread-time{color:#c0cfe0}.shell[data-theme=dark] .chart-grid{background:repeating-linear-gradient(0deg,#3b5066 0 1px,#0000 1px 25%);border-color:#3b5066}@media (max-width:760px){.attention-link span{display:none}.attention-link{justify-content:center;min-width:40px}.activity-alert{gap:7px;font-size:12px}.quick-replies{flex-wrap:nowrap;overflow-x:auto}.quick-replies span,.quick-replies button{white-space:nowrap}}.shell[data-theme=dark] .secondary:hover,.shell[data-theme=dark] .icon-button:hover,.shell[data-theme=dark] .sidebar nav button:hover{color:#fff;background:#30465f}.shell[data-theme=dark] .text-button{color:#9dd0ff}.shell[data-theme=dark] .danger{color:#ffb6b6}.shell[data-theme=dark] .attention-link{color:#ffe3a5;background:#594826;border-color:#806736}
