@font-face{font-family:InterFallback;src:local('Inter')}*{box-sizing:border-box}body{margin:0;background:#f5f6f8;color:#1f2937;font-family:InterFallback,Arial,sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,input,textarea,select{border-radius:8px}button{transition:background .15s,transform .1s}button:active{transform:translateY(1px)}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #e8b74d;outline-offset:2px}button.primary,.primary{border:1px solid #d7a32c;background:#edbd4f;color:#1b2532;font-weight:700;padding:11px 17px}button.primary:hover{background:#f7ca64}.secondary{background:white;color:#243447;border:1px solid #dce1e7;padding:10px 14px}.secondary:hover{background:#f4f6f9}.danger{color:#a53636;border-color:#e6bcbc}.small{font-size:12px;padding:8px 11px}.quiet{color:#7c8796;font-size:12px}.brand{font-style:italic;font-weight:900;letter-spacing:-1px;color:#f7f8fa;font-size:25px;display:flex;align-items:center;gap:8px}.brand span{font-size:9px;font-style:normal;color:#edbd4f;letter-spacing:1.5px;border:1px solid #786736;border-radius:4px;padding:5px}.brand.large{font-size:35px;color:#1d2937;justify-content:center;margin-bottom:32px}.brand.large span{font-size:11px;color:#8b6613}.sidebar{position:fixed;inset:0 auto 0 0;width:239px;background:#192432;color:#e4e9f0;padding:30px 20px;display:flex;flex-direction:column;z-index:20}.workspace-name{font-size:9px;color:#8491a2;letter-spacing:2px;margin:33px 10px 12px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav button{border:0;background:transparent;text-align:left;display:flex;align-items:center;color:#acb9c9;padding:12px 11px;font-size:12px;gap:12px}.sidebar nav button span{width:17px;font-size:18px;text-align:center;font-weight:400}.sidebar nav button.active{background:#34404d;color:#f6c863}.sidebar nav button:hover{background:#293645;color:white}.sidebar nav button b{background:#f0c05a;color:#1d2834;margin-left:auto;border-radius:4px;font-size:10px;padding:3px 6px}.nav-separator{height:1px;background:#35404c;margin:15px 10px}.sidebar-bottom{margin-top:auto;padding:24px 6px 0;display:flex;gap:9px;align-items:center}.sidebar-bottom strong{font-size:11px;color:#ced7e4}.sidebar-bottom small{display:block;font-size:10px;color:#7d8b9e;margin-top:6px}.status-dot{width:7px;height:7px;background:#e7b954;border-radius:50%}.workspace{margin-left:239px;min-height:100vh;display:flex;flex-direction:column}header{height:101px;background:#fff;border-bottom:1px solid #e7eaf0;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:15px}header .eyebrow{font-size:9px;letter-spacing:1.6px;color:#8b96a4;font-weight:700}h1{font-size:25px;letter-spacing:-.7px;margin:8px 0 0;font-weight:700}h2{font-size:17px;letter-spacing:-.2px;margin:0 0 10px}h3{font-size:14px;margin:0 0 8px}.header-right{display:flex;align-items:center;gap:15px}.icon-button{border:0;background:none;font-size:22px;color:#536278;padding:4px 9px}#menu{display:none}.qualification-banner{padding:13px 36px;background:#fff8e7;color:#756136;display:flex;align-items:center;gap:12px;font-size:11px;border-bottom:1px solid #f0e5c9}.qualification-banner strong{color:#775a1a;white-space:nowrap}.signal{color:#d3a23d}main{padding:31px 36px;flex:1;max-width:1700px;width:100%;margin:0 auto}footer{display:flex;justify-content:space-between;gap:15px;padding:20px 36px;font-size:10px;color:#919ba7}.section-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:23px}.section-top p{margin:6px 0 0;color:#7b8797;font-size:12px;line-height:1.7}.button-group{display:flex;gap:9px;flex-wrap:wrap}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin:0 0 23px}.card{min-width:0;background:white;border:1px solid #e0e5ec;border-radius:12px;box-shadow:0 2px 3px #18233803}.kpi{padding:21px 22px}.kpi .label{font-size:11px;color:#728093}.kpi .number{font-size:34px;letter-spacing:-1px;font-weight:700;margin:12px 0 9px;color:#203146}.kpi .footnote{font-size:10px;color:#8a96a5;line-height:1.5}.number .unit{font-size:15px;font-weight:500;letter-spacing:0;margin-left:6px}.grid-two{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px;margin-bottom:22px}.card-head{padding:21px 23px;border-bottom:1px solid #eef0f4;display:flex;justify-content:space-between;align-items:center;gap:14px}.card-head h2{font-size:14px;margin:0}.card-body{padding:20px 23px}.card-body p{line-height:1.7;color:#6b7789;font-size:12px}.pill{display:inline-flex;align-items:center;font-size:10px;font-weight:600;border-radius:5px;padding:5px 8px;line-height:1.25;white-space:nowrap}.pill.neutral{background:#f0f3f7;color:#667389}.pill.good{background:#e9f4ee;color:#367353}.pill.amber{background:#fcf2d8;color:#956f1f}.pill.bad{background:#fdeaea;color:#ae4747}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;font-size:9px;color:#8894a3;letter-spacing:.5px;text-transform:uppercase;font-weight:600;background:#fbfcfd;padding:13px 20px;border-bottom:1px solid #edf0f4}td{padding:15px 20px;border-bottom:1px solid #edf0f4;vertical-align:middle;line-height:1.5}tr:last-child td{border-bottom:0}.clickable:hover{background:#f9fafc;cursor:pointer}.ref{font-size:11px;font-weight:600;color:#2e4056}.sub{display:block;font-size:10px;color:#8994a4;margin-top:4px}.route-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid #eef1f5;font-size:12px}.route-row:last-child{border:0}.channel{display:inline-flex;align-items:center;gap:7px}.channel-dot{width:8px;height:8px;border-radius:3px;display:inline-block;background:#5b8fce}.channel-dot.whatsapp{background:#4b9b72}.channel-dot.instagram{background:#b9689e}.channel-dot.site{background:#d4a943}.flow{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:10px;color:#708094;padding-top:9px}.flow b{font-weight:500;background:#f2f5f7;border-radius:5px;padding:7px 10px}.flow i{font-style:normal;color:#a7b1bf}.info-box{padding:16px 18px;background:#f8fafc;border:1px solid #e9edf2;border-radius:8px;margin:16px 0;font-size:12px;line-height:1.7;color:#627186}.info-box.warning{background:#fff9ed;border-color:#f1e2bd;color:#8d6e2e}.empty{text-align:center;padding:45px 25px;color:#8793a3;font-size:12px;line-height:1.8}.empty strong{display:block;font-size:15px;color:#42536b;margin-bottom:6px}.inbox-layout{display:grid;grid-template-columns:300px 1fr;gap:20px;min-height:560px}.thread-list{overflow:hidden}.thread-item{border-bottom:1px solid #edf0f4;padding:19px 18px;cursor:pointer}.thread-item:hover,.thread-item.selected{background:#f5f8fb}.thread-item.selected{border-left:3px solid #dbb150;padding-left:15px}.thread-item strong{font-size:12px}.thread-item p{font-size:11px;color:#798799;line-height:1.6;margin:9px 0}.thread-item .thread-meta{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.conversation{padding:23px;display:flex;flex-direction:column}.conversation-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:17px;gap:20px}.timeline{background:#f6f8fa;border-radius:10px;padding:20px;min-height:200px;max-height:460px;overflow:auto}.bubble{max-width:86%;margin-bottom:17px;border:1px solid #e3e8ef;border-radius:10px 10px 10px 2px;background:white;padding:13px 15px;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.outbound{margin-left:auto;border-radius:10px 10px 2px 10px;background:#fdf6e5;border-color:#eddfb8}.bubble .bubble-meta{font-size:9px;color:#8490a1;margin-top:8px;white-space:normal}.bubble[dir=rtl]{text-align:right}.draft-box{margin-top:20px;border-top:1px solid #e8edf3;padding-top:20px}.draft-box textarea{width:100%;min-height:100px;margin:10px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field-wide{grid-column:1/-1}label{display:block;font-size:11px;color:#68778c;font-weight:600}input,textarea,select{display:block;width:100%;margin-top:7px;background:#fff;border:1px solid #dce2e9;padding:11px 12px;color:#26384e}textarea{resize:vertical;line-height:1.7;min-height:100px}.field-note{font-size:10px;color:#8895a6;margin-top:7px;font-weight:400;line-height:1.6}.error{color:#b94b4b;font-size:12px;line-height:1.6}.auth{position:fixed;inset:0;background:linear-gradient(130deg,#edf1f5,#f8f5ec);display:grid;place-items:center;z-index:100}.auth[hidden]{display:none}.login-card{width:min(450px,calc(100% - 40px));background:white;border:1px solid #e2e7ec;border-radius:17px;padding:45px;box-shadow:0 20px 70px #273a5220}.login-card h1{font-size:24px;text-align:center;line-height:1.3}.login-card>p{text-align:center;color:#7d8795;font-size:12px;margin-bottom:25px}.login-card label{margin-top:18px}.login-card button{margin-top:25px;width:100%}.login-card small{display:block;text-align:center;color:#8b96a4;font-size:10px;line-height:1.8}.toast{position:fixed;bottom:24px;right:26px;max-width:470px;z-index:120;background:#223347;color:white;border-radius:10px;padding:16px 23px;font-size:12px;line-height:1.6;box-shadow:0 5px 30px #16203333}.toast[hidden]{display:none}dialog{border:1px solid #dce3eb;border-radius:14px;padding:0;max-width:760px;width:calc(100% - 36px);max-height:88vh;box-shadow:0 20px 70px #172b4333}dialog::backdrop{background:#15263b66;backdrop-filter:blur(2px)}.modal-head{display:flex;justify-content:space-between;align-items:center;padding:22px 27px;border-bottom:1px solid #e7ebf1}.modal-head h2{margin:0}.modal-head button{font-size:25px}#modal-body{padding:25px 27px;overflow:auto;max-height:72vh}.rule{margin-bottom:9px;border:1px solid #e0e5ec;border-radius:9px;background:white}.rule summary{padding:17px 20px;cursor:pointer;font-size:12px;font-weight:600}.rule .rule-content{padding:0 20px 20px;white-space:pre-wrap;color:#5e6d81;line-height:1.8;font-size:12px}.code{font-family:monospace;font-size:11px;white-space:pre-wrap;word-break:break-word;background:#f5f7fa;padding:16px;border-radius:8px;max-height:350px;overflow:auto}.tabs{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.tabs button{padding:10px 14px;background:white;border:1px solid #dce3eb;color:#54657c}.tabs .active{background:#24364b;color:white;border-color:#24364b}.search{width:300px;max-width:100%;margin:0}.list-detail{font-size:12px;line-height:1.8}.list-detail dt{font-weight:700;margin-top:12px}.list-detail dd{margin:5px 0;color:#65758b}.tag-row{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0}.metric-bar{height:6px;border-radius:3px;background:#edf1f6;overflow:hidden;margin:11px 0}.metric-bar>span{display:block;height:100%;background:#e2b34a;width:100%}.timeline-date{font-size:10px;color:#93a0af;margin-bottom:15px;text-align:center}
@media(min-width:1500px){main{padding-top:37px}.kpi{padding:26px}.sidebar{width:255px}.workspace{margin-left:255px}}@media(max-width:1100px){.header-right .quiet{display:none}.kpi-grid{grid-template-columns:repeat(2,1fr)}.grid-two{grid-template-columns:1fr}.sidebar{width:214px;padding:25px 13px}.workspace{margin-left:214px}header{padding:0 25px}main{padding:25px}.qualification-banner{padding:13px 25px}.inbox-layout{grid-template-columns:250px 1fr}.bubble{max-width:95%}}@media(max-width:780px){.sidebar{display:none}.sidebar.open{display:flex;width:240px;box-shadow:0 0 0 100vw #19253455}.workspace{margin-left:0}#menu{display:block}header{height:83px;padding:0 16px;justify-content:flex-start}.header-right{margin-left:auto;gap:8px}.header-right .pill{display:none}h1{font-size:21px}.qualification-banner{padding:12px 18px;line-height:1.6;flex-wrap:wrap;gap:5px 9px}.qualification-banner>span:last-child{width:100%;padding-left:17px}main{padding:22px 17px}.kpi-grid{gap:11px}.kpi{padding:17px}.kpi .number{font-size:27px}.section-top{flex-direction:column;gap:13px}.inbox-layout{grid-template-columns:1fr}.thread-list{max-height:230px;overflow:auto}.conversation{padding:17px}.form-grid{grid-template-columns:1fr}.field-wide{grid-column:auto}footer{padding:17px;line-height:1.7;flex-direction:column}.card-head{padding:17px}td,th{padding:13px}.login-card{padding:30px}.header-right button{padding:8px;font-size:10px}.card-body{padding:17px}}
