.herd-chat-conversation,.herd-chat-rail,.herd-team-definition-card,.herd-chat-artifact-panel{--herd-chat-ink: var(--ink, #20242c);--herd-chat-muted: var(--muted, #5f6672);--herd-chat-faint: var(--faint, #747c89);--herd-chat-border: var(--border, #dfe2e7);--herd-chat-surface: var(--surface, #fff);--herd-chat-surface-soft: var(--surface-soft, #f5f6f7);--herd-chat-surface-hover: var(--surface-hover, #eceef1);--herd-chat-surface-selected: var(--surface-selected, #e7e9ed);--herd-chat-accent: var(--accent, #252b36);--herd-chat-accent-contrast: var(--accent-contrast, #fff);--herd-chat-activity: var(--activity, #1d4ed8);--herd-chat-attention: var(--attention, #92400e);--herd-chat-danger: var(--danger, #a91c1c);--herd-chat-neutral-banner: var(--neutral-banner, #f1f3f5);--herd-chat-warning-banner: var(--warning-banner, #fff7df);--herd-chat-danger-banner: var(--danger-banner, #fff0ef);--herd-chat-user-bubble: var(--user-bubble, #edf0f4);--herd-chat-radius-control: 6px;--herd-chat-radius-surface: 8px;--herd-chat-focus: 2px solid var(--herd-chat-ink);--herd-chat-motion-micro: .12s;--herd-chat-motion-structural: .2s;--herd-chat-ease: cubic-bezier(.2, .7, .2, 1);color:var(--herd-chat-ink);font-family:"Source Sans 3",-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px;font-weight:400;box-sizing:border-box;color-scheme:light dark}.herd-chat-conversation *,.herd-chat-rail *,.herd-team-definition-card *,.herd-chat-artifact-panel *{box-sizing:border-box}.herd-chat-conversation button,.herd-chat-conversation input,.herd-chat-conversation textarea,.herd-chat-rail button,.herd-chat-rail input,.herd-team-definition-card button,.herd-chat-artifact-panel button{font:inherit}.herd-chat-conversation :focus-visible,.herd-chat-rail :focus-visible,.herd-team-definition-card :focus-visible,.herd-chat-artifact-panel :focus-visible{outline:var(--herd-chat-focus);outline-offset:2px}.herd-chat-conversation{min-width:0;min-height:0;height:100%;display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto auto;background:var(--herd-chat-surface)}.herd-chat-conversation-header{grid-row:1;min-width:0;height:48px;padding:0 12px;border-bottom:1px solid var(--herd-chat-border);display:grid;grid-template-columns:minmax(0,1fr) minmax(48px,2fr) minmax(0,1fr);align-items:center;gap:10px}.herd-chat-header-context{min-width:0;display:flex;align-items:center;gap:10px;overflow:hidden}.herd-chat-header-leading:empty{display:none}.herd-chat-header-actions,.herd-chat-status-list,.herd-chat-status,.herd-chat-read-only-badge,.herd-chat-rail-identity,.herd-chat-rail-actions,.herd-chat-session-row-top,.herd-chat-session-time,.herd-chat-session-row-meta,.herd-chat-read-only,.herd-chat-action-bar,.herd-chat-working,.herd-chat-message-toolbar,.herd-chat-delivery-actions{display:flex;align-items:center}.herd-chat-mark{width:24px;height:24px;display:inline-grid;flex:0 0 auto;place-items:center;border:1px solid var(--herd-chat-border);border-radius:50%;background:var(--herd-chat-surface-soft);color:var(--herd-chat-ink);font-size:10.5px;font-weight:600}.herd-chat-conversation-title{min-width:0;text-align:center}.herd-chat-conversation-title h2{margin:0;overflow:hidden;font-size:13px;font-weight:600;line-height:17px;text-overflow:ellipsis;white-space:nowrap}.herd-chat-subtitle{overflow:hidden;color:var(--herd-chat-muted);font-size:11px;line-height:14px;text-overflow:ellipsis;white-space:nowrap}.herd-chat-header-actions{min-width:0;justify-content:flex-end;gap:6px}.herd-chat-status-list{gap:6px}.herd-chat-status{gap:5px;color:var(--herd-chat-muted);font-size:11px;font-weight:500;line-height:14px;white-space:nowrap}.herd-chat-status>span,.herd-chat-activity-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:var(--herd-chat-faint)}.herd-chat-status-running,.herd-chat-status-queued{color:var(--herd-chat-activity)}.herd-chat-status-running>span,.herd-chat-status-queued>span,.herd-chat-activity-dot.running{background:var(--herd-chat-activity)}.herd-chat-status-attention{color:var(--herd-chat-attention)}.herd-chat-status-attention>span{background:var(--herd-chat-attention)}.herd-chat-status-failed,.herd-chat-action-error{color:var(--herd-chat-danger)}.herd-chat-status-failed>span,.herd-chat-activity-dot.failed{background:var(--herd-chat-danger)}.herd-chat-read-only-badge{gap:4px;padding:2px 6px;border:1px solid var(--herd-chat-border);border-radius:var(--herd-chat-radius-control);color:var(--herd-chat-muted);font-size:11px;line-height:14px;white-space:nowrap}.herd-chat-icon-button,.herd-chat-load-older,.herd-chat-suggestions button,.herd-chat-connection button,.herd-chat-delivery-actions button,.herd-chat-action-bar button,.herd-chat-action-bar a,.herd-chat-conversation-error button,.herd-chat-rail-error button{border:0;border-radius:var(--herd-chat-radius-control);background:transparent;color:var(--herd-chat-muted);cursor:pointer;text-decoration:none}.herd-chat-icon-button{width:32px;height:32px;display:inline-grid;place-items:center;padding:0}.herd-chat-icon-button:hover,.herd-chat-load-older:hover,.herd-chat-suggestions button:hover,.herd-chat-delivery-actions button:hover,.herd-chat-action-bar button:hover,.herd-chat-action-bar a:hover,.herd-chat-conversation-error button:hover,.herd-chat-rail-error button:hover{background:var(--herd-chat-surface-hover);color:var(--herd-chat-ink)}.herd-chat-icon-button:disabled,.herd-chat-composer button:disabled,.herd-chat-delivery-actions button:disabled,.herd-chat-action-bar button:disabled{cursor:not-allowed;opacity:.45}.herd-chat-connection{grid-row:3;min-height:30px;padding:5px 14px;border-bottom:1px solid var(--herd-chat-border);display:flex;align-items:center;justify-content:center;gap:10px;background:var(--herd-chat-neutral-banner);color:var(--herd-chat-muted);font-size:12px;line-height:16px}.herd-chat-connection-reconnecting,.herd-chat-connection-catching-up{background:var(--herd-chat-warning-banner);color:var(--herd-chat-attention)}.herd-chat-connection-failed,.herd-chat-connection-auth-expired{background:var(--herd-chat-danger-banner);color:var(--herd-chat-danger)}.herd-chat-connection button{min-height:28px;padding:3px 8px;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px}.herd-chat-messages{grid-row:4;min-height:0;padding:14px max(20px,calc((100% - 620px)/2));overflow:auto;overscroll-behavior:contain;scroll-behavior:auto}.herd-chat-history-boundary{min-height:32px;margin-bottom:10px;display:grid;place-items:center;color:var(--herd-chat-muted);font-size:11px;line-height:14px}.herd-chat-context-compaction{margin:17px 0;display:flex;align-items:center;gap:10px;color:var(--herd-chat-muted);font-size:11px;font-weight:600;line-height:14px}.herd-chat-context-compaction:before,.herd-chat-context-compaction:after{content:"";height:1px;flex:1;background:var(--herd-chat-border)}.herd-chat-context-compaction>span{flex:none}.herd-chat-load-older{min-height:32px;padding:5px 10px;font-size:12.5px;font-weight:600;line-height:16px}.herd-chat-turn-block{max-width:620px;margin:0 auto;content-visibility:auto;contain-intrinsic-block-size:auto 140px}.herd-chat-turn{max-width:min(86%,620px);margin:0 0 12px;position:relative}.herd-chat-turn-user{margin-left:auto}.herd-chat-message{position:relative;overflow-wrap:anywhere;font-size:14px;font-weight:400;line-height:21px}.herd-chat-message p{margin:0;white-space:pre-wrap}.herd-chat-message-user>p{padding:7px 11px;border-radius:var(--herd-chat-radius-surface) var(--herd-chat-radius-surface) 3px var(--herd-chat-radius-surface);background:var(--herd-chat-user-bubble)}.herd-chat-message-system>p,.herd-chat-message-error>p{padding-left:11px;border-left:2px solid var(--herd-chat-border);color:var(--herd-chat-muted)}.herd-chat-reference-atoms{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.herd-chat-reference-atoms-composer{padding:7px 7px 0;margin:0}.herd-chat-reference-chip{display:inline-flex;min-width:0;align-items:center;border:1px solid var(--herd-chat-border);border-radius:999px;background:var(--herd-chat-surface-selected);color:var(--herd-chat-ink)}.herd-chat-reference-chip:hover{background:var(--herd-chat-surface-hover)}.herd-chat-reference-atom-target,.herd-chat-reference-atom-remove{border:0;background:transparent;color:inherit;font:inherit}.herd-chat-reference-atom-target{display:inline-flex;min-width:0;align-items:center;gap:5px;padding:3px 8px;text-decoration:none}button.herd-chat-reference-atom-target{cursor:pointer}.herd-chat-reference-atom-label{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.herd-chat-reference-atom-remove{width:24px;min-height:24px;padding:0 6px 0 2px;cursor:pointer}.herd-chat-reference-atom-unavailable{color:var(--herd-chat-muted);border-style:dashed}.herd-chat-reference-chip:focus-within{outline:2px solid var(--herd-chat-activity);outline-offset:1px}.herd-chat-message-error>p{border-color:var(--herd-chat-danger);color:var(--herd-chat-danger)}.herd-chat-message-meta{margin-bottom:3px;color:var(--herd-chat-muted);font-size:11px;line-height:14px}.herd-chat-message-body>:first-child{margin-top:0}.herd-chat-message-body>:last-child{margin-bottom:0}.herd-chat-message-body p,.herd-chat-message-body ul,.herd-chat-message-body ol,.herd-chat-message-body blockquote,.herd-chat-message-body pre,.herd-chat-table-scroll{margin:0 0 9px}.herd-chat-message-body h3{margin:13px 0 5px;font-size:16px;font-weight:600;line-height:21px}.herd-chat-message-body h4{margin:11px 0 4px;font-size:14px;font-weight:600;line-height:21px}.herd-chat-message-body ul,.herd-chat-message-body ol{padding-left:21px}.herd-chat-message-body li{margin:2px 0}.herd-chat-message-body li::marker{color:var(--herd-chat-muted)}.herd-chat-message-body blockquote{padding-left:11px;border-left:2px solid var(--herd-chat-border);color:var(--herd-chat-muted)}.herd-chat-message-body code{padding:1px 3px;border-radius:4px;background:var(--herd-chat-surface-soft);font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.9em}.herd-chat-message-body pre{padding:10px 12px;border:1px solid var(--herd-chat-border);border-radius:var(--herd-chat-radius-control);background:var(--herd-chat-surface-soft);overflow-x:auto}.herd-chat-message-body pre code{padding:0;background:transparent}.herd-chat-message-body a{color:var(--herd-chat-ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}.herd-chat-table-scroll{max-width:100%;overflow-x:auto}.herd-chat-table-scroll table{min-width:100%;border-spacing:0;border-collapse:collapse;font-size:13px}.herd-chat-table-scroll th,.herd-chat-table-scroll td{padding:6px 8px;border:1px solid var(--herd-chat-border);text-align:left}.herd-chat-table-scroll th{background:var(--herd-chat-surface-soft);font-weight:600}.herd-chat-message-toolbar{position:absolute;top:-10px;right:0;z-index:1;padding:1px;border:1px solid var(--herd-chat-border);border-radius:var(--herd-chat-radius-control);background:var(--herd-chat-surface);opacity:0;transform:translateY(2px);transition:opacity var(--herd-chat-motion-micro) var(--herd-chat-ease),transform var(--herd-chat-motion-micro) var(--herd-chat-ease)}.herd-chat-message-user .herd-chat-message-toolbar{right:auto;left:-4px}.herd-chat-message:hover .herd-chat-message-toolbar,.herd-chat-message:focus-within .herd-chat-message-toolbar{opacity:1;transform:none}.herd-chat-message-toolbar button{width:32px;height:32px;display:inline-grid;place-items:center;padding:0;border:0;border-radius:5px;background:transparent;color:var(--herd-chat-muted);cursor:pointer}.herd-chat-message-toolbar button:hover{background:var(--herd-chat-surface-hover);color:var(--herd-chat-ink)}.herd-chat-icon-swap{display:inline-grid;place-items:center}.herd-chat-turn-meta{min-height:14px;margin-top:3px;color:var(--herd-chat-muted);font-size:11px;font-variant-numeric:tabular-nums;line-height:14px}.herd-chat-turn-meta-user{text-align:right}.herd-chat-turn-meta-agent,.herd-chat-turn-meta-system,.herd-chat-turn-meta-error{text-align:left}.herd-chat-day-divider{margin:15px 0 13px;display:flex;align-items:center;gap:9px;color:var(--herd-chat-muted);font-size:11px;line-height:14px}.herd-chat-day-divider:before,.herd-chat-day-divider:after{content:"";height:1px;flex:1;background:var(--herd-chat-border)}.herd-chat-activity-disclosure{color:var(--herd-chat-muted);font-size:12.5px;font-weight:500;line-height:17px}.herd-chat-message+.herd-chat-message,.herd-chat-message+.herd-chat-activity-disclosure,.herd-chat-activity-disclosure+.herd-chat-message{margin-top:5px}.herd-chat-activity-disclosure summary{min-height:32px;display:flex;align-items:center;gap:7px;padding:4px 5px;border-radius:var(--herd-chat-radius-control);cursor:pointer;list-style:none}.herd-chat-activity-disclosure summary::-webkit-details-marker{display:none}.herd-chat-activity-disclosure summary:hover{background:var(--herd-chat-surface-soft)}.herd-chat-activity-summary{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.herd-chat-relative-time{flex:0 0 auto;color:var(--herd-chat-faint);font-weight:400;font-variant-numeric:tabular-nums}.herd-chat-disclosure-chevron{margin-left:auto;flex:0 0 auto;transition:transform var(--herd-chat-motion-micro) var(--herd-chat-ease)}.herd-chat-activity-disclosure[open] .herd-chat-disclosure-chevron{transform:rotate(180deg)}.herd-chat-disclosure-motion{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--herd-chat-motion-micro) var(--herd-chat-ease)}.herd-chat-disclosure-motion>div{min-height:0;overflow:hidden}.herd-chat-activity-disclosure[open] .herd-chat-disclosure-motion{grid-template-rows:1fr}.herd-chat-steps{margin:2px 0 5px;padding:2px 7px 2px 19px;list-style:none}.herd-chat-steps li{margin:3px 0;overflow:hidden;color:var(--herd-chat-muted);text-overflow:ellipsis;white-space:nowrap}.herd-chat-steps li:before{content:"•";margin-right:7px;color:var(--herd-chat-faint)}.herd-chat-step-verb{color:var(--herd-chat-ink);font-weight:600}.herd-chat-step-failed .herd-chat-step-verb{color:var(--herd-chat-danger)}.herd-chat-working{gap:7px;max-width:620px;margin:4px auto 14px;color:var(--herd-chat-muted);font-size:12.5px;font-weight:500;line-height:17px}.herd-chat-turn-retry{max-width:620px;min-height:48px;margin:6px auto 18px;padding:8px 9px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid var(--herd-chat-border);border-radius:var(--herd-chat-radius-surface);background:var(--herd-chat-surface-soft);color:var(--herd-chat-muted)}.herd-chat-turn-retry[data-tone=warning]{border-color:color-mix(in srgb,var(--herd-chat-attention) 24%,var(--herd-chat-border));background:var(--herd-chat-warning-banner)}.herd-chat-turn-retry[data-tone=danger]{border-color:color-mix(in srgb,var(--herd-chat-danger) 24%,var(--herd-chat-border));background:var(--herd-chat-danger-banner)}.herd-chat-turn-retry-icon{width:28px;height:28px;display:inline-grid;place-items:center;border-radius:50%;background:var(--herd-chat-surface);color:var(--herd-chat-muted)}.herd-chat-turn-retry[data-tone=warning] .herd-chat-turn-retry-icon{color:var(--herd-chat-attention)}.herd-chat-turn-retry[data-tone=danger] .herd-chat-turn-retry-icon{color:var(--herd-chat-danger)}.herd-chat-turn-retry-copy{min-width:0;display:grid;gap:1px;font-size:12px;line-height:16px}.herd-chat-turn-retry-copy strong{color:var(--herd-chat-ink);font-size:12.5px;font-weight:600}.herd-chat-turn-retry button{min-height:30px;padding:5px 9px;border:0;border-radius:var(--herd-chat-radius-control);background:var(--herd-chat-accent);color:var(--herd-chat-accent-contrast);cursor:pointer;font-size:12.5px;font-weight:600;white-space:nowrap}.herd-chat-turn-retry button:hover{opacity:.88}.herd-chat-message-pending{opacity:.72}.herd-chat-message-undelivered{opacity:1}.herd-chat-message-undelivered small{color:var(--herd-chat-danger)}.herd-chat-delivery-actions{margin-top:5px;justify-content:flex-end;gap:5px}.herd-chat-delivery-actions button{min-height:32px;padding:5px 9px;font-size:12.5px;font-weight:600}.herd-chat-delivery-actions svg{vertical-align:-3px}.herd-chat-jump{position:sticky;bottom:5px;display:flex;justify-content:center;pointer-events:none}.herd-chat-jump button{min-height:34px;padding:6px 11px;border:1px solid var(--herd-chat-border);border-radius:999px;background:var(--herd-chat-surface);color:var(--herd-chat-ink);cursor:pointer;font-size:12.5px;font-weight:600;pointer-events:auto}.herd-chat-jump svg{vertical-align:-3px}.herd-chat-conversation-loading{min-height:100%;max-width:620px;margin:0 auto;padding-top:36px}.herd-chat-conversation-loading span{width:min(100%,540px);height:15px;margin:0 0 13px;display:block;border-radius:5px;background:var(--herd-chat-surface-soft)}.herd-chat-conversation-loading span:nth-child(2){width:72%}.herd-chat-conversation-loading span:nth-child(3){width:44%}.herd-chat-conversation-error,.herd-chat-welcome{min-height:100%;max-width:520px;margin:0 auto;display:grid;place-content:center;justify-items:center;text-align:center}.herd-chat-conversation-error h3,.herd-chat-welcome h2{margin:8px 0 4px;font-size:16px;font-weight:600;line-height:21px}.herd-chat-conversation-error p,.herd-chat-welcome p{margin:0;color:var(--herd-chat-muted);line-height:21px}.herd-chat-conversation-error details{margin:10px 0;color:var(--herd-chat-muted);font-size:11px}.herd-chat-conversation-error button{min-height:34px;margin-top:12px;padding:6px 10px;font-weight:600}.herd-chat-conversation-error button svg{vertical-align:-3px}.herd-chat-suggestions{margin-top:16px;display:flex;flex-wrap:wrap;justify-content:center;gap:7px}.herd-chat-suggestions button{min-height:34px;padding:7px 10px;border:1px solid var(--herd-chat-border);color:var(--herd-chat-ink);font-size:12.5px}.herd-chat-artifact-collection{margin-top:7px;display:grid;gap:7px}.herd-chat-artifact-card{min-width:0;display:grid;grid-template-columns:88px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px;border:1px solid var(--herd-chat-border);border-radius:var(--herd-chat-radius-surface);background:var(--herd-chat-surface)}.herd-chat-artifact-preview{width:88px;height:62px;padding:0;border:0;border-radius:var(--herd-chat-radius-control);overflow:hidden;display:grid;place-items:center;background:var(--herd-chat-surface-soft);color:var(--herd-chat-muted)}.herd-chat-artifact-open{cursor:pointer}.herd-chat-artifact-preview img,.herd-chat-artifact-preview video{width:100%;height:100%;object-fit:cover}.herd-chat-artifact-info{min-width:0;display:grid;gap:3px}.herd-chat-artifact-title,.herd-chat-artifact-info>strong{min-width:0;padding:0;border:0;overflow:hidden;background:transparent;color:var(--herd-chat-ink);font-weight:600;text-align:left;text-overflow:ellipsis;white-space:nowrap}button.herd-chat-artifact-title{cursor:pointer}.herd-chat-artifact-meta{display:flex;flex-wrap:wrap;gap:3px 8px;color:var(--herd-chat-muted);font-size:11px;line-height:15px}.herd-chat-artifact-meta>span+span:before{content:"·";margin-right:8px}.herd-chat-artifact-download{min-height:30px;padding:5px 7px;display:inline-flex;align-items:center;gap:4px;border-radius:var(--herd-chat-radius-control);color:var(--herd-chat-ink);font-size:12px;font-weight:600;text-decoration:none}.herd-chat-artifact-download:hover{background:var(--herd-chat-surface-hover)}.herd-chat-artifact-unavailable{color:var(--herd-chat-muted);font-size:11px}.herd-chat-artifact-fallback{width:100%;min-height:100%;padding:8px;display:grid;place-items:center;align-content:center;gap:4px;color:var(--herd-chat-muted);font-size:10.5px;text-align:center}.herd-chat-artifact-fallback small{max-width:100%;overflow-wrap:anywhere;color:var(--herd-chat-danger)}.herd-chat-artifact-panel{min-width:0;min-height:0;height:100%;display:grid;grid-template-rows:auto minmax(0,1fr) auto;border-left:1px solid var(--herd-chat-border);background:var(--herd-chat-surface)}.herd-chat-artifact-panel>header,.herd-chat-artifact-panel>footer{min-height:48px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.herd-chat-artifact-panel>header{border-bottom:1px solid var(--herd-chat-border)}.herd-chat-artifact-panel>footer{border-top:1px solid var(--herd-chat-border)}.herd-chat-artifact-panel h2{margin:0 0 2px;overflow:hidden;font-size:14px;line-height:18px;text-overflow:ellipsis;white-space:nowrap}.herd-chat-artifact-panel>header button,.herd-chat-artifact-zoom button{min-width:30px;min-height:30px;padding:5px 7px;border:0;border-radius:var(--herd-chat-radius-control);background:transparent;color:var(--herd-chat-ink);cursor:pointer}.herd-chat-artifact-stage{min-width:0;min-height:0;position:relative;display:grid;place-items:center;overflow:hidden;background:var(--herd-chat-surface-soft)}.herd-chat-artifact-stage>video,.herd-chat-artifact-stage>iframe{max-width:100%;max-height:100%}.herd-chat-artifact-stage>iframe{width:100%;height:100%;border:0;background:var(--herd-chat-surface)}.herd-chat-artifact-zoom{position:absolute;z-index:1;top:10px;right:10px;padding:3px;display:flex;align-items:center;gap:2px;border:1px solid var(--herd-chat-border);border-radius:var(--herd-chat-radius-control);background:var(--herd-chat-surface)}.herd-chat-artifact-zoom output{min-width:40px;color:var(--herd-chat-muted);font-size:11px;text-align:center}.herd-chat-artifact-image-scroll{width:100%;height:100%;display:grid;place-items:center;overflow:auto}.herd-chat-artifact-image-scroll img{max-width:100%;max-height:100%;transform-origin:center;transition:transform var(--herd-chat-motion-micro) var(--herd-chat-ease)}.herd-chat-artifact-fallback-detail{min-height:180px;font-size:13px}.herd-chat-artifact-panel>footer a{min-height:32px;padding:6px 9px;display:inline-flex;align-items:center;gap:5px;border-radius:var(--herd-chat-radius-control);color:var(--herd-chat-ink);font-weight:600;text-decoration:none}.herd-chat-action-bar{grid-row:5;min-height:32px;padding:4px max(20px,calc((100% - 620px)/2));border-top:1px solid var(--herd-chat-border);gap:10px;flex-wrap:wrap;color:var(--herd-chat-muted);font-size:11px;line-height:14px}.herd-chat-action-bar>span{display:inline-flex;align-items:center;gap:5px}.herd-chat-action-bar button,.herd-chat-action-bar a{min-height:28px;padding:4px 7px;color:var(--herd-chat-ink);font-weight:600}.herd-chat-action-bar svg{vertical-align:-3px}.herd-chat-composer,.herd-chat-read-only{grid-row:6}.herd-chat-composer{position:relative;width:min(calc(100% - 40px),620px);margin:8px auto calc(12px + env(safe-area-inset-bottom));border:1px solid var(--herd-chat-border);border-radius:var(--herd-chat-radius-surface);background:var(--herd-chat-surface);transition:border-color var(--herd-chat-motion-micro) var(--herd-chat-ease)}.herd-chat-composer:focus-within{border-color:var(--herd-chat-ink)}.herd-chat-attachment-input{min-width:0;position:static;padding:0}.herd-chat-attachment-input.is-dragging{background:var(--herd-chat-surface-selected)}.herd-chat-attachment-actions{position:absolute;z-index:2;left:6px;bottom:6px;display:flex;align-items:center}.herd-chat-attachment-picker{width:30px;height:30px;padding:0;display:inline-grid;place-items:center;border:0;border-radius:var(--herd-chat-radius-control);background:transparent;color:var(--herd-chat-muted);cursor:pointer}.herd-chat-attachment-picker:hover,.herd-chat-attachment-chip-actions button:hover{background:var(--herd-chat-surface-hover)}.herd-chat-attachment-list{margin:7px 7px 0;padding:0 0 6px;display:flex;gap:6px;overflow-x:auto;list-style:none}.herd-chat-attachment-chip{width:220px;min-width:190px;min-height:54px;padding:5px;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:6px;border:1px solid var(--herd-chat-border);border-radius:var(--herd-chat-radius-control);background:var(--herd-chat-surface-soft)}.herd-chat-attachment-chip.is-failed{border-color:var(--herd-chat-danger)}.herd-chat-attachment-chip>img,.herd-chat-attachment-kind{width:42px;height:42px;border-radius:4px;object-fit:cover}.herd-chat-attachment-kind{display:grid;place-items:center;background:var(--herd-chat-surface-selected);color:var(--herd-chat-muted)}.herd-chat-attachment-copy{min-width:0;display:grid;gap:2px}.herd-chat-attachment-copy strong{overflow:hidden;font-size:11.5px;text-overflow:ellipsis;white-space:nowrap}.herd-chat-attachment-copy>span{color:var(--herd-chat-muted);font-size:10px}.herd-chat-attachment-copy progress{width:100%;height:4px;accent-color:var(--herd-chat-activity)}.herd-chat-attachment-copy .herd-chat-attachment-error{overflow:hidden;color:var(--herd-chat-danger);text-overflow:ellipsis;white-space:nowrap}.herd-chat-attachment-chip-actions{display:grid;gap:1px}.herd-chat-attachment-chip-actions button{width:26px;height:26px;padding:0;display:grid;place-items:center;border:0;border-radius:var(--herd-chat-radius-control);background:transparent;color:var(--herd-chat-muted);cursor:pointer}.herd-chat-attachment-feedback{margin:0 9px;display:block;color:var(--herd-chat-danger);font-size:10.5px}.herd-chat-attachment-feedback:empty{display:none}.herd-chat-attachment-drop-overlay{position:absolute;z-index:2;inset:0;display:grid;place-items:center;border:2px dashed var(--herd-chat-activity);border-radius:var(--herd-chat-radius-control);background:var(--herd-chat-surface-selected);color:var(--herd-chat-ink);font-weight:600;pointer-events:none}.herd-chat-composer-row{display:flex;align-items:flex-end;padding:7px 7px 1px}.herd-chat-composer textarea{flex:1;min-height:30px;max-height:180px;padding:5px 6px;border:0;resize:none;outline:0;background:transparent;color:inherit;font-size:14px;line-height:20px;transition:height var(--herd-chat-motion-micro) var(--herd-chat-ease)}.herd-chat-composer textarea:focus-visible{outline:0}.herd-chat-composer-footer{min-height:42px;padding:3px 6px 6px;display:flex;align-items:center;gap:6px}.herd-chat-composer.has-attachment-control .herd-chat-composer-footer{padding-left:42px}.herd-chat-composer-controls{display:inline-flex;align-items:center;gap:4px}.herd-chat-composer-controls button{width:30px;height:30px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;border:0;border-radius:var(--herd-chat-radius-control);cursor:pointer}.herd-chat-composer-controls .herd-chat-primary-action{background:var(--herd-chat-accent);color:var(--herd-chat-accent-contrast);transition:opacity var(--herd-chat-motion-micro) var(--herd-chat-ease),background var(--herd-chat-motion-micro) var(--herd-chat-ease)}.herd-chat-composer-controls .herd-chat-voice-action{background:transparent;color:var(--herd-chat-muted)}.herd-chat-composer-controls .herd-chat-voice-action:hover:not(:disabled){background:var(--herd-chat-surface-hover);color:var(--herd-chat-ink)}.herd-chat-composer-controls .herd-chat-voice-action.is-recording{color:var(--herd-chat-danger)}.herd-chat-composer-meta{min-width:0;min-height:30px;flex:1;padding:0 3px;display:flex;align-items:center;gap:8px;color:var(--herd-chat-muted);font-size:10.5px;line-height:14px}.herd-chat-composer-error{margin-left:auto}.herd-chat-composer-meta strong,.herd-chat-composer-error{color:var(--herd-chat-danger);font-weight:500}.herd-chat-voice-status{min-width:0;display:inline-flex;align-items:center;gap:7px}.herd-chat-voice-status time{color:var(--herd-chat-ink);font-variant-numeric:tabular-nums}.herd-chat-waveform{height:18px;display:inline-flex;align-items:center;gap:2px}.herd-chat-waveform i{width:2px;height:max(2px,calc(16px * var(--herd-chat-wave-level)));border-radius:2px;background:currentColor;transition:height 80ms linear}.herd-chat-read-only{min-height:44px;padding:8px 14px calc(8px + env(safe-area-inset-bottom));justify-content:center;gap:7px;border-top:1px solid var(--herd-chat-border);background:var(--herd-chat-surface-soft);color:var(--herd-chat-muted);font-size:12.5px}.herd-chat-read-only a{color:var(--herd-chat-ink);font-weight:600;text-underline-offset:2px}.herd-chat-rail{min-width:0;min-height:0;height:100%;padding:8px 7px calc(8px + env(safe-area-inset-bottom));border-right:1px solid var(--herd-chat-border);background:var(--herd-chat-surface-soft);overflow:auto}.herd-chat-rail>header{min-height:36px;padding:0 4px;display:flex;align-items:center;justify-content:space-between;gap:5px}.herd-chat-rail h2{margin:0;font-size:13px;font-weight:600;line-height:17px}.herd-chat-rail-identity{gap:7px}.herd-chat-mark{border-radius:var(--herd-chat-radius-control)}.herd-chat-rail-actions{gap:1px}.herd-chat-search-header{position:sticky;top:-8px;z-index:3;background:var(--herd-chat-surface-soft)}.herd-chat-search-header>svg{flex:0 0 auto;color:var(--herd-chat-muted)}.herd-chat-search-header input{min-width:0;height:32px;flex:1;padding:0 7px;border:1px solid var(--herd-chat-border);border-radius:var(--herd-chat-radius-control);background:var(--herd-chat-surface);color:inherit;font-size:13px}.herd-chat-search-results{margin-top:8px}.herd-chat-session-group{margin:10px 0 14px}.herd-agent-work-tree{grid-row:2;min-height:0;max-height:min(32vh,320px);margin:0;padding:0 0 0 18px;display:grid;gap:4px;list-style:none;border-left:1px solid var(--herd-chat-border);overflow:auto;overscroll-behavior:contain}.herd-agent-work-tree a,.herd-agent-work-row{min-width:0;padding:5px 7px;display:grid;grid-template-columns:minmax(96px,auto) minmax(100px,1fr) auto;align-items:center;gap:8px;border-radius:var(--herd-chat-radius-control);color:inherit;text-decoration:none}.herd-agent-work-tree a:hover{background:var(--herd-chat-surface-hover)}.herd-agent-work-name,.herd-agent-work-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.herd-agent-work-state{color:var(--herd-chat-muted);font-size:10.5px;text-transform:capitalize}@media(max-width:620px){.herd-agent-work-tree a,.herd-agent-work-row{grid-template-columns:minmax(0,1fr) auto}.herd-agent-work-name,.herd-agent-work-title{grid-column:1 / -1}}.herd-chat-session-group>h3,.herd-chat-session-group-toggle{width:100%;min-height:24px;margin:0;padding:3px 7px;display:flex;align-items:center;gap:6px;border:0;background:transparent;color:var(--herd-chat-muted);font-size:10.5px;font-weight:600;letter-spacing:.08em;line-height:14px;text-align:left;text-transform:uppercase}.herd-chat-session-group-toggle{cursor:pointer}.herd-chat-session-group-toggle>svg{margin-left:auto;transition:transform var(--herd-chat-motion-micro) var(--herd-chat-ease)}.herd-chat-session-group.collapsed .herd-chat-session-group-toggle>svg{transform:rotate(-90deg)}.herd-chat-session-count{font-variant-numeric:tabular-nums}.herd-chat-group-unread{width:5px;height:5px;border-radius:50%;background:var(--herd-chat-ink)}.herd-chat-group-motion{display:grid;grid-template-rows:1fr;transition:grid-template-rows var(--herd-chat-motion-micro) var(--herd-chat-ease),opacity var(--herd-chat-motion-micro) var(--herd-chat-ease)}.herd-chat-group-motion>div{min-height:0;overflow:hidden}.herd-chat-session-group.collapsed .herd-chat-group-motion{grid-template-rows:0fr;opacity:0}.herd-chat-session-row{width:100%;min-height:70px;margin:1px 0;padding:8px 9px 7px;display:block;position:relative;border-radius:var(--herd-chat-radius-control);background:transparent;color:inherit;text-align:left;text-decoration:none;transition:background var(--herd-chat-motion-micro) var(--herd-chat-ease),transform var(--herd-chat-motion-micro) var(--herd-chat-ease)}.herd-chat-session-row:hover{background:var(--herd-chat-surface-hover)}.herd-chat-session-row.selected{background:var(--herd-chat-surface-selected);box-shadow:inset 2px 0 var(--herd-chat-ink)}.herd-chat-session-row.active-option{outline:1px solid var(--herd-chat-border)}.herd-chat-session-row-top{justify-content:space-between;gap:8px}.herd-chat-session-row-top strong{min-width:0;overflow:hidden;font-size:13px;font-weight:600;line-height:17px;text-overflow:ellipsis;white-space:nowrap}.herd-chat-session-row.unread .herd-chat-session-row-top strong{font-weight:600}.herd-chat-session-time{flex:0 0 auto;gap:5px}.herd-chat-session-row time,.herd-chat-session-row-meta small{color:var(--herd-chat-muted);font-size:11px;font-variant-numeric:tabular-nums;line-height:14px}.herd-chat-unread{width:6px;height:6px;border-radius:50%;background:var(--herd-chat-ink)}.herd-chat-session-preview{height:15px;margin-top:3px;display:flex;align-items:center;overflow:hidden;color:var(--herd-chat-muted);font-size:11.5px;line-height:15px;text-overflow:ellipsis;white-space:nowrap}.herd-chat-session-preview svg{width:12px;height:12px;margin-right:4px;flex:0 0 auto}.herd-chat-session-row-meta{min-height:16px;margin-top:3px;justify-content:space-between;gap:6px;overflow:hidden}.herd-chat-session-row-meta .herd-chat-status-list{min-width:0;overflow:hidden}.herd-chat-session-row-meta .herd-chat-status{overflow:hidden;text-overflow:ellipsis}.herd-chat-draft-row{border:1px dashed var(--herd-chat-border)}.herd-chat-empty-group{margin:6px 7px;color:var(--herd-chat-muted);font-size:11.5px;line-height:15px}.herd-chat-recent-paging{margin:4px 5px;display:flex;align-items:center;justify-content:center;gap:5px;flex-wrap:wrap}.herd-chat-recent-paging button{min-width:48px;min-height:32px;padding:5px 8px;border:0;border-radius:var(--herd-chat-radius-control);background:transparent;color:var(--herd-chat-muted);cursor:pointer;font-size:11.5px}.herd-chat-recent-paging button:hover:not(:disabled){background:var(--herd-chat-surface-hover);color:var(--herd-chat-ink)}.herd-chat-recent-paging button:disabled{opacity:.4}.herd-chat-recent-paging span{width:100%;color:var(--herd-chat-danger);font-size:11px;text-align:center}.herd-chat-rail-loading{padding:8px 4px}.herd-chat-rail-skeleton{height:62px;margin:4px 0;display:block;border-radius:var(--herd-chat-radius-control);background:var(--herd-chat-surface-hover)}.herd-chat-rail-error{margin:12px 6px;color:var(--herd-chat-muted);font-size:12px;line-height:16px}.herd-chat-rail-error p{margin:0 0 6px}.herd-chat-rail-error details{margin:6px 0;font-size:11px}.herd-chat-rail-error button{min-height:32px;padding:5px 8px;color:var(--herd-chat-ink);font-weight:600}.herd-chat-rail-error button svg{vertical-align:-3px}.herd-chat-sr-only{width:1px;height:1px;position:absolute;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}@media(hover:none){.herd-chat-message-toolbar{position:static;width:max-content;margin-top:3px;margin-left:auto;border-color:transparent;background:transparent;opacity:1;transform:none}.herd-chat-message-user .herd-chat-message-toolbar{margin-right:auto;margin-left:0}.herd-chat-message-toolbar button,.herd-chat-icon-button{width:44px;height:44px}.herd-chat-composer textarea{font-size:16px}}@media(max-width:760px){.herd-chat-conversation-header{padding:0 7px;grid-template-columns:minmax(0,1fr) minmax(30px,2fr) minmax(0,1fr);gap:6px}.herd-chat-subtitle,.herd-chat-header-actions .herd-chat-status-list{display:none}.herd-chat-messages{padding:12px 13px}.herd-chat-turn{max-width:94%}.herd-chat-action-bar{padding:4px 13px}.herd-chat-turn-retry{grid-template-columns:auto minmax(0,1fr)}.herd-chat-turn-retry button{grid-column:2;justify-self:start}.herd-chat-composer{width:calc(100% - 20px);margin-bottom:calc(8px + env(safe-area-inset-bottom))}.herd-chat-composer-meta>span:empty{display:none}.herd-chat-artifact-card{grid-template-columns:68px minmax(0,1fr) auto}.herd-chat-artifact-preview{width:68px;height:52px}.herd-chat-artifact-download>span{display:none}.herd-chat-attachment-actions>span{display:none}}@media(prefers-color-scheme:dark){.herd-chat-conversation,.herd-chat-rail,.herd-team-definition-card,.herd-chat-artifact-panel{--herd-chat-ink: var(--ink-dark, #eef0f3);--herd-chat-muted: var(--muted-dark, #b4bac4);--herd-chat-faint: var(--faint-dark, #9098a5);--herd-chat-border: var(--border-dark, #343943);--herd-chat-surface: var(--surface-dark, #17191e);--herd-chat-surface-soft: var(--surface-soft-dark, #1f2228);--herd-chat-surface-hover: var(--surface-hover-dark, #292d35);--herd-chat-surface-selected: var(--surface-selected-dark, #303540);--herd-chat-accent: var(--accent-dark, #e4e7ec);--herd-chat-accent-contrast: var(--accent-contrast-dark, #17191e);--herd-chat-activity: var(--activity-dark, #8bb4ff);--herd-chat-attention: var(--attention-dark, #f2c078);--herd-chat-danger: var(--danger-dark, #ff9b96);--herd-chat-neutral-banner: var(--neutral-banner-dark, #20242b);--herd-chat-warning-banner: var(--warning-banner-dark, #2d261b);--herd-chat-danger-banner: var(--danger-banner-dark, #302020);--herd-chat-user-bubble: var(--user-bubble-dark, #292e37)}}.herd-team-definition-card{display:grid;gap:.9rem;padding:1rem;border:1px solid var(--herd-chat-border);border-radius:14px;background:var(--herd-chat-surface);color:var(--herd-chat-ink)}.herd-team-definition-card header h3{margin:.2rem 0 0;font-size:1rem}.herd-team-definition-card p{margin:0}.herd-team-definition-card>header{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.herd-team-definition-card>ul{display:grid;gap:.5rem;margin:0;padding:0;list-style:none}.herd-team-definition-card>ul>li{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.6rem;min-width:0}@media(prefers-reduced-motion:no-preference){.herd-chat-message-arrive{animation:herd-chat-arrive var(--herd-chat-motion-structural) var(--herd-chat-ease) backwards}.herd-chat-rail-skeleton,.herd-chat-conversation-loading span{animation:herd-chat-pulse 1.8s ease-in-out infinite}.herd-chat-activity-dot.running{animation:herd-chat-pulse 2s ease-in-out infinite}}@media(prefers-reduced-motion:reduce){.herd-chat-conversation,.herd-chat-rail,.herd-team-definition-card,.herd-chat-artifact-panel{--herd-chat-motion-micro: 0ms;--herd-chat-motion-structural: 0ms;scroll-behavior:auto}}@keyframes herd-chat-arrive{0%{opacity:0;transform:translateY(4px)}}@keyframes herd-chat-pulse{50%{opacity:.56}}:root{--ink: #1a1d24;--muted: #5f6672;--faint: #747c89;--border: #dfe2e7;--surface: #fff;--surface-soft: #f4f5f7;--surface-hover: #e9ebef;--surface-selected: #e7e9ed;--accent: #232936;--accent-contrast: #fff;--activity: #1d4ed8;--attention: #9a4b08;--danger: #b42318;--neutral-banner: #f1f3f5;--warning-banner: #fff7df;--danger-banner: #fff0ef;--user-bubble: #edf0f4;--overlay: rgb(16 24 40 / 34%);--focus: #232936;--control-ink: #fff;--motion-micro: .12s;--motion-structural: .2s;--motion-ease: cubic-bezier(.22, 1, .36, 1);color:var(--ink);color-scheme:light dark;background:var(--surface-soft);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}@media(prefers-color-scheme:dark){:root:not([data-color-scheme=light]){--ink: #f2f4f7;--muted: #abb2be;--faint: #9098a5;--border: #353a44;--surface: #111318;--surface-soft: #181b21;--surface-hover: #242831;--surface-selected: #303540;--accent: #d7dce5;--accent-contrast: #17191e;--activity: #7db0ff;--attention: #f4b860;--danger: #ff8b82;--neutral-banner: #20242b;--warning-banner: #2d261b;--danger-banner: #302020;--user-bubble: #292e37;--overlay: rgb(0 0 0 / 58%);--focus: #d7dce5;--control-ink: #17191e}}:root[data-color-scheme=dark]{--ink: #f2f4f7;--muted: #abb2be;--faint: #9098a5;--border: #353a44;--surface: #111318;--surface-soft: #181b21;--surface-hover: #242831;--surface-selected: #303540;--accent: #d7dce5;--accent-contrast: #17191e;--activity: #7db0ff;--attention: #f4b860;--danger: #ff8b82;--neutral-banner: #20242b;--warning-banner: #2d261b;--danger-banner: #302020;--user-bubble: #292e37;--overlay: rgb(0 0 0 / 58%);--focus: #d7dce5;--control-ink: #17191e;color-scheme:dark}:root[data-color-scheme=light]{color-scheme:light}*{box-sizing:border-box}body{min-width:20rem;margin:0;font-size:.875rem}button,input,textarea,select{font:inherit}button{color:inherit}button,a,input,textarea,select,.rail-resize{transition:background-color var(--motion-micro) ease,color var(--motion-micro) ease,border-color var(--motion-micro) ease,opacity var(--motion-micro) ease}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,.rail-resize:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.workspace{display:grid;grid-template-columns:var(--rail-width, 304px) minmax(0,1fr);height:100dvh;overflow:hidden;background:var(--surface);transition:grid-template-columns var(--motion-structural) var(--motion-ease)}.workspace.rail-closed{grid-template-columns:0 minmax(0,1fr)}.workspace.artifact-open{grid-template-columns:var(--rail-width, 304px) minmax(0,1fr) minmax(20rem,min(38vw,34rem))}.workspace.rail-closed.artifact-open{grid-template-columns:0 minmax(0,1fr) minmax(20rem,min(38vw,34rem))}.workspace.resizing{cursor:col-resize;user-select:none;transition:none}.sidebar{position:relative;z-index:3;display:flex;width:100%;height:100%;min-width:0;min-height:0;flex-direction:column;border-right:1px solid var(--border);background:var(--surface-soft);opacity:1;transition:opacity var(--motion-micro) ease,transform var(--motion-structural) var(--motion-ease),visibility 0s linear 0s}.workspace.rail-closed .sidebar{visibility:hidden;pointer-events:none;opacity:0;transition:opacity var(--motion-micro) ease,transform var(--motion-structural) var(--motion-ease),visibility 0s linear var(--motion-structural)}.sidebar>.herd-chat-rail{flex:1;min-width:0;min-height:0;border-right:0;background:transparent}.sidebar>.herd-chat-rail>header h2{font-size:.78rem;font-weight:600;letter-spacing:.09em;text-transform:uppercase}.rail-toggle,.mobile-back,.rail-reveal{min-width:2rem;min-height:2rem;border:0;border-radius:6px;background:transparent;color:var(--muted);cursor:pointer;font-size:.78rem;font-weight:600}.rail-toggle:hover,.mobile-back:hover,.rail-reveal:hover{background:var(--surface-hover);color:var(--ink)}.rail-toggle{display:inline-grid;place-items:center}.rail-reveal{position:absolute;z-index:2;top:.65rem;left:.65rem;display:inline-flex;align-items:center;gap:.42rem;border:1px solid var(--border);background:var(--surface);padding:.4rem .55rem}.rail-reveal[hidden]{display:none}.mobile-back{display:inline-flex;align-items:center;gap:.38rem;padding:.3rem .45rem;white-space:nowrap}.rail-aggregate{max-width:12rem;overflow:hidden;color:var(--muted);font-size:.68rem;font-weight:500;text-overflow:ellipsis;white-space:nowrap}.rail-resize{position:absolute;z-index:5;top:0;right:-3px;bottom:0;width:6px;margin:0;border:0;background:transparent;cursor:col-resize;touch-action:none}.rail-resize:after{position:absolute;top:0;right:2px;bottom:0;width:1px;background:transparent;content:"";transition:background var(--motion-micro) ease}.rail-resize:hover:after,.rail-resize:focus-visible:after,.workspace.resizing .rail-resize:after{background:var(--accent)}.rail-scrim{display:none}.eyebrow{margin:0 0 .35rem;color:var(--muted);font-size:.66rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase}.connection{display:inline-grid;width:2rem;height:2rem;flex:0 0 auto;place-items:center;border-radius:6px}.connection:before{width:.48rem;height:.48rem;border-radius:50%;background:var(--muted);content:""}.connection-online:before{background:var(--activity)}.connection-reconnecting:before,.connection-catching-up:before{background:var(--attention)}.connection-failed:before,.connection-auth-expired:before{background:var(--danger)}.notification-opt-in{min-height:2rem;border:0;border-radius:6px;background:transparent;color:var(--muted);padding:0 .42rem;cursor:pointer;font-size:.68rem;font-weight:600}.notification-opt-in:hover{background:var(--surface-hover);color:var(--ink)}.conversation{position:relative;display:flex;height:100%;min-width:0;min-height:0;flex-direction:column;background:var(--surface)}.conversation>.herd-chat-conversation{flex:1;min-height:0}.artifact-detail-host{z-index:4;min-width:0;min-height:0;overflow:hidden;border-left:1px solid var(--border);background:var(--surface)}.artifact-detail-host>.herd-chat-artifact-panel{width:100%;height:100%;border:0}.welcome,.auth-prompt{width:min(calc(100% - 2.5rem),31rem);margin:auto;padding:1.25rem}.welcome h2,.auth-prompt h2{max-width:28rem;margin:0;font-size:1.08rem;font-weight:600;line-height:1.35}.welcome>p:not(.eyebrow),.auth-prompt>p:not(.eyebrow){max-width:30rem;margin:.55rem 0 0;color:var(--muted);font-size:.82rem;line-height:1.5}.welcome button{margin-top:.8rem}.auth-prompt{display:grid;gap:.72rem}.welcome button,.auth-prompt button{width:fit-content;min-height:2.1rem;border:1px solid var(--accent);border-radius:6px;background:var(--accent);color:var(--control-ink);padding:.42rem .72rem;cursor:pointer;font-size:.78rem;font-weight:600}.auth-prompt button:disabled{cursor:not-allowed;opacity:.45}.technical-detail{color:var(--muted);font-size:.72rem}.technical-detail summary{width:fit-content;cursor:pointer}.technical-detail p{overflow-wrap:anywhere}.demo-review-controls{position:fixed;z-index:20;right:.75rem;bottom:.75rem;display:flex;align-items:center;gap:.45rem}.demo-palette,.demo-review-controls>button{min-height:2rem;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--muted);padding:.35rem .45rem;font-size:.7rem}.demo-palette{display:flex;align-items:center;gap:.45rem}.demo-review-controls>button{cursor:pointer;font-weight:600}.demo-palette select{border:1px solid var(--border);border-radius:5px;background:var(--surface-soft);color:var(--ink);padding:.2rem .35rem}.demo-type-comparison{position:fixed;z-index:30;right:1rem;bottom:3.6rem;left:1rem;width:min(calc(100% - 2rem),68rem);max-height:calc(100dvh - 5rem);margin:0 auto;overflow:auto;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 16px 40px #0000002e;padding:1rem}.demo-type-comparison>header,.demo-type-specimen>header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.demo-type-comparison h2{margin:0;font-size:1rem;font-weight:600}.demo-type-comparison>header>button{border:0;border-radius:6px;background:var(--surface-soft);padding:.4rem .6rem;cursor:pointer;font-size:.72rem}.demo-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-top:.9rem}.demo-type-specimen{min-width:0;border:1px solid var(--border);border-radius:8px;padding:.85rem;font-family:var(--demo-font-family)}.demo-type-specimen>header strong{font-size:.78rem;font-weight:600}.demo-type-specimen>header span{color:var(--muted);font-size:.64rem}.demo-type-rail-title{margin:1rem 0 0;font-size:13px;font-weight:600;line-height:17px}.demo-type-rail-preview{margin:.2rem 0 0;color:var(--muted);font-size:11.5px;font-weight:400;line-height:15px}.demo-type-body{margin:1.3rem 0 0;font-size:14px;font-weight:400;line-height:21px}.demo-type-tool{margin:1rem 0 0;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;font-weight:500;line-height:17px}.demo-type-meta{display:block;margin-top:.9rem;color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;font-weight:400;line-height:14px}@media(max-width:760px){.workspace.narrow{position:relative;display:block}.workspace.narrow.artifact-open,.workspace.narrow.rail-closed.artifact-open{display:block}.workspace.narrow .artifact-detail-host{position:absolute;z-index:6;inset:0;border-left:0;background:var(--surface)}.workspace.narrow .conversation{position:absolute;inset:0}.workspace.narrow .sidebar{position:absolute;inset:0 auto 0 0;width:min(88vw,22rem);visibility:visible;box-shadow:12px 0 28px #0000002e;transform:translate(0)}.workspace.narrow.rail-closed .sidebar{visibility:hidden;opacity:1;transform:translate(-102%)}.rail-scrim{position:absolute;z-index:2;inset:0;display:block;width:100%;height:100%;border:0;background:var(--overlay);cursor:default}.rail-resize{display:none}.herd-chat-conversation-header{padding-left:.7rem}.herd-chat-conversation{padding-bottom:env(safe-area-inset-bottom)}.rail-aggregate{display:none}.demo-type-grid{grid-template-columns:1fr}.welcome,.auth-prompt{width:min(calc(100% - 1rem),31rem)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:root[data-color-scheme=light] .herd-chat-conversation,:root[data-color-scheme=light] .herd-chat-rail,:root[data-color-scheme=light] .herd-team-definition-card,:root[data-color-scheme=light] .herd-chat-artifact-panel{--herd-chat-ink: var(--ink);--herd-chat-muted: var(--muted);--herd-chat-faint: var(--faint);--herd-chat-border: var(--border);--herd-chat-surface: var(--surface);--herd-chat-surface-soft: var(--surface-soft);--herd-chat-surface-hover: var(--surface-hover);--herd-chat-surface-selected: var(--surface-selected);--herd-chat-accent: var(--accent);--herd-chat-accent-contrast: var(--accent-contrast);--herd-chat-activity: var(--activity);--herd-chat-attention: var(--attention);--herd-chat-danger: var(--danger);--herd-chat-neutral-banner: var(--neutral-banner);--herd-chat-warning-banner: var(--warning-banner);--herd-chat-danger-banner: var(--danger-banner);--herd-chat-user-bubble: var(--user-bubble);color-scheme:light}
