.shell{flex-direction:column;flex:1;min-height:0;display:flex}.shell-stage{background:var(--color-canvas);flex-direction:column;flex:1;min-height:0;padding:12px;display:flex}.shell-split{flex:1;min-width:0;min-height:0;display:flex}.shell-split[data-axis=vertical]{flex-direction:column}.shell-pane{flex-direction:column;min-width:0;min-height:0;display:flex}.shell-divider{touch-action:none;flex:none;position:relative}.shell-split[data-axis=horizontal]>.shell-divider{cursor:col-resize;width:10px}.shell-split[data-axis=vertical]>.shell-divider{cursor:row-resize;height:10px}.shell-divider:after{content:"";border-radius:2px;position:absolute}.shell-split[data-axis=horizontal]>.shell-divider:after{width:2px;top:12px;bottom:12px;left:4px}.shell-split[data-axis=vertical]>.shell-divider:after{height:2px;top:4px;left:12px;right:12px}.shell-divider:hover:after,.shell-divider:focus-visible:after{background:var(--color-accent)}.shell-divider:focus-visible{outline-offset:-2px}.shell-group{border:1px solid var(--color-hairline);background:#fff;border-radius:8px;flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;overflow:hidden}.shell-tabbar{border-bottom:1px solid var(--color-hairline);flex-wrap:wrap;flex:none;align-items:center;min-height:42px;padding:0 8px;display:flex}.shell-tabstrip{--tabs:1;flex:1 1 min(100%, calc(128px + (var(--tabs,1) - 1) * 44px + 40px));align-self:stretch;align-items:stretch;min-width:0;max-width:100%;display:flex}.shell-tabs{scrollbar-width:none;flex:0 auto;align-items:stretch;min-width:0;display:flex;overflow-x:auto}.shell-tabs[data-overflow=end]{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),#0000)}.shell-tabs[data-overflow=start]{-webkit-mask-image:linear-gradient(270deg,#000 calc(100% - 28px),#0000);mask-image:linear-gradient(270deg,#000 calc(100% - 28px),#0000)}.shell-tabs[data-overflow=both]{-webkit-mask-image:linear-gradient(90deg,#0000,#000 28px calc(100% - 28px),#0000);mask-image:linear-gradient(90deg,#0000,#000 28px calc(100% - 28px),#0000)}.shell-tab{border-bottom:2px solid #0000;flex:1 1 0;align-items:stretch;min-width:44px;max-width:max-content;display:flex;position:relative}.shell-tab:has([aria-selected=true]){border-bottom-color:var(--color-accent);flex:none}.shell-tab:hover{background:var(--color-hover)}.shell-tab>[role=tab]{min-width:0;min-height:40px;color:var(--color-meta);white-space:nowrap;background:0 0;border:0;border-radius:0;flex:auto;justify-content:flex-start;padding:0 12px;font-size:13px;font-weight:400}.shell-tab[data-closable]:has([aria-selected=true])>[role=tab]{padding-right:30px}.shell-tab[data-renamable]:has([aria-selected=true])>[role=tab]{padding-right:54px}.shell-tab>[role=tab][aria-selected=true]{color:var(--color-accent-strong);font-weight:600}.shell-tab>[role=tab]:focus-visible{outline-offset:-3px}.shell-tab-close{width:20px;height:20px;min-height:0;color:var(--color-meta);background:0 0;border:0;border-radius:5px;padding:0;position:absolute;top:50%;right:6px;translate:0 -50%}.shell-tab-close:hover{background:var(--color-pressed);color:var(--color-ink)}.shell-tab-rename{width:20px;height:20px;min-height:0;color:var(--color-meta);background:0 0;border:0;border-radius:5px;padding:0;position:absolute;top:50%;right:28px;translate:0 -50%}.shell-tab-rename:hover{background:var(--color-pressed);color:var(--color-ink)}.shell-tab-add{width:28px;height:28px;min-height:0;color:var(--color-meta);background:0 0;border:0;border-radius:6px;flex:none;align-self:center;margin-left:4px;padding:0}.shell-tab-add:hover,.shell-tab-add[aria-expanded=true]{background:var(--color-hover);color:var(--color-ink)}.shell-tabbar>.shell-tabs{flex:0 auto}.shell-tabbar>.shell-tabs>.shell-tab{flex:none;min-width:0}.shell-tabs-fill{flex:1 1 0;min-width:12px}.shell-tabs-fill[data-movable]{cursor:grab}.shell-restore{background:var(--color-accent-soft);min-height:28px;color:var(--color-accent-strong);border:0;border-radius:6px;flex:none;gap:5px;margin-left:8px;padding:4px 9px;font-size:12px;font-weight:500}.shell-tab-name{flex-wrap:wrap;min-width:0;max-width:236px;max-height:1.5em;line-height:1.5;display:flex;overflow:hidden}.shell-tab-name:before{content:"";flex:none;width:0;height:1.5em}.shell-tab-stem{text-overflow:ellipsis;white-space:nowrap;flex:5ch;min-width:5ch;overflow:hidden}.shell-tab-ext{flex:none}.shell-header-slot{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;margin-left:auto;display:flex}.shell-header-slot:not(:has(.shell-view-header>*)){display:none}.shell-view-header{display:contents}.shell-header-slot.shell-header-narrow{border-bottom:1px solid var(--color-hairline);justify-content:flex-end;margin-left:0;padding:5px 8px}.shell-panel,.shell-view,.shell-owner{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.shell-body{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex;position:relative}.shell-tab[data-dragging],.shell-group[data-dragging]>:is(.shell-tabbar,.shell-body){opacity:.45}.shell-tab[data-drop=before]:before{content:"";background:var(--color-accent);pointer-events:none;border-radius:1px;width:2px;position:absolute;top:7px;bottom:7px;left:-1px}.shell-tabstrip[data-drop=end]>.shell-tabs:after{content:"";background:var(--color-accent);pointer-events:none;border-radius:1px;flex:none;width:2px;margin:7px 0 7px 1px;position:sticky;right:0}.shell-drop{z-index:6;position:absolute;inset:0}.shell-drop-preview{opacity:0;border:2px solid var(--color-accent);background:color-mix(in srgb, var(--color-accent) 12%, transparent);pointer-events:none;border-radius:6px;transition:inset 80ms,opacity 80ms;position:absolute;inset:0}.shell-drop[data-zone] .shell-drop-preview{opacity:1}.shell-drop[data-zone=center] .shell-drop-preview{inset:6px}.shell-drop[data-zone=left] .shell-drop-preview{inset:6px 50% 6px 6px}.shell-drop[data-zone=right] .shell-drop-preview{inset:6px 6px 6px 50%}.shell-drop[data-zone=top] .shell-drop-preview{inset:6px 6px 50%}.shell-drop[data-zone=bottom] .shell-drop-preview{inset:50% 6px 6px}.shell-stage{position:relative}.shell-edges{z-index:8;pointer-events:none;position:absolute;inset:0}.shell-edge{pointer-events:auto;position:absolute}.shell-edge[data-side=left]{width:18px;top:0;bottom:0;left:0}.shell-edge[data-side=right]{width:18px;top:0;bottom:0;right:0}.shell-edge[data-side=top]{height:18px;top:0;left:18px;right:18px}.shell-edge[data-side=bottom]{height:18px;bottom:0;left:18px;right:18px}.shell-edge:after{content:"";background:var(--color-accent);opacity:.3;border-radius:2px;position:absolute}.shell-edge:is([data-side=left],[data-side=right]):after{width:3px;top:16px;bottom:16px}.shell-edge[data-side=left]:after{left:4px}.shell-edge[data-side=right]:after{right:4px}.shell-edge:is([data-side=top],[data-side=bottom]):after{height:3px;left:0;right:0}.shell-edge[data-side=top]:after{top:4px}.shell-edge[data-side=bottom]:after{bottom:4px}.shell-edge[data-over]:after{opacity:1}.shell-edge-preview{border:2px solid var(--color-accent);background:color-mix(in srgb, var(--color-accent) 12%, transparent);pointer-events:none;border-radius:8px;position:absolute}.shell-edge-preview[data-side=left]{width:calc(33.3333% - 8px);top:12px;bottom:12px;left:12px}.shell-edge-preview[data-side=right]{width:calc(33.3333% - 8px);top:12px;bottom:12px;right:12px}.shell-edge-preview[data-side=top]{height:calc(33.3333% - 8px);top:12px;left:12px;right:12px}.shell-edge-preview[data-side=bottom]{height:calc(33.3333% - 8px);bottom:12px;left:12px;right:12px}.shell-closed{z-index:9;background:var(--color-ink);color:#fff;border-radius:8px;align-items:center;gap:4px;max-width:calc(100% - 48px);padding:5px 6px 5px 14px;font-size:13px;display:flex;position:absolute;bottom:24px;left:50%;translate:-50%;box-shadow:0 8px 24px #20392b33}.shell-closed>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin-right:6px;overflow:hidden}.shell-closed .shell-link{color:#9fdcbf;font-weight:600}.shell-closed .shell-quiet{color:#c9d3ce}.floating-menu{z-index:40;border:1px solid var(--color-hairline);background:#fff;border-radius:9px;min-width:200px;max-width:min(360px,100vw - 16px);padding:6px;position:fixed;overflow:auto;box-shadow:0 8px 28px #20392b1a}.floating-menu[role=menu]>button{background:0 0;border:0;justify-content:flex-start;gap:9px;width:100%;min-height:32px;padding:5px 9px;font-size:13px;font-weight:400}.floating-menu[role=menu]>button:hover,.floating-menu[role=menu]>button:focus-visible{background:var(--color-hover)}.floating-menu[role=menu]>button>span{text-align:left;flex:1}.floating-menu kbd{color:var(--color-meta);font-size:11px}.floating-menu.add-into{width:360px}@media (prefers-reduced-motion:reduce){.shell-drop-preview{transition:none}}.shell-panel{overflow:hidden}.shell-owner{position:relative}.shell-owner>*{flex:1;min-height:0}.shell-source button,.shell-interruption button,.shell-digest button,.agent-column button{min-height:28px;padding:4px 8px;font-size:12px}.shell-quiet,.shell-link{color:var(--color-muted);background:0 0;border:0;padding:3px 6px}.shell-link{color:var(--color-accent)}.shell-link:hover{text-decoration:underline}.shell-agent{background:0 0;border:0;justify-content:flex-start;gap:6px;min-width:0;max-width:50%}.shell-agent-object{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-weight:500;overflow:hidden}.shell-agent-state{min-width:0;color:var(--color-meta);text-overflow:ellipsis;white-space:nowrap;font-weight:400;overflow:hidden}.shell-meta{color:var(--color-meta)}.shell-interruption{background:var(--color-amber-soft);border-bottom:1px solid var(--color-amber-line);flex:none;align-items:center;gap:10px;padding:10px 16px;font-size:13px;display:flex}.shell-interruption-text{overflow-wrap:anywhere;flex:1;min-width:0}.shell-interruption.problem{color:var(--color-failed)}.shell-digest{background:var(--color-well);border-bottom:1px solid var(--color-hairline);flex:none;max-height:230px;padding:12px 20px;font-size:12px;overflow:auto}.shell-digest header{justify-content:space-between;align-items:center;display:flex}.shell-digest ul{margin:6px 0 0;padding:0;list-style:none}.shell-digest li{flex-wrap:wrap;gap:8px;padding:3px 0;display:flex}.shell-source{color:var(--color-meta);border-bottom:1px solid var(--color-divider);flex-wrap:wrap;flex:none;align-items:center;gap:5px 10px;padding:7px 12px;font-size:11px;display:flex}.shell-source button{min-height:22px;padding:1px 3px;font-size:11px}.shell-producer{color:var(--color-muted);background:0 0;border:0}.shell-run-id{font-family:var(--font-mono)}.shell-verified.verified .shell-integrity{color:var(--color-verified-text)}.shell-agent-words{text-overflow:ellipsis;white-space:nowrap;max-width:35ch;overflow:hidden}.shell-state.failed{color:var(--color-failed)}.shell-state.active,.shell-state.running{color:var(--color-accent)}.shell-state.unknown,.shell-state.unobserved{color:var(--color-amber-text)}.shell-state.superseded{color:var(--color-muted)}.shell-question{flex:none;max-height:230px;font-size:12px;overflow:auto}.shell-question:empty{display:none}.shell-run,.shell-action{flex-direction:column;gap:16px;padding:28px;display:flex;overflow:auto}.shell-run h2,.shell-action h2{overflow-wrap:anywhere;font-size:21px}.shell-run-head{flex-direction:column;gap:16px;padding-right:18px;display:flex}.shell-run-head h2{font-family:var(--font-mono);font-size:19px}.shell-run-actions{flex-wrap:wrap;gap:7px;display:flex}.shell-run button{min-height:30px;font-size:12px}.shell-run-status,.shell-run-clock,.shell-run-checks,.shell-action-identity{color:var(--color-meta);overflow-wrap:anywhere;font-size:12px}.shell-run-status .shell-state{font-weight:600}.shell-run-elapsed{font-variant-numeric:tabular-nums;color:var(--color-ink);font-size:24px}.shell-run-error{border-left:3px solid var(--color-failed);color:var(--color-failed-strong);font-family:var(--font-mono);overflow-wrap:anywhere;background:#fdf1ef;padding:14px 16px;font-size:12px}.shell-run-error.superseded{color:var(--color-meta);background:var(--color-well);border-color:var(--color-control-border)}.shell-run-files{margin:0;padding:0;list-style:none}.shell-run-file{border-bottom:1px solid var(--color-divider);align-items:center;gap:12px;padding:12px 0;font-size:13px;display:flex}.shell-run-file svg{color:var(--color-meta);flex:none}.shell-run-file-name{overflow-wrap:anywhere;flex:1;min-width:0}button.shell-run-file-name{text-align:left;color:var(--color-accent);background:0 0;border:0;justify-content:flex-start;padding:0}.shell-run-file-state{color:var(--color-meta);font-size:11px}.shell-run-file.missing .shell-run-file-state{color:var(--color-failed)}.shell-run-fix,.shell-run-repair,.shell-run-chain{flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.shell-run-chain{border-top:1px solid var(--color-hairline);padding-top:14px}.shell-run-output{background:var(--color-well);border:1px solid var(--color-hairline);border-radius:8px;padding:16px;font-size:12px}.shell-run-output section+section{margin-top:20px}.shell-run-output pre{background:#fff;max-height:300px;padding:12px}.shell-run-export{border:1px solid var(--color-hairline);border-radius:8px;flex-direction:column;gap:14px;padding:20px;display:flex}.shell-run-export ul{padding-left:16px}.shell-action form{flex-direction:column;gap:20px;max-width:720px;display:flex}.shell-field{flex-direction:column;gap:8px;font-size:13px;display:flex}.shell-field.inline{flex-direction:row;align-items:center}.shell-field.inline input{width:auto}.shell-field-group{border:1px solid var(--color-hairline);border-radius:8px;flex-direction:column;gap:16px;min-width:0;padding:18px;display:flex}.shell-field-group legend{color:var(--color-meta);padding:0 6px;font-size:12px}.shell-field-references{background:var(--color-well);overflow-wrap:anywhere;border-radius:6px;margin:0;padding:12px 14px;list-style:none}.shell-field-json{font-family:var(--font-mono);font-size:12px}.shell-field-problem{color:var(--color-failed);font-size:12px}.shell-action-submit{align-items:center;gap:12px;display:flex}.shell-action-submit button{background:var(--color-accent);color:#fff;border-color:var(--color-accent);padding-inline:24px}.agent-column{outline:none;flex-direction:column;display:flex}.agent-card{border-bottom:1px solid var(--color-hairline);padding:20px}.agent-card-head{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px;font-size:13px;display:flex}.agent-card-meta,.agent-card-sub{color:var(--color-meta);font-size:11px;font-weight:400}.agent-card-meta{margin-left:auto}.agent-dot{background:var(--color-control-border);border-radius:50%;width:6px;height:6px}.agent-dot.running{background:var(--color-accent)}.agent-column .shell-agent{flex-wrap:wrap;width:100%;max-width:100%;padding:6px 0}.agent-items ol{margin:0;padding:0;list-style:none}.agent-item{border-bottom:1px solid var(--color-divider);flex-wrap:wrap;align-items:flex-start;gap:6px 10px;padding:14px 0;display:flex}.agent-item:last-child{border-bottom:0}.agent-item-mark{border:1px solid var(--color-meta);border-radius:50%;flex:none;width:6px;height:6px;margin-top:7px}.agent-item.working .agent-item-mark{background:var(--color-accent);border-color:var(--color-accent)}.agent-item-title{overflow-wrap:anywhere;flex:1;min-width:0;font-size:13px}button.agent-item-title{text-align:left;background:0 0;border:0;justify-content:flex-start;padding:0}.agent-item-meta{width:100%;color:var(--color-meta);padding-left:16px;font-size:11px}.agent-item-body{width:100%;color:var(--color-muted);padding-left:16px;font-size:12px}.agent-item-body p+p{margin-top:6px}.agent-card-count{color:var(--color-meta);margin-left:auto}.agent-outputs ul,.agent-questions{margin:0;padding:0;list-style:none}.agent-outputs li{align-items:center;gap:9px;padding:8px 0;font-size:12px;display:flex}.agent-output-name{overflow-wrap:anywhere;flex:1;min-width:0}button.agent-output-name{text-align:left;background:0 0;border:0;justify-content:flex-start;padding:0}.agent-output-state{color:var(--color-meta);font-size:11px}.agent-output-check{color:var(--color-verified-text)}.agent-question{flex-direction:column;align-items:flex-start;gap:9px;padding:12px 0;font-size:13px;display:flex}.agent-question p{overflow-wrap:anywhere}.agent-question-state{color:var(--color-meta);font-size:11px}.agent-record-toggle{justify-content:space-between;width:100%;font-weight:500}.shell-evidence{overflow-wrap:anywhere;font-size:11px}.shell-evidence ol,.shell-notes ul{margin:8px 0;padding:0;list-style:none}.shell-evidence ol>li{border-bottom:1px solid var(--color-divider);grid-template-columns:62px 1fr;gap:4px 8px;padding:10px 0;display:grid}.shell-evidence time{color:var(--color-meta)}.shell-evidence-what{color:var(--color-muted);grid-column:1/-1}.shell-evidence>p{color:var(--color-meta);margin-top:12px}.shell-evidence-day{color:var(--color-meta)}.unavailable,.empty{flex-direction:column;align-items:flex-start;gap:16px;padding:32px;display:flex;overflow:auto}.unavailable>p{color:var(--color-meta);max-width:500px}.unavailable-facts{flex-direction:column;font-size:12px;display:flex}.unavailable-facts>div,.view-reference dl>div{grid-template-columns:80px minmax(0,1fr);gap:12px;display:grid}.unavailable-actions{flex-wrap:wrap;gap:10px;display:flex}.view-reference{color:var(--color-meta);flex-basis:100%;font-size:12px}.view-reference dl{flex-direction:column;margin-top:12px;display:flex}.media-controls{align-items:center;gap:8px;font-size:11px;display:inline-flex}.media-size{color:var(--color-meta)}.segmented{border:1px solid var(--color-hairline);border-radius:6px;padding:2px;display:inline-flex}.segmented button{background:0 0;border:0;border-radius:4px;min-height:24px;padding:2px 7px;font-size:11px}.segmented button[aria-pressed=true]{background:var(--color-selected);color:var(--color-accent-strong)}@media (width<=767px){.shell-stage{padding:7px}.shell-tabbar{padding-inline:4px}.shell-tabs button{max-width:65vw;padding-inline:10px}.shell-agent{width:100%;max-width:none}.shell-agent-state{margin-left:auto}.shell-source{padding:6px 9px}.shell-run,.shell-action{padding:20px 14px}.shell-run h2{font-size:16px}.shell-interruption{flex-wrap:wrap;padding:10px}.shell-interruption-text{flex-basis:70%}}.agent-presence{background:var(--color-accent-soft,#e5f1e9);color:var(--color-accent-strong,#164e3c);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;margin-left:6px;padding:0 7px;font-size:11px;font-weight:600;line-height:18px;display:inline-flex}.agent-presence:not(.live) .pulse-dot{animation:none}
