:root{--bg:#eef3ed;--sidebar:#091a12;--sidebar2:#10251a;--card:#fff;--line:#e3eae4;--txt:#15241b;--muted:#78867b;--green:#16bd62;--greenDark:#079649;--cyan:#0ba5cb;--purple:#9656e7;--orange:#e99821;--shadow:0 10px 26px rgba(32,52,32,.055);--radius:18px}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,'Segoe UI',system-ui,-apple-system,sans-serif;color:var(--txt);background:var(--bg)}body{font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--greenDark);text-decoration:none}a:hover{text-decoration:underline}svg{vertical-align:middle}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.hidden{display:none!important}.nowrap{white-space:nowrap}.mt0{margin-top:0}.mt12{margin-top:12px}.mt24{margin-top:24px}.mb0{margin-bottom:0}.flex{display:flex;align-items:center;gap:10px}.between{display:flex;align-items:center;justify-content:space-between;gap:10px}.wrap{flex-wrap:wrap}.grow{flex:1}.full{width:100%}
.splash{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100vh;background:#0a1c13;color:#fff}.splash h1{font-size:34px;letter-spacing:-1.5px;margin:12px}.splash h1 span,.login-brand span,.logo-word span{color:#47e986}.brand-mark{width:49px;height:49px;border-radius:15px;background:linear-gradient(135deg,#8fffac,#0ac563);color:#09341d;font-weight:900;font-size:28px;display:grid;place-items:center;box-shadow:0 0 24px #1cd86a55}
.login-scene{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#f6faf7}.login-hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 90% 0%,#1a6335 0%,transparent 42%),linear-gradient(145deg,#0a2115,#09281c 60%,#0c2016);padding:70px 9%;color:white;display:flex;flex-direction:column;justify-content:center}.login-glow{position:absolute;width:560px;height:560px;background:radial-gradient(circle,#32e8702c,transparent 70%);left:-180px;bottom:-240px;pointer-events:none}.login-brand{display:flex;align-items:center;gap:14px;font-size:29px;font-weight:800;letter-spacing:-1px;margin-bottom:75px}.login-hero h1{font-size:clamp(40px,4.5vw,68px);letter-spacing:-3px;line-height:1.04;margin:0 0 25px;max-width:650px}.login-hero h1 em{font-style:normal;color:#68ef9d}.login-hero>p{font-size:17px;color:#a9bdad;max-width:490px;line-height:1.8}.login-chips{display:flex;gap:12px;flex-wrap:wrap;margin-top:40px}.login-chip{background:#ffffff0c;border:1px solid #b6ffca26;color:#bde6c7;border-radius:999px;padding:12px 17px;display:flex;gap:8px;align-items:center;font-size:12px}.login-side{display:grid;place-items:center;padding:30px}.login-panel{width:min(100%,430px)}.login-panel h2{font-size:31px;letter-spacing:-1.2px;margin:0 0 5px}.login-panel>p{margin:0 0 30px;color:var(--muted)}.login-foot{font-size:12px;color:#97a69a;text-align:center;margin-top:32px}
.layout{display:flex;min-height:100vh}.sidebar{width:255px;background:linear-gradient(180deg,#0b1d13,#07120e);color:#b0c0b4;flex:none;position:fixed;height:100vh;top:0;left:0;display:flex;flex-direction:column;z-index:20;box-shadow:6px 0 18px #0000000b}.side-top{display:flex;align-items:center;justify-content:space-between;height:83px;padding:18px 18px 14px 23px}.logo-area{display:flex;align-items:center;gap:11px}.logo-area .brand-mark{width:35px;height:35px;border-radius:11px;font-size:22px}.logo-word{color:#f4fff6;font-weight:850;font-size:22px;letter-spacing:-.8px}.side-menu{overflow-y:auto;overflow-x:hidden;flex:1;padding:8px 13px 30px;scrollbar-width:thin;scrollbar-color:#354c3d transparent}.side-label{color:#516859;font-size:10px;letter-spacing:1.4px;font-weight:800;padding:26px 13px 10px;text-transform:uppercase}.nav-item{height:44px;display:flex;gap:12px;align-items:center;padding:0 13px;border:1px solid transparent;border-radius:11px;color:#b5c5b9;transition:.15s;margin-bottom:4px;background:none;width:100%;text-align:left;font-weight:550;font-size:13px}.nav-item:hover{background:#ffffff0a;color:#fff}.nav-item.active{background:linear-gradient(90deg,#0c753b55,#0a542b23);border-color:#1ab96355;color:#fff;font-weight:700}.nav-ico{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#ffffff0a;color:#d5eedb;flex:none}.nav-item.active .nav-ico{background:linear-gradient(135deg,#22df70,#0a8c43);box-shadow:0 4px 14px #03bd4c3d;color:#fff}.nav-ico svg{width:17px;height:17px}.side-bottom{border-top:1px solid #ffffff10;padding:13px}.side-toggle{border:1px solid #ffffff14;border-radius:12px;background:#ffffff09;display:flex;align-items:center;justify-content:space-between;padding:12px;color:#d9e8d9;font-size:12px}.user-bottom{display:flex;align-items:center;gap:11px;padding:16px 4px 5px;color:#effaf0;min-width:0}.avatar{width:35px;height:35px;border-radius:50%;background:linear-gradient(145deg,#4be57e,#087d46);display:grid;place-items:center;font-weight:800;color:#063620;flex:none}.user-bottom .text{overflow:hidden}.user-bottom strong,.user-bottom span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-bottom strong{font-size:12px}.user-bottom span{font-size:10px;color:#90aa94}.main{margin-left:255px;flex:1;min-width:0}.topbar{height:76px;background:#ffffffbd;border-bottom:1px solid #e4ebe5;display:flex;align-items:center;justify-content:space-between;padding:0 36px;position:sticky;top:0;z-index:10;backdrop-filter:blur(18px)}.breadcrumb{font-size:13px;color:#92a095}.breadcrumb strong{font-weight:700;color:#1c2c22}.top-actions{display:flex;gap:9px;align-items:center}.status-pill{background:#fff;border:1px solid var(--line);padding:8px 13px;border-radius:999px;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;white-space:nowrap}.dot{width:8px;height:8px;border-radius:50%;background:#d4aa36;box-shadow:0 0 0 4px #eedfa447}.dot.green{background:#22c55e;box-shadow:0 0 0 4px #bdf7cc70}.dot.red{background:#e25059;box-shadow:0 0 0 4px #ffd9dc}.iconbtn{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:white;display:grid;place-items:center;color:#455b4c}.iconbtn svg{width:18px;height:18px}.content{padding:33px min(3.3vw,42px) 70px;max-width:1640px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px;flex-wrap:wrap}.eyebrow{font-size:11px;letter-spacing:1px;font-weight:800;color:#16a559;text-transform:uppercase;margin-bottom:6px}.page-head h1{font-size:27px;letter-spacing:-.8px;margin:0}.page-head p{margin:5px 0 0;color:var(--muted);font-size:13px}.btn{border:0;padding:11px 16px;border-radius:11px;background:var(--green);color:#fff;font-weight:750;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.2;transition:.15s;white-space:nowrap}.btn:hover{background:#0ba452;transform:translateY(-1px)}.btn.dark{background:#132a1c}.btn.dark:hover{background:#234831}.btn.ghost{background:#f1f7f2;color:#376748;border:1px solid #dcebe0}.btn.ghost:hover{background:#e5f4e8}.btn.danger{background:#ffeced;color:#b82d38}.btn.danger:hover{background:#ffe1e3}.btn.small{padding:7px 10px;font-size:11px;border-radius:8px}.btn svg{width:15px;height:15px}.card{background:white;border:1px solid #e4ebe3;border-radius:var(--radius);box-shadow:var(--shadow);padding:23px}.card h3{font-size:15px;margin:0 0 10px;letter-spacing:-.3px}.setup-banner{background:radial-gradient(circle at 90% 0%,#145d42 0%,transparent 30%),linear-gradient(115deg,#101e39,#061d25);border-radius:19px;color:#fff;display:flex;align-items:center;gap:22px;padding:25px 30px;margin-bottom:20px;box-shadow:0 10px 30px #08272f12}.setup-play{display:grid;place-items:center;flex:none;width:47px;height:47px;border-radius:50%;border:1px solid #4ef7a350;background:#25ba5b20;color:#65ee97}.setup-info{flex:1}.setup-info h2{font-size:19px;letter-spacing:-.5px;margin:0 0 5px}.setup-info p{margin:0 0 13px;color:#a1b4c1;font-size:12px}.setup-steps{display:flex;gap:7px;flex-wrap:wrap}.step{padding:8px 11px;background:#ffffff10;border:1px solid #ffffff17;border-radius:999px;color:#afc2c7;font-size:11px;font-weight:650}.step.done{background:#1cbe6130;border-color:#2bcc7a60;color:#8ff4b9}.setup-progress{min-width:155px;text-align:right}.setup-progress strong{font-size:25px;letter-spacing:-1px}.setup-progress p{font-size:11px;margin:5px 0 11px;color:#abbec1}.progress-track{background:#ffffff23;height:6px;border-radius:99px;overflow:hidden}.progress-track div{background:linear-gradient(90deg,#20cb5c,#89ffa0);height:100%;border-radius:99px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px}.stat-card{min-height:146px;padding:20px;border-radius:17px;border:1px solid #e8eee7;background:white;box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between}.stat-top>span{font-size:10px;color:#85958b;font-weight:800;letter-spacing:.5px}.stat-num{font-size:31px;letter-spacing:-1px;font-weight:800;margin:13px 0 2px}.stat-card p{font-size:11px;color:#94a499;margin:0}.stat-icon{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;box-shadow:0 7px 14px #0e9f542d;background:linear-gradient(145deg,#30e877,#00ae49);color:white}.stat-icon.cyan{background:linear-gradient(145deg,#52cff8,#118cbd)}.stat-icon.purple{background:linear-gradient(145deg,#b17bff,#7528da)}.stat-icon.orange{background:linear-gradient(145deg,#ffc13b,#ed7820)}.stat-icon svg{width:19px;height:19px}.two-grid{display:grid;grid-template-columns:1.3fr .85fr;gap:18px;margin-bottom:20px}.section-title{font-size:17px;letter-spacing:-.5px;margin:25px 0 13px}.section-sub{font-size:12px;color:var(--muted);font-weight:400}.chartbox{height:184px;display:flex;align-items:flex-end;gap:6px;padding:10px 0 7px;border-bottom:1px solid #e8efe8;position:relative}.barcol{flex:1;min-width:2px;display:flex;flex-direction:column;justify-content:end;height:100%;align-items:center;gap:4px}.bar{width:min(100%,24px);border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#36ec83,#13ab59);min-height:4px}.bar.secondary{background:linear-gradient(180deg,#b5e1d0,#5aaf8b)}.barlabel{color:#9ea9a0;font-size:9px}.empty-chart{height:180px;display:grid;place-items:center;color:#9aaa9e;font-size:12px}.assistants{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.assistant-card{padding:18px;border-radius:17px;background:#fff;border:1px solid #e6eee7;min-height:154px}.assistant-title{display:flex;gap:10px;align-items:center;justify-content:space-between}.assistant-label{display:flex;gap:10px;align-items:center}.assistant-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:11px;background:#e3f9e9;color:#0ea84d}.assistant-card h4{font-size:13px;margin:0 0 4px}.assistant-card p{font-size:11px;color:#89998c;margin:0 0 14px}.pill{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eef3f0;color:#627467;font-size:10px;font-weight:800;gap:5px}.pill.success{background:#dff7e6;color:#198e4b}.pill.warn{background:#fff2da;color:#a76816}.pill.error{background:#ffe9e9;color:#b23843}.toggle{position:relative;width:35px;height:21px;border-radius:15px;background:#d6e0d8;border:0;display:inline-flex;align-items:center;padding:3px;flex:none}.toggle:before{content:"";height:15px;width:15px;border-radius:50%;background:white;box-shadow:0 1px 4px #999;transition:transform .16s}.toggle.on{background:#1dcd63}.toggle.on:before{transform:translateX(14px)}.new-assistant{border:2px dashed #d2dfd4;background:#f8fbf8;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#27844c}.new-assistant .plus{width:43px;height:43px;border-radius:50%;display:grid;place-items:center;border:1px solid #d5e2d7;background:#fff;font-size:24px;margin-bottom:8px}.new-assistant strong{color:#183c27;font-size:13px;margin-bottom:7px}.new-assistant p{padding:0 20px;margin:0}.info-strip{padding:13px 16px;border:1px solid #b4e9c4;background:#e4f8e9;color:#327549;border-radius:12px;font-size:12px;margin-bottom:22px;line-height:1.6}.info-strip.blue{background:#e9f4ff;border-color:#cde5fc;color:#3b718c}.info-strip.orange{background:#fff8e7;border-color:#ffe6ae;color:#8f641f}
.rule-card{margin-bottom:13px;padding:18px 20px}.rule-card .headline{display:flex;justify-content:space-between;align-items:center;gap:10px}.rule-card h3{margin:0 0 4px}.rule-card p{margin:0;color:var(--muted);font-size:12px}.rule-answer{padding:13px 15px;margin:14px 0;background:#f6faf6;border:1px solid #e9efe9;border-radius:10px;white-space:pre-wrap;font-size:13px;line-height:1.5;max-height:140px;overflow:auto}.keyword-tags{display:flex;flex-wrap:wrap;gap:6px;margin:11px 0}.keyword-tag{background:#edf7ef;color:#31844c;border-radius:7px;font-size:11px;padding:5px 8px}.actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.field{display:block;margin-bottom:17px}.field span,.field>label{display:block;font-size:12px;font-weight:750;color:#405446;margin-bottom:7px}.input,.textarea,.select{outline:none;border:1px solid #dce5dc;background:#fbfdfb;width:100%;border-radius:11px;padding:12px 13px;font-size:13px;color:#16271b;transition:.15s}.input:focus,.textarea:focus,.select:focus{border-color:#24c46a;box-shadow:0 0 0 3px #19b85e18}.textarea{min-height:110px;resize:vertical;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-actions{display:flex;gap:9px;justify-content:flex-end;align-items:center;margin-top:17px}.field-hint{display:block;color:#91a195;font-size:11px;margin-top:6px;line-height:1.5}.subtle-line{height:1px;background:var(--line);margin:19px 0}.panel-slim{max-width:950px}.list-row{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid #edf2ed}.list-row:last-child{border-bottom:0}.list-row h4{margin:0 0 3px;font-size:13px}.list-row p{margin:0;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-row .initial{width:39px;height:39px;border-radius:12px;background:#edf7ef;color:#1b8b4c;font-weight:800;display:grid;place-items:center;flex:none}.list-row .rowtext{flex:1;min-width:0}.chat-layout{display:grid;grid-template-columns:325px 1fr;gap:15px;min-height:610px}.chat-list{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}.chat-list-head{padding:17px;border-bottom:1px solid var(--line)}.chat-rows{flex:1;overflow:auto;max-height:570px}.chat-entry{border:0;background:white;width:100%;text-align:left;padding:13px 16px;border-bottom:1px solid #eff3ef;display:flex;gap:10px;align-items:center}.chat-entry:hover{background:#f7fbf7}.chat-entry.selected{background:#e9f8ed;border-left:3px solid #17bd60}.chat-entry .avatar{background:#d6f4de;color:#197d3c;border-radius:13px;width:39px;height:39px}.chat-entry .rowtext{min-width:0;flex:1}.chat-entry strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-entry p{margin:4px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#86958a}.chat-entry .when{color:#9ba9a0;font-size:10px}.thread{background:white;border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;overflow:hidden;min-width:0}.thread-head{min-height:76px;padding:14px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.thread-head h3{margin:0 0 3px}.thread-messages{flex:1;min-height:350px;max-height:560px;overflow:auto;background:linear-gradient(120deg,#f7fbf7,#f3f8f3);padding:24px;display:flex;flex-direction:column;gap:10px}.bubble{max-width:min(78%,510px);padding:12px 15px;border-radius:13px;background:white;border:1px solid #e4eae4;align-self:flex-start;box-shadow:0 4px 12px #17402a07;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.bubble.out{background:#d9f7e3;border-color:#b5eac7;align-self:flex-end}.bubble .time{display:block;color:#88a092;text-align:right;margin-top:8px;font-size:10px}.thread-composer{padding:13px 16px;border-top:1px solid var(--line);display:flex;gap:9px}.thread-composer input{flex:1}.placeholder{padding:75px 20px;text-align:center;color:#97a79b}.placeholder svg{width:39px;height:39px;opacity:.5;margin-bottom:10px}.placeholder h3{color:#395c45;margin:0}.placeholder p{margin:6px auto 0;font-size:12px;max-width:270px}.test-thread{max-height:420px;min-height:250px}.test-card{display:grid;grid-template-columns:1.05fr .95fr;gap:16px}.test-input{display:flex;gap:9px;margin-top:16px}.test-input input{flex:1}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.product-card{display:flex;flex-direction:column;min-height:196px}.product-card h3{margin:0 0 8px}.product-card p{color:var(--muted);font-size:12px;margin:0;flex:1}.price{color:#069c45;font-size:22px;font-weight:800;margin:14px 0}.product-actions{display:flex;gap:7px}.wa-state{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding:30px 18px}.wa-hero{width:86px;height:86px;border-radius:26px;background:linear-gradient(135deg,#3ce979,#05a652);display:grid;place-items:center;box-shadow:0 12px 30px #10c35e50;color:white}.wa-hero svg{width:44px;height:44px}.wa-state h2{margin:0;font-size:21px}.wa-state p{margin:0;max-width:450px;color:var(--muted);font-size:13px}.qr-image{width:280px;max-width:100%;border:10px solid #fff;border-radius:15px;box-shadow:0 4px 28px #1c362017;image-rendering:pixelated}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settings-grid .card{align-self:start}.switch-row{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eaf0e9}.switch-row:last-child{border-bottom:0}.switch-row strong{font-size:13px}.switch-row p{margin:2px 0 0;font-size:11px;color:#899a8f}.copy-row{display:flex;gap:7px}.copy-row input{flex:1;min-width:0}.feature-row{display:flex;gap:15px;align-items:flex-start}.feature-row .feature-icon{display:grid;place-items:center;background:#e4f9ea;color:#159e4e;border-radius:12px;width:45px;height:45px;flex:none}.feature-row h3{margin:0 0 4px}.feature-row p{margin:0;color:var(--muted);font-size:12px}.badge{font-size:10px;border-radius:50px;background:#e9f2e9;color:#45664c;padding:5px 9px;font-weight:700}.badge.green{background:#dff9e8;color:#1c914c}.badge.orange{background:#fff3d9;color:#a46f14}
.modal-backdrop{position:fixed;inset:0;background:#06140ca3;z-index:60;display:grid;place-items:center;padding:18px;backdrop-filter:blur(5px)}.modal{background:#fff;width:min(100%,610px);max-height:92vh;overflow:auto;border-radius:20px;box-shadow:0 25px 80px #020a0644}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:19px;margin:0}.modal-body{padding:22px 24px}.modal-foot{padding:17px 24px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:8px}.modal .textarea{min-height:130px}.toast{position:fixed;right:20px;bottom:23px;z-index:80;max-width:360px;border-radius:13px;background:#152b1d;color:#f1fff4;padding:14px 18px;box-shadow:0 10px 30px #00170930;font-size:13px}.toast.error{background:#a73339}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:50px 25px;background:#fff;border:1px dashed #d8e6da;border-radius:16px}.empty-state .large{width:57px;height:57px;display:grid;place-items:center;background:#eef9f0;color:#13a558;border-radius:16px;margin-bottom:12px}.empty-state h3{margin:0 0 6px}.empty-state p{color:#819186;margin:0 0 17px;font-size:12px;max-width:340px}.float-chat{position:fixed;right:24px;bottom:23px;width:48px;height:48px;display:grid;place-items:center;background:linear-gradient(135deg,#31e576,#0da64c);border:none;border-radius:50%;color:#fff;box-shadow:0 7px 20px #08aa4b66;z-index:8}.float-chat svg{width:22px;height:22px}.mobile-menu{display:none}
@media(max-width:1250px){.stats-grid,.assistants{grid-template-columns:repeat(2,minmax(0,1fr))}.two-grid{grid-template-columns:1fr 1fr}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.setup-banner{flex-wrap:wrap}.setup-progress{min-width:120px}}@media(max-width:980px){.sidebar{width:220px}.main{margin-left:220px}.content{padding:25px 20px 65px}.topbar{padding:0 20px}.chat-layout{grid-template-columns:265px 1fr}.login-hero{padding:50px 6%}.two-grid,.settings-grid,.test-card{grid-template-columns:1fr}}@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:258px}.sidebar.open{transform:translateX(0)}.sidebar.open:after{content:"";position:fixed;left:258px;top:0;height:100vh;width:100vw;background:#0006}.main{margin-left:0}.topbar{height:64px;padding:0 15px}.mobile-menu{display:grid}.status-pill{font-size:0;padding:8px}.status-pill .dot{width:9px;height:9px}.top-actions{gap:5px}.content{padding:22px 14px 65px}.page-head h1{font-size:23px}.setup-banner{padding:20px;gap:12px}.setup-play{display:none}.setup-info h2{font-size:16px}.setup-progress{width:100%;text-align:left}.stats-grid,.assistants,.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-card{padding:14px;min-height:125px}.stat-num{font-size:27px}.stat-icon{width:31px;height:31px}.stat-top>span{font-size:9px}.card{padding:16px}.chat-layout{grid-template-columns:1fr}.chat-list{max-height:240px}.chat-rows{max-height:180px}.thread-messages{min-height:290px}.login-scene{grid-template-columns:1fr}.login-hero{display:none}.login-side{min-height:100vh}.form-grid{grid-template-columns:1fr}.modal-body,.modal-head,.modal-foot{padding:17px}.wa-state{padding:20px 7px}.setup-steps{gap:5px}.step{font-size:10px}.float-chat{width:42px;height:42px;right:13px;bottom:16px}}@media(max-width:420px){.stats-grid,.assistants,.catalog-grid{grid-template-columns:1fr 1fr}.assistant-card{padding:12px}.assistant-title{align-items:flex-start}.assistant-card h4{font-size:12px}.assistant-icon{display:none}.btn{font-size:11px;padding:9px 11px}.rule-card .headline{align-items:flex-start}.topbar .breadcrumb{font-size:11px}}

/* INTERBOT 2.0 — visual do painel claro/verde com navegação escura */
:root{--bg:#eef6ef;--sidebar:#091d15;--sidebar2:#10271c;--green:#0da75a;--greenDark:#087d43;--line:#dfebe2;--shadow:0 6px 20px rgba(15,59,27,.045);--radius:13px}
body{background:#f1f7f2;color:#1d3024}.sidebar{width:240px;background:linear-gradient(175deg,#081a13,#0b2117)}.main{background:linear-gradient(145deg,#f3f8f3,#eaf5ec);}.content{max-width:1560px;margin:0 auto}.side-label{color:#6e8977;font-size:9px;letter-spacing:1.2px}.nav-item{height:39px;margin-bottom:3px;border-radius:7px;font-size:12px}.nav-ico{height:27px;width:27px;border-radius:7px}.nav-item.active{background:#11783c55;border-color:#2aa76044}.nav-item.active .nav-ico{box-shadow:none;background:#0b9954}.side-top{height:70px}.logo-area .brand-mark{font-size:19px;width:31px;height:31px;border-radius:8px}.logo-word{font-size:19px}
.topbar{background:rgba(250,255,250,.87);border-bottom:1px solid #e4ede5}.page-head h1{font-size:26px;letter-spacing:-.8px}.page-head p{color:#798b7d}.eyebrow{color:#0a974d}.card,.stat-card,.assistant-card,.chat-list,.thread{border-radius:11px;box-shadow:var(--shadow);border:1px solid #e3ece5;background:white}.btn{background:#0ba45a;border-radius:8px}.btn:hover{background:#09874b}.btn.ghost{background:#f6fbf7;color:#167641;border:1px solid #cfe3d5}.btn.ghost:hover{background:#e2f4e7}.btn.danger{background:#ec5b52}.setup-banner{background:linear-gradient(110deg,#091e2b 0%,#0c2723 70%,#134730);border-radius:13px}.setup-play{background:#16433d;color:#5eefaa}.stats-grid{gap:14px}.stat-card{padding:21px}.stat-num{font-size:32px;color:#173b26}.stat-top>span{font-size:11px}.stat-icon{border-radius:10px}.info-strip{border-radius:9px}.form-grid{gap:15px}.field .input,.field .textarea,.field .select,.input,.textarea,.select{border-radius:8px}.field .input:focus,.field .textarea:focus,.field .select:focus{border-color:#24a76d;box-shadow:0 0 0 3px #20a96d21}.sidebar .side-toggle{border-radius:10px}
.chat-bulk-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;border:1px solid #deeadf;background:#fff;border-radius:10px;padding:10px 13px;margin:0 0 14px;font-size:12px}.chat-bulk-toolbar label{display:flex;gap:8px;align-items:center;font-weight:600;color:#44624d}.chat-bulk-toolbar #chat-bulk-count{margin-right:auto;color:#678873}.chat-bulk{accent-color:#059e52;width:16px;height:16px;flex-shrink:0;cursor:pointer}.chat-entry{display:flex;align-items:center;gap:10px;width:100%;padding:13px 11px;cursor:pointer;border-bottom:1px solid #eff3ef;transition:background .15s}.chat-entry:hover{background:#f5fcf7}.chat-entry.selected{background:#ecf8ef}.chat-entry .avatar{flex:none}.chat-entry .rowtext{min-width:0;flex:1}.chat-entry .rowtext p,.chat-entry .rowtext strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.chat-entry .when{flex:none;font-size:10px;color:#7b8a7f}.initial.ready{background:#e4f9e9;color:#0a9f4e}.initial.pending{background:#f8f0e2;color:#aa7a31}.secret-value{user-select:all;overflow-wrap:anywhere;font-size:12px;color:#086a36;padding:12px;background:#f0fff5;border:1px dashed #9cdbb2;border-radius:8px}.switch-row input[type='checkbox']{accent-color:#0ba45a;cursor:pointer;width:17px;height:17px}.input[type='file']{padding:9px;background:#fff}.pill.success{color:#078d46;background:#dcf8e6}.page-head .eyebrow{text-transform:uppercase}.card>h3{letter-spacing:-.3px}
@media(max-width:900px){.sidebar{width:240px}.main{min-width:0}.chat-bulk-toolbar{gap:7px}.chat-bulk-toolbar .btn{font-size:11px;padding:8px 9px}}
@media(max-width:650px){.chat-bulk-toolbar{align-items:flex-start}.chat-bulk-toolbar #chat-bulk-count{width:100%;flex:auto}.chat-entry{padding:10px 8px}.page-head h1{font-size:23px}.content{padding-left:12px;padding-right:12px}}

.side-top>.iconbtn{display:none}@media(max-width:900px){.side-top>.iconbtn{display:flex}}
