@layer outfitter{.workflow-card{background:var(--surface);border:1px solid var(--border);overflow-wrap:anywhere;border-radius:16px;gap:12px;min-width:0;padding:20px;display:grid}.workflow-card h2,.workflow-card h3{margin:0;font-size:1.1rem;line-height:1.35}.workflow-card p{margin:0}.workflow-card__state{letter-spacing:.04em;background:var(--soft);color:var(--muted);border-radius:999px;justify-self:start;padding:3px 10px;font-size:.75rem;font-weight:600}.workflow-card[data-state=needs-connection] .workflow-card__state{color:var(--warning);background:color-mix(in srgb, var(--warning) 12%, transparent)}.workflow-card[data-state=invalid] .workflow-card__state{color:var(--error);background:color-mix(in srgb, var(--error) 12%, transparent)}.workflow-card__benefit{color:var(--muted);line-height:1.6}.workflow-card__flow{flex-wrap:wrap;align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}.workflow-card__flow>li{align-items:center;gap:6px;font-size:13px;display:inline-flex}.workflow-card__flow>li>span{border:1px solid var(--border);background:var(--canvas);border-radius:8px;padding:4px 10px}.workflow-card__flow>li+li:before{content:"→";color:var(--muted)}.workflow-card__flow>li[data-actor=owner]>span{border-color:var(--accent);color:var(--accent);font-weight:600}.workflow-card__flow>.workflow-card__trigger>span{color:var(--muted);border-style:dashed}.workflow-card__flow:has(>.workflow-card__summary){display:block}.workflow-card__summary{gap:4px;margin:0;padding-left:20px;font-size:13px;line-height:1.5;display:grid}.workflow-card__summary>li{padding-left:2px}.workflow-card__summary>li[data-actor=owner]{color:var(--accent);font-weight:600}.workflow-card__summary .workflow-card__trigger>span{color:var(--muted);background:0 0;border:0;padding:0}.workflow-card__timezone{color:var(--muted);white-space:nowrap;margin-left:4px;font-size:11px;font-weight:400}.workflow-card__more-item{min-width:max-content;margin-left:auto}.workflow-card__more-item:has(>.workflow-card__graph[open]){flex:1 0 100%;min-width:0}.workflow-card__graph[open]{width:100%}.workflow-card__flow:has(>.workflow-card__graph)>.workflow-card__graph{margin-top:8px}.workflow-card__graph summary{cursor:pointer;color:var(--accent);width:fit-content;margin-left:auto;font-weight:600}.workflow-card__connections{color:var(--muted);flex-wrap:wrap;gap:4px 16px;margin:0;padding:0;font-size:13px;list-style:none;display:flex}.workflow-card__connections [data-state=connected]:before{content:"● ";color:var(--success)}.workflow-card__connections [data-state=needed]:before{content:"○ ";color:var(--warning)}.workflow-card__issues{color:var(--error);margin:0;padding-left:20px;font-size:13px}.workflow-card__graph summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:4px}.workflow-card__steps{counter-reset:workflow-step;margin:16px 0 0;padding:0;list-style:none}.workflow-card__step{counter-increment:workflow-step;padding:0 0 18px 40px;position:relative}.workflow-card__step:before{content:counter(workflow-step);border:2px solid var(--accent);background:var(--canvas);border-radius:50%;place-items:center;width:26px;height:26px;font-size:12px;font-weight:600;display:grid;position:absolute;top:0;left:0}.workflow-card__step:after{content:"";background:var(--border);width:2px;position:absolute;top:30px;bottom:2px;left:12px}.workflow-card__step:last-child:after{display:none}.workflow-card__step[data-actor=owner]:before{background:var(--accent);color:var(--on-action)}.workflow-card__step[data-status=not-applicable]{opacity:.6}.workflow-card__step-head{flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}.workflow-card__step h4{margin:2px 0 0;font-size:14px}.workflow-card__who,.workflow-card__status{color:var(--muted);font-size:12px}.workflow-card__status{background:var(--soft);border-radius:999px;padding:1px 8px}.workflow-card__step[data-status=done] .workflow-card__status{color:var(--success)}.workflow-card__step[data-status=ready] .workflow-card__status,.workflow-card__step[data-status=running] .workflow-card__status{color:var(--accent);font-weight:600}.workflow-card__description{color:var(--muted);margin:6px 0 0;font-size:13px;line-height:1.55}.workflow-card__details{gap:2px;margin:8px 0 0;font-size:12px;display:grid}.workflow-card__detail{gap:8px;display:flex}.workflow-card__detail dt{color:var(--muted);min-width:64px}.workflow-card__detail dd{margin:0}.workflow-card__gate{color:var(--accent);margin-top:8px;font-size:12px}.workflow-card__requirements{color:var(--muted);border-top:1px solid var(--border);padding-top:12px;font-size:13px}@media (width<=600px){.workflow-card{padding:16px}.workflow-card__step{padding-left:34px}}.conversation{flex-direction:column;flex:1;min-height:0;display:flex;overflow-y:auto}.composer-wrap{background:var(--canvas);flex-shrink:0;width:min(800px,100%);margin:0 auto;padding:12px 28px 20px;position:relative}.jump-to-latest{border:1px solid var(--border);background:var(--surface);width:36px;height:36px;color:var(--text);cursor:pointer;border-radius:50%;place-items:center;display:grid;position:absolute;bottom:100%;left:50%;transform:translate(-50%,-8px);box-shadow:0 2px 8px #0000001f}.composer{border:1px solid var(--border);background:var(--surface);border-radius:16px;padding:19px 19px 13px}.composer:focus-within{border-color:var(--focus)}.composer textarea{resize:none;width:100%;color:var(--text);background:0 0;border:0;outline:none;font-size:13px;line-height:1.6}.composer textarea::placeholder{color:var(--muted)}.composer-bottom{grid-template-columns:1fr auto auto auto;align-items:center;gap:8px;margin-top:12px;display:grid}.send{background:var(--action);color:var(--on-action);border:0;border-radius:9px;width:34px;height:34px;font-size:22px}.composer-bottom>.send{grid-area:1/4}.messages{flex:1;padding:20px max(28px,50% - 372px);overflow-y:auto}.message{margin-bottom:26px}.message-label{color:var(--accent);margin-bottom:10px;font-size:11px;font-weight:600}.message.user{background:var(--soft);border-radius:12px;margin-left:50px;padding:16px 20px}.message-body{overflow-wrap:anywhere;font-size:14px;line-height:1.8}.message-body p:first-child{margin-top:0}.message-body p:last-child{margin-bottom:0}.message-attachment{margin-bottom:10px;display:block}img.message-attachment{border-radius:8px;max-width:min(100%,320px);max-height:320px}.thinking{color:var(--muted)}@media (width<=760px){.composer-wrap{padding:12px 16px 8px}.composer textarea{font-size:16px}.messages{padding:18px}.message.user{margin-left:20px}}}.ui-chat-panel{flex-direction:column;min-width:0;min-height:0;display:flex}.ui-chat-panel--sidebar{border-inline-start:1px solid var(--border);width:min(100%,26rem);height:100%}.ui-chat-transcript{flex:1;min-height:0;overflow-y:auto}.ui-chat-file-input{display:none}.ui-chat-leading{grid-column:1;justify-self:start;min-width:0}.ui-chat-actions{display:contents}@media (width>=761px){.ui-chat-composer{flex-direction:column;display:flex}.ui-chat-composer textarea{order:-1;min-height:3.2em}}.ui-chat-add{border:1px solid var(--border);width:34px;height:34px;color:var(--text);background:0 0;border-radius:50%;justify-self:start;place-items:center;padding:0;display:grid}.ui-chat-add:hover:not(:disabled){background:var(--hover)}.ui-chat-add-menu{position-area:block-start span-inline-end;border:1px solid var(--border);background:var(--surface);min-width:180px;color:var(--text);box-shadow:0 8px 24px var(--shadow-color);border-radius:12px;margin:0 0 8px;padding:6px;inset:auto}.ui-chat-add-menu button{width:100%;color:inherit;text-align:left;background:0 0;border:0;border-radius:8px;padding:8px 10px;display:block}.ui-chat-add-menu button:hover{background:var(--hover)}.ui-chat-attachments{flex-wrap:wrap;gap:.5rem;padding:0;list-style:none;display:flex}.ui-chat-attachments li{border:1px solid var(--border);border-radius:.5rem;align-items:center;gap:.5rem;max-width:100%;padding:.4rem;display:flex}.ui-chat-attachments span{overflow-wrap:anywhere;min-width:0}.ui-chat-attachments img{object-fit:cover;border-radius:.25rem;width:3rem;height:3rem}.ui-chat-attachments button{flex-shrink:0}@media (width<=760px){.ui-chat-attachments{margin:0 0 .75rem}.ui-chat-attachments li{background:var(--soft);flex-direction:column;gap:.25rem;width:5.5rem;padding:.35rem;position:relative}.ui-chat-attachments span{text-overflow:ellipsis;white-space:nowrap;width:100%;font-size:.75rem;overflow:hidden}.ui-chat-attachments img{width:100%;height:4rem}.ui-chat-attachments button{color:var(--text);border:0;border-radius:50%;align-self:flex-end}.ui-chat-composer{border-radius:1.5rem;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;column-gap:.25rem;padding:.375rem;display:grid}.ui-chat-composer textarea{grid-area:1/2;min-width:0;min-height:0;max-height:10rem;padding:0 .35rem;font-size:16px;line-height:1.4;overflow-y:auto}.ui-chat-composer:not(.ui-chat-composer--expanded) textarea{white-space:nowrap;height:1.4em;overflow:hidden}.ui-chat-composer .composer-bottom,.ui-chat-composer .composer-actions{display:contents}.ui-chat-composer .ui-chat-leading{grid-area:1/1}.ui-chat-composer .ui-chat-actions{grid-area:1/3;align-items:center;min-width:0;display:flex}.ui-chat-composer .ui-chat-actions:empty,.ui-chat-composer .ui-chat-leading:empty{display:none}.ui-chat-composer .send{border-radius:50%;grid-area:1/4;place-items:center;width:44px;height:44px;padding:0;font-size:22px;display:grid}.ui-chat-composer .ui-chat-add{border:0;width:44px;height:44px}.ui-chat-composer .ui-chat-attachments button{background:color-mix(in srgb, var(--surface) 88%, transparent);min-width:44px;min-height:44px}.ui-chat-composer .ui-chat-attachments li:has(img) button{position:absolute;top:.25rem;right:.25rem}.ui-chat-composer--expanded{border-radius:1.5rem;grid-template-columns:minmax(0,1fr);row-gap:.5rem;padding:.75rem}.ui-chat-composer--expanded .ui-chat-attachments,.ui-chat-composer--expanded .error{grid-column:1;min-width:0}.ui-chat-composer--expanded textarea{grid-area:auto/1;align-self:stretch}.ui-chat-composer--expanded .composer-bottom,.ui-chat-composer--expanded .composer-actions{grid-column:1;align-items:center;min-width:0;margin:0;display:flex}.ui-chat-composer--expanded .ui-chat-leading{margin-right:auto}.ui-chat-composer--expanded .ui-chat-leading,.ui-chat-composer--expanded .ui-chat-actions,.ui-chat-composer--expanded .send{grid-area:auto}}.dictation{display:contents}.dictate{width:44px;height:44px;color:var(--accent);background:0 0;border:0;border-radius:9px;grid-area:1/3;place-items:center;padding:0;display:grid}.dictation-fallback{color:var(--muted);text-align:left;background:0 0;border:0;grid-column:1/-1;margin-top:0;font-size:11px}.dictation-status:empty{display:none}.dictate[aria-pressed=true]{background:var(--action);color:var(--on-action)}.dictation-status{color:var(--muted);overflow-wrap:anywhere;grid-column:1/-1;max-height:4.5em;font-size:11px;line-height:1.5;overflow-y:auto}.effort-menu{grid-area:1/2;position:relative}.effort-menu summary{cursor:pointer;width:44px;height:44px;color:var(--accent);border-radius:9px;place-items:center;list-style:none;display:grid}.effort-menu summary::-webkit-details-marker{display:none}.effort-menu summary:focus-visible{outline:2px solid var(--focus)}.effort-menu[open] summary{background:var(--hover)}.effort-menu fieldset{z-index:2;border:1px solid var(--border);background:var(--surface);width:210px;color:var(--text);border-radius:12px;margin:0;padding:12px;position:absolute;bottom:48px;right:0}.effort-menu legend{background:var(--surface);padding:0 4px;font-size:12px}.effort-menu label{cursor:pointer;align-items:center;gap:10px;padding:8px;display:flex}.effort-menu small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.effort-menu input{accent-color:var(--accent)}.agent-sidebar-toggle{border:1px solid var(--border);background:var(--surface);color:var(--text);white-space:nowrap;border-radius:999px;align-items:center;gap:6px;padding:7px 12px;font-size:12px;font-weight:500;display:inline-flex}.agent-sidebar-toggle:hover:not(:disabled),.agent-sidebar-toggle[aria-expanded=true]{background:var(--hover)}.agent-sidebar-toggle .icon{color:var(--accent)}.agent-sidebar{background:var(--canvas);flex-shrink:0;width:min(26rem,40vw);min-height:0;display:flex}.agent-sidebar[hidden]{display:none}.agent-sidebar>.ui-chat-panel,.agent-sidebar-pending{width:100%}.agent-sidebar-pending{border-inline-start:1px solid var(--border);flex-direction:column;display:flex}.agent-sidebar-header{flex-shrink:0;align-items:center;gap:4px;height:78px;padding:0 12px 0 20px;display:flex}.agent-sidebar-title{flex:1;min-width:0}.agent-sidebar-title h2{align-items:center;gap:6px;margin:0;font-size:14px;font-weight:600;display:flex}.agent-sidebar-title h2 .icon{color:var(--accent)}.agent-sidebar-focus{color:var(--muted);white-space:nowrap;gap:6px;margin:2px 0 0;font-size:12px;display:flex;overflow:hidden}.agent-sidebar-focus strong{text-overflow:ellipsis;color:var(--text);font-weight:500;overflow:hidden}.agent-sidebar-focus>span:not(.visually-hidden):before{content:"·";margin-inline-end:6px}.agent-sidebar-action{width:36px;height:36px;color:var(--text);background:0 0;border:0;border-radius:8px;place-items:center;display:grid}.agent-sidebar-action:hover:not(:disabled){background:var(--hover)}.agent-sidebar .ui-chat-transcript{padding:4px 20px 12px}.agent-sidebar .message.user{margin-left:24px;padding:12px 16px}.agent-sidebar .composer-wrap{padding:8px 16px 16px}.agent-sidebar-text{white-space:pre-wrap}.agent-sidebar-intro,.agent-sidebar-moved{color:var(--muted);line-height:1.6}.agent-sidebar-scope,.agent-sidebar-moved{font-size:12px}.agent-sidebar-loading{color:var(--muted);margin:auto}.agent-sidebar-alert{color:var(--error);padding:10px;font-size:12px;line-height:1.6}.agent-sidebar-alert button,.agent-sidebar-stale button{color:inherit;background:0 0;border:0;padding:0;text-decoration:underline}.agent-sidebar-stale{border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-wrap:wrap;gap:4px 12px;margin-bottom:8px;padding:10px 12px;font-size:12px;line-height:1.5;display:flex}.agent-sidebar-stale p{flex-basis:100%;margin:0}@media (width<=760px){.agent-sidebar-toggle span{display:none}.agent-sidebar-toggle{padding:8px}.agent-sidebar{top:var(--chat-viewport-top,0px);height:var(--chat-viewport-height,100dvh);z-index:3;width:auto;padding:env(safe-area-inset-top) env(safe-area-inset-right) max(0px, calc(env(safe-area-inset-bottom) - var(--chat-viewport-obscured,0px))) env(safe-area-inset-left);position:fixed;left:0;right:0}.agent-sidebar>.ui-chat-panel,.agent-sidebar-pending{border-inline-start:0}.agent-sidebar-header{border-bottom:1px solid var(--border);height:52px}}.agent-sidebar-attachment{object-fit:contain;border-radius:8px;max-width:100%;max-height:240px}
