:root{--ink:#202e2b;--muted:#71807a;--green:#254d41;--paper:#f5f6f2;--line:#dfe5de;--gold:#d9bf86}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible{outline:3px solid #b28b42}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}button{border:0}button.primary,.primary{background:var(--green);color:white;padding:12px 20px;border-radius:9px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:12px}.secondary{padding:11px 18px;background:white;border:1px solid var(--line);border-radius:9px;color:var(--ink)}.quiet{background:transparent;color:var(--muted);padding:10px}.primary:hover{background:#36634f}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1.4px;font-weight:600}h2{font-size:22px;letter-spacing:-.6px;font-weight:600}h3{font-size:16px;font-weight:600}.muted,small{color:var(--muted)}.eyebrow{text-transform:uppercase;font-size:10px;font-weight:700;letter-spacing:2px;color:var(--muted)}.languages{display:inline-flex;background:#e9ede7;border-radius:8px;padding:3px;gap:2px}.languages button{background:transparent;color:#607068;padding:7px 11px;border-radius:6px;font-size:11px;font-weight:600}.languages button[aria-pressed=true]{background:white;color:var(--ink);box-shadow:0 1px 3px #0001}.shell{min-height:100vh;display:grid;grid-template-columns:230px 1fr}.sidebar{position:sticky;top:0;height:100vh;background:#203d34;color:#cddbd1;padding:30px 20px;display:flex;flex-direction:column}.brand{background:#f5f6ef;border-radius:10px;padding:16px 10px;margin-bottom:35px}.brand img{display:block;width:100%;height:auto}.sidebar>.eyebrow{color:#a8bbaa;margin:0 13px 12px;font-size:9px}.sidebar nav{display:grid;gap:6px}.sidebar nav button{padding:13px 14px;border-radius:8px;background:transparent;color:#c1d0c5;text-align:left;display:flex;gap:13px;font-size:13px}.sidebar nav button.active{background:#3d594b;color:#fff}.sidebar nav button:hover{background:#304e41}.nav-icon{width:19px;display:inline-block;color:#d7c598}.side-bottom{margin-top:auto;border-top:1px solid #496153;padding:23px 10px 0}.side-bottom p{font-size:12px;color:#b5c5b8;margin:7px 0}.avatar{display:inline-grid;place-items:center;border-radius:50%;width:33px;height:33px;background:#e5e9df;color:#44584b;font-size:11px;font-weight:700}.main{min-width:0}.topbar{height:80px;background:#fff;border-bottom:1px solid var(--line);padding:0 40px;display:flex;justify-content:space-between;align-items:center}.topbar-left{display:flex;gap:12px;align-items:center;font-size:12px}.topbar-right{display:flex;gap:20px;align-items:center}.workspace{max-width:1400px;margin:auto;padding:38px 40px 50px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading p{margin-top:8px;color:var(--muted);max-width:650px}.pill{font-size:10px;padding:5px 9px;border-radius:30px;background:#eff1e8;color:#626e48;white-space:nowrap}.pill.good{background:#e9f2eb;color:#306246}.pill.pending{background:#fff1d8;color:#80632d}.welcome{border:1px solid #d9e2d4;background:#e9eee4;border-radius:15px;display:grid;grid-template-columns:1.35fr 1fr;overflow:hidden;min-height:230px}.welcome-copy{padding:32px}.welcome h2{font-size:30px;line-height:1.15;margin:15px 0 14px;max-width:400px;letter-spacing:-1px}.welcome p{color:#617264;max-width:430px;font-size:13px;line-height:1.7;margin-bottom:22px}.welcome-art{background:linear-gradient(90deg,#e9eee400,#203d3411),url('https://www.mjlyonscorp.com/images/banner2.png') center/cover;min-height:220px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:22px 0 30px}.stat{border:1px solid var(--line);background:white;border-radius:12px;padding:22px}.stat strong{display:block;font-size:27px;font-weight:500;margin:10px 0 3px}.stat .eyebrow{font-size:9px;letter-spacing:1px}.grid{display:grid;grid-template-columns:1.35fr 1fr;gap:22px}.card{background:white;border:1px solid var(--line);border-radius:13px;padding:27px;margin-bottom:20px;min-width:0}.card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:15px}.card p.help{color:var(--muted);font-size:12px;margin:6px 0 20px;line-height:1.7}.channel{display:flex;align-items:center;gap:13px;border-bottom:1px solid #edf0ea;padding:18px 0}.channel:last-child{border-bottom:0;padding-bottom:0}.channel:first-of-type{padding-top:0}.channel-icon{display:grid;place-items:center;width:39px;height:39px;border:1px solid var(--line);border-radius:11px;font-size:19px;color:var(--green)}.channel .pill{margin-left:auto}.channel small{display:block;font-size:11px;margin-top:3px}.checklist{display:grid;gap:18px;font-size:13px}.checklist>div{display:flex;gap:12px}.dot{width:22px;height:22px;display:grid;place-items:center;flex-shrink:0;background:#ebf2e7;border-radius:50%;color:#496c47;font-size:11px}.dot.pending{background:#f4eee2;color:#8e774b}.checklist small{display:block;margin-top:3px}.savebar{display:flex;gap:10px;align-items:center;margin-bottom:22px;flex-wrap:wrap}.savebar small{margin-right:auto}.field{display:block;margin-bottom:23px}.field>span{display:block;font-size:13px;font-weight:600;margin-bottom:8px}.field small{display:block;font-weight:400;margin-top:6px;font-size:11px}.field input,.field textarea,.field select{width:100%;background:#fafbf8;border:1px solid #d6dfd5;border-radius:8px;padding:12px;color:var(--ink)}textarea{resize:vertical;min-height:100px;line-height:1.7}.field textarea.short{min-height:80px}.toggle{display:flex;gap:12px;align-items:center;background:#f5f7f1;border:1px solid var(--line);padding:16px;border-radius:9px;margin-bottom:25px}.toggle input{accent-color:var(--green);width:19px;height:19px}.toggle small{display:block;margin-top:4px}.segmented{display:flex;gap:7px;flex-wrap:wrap}.segmented button{background:#f6f7f3;border:1px solid var(--line);border-radius:8px;padding:11px 18px;color:var(--ink)}.segmented button[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}.language-card{background:#f0f3eb;border-radius:10px;padding:23px;margin-top:25px}.language-card p{font-size:12px;color:var(--muted);margin-top:9px}.faq-item{border:1px solid var(--line);border-radius:10px;padding:22px;margin-bottom:16px}.faq-item .field:last-child{margin-bottom:0}.item-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.remove{color:#946052;background:transparent;font-size:12px;padding:9px}.step{display:grid;grid-template-columns:36px 1fr auto;gap:15px;align-items:start;border:1px solid var(--line);border-radius:10px;padding:20px;margin-bottom:12px}.step-num{font-size:12px;background:#edf1e7;border-radius:8px;padding:8px;text-align:center}.step .field{margin-bottom:0}.step .field textarea{min-height:60px}.step-tools{display:flex;align-items:center;gap:4px}.step-tools button{padding:8px 11px;border-radius:5px;background:#eff2ec}.step-tools input{width:18px;height:18px;accent-color:var(--green);margin-left:8px}.pages{display:grid;grid-template-columns:1fr 1fr;gap:22px}.page-card{padding:0;overflow:hidden}.page-card img{width:100%;height:245px;object-fit:cover;display:block}.page-card .body{padding:25px}.page-card h2{margin:10px 0}.page-card p{font-size:12px;color:var(--muted);margin-bottom:20px}.chat-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.chat-card{padding:0;overflow:hidden}.chat-head{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.chat-log{height:390px;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:16px;background:#fcfdfb}.empty-chat{margin:auto;text-align:center;max-width:340px;color:var(--muted)}.empty-chat span{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#edf2e7;margin:0 auto 20px;font-size:24px;color:var(--green)}.bubble{padding:12px 16px;border-radius:11px;max-width:88%;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;background:#edf1e8;align-self:flex-start}.bubble.customer{background:var(--green);color:white;align-self:flex-end}.bubble.error{background:#fff0df;color:#77582b}.chat-form{display:flex;padding:17px;border-top:1px solid var(--line);gap:10px}.chat-form input{min-width:0;flex:1;border:1px solid var(--line);border-radius:8px;padding:12px}.data-row{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.data-row strong{display:block;font-weight:500;margin:5px 0;color:var(--ink);overflow-wrap:anywhere}.note{background:#faf3e5;border:1px solid #ebe0c8;color:#8a713f;padding:14px 17px;border-radius:8px;font-size:12px;margin:18px 0}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fafbf7}.login-left{padding:48px 10%;display:flex;flex-direction:column}.login-logo{width:220px;height:auto;margin-bottom:55px}.login form{width:100%;max-width:350px;margin:auto}.login h1{font-size:38px;margin:18px 0 10px}.login p{color:var(--muted);margin-bottom:30px}.login .primary{width:100%;margin-top:4px}.login-left>.languages{align-self:start;margin-top:35px}.login-art{position:relative;background:linear-gradient(0deg,#142b25ee,#142b2510),url('https://www.mjlyonscorp.com/images/banner2.png') center/cover;display:flex;align-items:end;padding:65px;color:white}.login-art h2{font-size:45px;letter-spacing:-2px;line-height:1.1;max-width:410px}.login-art p{color:#d7e1d7;margin:25px 0 0;max-width:370px}.login-art .eyebrow{color:#d9bf86;margin-bottom:25px}.form-error{color:#9c4238;font-size:12px;margin:15px 0;min-height:18px}.loading{padding:40px}.account{max-width:650px}.notice{font-size:12px;color:var(--muted);margin-top:8px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:99;background:#203d34;color:white;padding:14px 23px;border-radius:10px;box-shadow:0 8px 40px #0002;max-width:90vw;font-size:13px}#toast[hidden]{display:none}.mobile-title{display:none}@media(max-width:1100px){.shell{grid-template-columns:195px 1fr}.workspace{padding:28px}.topbar{padding:0 28px}.grid,.chat-layout{grid-template-columns:1fr}.stats{grid-template-columns:1fr 1fr}.welcome-art{min-height:260px}.welcome h2{font-size:25px}.sidebar{padding:25px 13px}.page-heading{align-items:start}.pages{gap:15px}}
@media(max-width:720px){.shell{display:block}.sidebar{position:static;height:auto;padding:15px}.brand{width:155px;padding:8px;margin:0 0 15px}.sidebar>.eyebrow,.side-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px}.sidebar nav button{white-space:nowrap;padding:10px;font-size:12px}.nav-icon{display:none}.topbar{height:65px;padding:0 20px}.topbar-left{font-size:10px}.topbar-right{gap:8px}.topbar-right>.avatar{display:none}.languages button{padding:7px 8px}.workspace{padding:25px 17px}.page-heading{display:block;margin-bottom:22px}h1{font-size:27px}.welcome{display:block}.welcome-art{min-height:160px}.welcome-copy{padding:24px}.stats{gap:10px}.stat{padding:17px}.stat strong{font-size:23px}.card{padding:20px}.pages{grid-template-columns:1fr}.page-card{padding:0}.chat-card{padding:0}.chat-log{height:340px;padding:17px}.chat-form{padding:12px}.chat-form .primary{padding:12px}.step{grid-template-columns:28px 1fr;padding:15px;gap:10px}.step-tools{grid-column:2;grid-row:2}.login{grid-template-columns:1fr}.login-left{padding:35px 8%;min-height:100svh}.login-logo{width:200px}.login-art{display:none}.savebar{gap:8px}.savebar small{width:100%;margin-bottom:6px}.savebar button{font-size:12px;padding:10px 12px}.chat-head{padding:18px}.topbar .pill{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Visual conversation editor */
.company-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 24px}.company-grid textarea{min-height:88px}.flow-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:22px 0 8px}.flow-toolbar h2{font-size:25px;margin:8px 0}.flow-tools{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.flow-tools label{font-size:12px;color:#52635a;display:grid;gap:6px}select{border:1px solid #cdd5cf;background:white;color:#243d32;border-radius:9px;padding:11px;max-width:100%;font:inherit}.flow-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start}.flow-scroll{overflow:auto;max-height:650px;border:1px solid #d3dbd4;background:#eef2ed;border-radius:0 0 14px 14px;overscroll-behavior:contain}.canvas-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#fff;border:1px solid #d3dbd4;border-bottom:0;border-radius:14px 14px 0 0;font-size:12px;color:#516459}.canvas-toolbar>div{display:flex;align-items:center;gap:10px}.canvas-toolbar button{padding:6px 12px;border:1px solid #d3dbd4;background:#f4f6f1;border-radius:7px;color:#243d32}.flow-legend{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:#52635a;padding:12px 2px}.node-editor{padding:20px;position:sticky;top:20px;min-width:0}.node-editor input,.node-editor select{width:100%;box-sizing:border-box}.node-editor textarea{min-height:96px}.node-actions{display:flex;gap:8px;flex-wrap:wrap}.node-actions button{font-size:12px}.flow-node{cursor:grab;touch-action:none}.flow-node:focus{outline:none}.node-body{fill:white;stroke:#b4c5bb;stroke-width:1.4;filter:drop-shadow(0px 3px 5px #1a392a12)}.flow-node.selected .node-body,.flow-node:focus .node-body{stroke:#255b43;stroke-width:3}.flow-node.visited .node-body{fill:#e1f2e4}.node-kind{font-size:10px;font-weight:700;fill:#52675b;letter-spacing:1px}.node-title{font-size:15px;font-weight:650;fill:#223e30}.node-caption{font-size:11px;fill:#607267}.flow-edge{fill:none;stroke:#7a9286;stroke-width:2}.port{fill:#fff;stroke:#35634b;stroke-width:2;cursor:crosshair}.port:hover,.port.armed{fill:#bfe985;stroke:#1c5134;stroke-width:3}.port-label{font-size:9px;fill:#53685b;text-anchor:end}.node-editor .note{margin-top:8px;font-size:12px}.node-editor .card-title{flex-wrap:wrap;gap:8px}.flow-tools button{white-space:nowrap}#flow-canvas{display:block;user-select:none}.node-editor .field{margin-bottom:15px}
@media(max-width:1200px){.flow-layout{grid-template-columns:minmax(0,1fr)}.node-editor{position:static}.flow-toolbar{align-items:start;flex-direction:column}.flow-scroll{max-height:510px}}
@media(max-width:720px){.company-grid{grid-template-columns:1fr}.flow-toolbar h2{font-size:22px}.flow-tools{width:100%}.flow-tools label{flex:1;min-width:150px}.canvas-toolbar{align-items:start}.flow-legend{flex-direction:column}.flow-scroll{max-height:420px}.savebar{flex-wrap:wrap}.flow-layout{gap:14px}}

.channel-link{display:block;padding:18px 22px;color:inherit;text-decoration:none;border:1px solid #ffffff30;border-radius:12px;margin-top:14px}.channel-link:hover{background:#ffffff12}
