:root{--bg:#090a0c;--panel:#121519;--line:#2d333a;--text:#f8f8f3;--muted:#9da6af;--lime:#c9ff3d;--pink:#ff4e94}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0;font-family:Inter,system-ui,sans-serif}.engage-shell{background:radial-gradient(circle at 90% 0, #ff4e9412, transparent 27%), var(--bg);min-height:100vh;padding:28px clamp(16px,4vw,58px)}.engage-shell>header{border-bottom:1px solid var(--line);grid-template-columns:auto 1fr auto;align-items:center;gap:22px;padding-bottom:24px;display:grid}.engage-shell>header>a{color:var(--lime);letter-spacing:.08em;font-weight:950;text-decoration:none}.engage-shell h1{margin:0;font-size:clamp(36px,6vw,70px);line-height:.9}.engage-shell header p,.engage-shell header span{color:var(--muted);margin:8px 0 0}.engage-shell button,.engage-shell input,.engage-shell select,.engage-shell textarea{font:inherit}.engage-shell button{cursor:pointer}.danger,.resume,.primary{border:0;border-radius:10px;padding:12px 16px;font-weight:850}.danger{background:var(--pink);color:#fff}.resume,.primary{background:var(--lime);color:#101214}.engage-shell>nav{gap:8px;margin:22px 0;display:flex}.engage-shell>nav button{border:1px solid var(--line);color:var(--muted);text-transform:capitalize;background:#15191d;border-radius:999px;padding:11px 18px}.engage-shell>nav .active{border-color:var(--lime);color:var(--lime)}.notice{border-radius:10px;justify-content:space-between;margin-bottom:14px;padding:12px 15px;display:flex}.notice.error{color:#ff9ec2;background:#ff4e9418}.notice.success{color:#34d399;background:#34d39918}.notice button{color:inherit;background:0 0;border:0}.loading,.empty{color:var(--muted);text-align:center;padding:32px}.inbox-layout{grid-template-columns:minmax(280px,420px) 1fr;gap:16px;min-height:600px;display:grid}.inbox-layout>aside,.inbox-layout>article,.rule-form,.rule-list,.activity{border:1px solid var(--line);background:var(--panel);border-radius:18px;overflow:hidden}.filters{border-bottom:1px solid var(--line);grid-template-columns:1fr 1fr;gap:8px;padding:12px;display:grid}select,input,textarea{color:#fff;background:#0b0d0f;border:1px solid #343b43;border-radius:9px;width:100%;padding:10px}.event{text-align:left;border:0;border-bottom:1px solid var(--line);width:100%;color:var(--text);background:0 0;gap:4px;padding:15px;display:grid}.event:hover,.event.selected{background:#c9ff3d0e}.event.selected{border-left:3px solid var(--lime)}.event span,.event time{color:var(--muted);font-size:12px}.event p{white-space:nowrap;text-overflow:ellipsis;margin:4px 0;overflow:hidden}.inbox-layout>article{padding:26px}.detail-head{text-transform:capitalize;align-items:center;gap:8px;display:flex}.detail-head span,.detail-head b,.detail-head em{background:#23282e;border-radius:999px;padding:5px 8px;font-size:12px;font-style:normal}.inbox-layout h2{font-size:28px}blockquote{border-left:3px solid var(--lime);background:#090b0d;margin:20px 0;padding:20px;line-height:1.6}.inbox-layout form,.rule-form{gap:13px;display:grid}.inbox-layout label,.rule-form label{color:#c8ced4;gap:6px;font-size:13px;font-weight:800;display:grid}textarea{resize:vertical;min-height:110px}.inbox-layout form small{color:var(--muted);line-height:1.5}.rules-layout{display:block}.automation-editor-layout{grid-template-columns:minmax(620px,1.5fr) minmax(280px,1fr);align-items:start;gap:16px;display:grid}.rule-form,.rule-list,.activity{padding:24px}.rule-form h2,.rule-list h2,.activity h2{margin-top:0}.composer-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.composer-title h2{margin:0}.composer-title button{border:1px solid var(--line);color:var(--muted);background:0 0;border-radius:8px;padding:8px 10px}.composer-title .top-new-automation{border-color:var(--lime);color:var(--lime);font-weight:850}.post-scope{border:1px solid var(--line);border-radius:12px;gap:10px;padding:14px;display:grid}.post-scope legend{padding:0 6px;font-weight:850}.post-scope .radio-option{align-items:center;gap:9px;display:flex}.post-scope .radio-option input{width:auto}.post-scope small{color:var(--muted)}.rule-list .delete-rule{color:#ff7b91;border-color:#6c3340}.rule-form>p{color:var(--muted)}.rule-form .enable-notice{color:#fff;border-left:3px solid var(--lime);background:#bfff2d14;margin:0;padding:9px 12px}.save-actions{grid-template-columns:minmax(180px,1fr) minmax(260px,auto);align-items:stretch;gap:12px;display:grid}.save-actions .primary{width:100%}.save-buttons{grid-template-columns:1fr auto;gap:10px;display:grid}.save-buttons .new-rule{border:1px solid var(--lime);color:var(--lime);background:0 0;border-radius:10px;padding:10px 14px;font-weight:850}.scope-summary{color:var(--muted);font-size:.86rem}.row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.check{align-items:center;grid-template-columns:auto 1fr!important;display:flex!important}.check input{width:auto}.test{grid-template-columns:1fr auto;gap:8px;display:grid}.test button,.rule-list button{border:1px solid var(--line);color:#fff;background:#22272d;border-radius:8px;padding:9px 12px}.test-result{color:var(--lime)}.rule-list{align-content:start;gap:10px;display:grid}.rule-list>h2{margin-bottom:4px}.rule-list-title{justify-content:space-between;align-items:center;gap:12px;display:flex}.rule-list-title h2{margin:0}.rule-list .new-rule{border-color:var(--lime);color:var(--lime);font-weight:850}.rule-list article{border:1px solid var(--line);border-radius:12px;padding:15px}.rule-list article header,.rule-list article footer{justify-content:space-between;align-items:center;display:flex}.rule-list article header div{gap:3px;display:grid}.rule-list article header span,.rule-list article footer span{color:var(--muted);font-size:12px}.rule-list article p{color:#cbd1d6;line-height:1.5}.rule-list em,.activity>article>span{text-transform:uppercase;background:#2b3138;border-radius:999px;padding:5px 8px;font-size:11px;font-style:normal}.rule-list .enabled,.activity .sent{color:var(--lime)}.rule-list .draft{color:#ffd36a}.activity{align-content:start;gap:8px;display:grid}.activity>article{border-bottom:1px solid var(--line);grid-template-columns:130px 1fr auto;align-items:start;gap:14px;padding:14px 0;display:grid}.activity p{color:#cbd1d6;margin:4px 0}.activity time,.activity small{color:var(--muted);font-size:12px}.activity .failed{color:var(--pink)}.engage-shell>footer{color:var(--muted);flex-wrap:wrap;gap:18px;padding:24px 4px;display:flex}.engage-shell>footer a{color:var(--muted)}.engage-shell>footer span{margin-left:auto}.confirmation-editor{border-top:1px solid var(--line);margin-top:8px;padding-top:18px}.confirmation-fields{gap:13px;display:grid}.confirmation-fields h3{margin:8px 0 0}.confirmation-fields small{color:var(--muted);font-weight:500}.phone-preview{color:#18202a;background:#f3f5f8;border:4px solid #353b43;border-radius:34px;width:min(100%,320px);margin:42px auto 0;padding:18px 10px 12px;overflow:hidden}.automation-preview{border:1px solid var(--line);color:#15191e;background:radial-gradient(circle at 50% 38%,#fff,#e9edf3 48%,#d9dee6 100%);border-radius:18px;align-self:start;min-height:720px;padding:24px;position:sticky;top:16px}.preview-tabs{color:#15191e;border-bottom:1px solid #bdc5cf;padding-bottom:12px}.rule-list{margin-top:16px}.phone-speaker{background:#090a0c;border-radius:99px;width:70px;height:12px;margin:-8px auto 12px}.phone-preview header{border-bottom:1px solid #dfe3e8;padding:10px;display:grid}.phone-preview header span{color:#68727d;margin:2px 0 0;font-size:11px}.phone-chat{align-content:start;gap:10px;min-height:330px;padding:18px 8px;display:grid}.phone-chat p{border-radius:16px;margin:0;padding:11px 13px;font-size:13px;line-height:1.35}.customer-bubble{background:#dce9ff;justify-self:end;max-width:78%}.business-bubble{background:#fff;justify-self:start;max-width:88%}.preview-confirm,.preview-link{color:#1764d8;text-align:center;background:#fff;border:1px solid #aac8ff;border-radius:12px;width:100%;padding:10px;font-weight:800;text-decoration:none}.preview-link{color:#31420d;background:#efffc0;border-color:#c8e85a}.preview-reset{color:#fff;background:#20262c;border:0;border-radius:10px;width:100%;padding:10px;font-weight:800}@media (max-width:850px){.save-actions,.save-buttons,.engage-shell>header,.inbox-layout,.automation-editor-layout{grid-template-columns:1fr}.inbox-layout>aside{max-height:420px;overflow:auto}.row{grid-template-columns:1fr}.automation-preview{min-height:auto;position:static}.phone-preview{max-width:320px;margin:0 auto;position:static}.engage-shell>footer span{width:100%;margin-left:0}}.header-actions{justify-items:end;gap:8px;display:grid}.header-actions nav{gap:12px;display:flex}.header-actions nav a{color:var(--muted);font-size:13px;text-decoration:none}.header-actions .connect{border:1px solid var(--lime);color:var(--lime);background:0 0;border-radius:10px;padding:10px 13px;font-weight:850}.header-actions .disconnect{color:#ff9ec2;background:0 0;border:1px solid #ff7aaa;border-radius:10px;padding:10px 13px;font-weight:850}@media (max-width:850px){.header-actions{justify-items:start}.header-actions nav{flex-wrap:wrap}}
