.workflow-builder{gap:24px;display:grid}.workflow-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.workflow-metric{border:1px solid var(--border);background:#fff;border-radius:16px;padding:18px 20px}.workflow-metric strong{font:700 28px/1 var(--font-display);color:var(--ink);margin-top:5px;display:block}.workflow-metric span{color:var(--muted);font-size:13px}.workflow-rules-section,.workflow-runs-section{border:1px solid var(--border);background:#fff;border-radius:18px;overflow:hidden}.workflow-section-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;padding:20px 22px;display:flex}.workflow-section-head h2{margin:0;font-size:18px}.workflow-section-head p{color:var(--muted);margin:4px 0 0;font-size:13px}.workflow-rule-list,.workflow-run-list{display:grid}.workflow-rule-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(190px,1fr) minmax(320px,1.7fr) auto;align-items:center;gap:20px;padding:18px 22px;display:grid}.workflow-rule-row:last-child,.workflow-run-row:last-child{border-bottom:0}.workflow-rule-title{color:var(--ink);font-weight:750}.workflow-rule-description{color:var(--muted);margin-top:4px;font-size:13px}.workflow-flow-mini{align-items:center;gap:8px;min-width:0;display:flex}.workflow-flow-mini span{color:#415364;white-space:nowrap;text-overflow:ellipsis;background:#f5f7f9;border-radius:10px;padding:8px 10px;font-size:12px;font-weight:700;overflow:hidden}.workflow-flow-mini b{color:#9aa7b2}.workflow-rule-actions{align-items:center;gap:8px;display:flex}.workflow-toggle{cursor:pointer;background:#cbd3da;border:0;border-radius:999px;width:42px;height:24px;position:relative}.workflow-toggle:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.workflow-toggle.is-on{background:#20a66a}.workflow-toggle.is-on:after{transform:translate(18px)}.workflow-empty{text-align:center;color:var(--muted);padding:42px 24px}.workflow-empty strong{color:var(--ink);margin-bottom:7px;display:block}.workflow-run-row{border-bottom:1px solid var(--border);grid-template-columns:10px minmax(160px,1fr) minmax(220px,2fr) auto;align-items:center;gap:14px;padding:14px 22px;font-size:13px;display:grid}.workflow-run-state{background:#9ba8b3;border-radius:50%;width:9px;height:9px}.workflow-run-state.completed{background:#20a66a}.workflow-run-state.failed{background:#d24e43}.workflow-run-row time{color:var(--muted);white-space:nowrap}.workflow-dialog{border:0;border-radius:20px;width:min(820px,100vw - 28px);max-height:calc(100vh - 36px);padding:0;overflow:auto;box-shadow:0 24px 80px #0e24384d}.workflow-dialog::backdrop{background:#0e243899}.workflow-dialog-head{z-index:2;border-bottom:1px solid var(--border);background:#fff;justify-content:space-between;align-items:center;padding:20px 24px;display:flex;position:sticky;top:0}.workflow-dialog-head h2{margin:0;font-size:21px}.workflow-dialog-body{gap:22px;padding:24px;display:grid}.workflow-basics{grid-template-columns:1fr 1.4fr;gap:14px;display:grid}.workflow-basics label,.workflow-step label{color:#536474;gap:7px;font-size:12px;font-weight:750;display:grid}.workflow-basics input,.workflow-step input,.workflow-step select,.workflow-step textarea{border:1px solid var(--border);width:100%;min-height:44px;color:var(--ink);font:inherit;background:#fff;border-radius:10px;padding:10px 12px}.workflow-flow-builder{grid-template-columns:1fr 36px 1fr 36px 1fr;align-items:stretch;gap:8px;display:grid}.workflow-step{border:1px solid var(--border);background:#f9fafb;border-radius:15px;min-width:0;padding:16px}.workflow-step-number{color:#fff;background:#ff6b16;border-radius:8px;justify-content:center;align-items:center;width:25px;height:25px;margin-bottom:10px;font-weight:800;display:inline-flex}.workflow-step h3{margin:0 0 13px;font-size:15px}.workflow-arrow{color:#9aa7b2;place-items:center;font-size:22px;display:grid}.workflow-enable-row{grid-auto-flow:column;justify-content:start;align-items:center;gap:10px!important;display:flex!important}.workflow-enable-row input{width:18px;min-height:18px}.workflow-dialog-actions{border-top:1px solid var(--border);background:#fff;justify-content:flex-end;gap:10px;padding:16px 24px;display:flex;position:sticky;bottom:0}.simple-workflow-widget{border:1px solid var(--border);background:#fff;border-radius:18px;margin-top:18px;overflow:hidden}.simple-workflow-widget-head{border-bottom:1px solid var(--border);justify-content:space-between;align-items:start;gap:12px;padding:18px 20px;display:flex}.simple-workflow-widget h3{margin:4px 0 0;font-size:18px}.automation-kicker{color:#7a55bf;letter-spacing:.07em;text-transform:uppercase;font-size:11px;font-weight:800}.simple-workflow-list{display:grid}.simple-workflow-item{border-bottom:1px solid var(--border);padding:14px 20px}.simple-workflow-item:last-child{border-bottom:0}.simple-workflow-item strong{font-size:14px;display:block}.simple-workflow-item span{color:var(--muted);margin-top:4px;font-size:12px;display:block}.simple-workflow-footer{color:var(--muted);justify-content:space-between;align-items:center;padding:13px 20px;font-size:12px;display:flex}.simple-workflow-footer a{color:#6d45b4;font-weight:750}@media (max-width:850px){.workflow-metrics,.workflow-rule-row{grid-template-columns:1fr}.workflow-rule-actions{justify-content:flex-end}.workflow-flow-builder{grid-template-columns:1fr}.workflow-arrow{min-height:26px;transform:rotate(90deg)}.workflow-basics{grid-template-columns:1fr}.workflow-run-row{grid-template-columns:10px 1fr auto}.workflow-run-row>:nth-child(3){grid-column:2/-1}}.settings-feature-header{justify-content:space-between;align-items:flex-start;gap:20px;display:flex}.settings-feature-header h2{margin:5px 0 4px;font-size:28px}.settings-feature-header p{color:var(--muted);margin:0}.workflow-metrics article{border:1px solid var(--border);background:#fff;border-radius:16px;align-items:center;gap:14px;padding:18px;display:flex}.workflow-metrics article>span{color:#16935c;background:#edf8f3;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.workflow-metrics article strong{font-size:25px;display:block}.workflow-metrics article small{color:var(--muted)}.workflow-metrics .has-failures>span{color:#c44f43;background:#fff0ee}.section-heading{border-bottom:1px solid var(--border);justify-content:space-between;padding:20px 22px;display:flex}.section-heading h3{margin:0;font-size:18px}.section-heading p{color:var(--muted);margin:4px 0 0;font-size:13px}.workflow-rules-section>.section-heading{flex-wrap:wrap;align-items:center;gap:16px 24px}.workflow-rule-search{flex:300px;min-width:0;max-width:420px}.workflow-results-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 20px;min-width:0;display:flex}.workflow-results-row>div{flex:auto}.workflow-results-row>nav{gap:16px}.workflow-results-inset{padding:0 22px 8px}.luna-conversation-controls{border:0;border-bottom:1px solid #e5dcf5;min-width:0;margin:0;padding:18px 22px 6px}.luna-conversation-picker{border:0;flex:320px;min-width:0;margin:0;padding:0;display:flex}.luna-conversation-picker>label{flex:auto}.luna-conversation-controls :disabled{cursor:not-allowed;opacity:.65}.luna-conversation-status{color:var(--muted);margin:12px 0;font-size:12px}@media (max-width:600px){.luna-conversation-controls{padding:14px 14px 4px}.workflow-rule-search{flex-basis:100%;max-width:none}.workflow-results-inset{padding-left:14px;padding-right:14px}.workflow-results-row>nav{width:100%}}.workflow-rule-list>article{border-bottom:1px solid var(--border);grid-template-columns:86px minmax(320px,1fr) 150px 40px;align-items:center;gap:18px;padding:18px 22px;display:grid}.workflow-rule-list>article:last-child{border-bottom:0}.workflow-rule-state{color:var(--muted);justify-items:start;gap:5px;font-size:11px;font-weight:750;display:grid}.workflow-rule-state button{cursor:pointer;background:#cbd3da;border:0;border-radius:999px;width:42px;height:24px;padding:0;position:relative}.workflow-rule-state button i{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #0003}.workflow-rule-list>article.active .workflow-rule-state button{background:#20a66a}.workflow-rule-list>article.active .workflow-rule-state button i{transform:translate(18px)}.workflow-rule-copy>strong{font-size:15px}.workflow-rule-copy>p{color:var(--muted);margin:4px 0 10px;font-size:12px}.workflow-rule-meta{gap:4px;display:grid}.workflow-rule-meta small{color:var(--muted)}.workflow-rule-meta strong{font-size:12px}.workflow-empty svg{color:#7b55bf;margin-bottom:10px}.workflow-history-section{border:1px solid var(--border);background:#fff;border-radius:18px;overflow:hidden}.workflow-run-list>article{border-bottom:1px solid var(--border);grid-template-columns:10px minmax(170px,1fr) minmax(220px,2fr) auto;align-items:center;gap:14px;padding:14px 22px;display:grid}.workflow-run-list>article:last-child{border-bottom:0}.workflow-run-list article>i{background:#98a6b1;border-radius:50%;width:9px;height:9px}.workflow-run-list article>i.completed{background:#20a66a}.workflow-run-list article>i.failed{background:#c94c42}.workflow-run-list article div{gap:3px;display:grid}.workflow-run-list article div span,.workflow-run-list article p,.workflow-run-list article time{color:var(--muted);font-size:12px}.workflow-run-list article p{margin:0}.workflow-no-runs{color:var(--muted);text-align:center;margin:0;padding:28px 22px}.workflow-modal .workflow-dialog{width:min(1080px,100vw - 28px);max-width:none}.workflow-dialog>header{justify-content:space-between;align-items:flex-start;display:flex}.workflow-dialog>header h2{margin:5px 0 4px}.workflow-dialog>header p{color:var(--muted);margin:0}.workflow-dialog>header>button{border:1px solid var(--border);background:#fff;border-radius:10px;place-items:center;width:36px;height:36px;padding:0;display:grid}.workflow-basics textarea{resize:vertical;min-height:72px}.workflow-step>header{grid-template-columns:30px 1fr;align-items:center;margin-bottom:14px;display:grid}.workflow-step>header i{color:#7046b4;background:#f0eafb;border-radius:8px;grid-row:1/3;place-items:center;width:28px;height:28px;display:grid}.workflow-step>header i svg{width:15px}.workflow-step>header span{color:var(--muted);text-transform:uppercase;font-size:10px;font-weight:800}.workflow-step>header strong{font-size:14px}.workflow-step>select,.workflow-step>input,.workflow-step>textarea{margin-top:8px}.workflow-step>small{color:var(--muted);margin-top:10px;line-height:1.4;display:block}.workflow-step em{color:var(--muted);margin-top:8px;font-size:10px;font-style:normal;display:block}.workflow-enable{border:1px solid var(--border);border-radius:13px;align-items:center;gap:11px;padding:15px;display:flex}.workflow-enable input{width:18px;height:18px}.workflow-enable span{gap:3px;display:grid}.workflow-enable small{color:var(--muted)}.workflow-dialog>footer{justify-content:space-between;align-items:center;display:flex}.workflow-dialog>footer>div{gap:10px;display:flex}.danger-text-button{color:#bd433a;background:0 0;border:0;align-items:center;gap:7px;font-weight:750;display:inline-flex}.luna-authoring{background:linear-gradient(145deg,#fbf9ff,#fff);border:1px solid #d9cdf1;border-radius:20px;overflow:hidden;box-shadow:0 12px 32px #6e47b512}.luna-authoring-head{border-bottom:1px solid #e5dcf5;align-items:center;gap:14px;padding:20px 22px;display:flex}.luna-authoring-head>span{color:#7046b4;background:#eee7fb;border-radius:14px;place-items:center;width:46px;height:46px;display:grid;position:relative}.luna-authoring-head>span i{background:#20a66a;border:2px solid #fff;border-radius:50%;width:11px;height:11px;position:absolute;bottom:-2px;right:-2px}.luna-authoring-head>div{flex:1}.luna-authoring-head small,.luna-preview-title small{color:#7148b5;letter-spacing:.08em;text-transform:uppercase;font-size:10px;font-weight:850}.luna-authoring-head h3{margin:2px 0;font-size:20px}.luna-authoring-head p{color:var(--muted);margin:0;font-size:12px}.luna-authoring-body{grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr);min-height:460px;display:grid}.luna-chat{border-right:1px solid #e5dcf5;grid-template-rows:1fr auto auto;min-width:0;display:grid}.luna-messages{max-height:520px;padding:20px;overflow:auto}.luna-welcome,.luna-preview-empty{height:100%;min-height:240px;color:var(--muted);text-align:center;align-content:center;justify-items:center;padding:30px;display:grid}.luna-welcome svg,.luna-preview-empty svg{color:#7046b4;width:32px;height:32px;margin-bottom:10px}.luna-welcome strong,.luna-preview-empty strong{color:var(--ink)}.luna-welcome p,.luna-preview-empty p{max-width:420px;margin:7px 0 0;font-size:13px;line-height:1.55}.luna-message{align-items:flex-start;gap:9px;margin-bottom:15px;display:flex}.luna-message>span{color:#7046b4;background:#eee7fb;border-radius:9px;flex:0 0 30px;place-items:center;width:30px;height:30px;display:grid}.luna-message.user{flex-direction:row-reverse}.luna-message.user>span{color:#29475d;background:#eaf0f4}.luna-message>div{background:#f1ecfa;border-radius:4px 14px 14px;max-width:82%;padding:11px 13px}.luna-message.user>div{background:#eef3f6;border-radius:14px 4px 14px 14px}.luna-message small{color:var(--muted);font-size:10px;font-weight:800}.luna-message p{white-space:pre-wrap;margin:3px 0 0;font-size:13px;line-height:1.5}.luna-message em{color:#8b5a16;margin-top:7px;font-size:11px;font-style:normal;display:block}.luna-thinking{color:#7046b4;align-items:center;gap:7px;font-size:12px;display:flex}.luna-thinking svg{width:15px;animation:1s linear infinite spin}.luna-chat form{border-top:1px solid #e5dcf5;grid-template-columns:1fr auto;gap:10px;padding:14px 18px;display:grid}.luna-chat textarea{resize:vertical;border:1px solid var(--border);min-height:72px;font:inherit;border-radius:12px;padding:12px}.luna-chat form button{align-self:end}.luna-error{color:#bd433a;margin:0;padding:0 18px 12px;font-size:12px}.luna-preview{background:#fff;min-width:0;padding:20px}.luna-preview-title{justify-content:space-between;align-items:center;display:flex}.luna-preview-title>strong{color:#a45c12;background:#fff4e9;border-radius:999px;padding:5px 8px;font-size:10px}.luna-proposal{border:1px solid #dfd5f1;border-radius:16px;margin-top:18px;overflow:hidden}.luna-proposal>div:first-child{background:#f8f4ff;gap:10px;padding:16px;display:flex}.luna-proposal>div:first-child>svg{color:#7046b4}.luna-proposal>div:first-child span{min-width:0}.luna-proposal>div:first-child p{color:var(--muted);margin:4px 0 0;font-size:12px;line-height:1.45}.luna-proposal ol{gap:0;margin:0;padding:0;list-style:none;display:grid}.luna-proposal li{border-top:1px solid var(--border);grid-template-columns:64px 1fr;gap:3px 10px;padding:13px 16px;display:grid}.luna-proposal li small{color:#ff6b16;text-transform:uppercase;grid-row:1/3;font-size:10px;font-weight:850}.luna-proposal li strong{font-size:12px}.luna-proposal li code{color:var(--muted);font:10px/1.4 inherit}.luna-limitations{border-top:1px solid var(--border);background:#fffaf2;gap:4px;padding:12px 16px;font-size:11px;display:grid}.luna-limitations span{color:var(--muted)}.luna-proposal footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:10px;padding:14px 16px;display:flex}.luna-proposal footer>span{color:var(--muted);font-size:10px}.luna-authored{color:#7046b4;vertical-align:middle;background:#eee7fb;border-radius:999px;align-items:center;gap:3px;margin-left:7px;padding:3px 6px;font-size:9px;display:inline-flex}@keyframes spin{to{transform:rotate(360deg)}}.simple-workflow-widget .panel-heading{align-items:center}.simple-workflow-widget .automation-kicker{align-items:center;gap:5px;display:inline-flex}.simple-workflow-widget .workflow-active-count{color:#168a57;background:#edf8f3;border-radius:999px;padding:5px 8px;font-size:11px;font-weight:800}.simple-workflow-list>div{border-bottom:1px solid var(--border);grid-template-columns:28px 1fr;align-items:center;gap:9px;padding:12px 18px;display:grid}.simple-workflow-list>div span{color:#168a57;background:#edf8f3;border-radius:8px;place-items:center;width:24px;height:24px;display:grid}.simple-workflow-list>div svg{width:13px}.simple-workflow-list>p{color:var(--muted);margin:0;padding:18px;font-size:12px}.simple-workflow-widget>footer{justify-content:space-between;align-items:center;padding:13px 18px;display:flex}.simple-workflow-widget>footer span,.simple-workflow-widget>footer a{color:var(--muted);align-items:center;gap:5px;font-size:11px;display:inline-flex}.simple-workflow-widget>footer a{color:#6d45b4;font-weight:800}@media (max-width:900px){.luna-authoring-body{grid-template-columns:1fr}.luna-chat{border-bottom:1px solid #e5dcf5;border-right:0}.luna-authoring-head{flex-wrap:wrap;align-items:flex-start}.luna-authoring-head>div{min-width:calc(100% - 64px)}.workflow-rule-list>article{grid-template-columns:72px 1fr 38px}.workflow-rule-meta{grid-column:2}.workflow-flow-builder{grid-template-columns:1fr}.workflow-arrow{margin:auto;transform:rotate(90deg)}}
