:root{--ink:#182923;--muted:#738079;--line:#e4e9e5;--bg:#f5f7f3;--green:#245e47;--green-soft:#e9f1e8;--white:#fff;--amber:#a66c20;--red:#a53d3d;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--green)}button{border:1px solid var(--line);background:white;color:var(--ink);border-radius:9px;padding:10px 14px;font-size:13px;font-weight:600;transition:background .15s}button:hover{background:#f3f6f1}.primary{background:var(--green);color:#fff;border-color:var(--green)}.primary:hover{background:#194f39}.danger{color:var(--red)}.quiet{border:0;background:transparent}.small{padding:7px 10px;font-size:12px}.wide{width:100%}.boot{height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.brand-mark{display:inline-grid;place-items:center;width:39px;height:39px;background:var(--green);color:#fff;border-radius:12px;font-size:24px;font-weight:800;letter-spacing:-3px;padding-right:3px}.shell{display:grid;grid-template-columns:220px minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 16px;gap:27px}.brand{display:flex;align-items:center;gap:10px;padding:0 8px}.brand strong{font-size:18px;letter-spacing:-.6px}.brand small{display:block;font-size:10px;color:var(--muted);letter-spacing:1.5px;margin-top:3px}.workspace{background:var(--bg);padding:13px;border:1px solid var(--line);border-radius:11px;font-size:13px}.workspace small{display:block;margin-top:6px;color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:1.6px;color:var(--muted);font-weight:700;text-transform:uppercase}.nav{display:grid;gap:6px}.nav a{text-decoration:none;padding:12px;color:#69756f;border-radius:8px;font-size:13px;display:flex;align-items:center;gap:12px}.nav a.active{background:var(--green-soft);color:var(--green);font-weight:700}.nav svg{width:18px;height:18px}.sidebar-bottom{margin-top:auto;display:grid;gap:12px}.profile{display:flex;align-items:center;gap:10px;font-size:12px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#edf0e8;border:1px solid #e0e5dc;border-radius:50%;font-size:12px;font-weight:700;flex-shrink:0}.profile small{display:block;color:var(--muted);margin-top:4px}.main{min-width:0;display:flex;flex-direction:column;overflow:hidden}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;border-bottom:1px solid var(--line);background:#fff;flex-shrink:0}.topbar h1{font-size:18px;margin:0;font-weight:650;letter-spacing:-.4px}.topbar p{font-size:12px;color:var(--muted);margin:5px 0 0}.connection-state{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.dot{height:7px;width:7px;border-radius:100%;background:#d6a256;display:inline-block}.dot.live{background:#3a8d65}.top-actions,.row,.actions{display:flex;gap:9px;align-items:center}.page{padding:30px;overflow:auto;flex:1}.page-title{display:flex;justify-content:space-between;align-items:start;margin-bottom:25px;gap:20px}.page-title h2{font-size:26px;letter-spacing:-.8px;margin:6px 0 8px}.page-title p{color:var(--muted);font-size:13px;line-height:1.7;max-width:700px;margin:0}.pill{font-size:10px;border-radius:5px;padding:4px 7px;background:var(--green-soft);color:var(--green);font-weight:650;white-space:nowrap}.pill.warn{background:#fff3dc;color:var(--amber)}.pill.off{background:#f0f1ef;color:#7a817e}.pill.error{background:#fbeeee;color:var(--red)}.platform{font-weight:600;text-transform:capitalize}.platform.whatsapp{color:#27794e}.platform.messenger{color:#326aa0}.platform.instagram{color:#a6597e}.inbox{display:grid;grid-template-columns:320px minmax(280px,1fr) 250px;flex:1;min-height:0}.thread-list{background:#fff;border-right:1px solid var(--line);overflow:auto}.list-header{padding:20px 18px 12px;position:sticky;top:0;background:#fff;z-index:1}.list-header .row{justify-content:space-between;margin-bottom:12px}.list-header strong{font-size:13px}.search,input,select,textarea{background:white;border:1px solid #dbe3dc;border-radius:8px;color:var(--ink);padding:11px 12px;width:100%;font-size:13px}.search{background:var(--bg)}.filters{display:flex;gap:7px;margin-top:10px}.filters select{padding:8px;font-size:11px}.thread{display:flex;align-items:start;gap:10px;border:0;border-bottom:1px solid #f0f3ef;border-radius:0;padding:18px;width:100%;text-align:left;font-weight:400}.thread.selected{background:#edf3eb;border-left:3px solid var(--green);padding-left:15px}.thread-copy{min-width:0;flex:1}.thread-title{display:flex;justify-content:space-between;gap:10px;font-size:12px;margin-bottom:7px}.thread-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thread-title time{color:var(--muted);font-size:10px;white-space:nowrap}.thread-preview{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:12px;line-height:1.6}.thread-meta{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:10px}.unread{background:var(--green);color:white;border-radius:50%;min-width:17px;height:17px;display:grid;place-items:center;font-size:10px}.chat{display:flex;flex-direction:column;min-height:0;min-width:0;background:#f7f8f4}.chat-head{padding:17px 23px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border-bottom:1px solid var(--line);min-height:78px}.chat-head strong{font-size:14px}.chat-head small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.chat-head .back{display:none}.messages{padding:26px;overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:15px}.bubble-row{display:flex;flex-direction:column;align-items:flex-start}.bubble-row.outbound{align-items:flex-end}.bubble{background:white;border:1px solid var(--line);border-radius:12px 12px 12px 3px;padding:13px 15px;max-width:min(88%,560px);box-shadow:0 2px 2px #172a1a02}.outbound .bubble{background:#edf4e8;border-color:#dde8d9;border-radius:12px 12px 3px 12px}.bubble .copy{font-size:13px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.message-meta{font-size:10px;color:#879187;display:flex;gap:8px;margin-top:7px}.message-meta .error-text{color:var(--red)}.bubble img{display:block;max-width:100%;max-height:240px;border-radius:7px}.bubble audio,.bubble video{max-width:100%;width:260px}.summary-label{font-size:11px;color:var(--green);font-weight:700;margin-bottom:8px}.summary-buttons{display:flex;gap:6px;margin-top:11px;border-top:1px solid #d5e0d0;padding-top:11px}.summary-buttons span{background:#fff;border:1px solid #d5e0d0;border-radius:6px;padding:7px 12px;font-size:11px}.composer{background:#fff;padding:17px 23px;border-top:1px solid var(--line)}.composer label{font-size:11px;color:var(--muted)}.composer textarea{margin:9px 0;resize:vertical;min-height:75px;max-height:180px;background:#fafbf8}.composer .row{justify-content:space-between}.composer small{font-size:10px;color:var(--muted);max-width:65%;line-height:1.5}.inspector{background:white;border-left:1px solid var(--line);padding:23px 20px;overflow:auto}.inspector h3{font-size:12px;margin:0 0 22px}.detail{margin-bottom:23px}.detail span{display:block;color:var(--muted);font-size:10px;letter-spacing:.6px;margin-bottom:7px;text-transform:uppercase}.detail strong{font-size:12px;font-weight:500;overflow-wrap:anywhere}.detail select{font-size:12px}.info-note{font-size:11px;color:var(--muted);line-height:1.7;border-top:1px solid var(--line);padding-top:15px}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:230px;padding:35px;text-align:center;color:var(--muted);height:100%;gap:10px}.empty .empty-icon{height:58px;width:58px;border-radius:18px;background:#eaf0e7;color:var(--green);display:grid;place-items:center;margin-bottom:8px}.empty svg{width:25px;height:25px}.empty h3{font-size:17px;letter-spacing:-.4px;color:var(--ink);margin:0}.empty p{font-size:12px;line-height:1.8;max-width:340px;margin:0}.notice{background:#fff6e7;color:#8b642e;border:1px solid #f0dfbd;padding:12px 14px;border-radius:8px;font-size:12px;line-height:1.7;margin-bottom:18px}.notice.good{background:var(--green-soft);border-color:#d9e5d5;color:var(--green)}.notice.error{background:#fbeeee;border-color:#ebd8d8;color:var(--red)}.chat>.notice{border-radius:0;margin:0;border-left:0;border-right:0;font-size:11px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:25px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px}.card h3{font-size:16px;margin:16px 0 10px}.card p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:17px}.channel-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:var(--green-soft)}.channel-icon.messenger{background:#edf3fc}.channel-icon.instagram{background:#f9eef3}.panel{margin-bottom:20px}.panel h3{font-size:15px;margin:0 0 7px}.panel p{font-size:12px;color:var(--muted);line-height:1.7}.channel-row{padding:18px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.channel-row:first-of-type{margin-top:20px}.channel-row strong{font-size:13px}.channel-row small{display:block;color:var(--muted);font-size:11px;margin-top:7px;overflow-wrap:anywhere}.switch-label{display:flex;gap:7px;align-items:center;font-size:11px}.switch-label input{accent-color:var(--green);width:15px;height:15px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:grid;gap:8px;font-size:12px;align-content:start}.field small{font-size:10px;color:var(--muted);line-height:1.6}.span2{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-weight:600}td,th{padding:15px 12px;border-bottom:1px solid var(--line)}td small{color:var(--muted);display:block;margin-top:5px}.login-wrap{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-story{background:#173c2d;color:#f2f7e9;padding:8vw;display:flex;flex-direction:column;justify-content:center;align-items:start}.login-story .brand-mark{background:#e8f2d5;color:#204a35}.login-story h1{font-size:clamp(30px,4vw,58px);font-weight:500;letter-spacing:-2px;line-height:1.15;max-width:500px;margin:40px 0 20px}.login-story p{font-size:14px;line-height:1.9;color:#b9cfbb;max-width:390px}.channel-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:25px}.channel-badges span{border:1px solid #496651;color:#cddbc7;border-radius:20px;padding:8px 13px;font-size:11px}.login-panel{display:flex;justify-content:center;align-items:center;padding:35px}.login-form{width:100%;max-width:350px}.login-form h2{font-size:26px;margin:10px 0;letter-spacing:-.7px}.login-form p{font-size:13px;color:var(--muted);line-height:1.8;margin-bottom:25px}.login-form .field{margin-bottom:20px}.login-form .primary{margin-top:8px}.login-foot{margin-top:25px!important;font-size:10px!important}.error-text{color:var(--red)!important}.section-gap{margin-top:30px}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:min(600px,92vw);max-height:90dvh;color:var(--ink);box-shadow:0 25px 90px #14301e25}dialog::backdrop{background:#1732226b;backdrop-filter:blur(3px)}dialog h2{font-size:20px;margin:0 0 8px}dialog>div>p{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:24px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#193e2d;color:white;border:1px solid #31583e;border-radius:10px;padding:13px 20px;font-size:12px;max-width:90vw;z-index:20;box-shadow:0 8px 30px #0002}.toast.error{background:#813e38;border-color:#a86660}.skeleton{padding:30px;color:var(--muted);font-size:12px}.candidate{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:15px;border-radius:9px;margin:10px 0;font-size:13px}.candidate input{width:17px}.candidate small{display:block;color:var(--muted);font-size:11px;margin-top:5px}code{font-family:Consolas,monospace;font-size:11px;overflow-wrap:anywhere}.mobile-nav{display:none}.legal{max-width:800px;margin:60px auto;padding:25px;line-height:1.9}.legal h1{font-size:30px}.legal p,.legal li{font-size:14px}.load-more{align-self:center;font-size:11px}.muted{color:var(--muted)}
@media(min-width:1500px){.inbox{grid-template-columns:355px minmax(400px,1fr) 285px}.sidebar{padding:30px 20px}.shell{grid-template-columns:240px 1fr}.messages{padding:35px}}
@media(max-width:1150px){.inspector{display:none}.inbox{grid-template-columns:290px minmax(280px,1fr)}.shell{grid-template-columns:190px 1fr}.sidebar{padding:24px 12px}.cards{gap:12px}.card{padding:18px}.page{padding:22px}.topbar{padding:0 22px}.topbar p{display:none}}
@media(max-width:760px){.shell{grid-template-columns:1fr}.sidebar{display:none}.topbar{height:68px;padding:0 17px}.mobile-nav{display:flex;gap:5px;margin-left:10px}.mobile-nav a{font-size:11px;padding:7px;text-decoration:none}.topbar h1{font-size:16px}.connection-state{font-size:10px}.inbox{grid-template-columns:1fr}.thread-list{border:0}.chat{display:none}.inbox.has-selection .thread-list{display:none}.inbox.has-selection .chat{display:flex}.chat-head .back{display:block;padding:6px}.chat-head{padding:14px}.chat-head .actions button{font-size:10px;padding:8px}.messages{padding:18px}.bubble{max-width:92%}.composer{padding:14px}.cards{grid-template-columns:1fr}.card{padding:19px}.card h3{display:inline-block;margin:0 10px}.card .channel-icon{display:inline-grid;vertical-align:middle}.card p{margin-bottom:12px}.page-title h2{font-size:22px}.page{padding:20px 16px}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.login-wrap{grid-template-columns:1fr}.login-story{display:none}.login-panel{min-height:100dvh}.channel-row{align-items:start}.top-actions{gap:0}.top-actions>.quiet{display:none}.page-title{margin-bottom:20px}.bubble audio{width:230px}}
.environment-banner{position:fixed;top:0;left:0;right:0;z-index:40;height:52px;background:#fff3d7;border-bottom:1px solid #e4cf9d;color:#715323;display:flex;align-items:center;justify-content:center;gap:18px;padding:8px 20px;font-size:11px}.environment-banner strong{font-size:10px;letter-spacing:1px;white-space:nowrap}.local-preview{padding-top:52px}.local-preview .shell,.local-preview .boot{height:calc(100dvh - 52px)}.local-preview .login-wrap,.local-preview .login-panel{min-height:calc(100dvh - 52px)}.runtime-notice{background:#fff3dd;color:#805e27;padding:10px 22px;font-size:11px;line-height:1.6;border-bottom:1px solid #eadbbf;flex-shrink:0}@media(max-width:760px){.environment-banner{height:66px;flex-direction:column;gap:4px;text-align:center;font-size:10px}.local-preview{padding-top:66px}.local-preview .shell,.local-preview .boot{height:calc(100dvh - 66px)}.local-preview .login-wrap,.local-preview .login-panel{min-height:calc(100dvh - 66px)}}
.workflow-row{padding:20px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.workflow-row strong{font-size:14px}.workflow-row small{font-size:11px}.workflow-path{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:12px 0}.workflow-path>span:not(.pill){color:var(--muted);font-size:12px}.rule-simulation{margin-top:24px;border-top:1px solid var(--line);padding-top:18px;display:grid;gap:14px}.field[hidden]{display:none}@media(max-width:760px){.workflow-row{align-items:start;flex-direction:column}.workflow-row>.actions{align-self:flex-end}}
.restaurant-selector label{display:block;font-size:10px;letter-spacing:.08em;font-weight:700}
.restaurant-selector select{display:block;width:100%;margin:8px 0;font-size:13px;letter-spacing:normal;background:#fff;border:1px solid #ddd;border-radius:8px;padding:9px;color:inherit}
