@import url('/universal.css');
:root{--soft:#aaa6be;--focus:#c7b5ff;--surface:var(--panel);--surface-2:var(--panel-2);--action-ink:#171126}
:root[data-theme=light]{--muted:#57516d;--soft:#655e78;--pink:#a71976;--violet:#6940bd;--cyan:#076775;--focus:#6940bd;--stroke-2:#91879f;--gradient:linear-gradient(115deg,#ff58c8,#b48eff 48%,#5ce6f2)}
html{scroll-padding-top:96px}body{font-size:16px;line-height:1.6}
button,input,select,textarea,a,summary{touch-action:manipulation}
button,.btn,.btn.small,.icon-btn,.node-controls button,.text-link,.recipe-filter,.planner-examples button{min-width:44px;min-height:44px}
.btn,.btn.small{font-size:14px;padding:10px 16px;border-radius:9px}.btn.primary{color:var(--action-ink);box-shadow:none}.btn:hover,.card:hover{transform:none}.icon-btn{width:44px;height:44px}
input,select,textarea{font-size:16px;padding:11px 12px;border-color:var(--stroke-2)}
:focus-visible{outline:3px solid var(--focus)!important;outline-offset:3px}
h1:focus,#content:focus{outline:none!important}button:active{filter:brightness(.9)}
p{font-size:16px;line-height:1.65}.field label,label{font-size:14px;font-weight:650}.field-help,.small,small,.muted.small{font-size:12px;line-height:1.6}.eyebrow{font-size:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
body .os-shell{display:grid;grid-template-columns:220px minmax(0,1fr);max-width:none;min-height:100dvh;padding:0}
.os-rail{height:100dvh;position:sticky;top:0;border-right:1px solid var(--stroke);background:var(--panel);padding:24px 16px;display:flex;flex-direction:column;gap:24px;min-width:0;overflow:auto}
.os-rail .topbar-brand{gap:12px;width:100%;min-width:0}.os-rail .brand-name{font-size:16px;white-space:nowrap}.os-rail nav{display:grid;gap:8px}
.rail-link{display:flex;align-items:center;gap:12px;width:100%;padding:12px;border:1px solid transparent;border-radius:9px;background:none;color:var(--muted);font-size:14px;text-align:left}
.rail-link .dock-svg{width:20px;height:20px;flex:none}.rail-link.active{color:var(--text);background:var(--raised);border-color:var(--stroke-2)}.rail-link:hover{background:var(--panel-2);color:var(--text)}
.rail-link.active:before{content:'';width:3px;height:20px;background:var(--gradient);position:absolute;left:16px;border-radius:3px}
.rail-bottom{margin-top:auto;display:grid;gap:12px}.rail-bottom small{font-size:12px;color:var(--muted)}.workspace-label{font-size:12px;overflow-wrap:anywhere;color:var(--muted)}
.new-workflow{width:100%;gap:8px}.new-workflow>span:first-child{font-size:20px}
body .rail-collapsed{grid-template-columns:80px minmax(0,1fr)}.rail-collapsed .os-rail{padding:24px 12px}.rail-collapsed .rail-link{justify-content:center;padding:12px 0}.rail-collapsed .rail-link>span,.rail-collapsed .brand-name,.rail-collapsed .new-workflow>span:nth-child(2),.rail-collapsed .workspace-label,.rail-collapsed .rail-bottom small{display:none}
.os-shell .main-column{min-width:0;max-width:none;width:100%}.os-shell .topbar{position:sticky;top:0;min-height:76px;height:auto;padding:12px 32px;background:var(--bg);backdrop-filter:none;gap:16px;flex-wrap:wrap}.top-actions{gap:8px}.breadcrumb,.breadcrumb strong{font-size:12px}.version-label{font-size:12px;color:var(--muted)}
.os-shell .content{width:100%;max-width:1280px;padding:32px;margin:0 auto;min-height:calc(100dvh - 140px)}.os-shell .footer{padding:16px 32px;font-size:12px;max-width:none;min-height:64px;margin:0}.os-mobile-nav,.mobile-new{display:none}
.page-heading{align-items:flex-start;gap:24px}.page-heading h1{font-size:32px;line-height:1.2;margin:4px 0 8px;letter-spacing:-.8px}.page-heading p{font-size:16px;max-width:64ch}
.workspace-kicker{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted);margin-bottom:24px;letter-spacing:.04em}
.outcome-composer{display:grid;gap:8px;margin-bottom:32px}.outcome-composer>label{font-size:32px;line-height:1.3;letter-spacing:-.8px;color:var(--text);font-weight:700}.outcome-composer>p{font-size:16px;color:var(--muted);margin:0 0 12px}.outcome-composer textarea{min-height:88px}.outcome-composer .prompt-input-row{align-items:stretch}
.demo-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.8fr);gap:24px;padding:24px;border:1px solid var(--stroke);background:var(--panel);border-radius:12px}.demo-panel h2{font-size:22px;letter-spacing:-.4px;margin:8px 0}.demo-panel p{font-size:14px;color:var(--muted);margin:0}.demo-panel form{display:grid;gap:8px}.demo-panel label{font-size:14px}
.home-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.section-title{gap:12px;margin:32px 0 16px;align-items:center;flex-wrap:wrap}.section-title h2{font-size:20px}.section-title p{font-size:14px}
.draft-row,.attention-row{display:flex;align-items:center;gap:16px;width:100%;padding:16px;border:1px solid var(--stroke);border-radius:10px;background:var(--panel);color:var(--text);text-align:left;margin:0 0 8px}.draft-row>.dock-svg,.draft-row>span:first-child>.dock-svg,.attention-row .dock-svg{width:20px;height:20px;flex:none}.draft-row>span:nth-child(2),.attention-row>span:nth-child(2){min-width:0;flex:1;overflow-wrap:anywhere}.draft-row strong,.attention-row strong{font-size:14px;display:block}.draft-row small,.attention-row small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.draft-row:hover,.attention-row:hover{border-color:var(--violet)}
.quiet-empty{padding:24px;border:1px dashed var(--stroke-2);border-radius:10px;color:var(--muted)}.quiet-empty p{margin:0 0 12px;font-size:14px}
.view-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px;border-bottom:1px solid var(--stroke);padding-bottom:12px}.view-tabs button{border:1px solid transparent;background:transparent;color:var(--muted);padding:10px 16px;font-size:14px;border-radius:9px}.view-tabs button[aria-pressed=true]{color:var(--text);background:var(--raised);border-color:var(--stroke-2)}
.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.card,.connection-card{padding:24px;border-radius:12px;box-shadow:none}.card h3,.connection-card h3{font-size:18px;line-height:1.4}.card p,.connection-description{font-size:14px;line-height:1.7}.card-bottom{flex-wrap:wrap;gap:12px}.card-bottom .small{font-size:12px;flex:1;min-width:120px}.pill{font-size:12px;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.5}.pill .mini-dot{flex:none}.template-meta{flex-wrap:wrap;gap:8px}.template-readiness .field-help{font-size:12px}.recipe-count{font-size:12px}.recipe-filter{font-size:14px}.recipe-tools{gap:16px}.recipe-categories{gap:8px}.recipe-tools input{font-size:16px}
.notice{font-size:14px;line-height:1.7;overflow-wrap:anywhere;flex-wrap:wrap;gap:12px}.notice p{font-size:14px}.notice>div{min-width:0;flex:1}.empty-state h3{font-size:20px}.empty-state p{font-size:16px}.empty-state .btn{margin:4px}.text-link{font-size:14px;display:inline-flex;align-items:center}.manual-start{padding:24px;border:1px solid var(--stroke);border-radius:12px}.manual-start .btn{margin:8px 8px 0 0}
.builder-plan-panel{border-radius:12px}.builder-plan-panel summary{min-height:44px}.builder-plan-panel summary strong{font-size:16px}.builder-plan-panel summary small{font-size:12px}.builder-plan-content label{font-size:16px}.builder-local-note{font-size:12px}.builder-layout{grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.builder-side{position:static;order:0;padding:20px;border-radius:12px}.builder-side h3{font-size:18px}.builder-side p{font-size:14px}.builder-toolbar{padding:16px;gap:16px;flex-wrap:wrap}.builder-toolbar>.field{flex:1 1 240px}.builder-toolbar>.actions{flex:1 1 100%;gap:8px}.builder-toolbar input{max-width:none}.builder-map-header strong,.builder-map-header span{font-size:12px}.builder-map-meta{flex-wrap:wrap}.builder-canvas{padding:24px 16px;background-image:none}
.graph-node{border-radius:10px;box-shadow:none}.graph-node-head{padding:16px;gap:12px;flex-wrap:wrap}.node-head-copy{min-width:0;flex:1 1 140px}.node-head-copy strong{font-size:16px}.node-head-copy small,.node-summary{font-size:12px;line-height:1.6}.step-permission{font-size:12px;display:block;color:var(--cyan);margin-top:8px;overflow-wrap:anywhere}.node-number{font-size:12px}.node-controls{gap:8px}.node-controls button{width:44px;height:44px;font-size:20px}.node-settings{padding:0 16px 12px}.node-settings>summary{font-size:14px;min-height:44px;padding:12px 0;cursor:pointer}.node-config{gap:16px}.node-locked{font-size:12px;line-height:1.7}.node-palette{grid-template-columns:1fr;gap:8px}.palette-btn{padding:12px}.palette-btn strong{font-size:14px}.palette-btn small{font-size:12px}.validation-box{font-size:14px}.validation-box li{font-size:12px;line-height:1.7}.insert-step{display:block;margin:12px auto;border:1px dashed var(--stroke-2);background:var(--panel);color:var(--muted);padding:8px 16px;border-radius:9px;font-size:14px}
.graph-overview,.test-review{padding:24px;border:1px solid var(--stroke);background:var(--panel);border-radius:12px;margin-bottom:24px}.graph-path{display:grid;gap:0;max-width:640px;margin:24px auto}.graph-chip{display:block;padding:12px 16px;border:1px solid var(--stroke-2);border-radius:9px;font-size:14px;overflow-wrap:anywhere}.graph-connector{display:block;text-align:center;font-size:20px;color:var(--violet)}.test-review h2{font-size:22px}.test-review ul{list-style:none;padding:0;display:grid;gap:12px}.test-review li{padding:12px 0;border-bottom:1px solid var(--stroke);overflow-wrap:anywhere}.test-review li strong{font-size:14px}.test-review li span{display:block;color:var(--muted);font-size:12px}.test-review textarea{margin-top:8px}.test-mode .builder-side{display:none}.test-mode.builder-layout{grid-template-columns:1fr}
.data-table{font-size:14px;min-width:560px}.data-table th,.data-table small{font-size:12px}.workflow-row{grid-template-columns:minmax(0,1fr) auto;gap:16px}.workflow-row-actions{grid-column:1/-1;justify-content:flex-start;gap:8px}.workflow-row h3,.item-copy strong{font-size:16px}.workflow-row p,.item-copy small{font-size:12px}.connection-header,.connection-item,.connection-actions{flex-wrap:wrap;gap:12px}.connection-item .item-copy{min-width:140px}.run-version{font-size:12px;color:var(--muted)}.step-report h3{font-size:16px}.step-report p{font-size:14px}.report-heading h2{font-size:24px}.report-heading p{font-size:12px}.json-preview{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}
.modal-backdrop{padding:16px;overflow:auto}.modal,.command-palette{padding:24px;max-height:calc(100dvh - 32px);overflow:auto}.modal-head h2,.command-head h2{font-size:24px}.modal-head p{font-size:16px}.modal-actions{gap:8px;flex-wrap:wrap}.command-row strong{font-size:16px}.command-row small,.command-foot{font-size:12px}.toast{font-size:14px;bottom:max(16px,env(safe-area-inset-bottom));z-index:100}.operation-banner{padding:12px 32px;border-bottom:1px solid var(--stroke);background:var(--panel-2);font-size:14px;position:sticky;top:76px;z-index:8}.login-story p,.login-card p{font-size:16px}.login-foot{font-size:12px!important}
[hidden]{display:none!important}
@media(max-width:1120px){body .os-shell{grid-template-columns:80px minmax(0,1fr)}.os-rail{padding:24px 12px}.os-rail .brand-name,.os-rail .rail-link>span,.os-rail .new-workflow>span:nth-child(2),.os-rail .workspace-label,.os-rail .rail-bottom small{display:none}.os-rail .rail-link{justify-content:center;padding:12px 0}.builder-layout{grid-template-columns:1fr}.builder-side{order:0}.node-palette{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){body .os-shell{grid-template-columns:1fr;padding-bottom:calc(76px + env(safe-area-inset-bottom))}.os-rail{display:none}.os-shell .topbar{position:static;padding:12px 24px;min-height:68px}.os-shell .content{padding:24px}.os-shell .footer{padding:16px 24px}.os-mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));left:0;right:0;bottom:0;z-index:20;padding:8px max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:var(--panel);border-top:1px solid var(--stroke);gap:8px}.mobile-destination{display:grid;justify-items:center;gap:4px;padding:8px 2px;min-width:0;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font-size:12px}.mobile-destination .dock-svg{width:20px;height:20px}.mobile-destination.active{background:var(--raised);color:var(--text);border-color:var(--stroke-2)}.mobile-more{position:absolute;bottom:calc(100% + 8px);right:16px;width:min(320px,calc(100vw - 32px));background:var(--panel);border:1px solid var(--stroke-2);border-radius:12px;padding:8px;box-shadow:var(--shadow)}.mobile-new{display:inline-flex}.home-columns{grid-template-columns:1fr}.operation-banner{top:0}.demo-panel{grid-template-columns:1fr}.topbar .breadcrumb{display:none}}
@media(max-width:600px){.os-shell .content{padding:24px max(16px,env(safe-area-inset-right)) 32px max(16px,env(safe-area-inset-left))}.os-shell .topbar{padding:12px 16px}.top-actions{width:100%;justify-content:space-between;gap:8px}.top-actions .version-label{display:none}.outcome-composer>label{font-size:28px}.outcome-composer .prompt-input-row{flex-direction:column}.page-heading h1{font-size:28px}.card-grid,.connection-grid{grid-template-columns:1fr}.card,.connection-card{padding:20px}.recipe-tools{display:grid;grid-template-columns:1fr}.recipe-categories{display:flex;flex-wrap:wrap}.builder-toolbar>.actions .btn{flex:1 1 100px}.node-controls{width:100%;justify-content:flex-end;flex-wrap:wrap}.node-config{grid-template-columns:1fr}.node-config .span-2{grid-column:auto}.node-palette{grid-template-columns:1fr}.graph-node-head{padding:16px}.builder-canvas{padding:20px 12px}.builder-map-header{flex-wrap:wrap}.workflow-row{grid-template-columns:1fr}.workflow-row-meta{grid-row:auto;flex-wrap:wrap}.workflow-row-actions{grid-column:auto;flex-wrap:wrap}.connection-header .push-right{margin-left:0}.connection-actions{width:100%}.modal,.command-palette{padding:20px 16px}.modal-backdrop{padding:8px}.graph-overview,.test-review{padding:20px 16px}.view-tabs button{flex:1 1 auto}.toast{bottom:calc(90px + env(safe-area-inset-bottom));right:16px}.os-shell .footer{padding:16px}.step-report{grid-template-columns:24px minmax(0,1fr)}.step-report>.pill{grid-column:2;justify-self:start}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
.integration-section{margin:24px 0 32px}.mcp-server,.local-node-boundary{padding:24px;border:1px solid var(--stroke);border-radius:12px;background:var(--panel);margin-bottom:16px}.mcp-server .section-title{margin-top:0}.mcp-server h3,.local-node-boundary h3{font-size:18px;margin:0 0 8px}.mcp-server p,.local-node-boundary p{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.mcp-tool{display:flex;gap:16px;padding:16px 0;border-top:1px solid var(--stroke);align-items:flex-start;flex-wrap:wrap}.mcp-tool>div{flex:1;min-width:180px}.mcp-tool strong{font-size:16px}.mcp-tool details{margin-top:8px}.mcp-tool summary{cursor:pointer;font-size:14px;min-height:44px}.mcp-tool small{font-size:12px;color:var(--muted)}
@media(max-width:600px){.mcp-server,.local-node-boundary{padding:20px 16px}}
:root{font-family:Inter,"Open Sans",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.skip-link:not(:focus-visible){transform:translateY(-160%)!important}.add-glyph{font-family:Arial,sans-serif}.graph-chip small{display:block;color:var(--muted);margin-top:4px}.os-shell .home-columns h2{font-size:20px}
html{scroll-padding-bottom:110px}:where(button,input,select,textarea,a,summary){scroll-margin-block:100px}.live-run-state{padding:12px 16px;border-left:3px solid var(--cyan);background:var(--panel-2);color:var(--text)}
