.automation-demo{color:var(--foreground);letter-spacing:0}.automation-demo h2,.automation-demo h3,.automation-demo h4{color:var(--foreground)}.automation-demo-section{border-bottom:1px solid var(--border);padding:48px 0 72px}.automation-demo-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px;display:flex}.automation-demo-heading h2{letter-spacing:0;max-width:760px;margin-top:14px;font-size:42px;font-weight:650;line-height:1.12}.automation-demo-heading p{max-width:440px;color:var(--muted-foreground);font-size:15px;line-height:1.7}.automation-demo-editor{border:1px solid var(--border-strong);background:var(--card);border-radius:8px;overflow:hidden}.automation-demo-bar{border-bottom:1px solid var(--border);align-items:center;gap:10px;padding:15px 20px;display:flex}.automation-demo-bar strong{font-size:14px}.automation-demo-badge{font:500 10px var(--font-mono);color:var(--muted-foreground);white-space:nowrap;margin-left:auto}.automation-demo-layout{grid-template-columns:320px minmax(0,1fr);display:grid}.automation-demo-prompt{border-right:1px solid var(--border);padding:24px}.automation-demo-prompt h3{margin:12px 0 20px;font-size:22px;font-weight:600;line-height:1.3}.automation-demo-prompt textarea{resize:vertical;min-height:142px;font-size:14px;line-height:1.65}.automation-demo-examples{flex-wrap:wrap;gap:6px;margin:14px 0;display:flex}.automation-demo-preview{background-color:var(--surface-2);background-image:radial-gradient(var(--border-strong) .8px, transparent .8px);background-size:20px 20px;min-width:0}.automation-demo-preview-top{justify-content:space-between;align-items:center;gap:12px;padding:22px 24px 0;display:flex}.automation-demo-preview-top h4{overflow-wrap:anywhere;font-size:15px;font-weight:600}.automation-demo-canvas{min-height:260px;padding:38px 20px 28px;overflow-x:auto}.automation-demo-track{justify-content:center;align-items:start;width:max-content;min-width:100%;display:flex}.automation-demo-unit{text-align:center;flex:none;width:150px;position:relative}.automation-demo-unit+.automation-demo-unit:before{content:"";border-top:2px dashed var(--border-strong);width:54px;position:absolute;top:48px;left:-27px}.automation-demo-node{border:6px solid var(--surface);width:96px;height:96px;box-shadow:0 0 0 1px var(--border-strong);background:var(--foreground);color:var(--background);border-radius:50%;place-items:center;margin-inline:auto;padding:0;display:grid;position:relative}.automation-demo-node svg{width:36px;height:36px}.automation-demo-node[data-kind=trigger]{background:var(--primary);color:var(--primary-foreground)}.automation-demo-node[data-kind=branch],.automation-demo-node[data-kind=wait]{background:var(--attention);color:var(--attention-foreground)}.automation-demo-node[data-kind=send_email],.automation-demo-node[data-kind=send_sms]{background:var(--info);color:var(--info-foreground)}.automation-demo-node[data-selected=true]{outline:3px solid var(--primary);outline-offset:4px}.automation-demo-node.automation-demo-add{border:2px dashed var(--border-strong);background:var(--surface);width:64px;height:64px;color:var(--muted-foreground);box-shadow:none;margin-block:16px}.automation-demo-node.automation-demo-add svg{width:24px;height:24px}.automation-demo-num{border:2px solid var(--surface);background:var(--surface);min-width:24px;height:24px;color:var(--muted-foreground);border-radius:50%;place-items:center;font-size:11px;font-weight:600;display:grid;position:absolute;bottom:-7px;right:-4px}.automation-demo-unit small{font:500 9px var(--font-mono);color:var(--muted-foreground);text-transform:uppercase;margin-top:14px;display:block}.automation-demo-unit strong{overflow-wrap:anywhere;max-width:138px;margin:6px auto 0;font-size:12px;font-weight:650;line-height:1.4;display:block}.automation-demo-branches{grid-template-columns:1fr 1fr;gap:24px;padding:0 24px 24px;display:grid}.automation-demo-branch{border-top:2px dashed var(--attention);min-width:0;padding-top:12px}.automation-demo-branch:last-child{border-color:var(--border-strong)}.automation-demo-branch>span{font:600 10px var(--font-mono);color:var(--muted-foreground)}.automation-demo-branch>button{white-space:normal;text-align:left;justify-content:start;width:100%;height:auto;min-height:40px;margin-top:8px;padding:10px;display:flex}.automation-demo-step-editor{border:1px solid var(--border);background:var(--card);border-radius:8px;margin:0 24px 24px;padding:18px}.automation-demo-step-editor label{color:var(--muted-foreground);gap:6px;margin-top:12px;font-size:12px;display:grid}.automation-demo-field{border:1px solid var(--input);background:var(--background);width:100%;min-width:0;color:var(--foreground);border-radius:6px;outline:none;padding:10px 12px;font-size:14px}.automation-demo-field:focus{border-color:var(--ring);box-shadow:0 0 0 2px color-mix(in oklab,var(--ring) 15%,transparent)}.automation-demo-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:18px;padding:20px 24px;display:flex}.automation-demo-footer p{color:var(--muted-foreground);font-size:12px;line-height:1.6}.automation-demo-footer a{white-space:normal;text-align:center;height:auto;min-height:44px}.automation-demo-dialog{max-width:1040px;max-height:92dvh;padding:24px;overflow-y:auto}.automation-demo-dialog .automation-demo-heading h2{padding-right:26px;font-size:30px}.automation-demo-dialog .automation-demo-heading{margin-bottom:20px}.automation-demo-dialog .automation-demo-heading>p{display:none}@media (width<=850px){.automation-demo-heading{display:block}.automation-demo-heading h2{font-size:30px}.automation-demo-heading>p{margin-top:16px}.automation-demo-layout{grid-template-columns:minmax(0,1fr)}.automation-demo-prompt{border-right:0;border-bottom:1px solid var(--border);padding:20px}.automation-demo-prompt h3{margin:8px 0 12px;font-size:20px}.automation-demo-prompt textarea{min-height:110px}.automation-demo-canvas{min-height:220px;padding-block:30px}.automation-demo-track{justify-content:flex-start}.automation-demo-footer{text-align:center;flex-direction:column;align-items:stretch;padding:20px}.automation-demo-footer p{text-align:center}.automation-demo-dialog{width:96vw;padding:16px}.automation-demo-branches{gap:12px;padding-inline:16px}}@media (prefers-reduced-motion:reduce){.automation-demo *{transition:none!important;animation:none!important}}
