:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182438;background:#f5f7fb}*{box-sizing:border-box}body{margin:0}a{color:#315bbc;text-decoration:none}a:hover{text-decoration:underline}header{display:flex;align-items:center;gap:2rem;justify-content:space-between;padding:1rem max(1.5rem,calc((100vw - 1000px)/2));background:#fff;border-bottom:1px solid #e0e6f0}header nav{display:flex;gap:1.25rem;flex-wrap:wrap}.brand{font-weight:750;font-size:1.2rem;color:#182438}main{max-width:1000px;margin:2.5rem auto;padding:0 1.5rem 4rem}.narrow{max-width:420px;margin:10vh auto;background:#fff;padding:2rem;border:1px solid #e0e6f0;border-radius:12px}h1{font-size:2rem;margin:.2rem 0 .4rem}h2{font-size:1.2rem;margin:.2rem 0 1rem}p{line-height:1.55}.muted,small{color:#69788d}section{margin:2rem 0}.card{background:#fff;border:1px solid #e0e6f0;border-radius:12px;padding:1.5rem;box-shadow:0 3px 12px #172b4d08}form{margin:0}label{display:block;font-weight:600;margin:1rem 0 .5rem}input:not([type=checkbox]),textarea{display:block;width:100%;margin-top:.4rem;padding:.7rem .8rem;border:1px solid #b9c4d5;border-radius:7px;background:#fff;color:#182438;font:inherit}textarea{resize:vertical;line-height:1.45}fieldset{border:0;padding:0;margin:1.2rem 0}legend{font-weight:600;margin-bottom:.4rem}.check{font-weight:400;display:block;margin:.5rem 0;line-height:1.45}.check input{margin-right:.5rem}button{background:#315bbc;color:#fff;border:0;border-radius:7px;padding:.68rem 1rem;font:inherit;font-weight:650;cursor:pointer}button:hover{background:#224ba9}button.secondary{background:#eef2fa;color:#315bbc}button.link{background:none;color:#315bbc;padding:0}.list{border:1px solid #e0e6f0;border-radius:10px;overflow:hidden;background:#fff}.list-item{display:flex;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid #e0e6f0}.list-item:last-child{border-bottom:0}.list-item span{color:#69788d}.conversation{display:grid;gap:1rem}.message{background:#fff;border:1px solid #e0e6f0;border-radius:10px;padding:1.2rem}.message-head{display:flex;justify-content:space-between;gap:1rem;padding-bottom:.6rem;border-bottom:1px solid #edf0f5}.message .body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;padding-top:.8rem}.focus{display:flex;gap:.6rem;flex-wrap:wrap;font-size:.9rem}.assignment{display:flex;align-items:center;justify-content:space-between;padding:.8rem 0;border-bottom:1px solid #e0e6f0}.assignment-entry{border-bottom:1px solid #e0e6f0}.assignment-entry .assignment{border-bottom:0}.trigger{padding:0 0 1rem}.trigger summary{cursor:pointer;color:#315bbc;font-weight:600}.trigger textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9rem}.key{padding:1rem;border:1px solid #b9c4d5;border-radius:7px;background:#f5f7fb;overflow-wrap:anywhere;white-space:pre-wrap}@media(max-width:680px){header{display:block}header nav{margin:1rem 0}.list-item{display:block}.list-item span{display:block;margin-top:.3rem}}
.agent-actions{display:flex;gap:.5rem;flex-wrap:wrap}
.agent-entry{padding:.8rem 0;border-bottom:1px solid #e0e6f0}.agent-entry .assignment{padding:0;border:0}.agent-pending{margin:.6rem 0 0}.agent-pending ul{margin:.4rem 0 0;padding-left:1.25rem}
.markdown{line-height:1.6;overflow-wrap:anywhere}.markdown>:first-child{margin-top:.8rem}.markdown>:last-child{margin-bottom:0}.markdown h1{font-size:1.45rem}.markdown h2{font-size:1.25rem}.markdown h3{font-size:1.1rem}.markdown h1,.markdown h2,.markdown h3{margin:1.2rem 0 .5rem}.markdown ul,.markdown ol{padding-left:1.6rem}.markdown li{margin:.25rem 0}.markdown blockquote{margin:1rem 0;padding:.1rem 1rem;border-left:3px solid #b9c4d5;color:#53647b}.markdown pre{overflow-x:auto;padding:1rem;border-radius:7px;background:#f5f7fb;white-space:pre}.markdown code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em}.markdown :not(pre)>code{padding:.15rem .3rem;border-radius:4px;background:#f5f7fb}.markdown table{display:block;overflow-x:auto;border-collapse:collapse}.markdown th,.markdown td{padding:.5rem .75rem;border:1px solid #e0e6f0;text-align:left}.markdown img{max-width:100%;height:auto}
.delete-panel{margin:2rem 0;padding:1rem 1.25rem;border:1px solid #e0e6f0;border-radius:10px;background:#fff}.delete-panel summary{cursor:pointer;font-weight:600}.delete-panel p{margin:.8rem 0}.delete-panel .check{margin:.8rem 0}.danger{background:#a52d3d}.danger:hover{background:#84202f}
input[type=hidden]{display:none}
.conversation{display:flex;flex-direction:column;align-items:stretch;gap:1rem}.message{width:min(85%,760px);align-self:flex-start}.message.human{align-self:flex-end;background:#eaf1ff;border-color:#cfdbf4}.message-head{align-items:baseline}.message .focus{margin:.8rem 0 0;color:#69788d}.focus-toggle{margin-top:.7rem;padding:0;background:none;color:#315bbc;font-size:.9rem}.focus-toggle:hover{background:none;color:#224ba9;text-decoration:underline}.focus-toggle[aria-pressed=true]{color:#a52d3d}.chat-composer{margin-top:2rem}.focus-chips{display:flex;flex-wrap:wrap;gap:.5rem}.focus-chips:empty{display:none}.focus-chip{max-width:100%;padding:.4rem .65rem;background:#eef2fa;color:#315bbc;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.focus-chip:hover{background:#dde7f7}.mention-field{position:relative}.mention-menu{position:absolute;bottom:calc(100% + .25rem);left:0;right:0;z-index:5;max-height:15rem;overflow-y:auto;background:#fff;border:1px solid #b9c4d5;border-radius:8px;box-shadow:0 8px 24px #172b4d26}.mention-menu[hidden]{display:none}.mention-menu button{display:block;width:100%;padding:.55rem .8rem;border-radius:0;background:#fff;color:#182438;text-align:left;font-weight:400}.mention-menu button:hover,.mention-menu button.active{background:#eef2fa;color:#182438}.mention-menu button:disabled{color:#69788d;cursor:not-allowed}@media(max-width:680px){.message{width:100%}}
main:has(>.task-workspace){max-width:1250px}.task-workspace{display:grid;grid-template-columns:270px minmax(0,1fr);gap:1.5rem;align-items:start}.task-main{min-width:0}.task-sidebar{position:sticky;top:1.5rem;max-height:calc(100vh - 3rem);overflow-y:auto;background:#fff;border:1px solid #e0e6f0;border-radius:12px}.task-sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:1rem;border-bottom:1px solid #e0e6f0}.task-sidebar h2{margin:0;font-size:1rem}.task-sidebar>p{padding:0 1rem}.task-links{display:block}.task-link{display:block;padding:.85rem 1rem;border-bottom:1px solid #edf0f5;color:#182438}.task-link:last-child{border-bottom:0}.task-link:hover{background:#f5f7fb;text-decoration:none}.task-link.active{background:#eaf1ff;border-left:3px solid #315bbc;padding-left:calc(1rem - 3px)}.task-link strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-link small{display:block;margin-top:.25rem}.task-main>.card{margin-top:1.5rem}@media(max-width:760px){.task-workspace{grid-template-columns:1fr}.task-sidebar{position:static;max-height:220px}.task-main>.card{margin-top:1rem}}
