body{background:#eeede8}a{color:#4338ca;text-decoration:none}a:hover{color:#3730a3}.nav a{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:8px;color:#c9cbd3;font-size:14px;line-height:20px}.nav a:hover{background:#23262e;color:#ffffff}.nav a.on{background:#2e3240;color:#ffffff;font-weight:600}.card{background:#ffffff;border:1px solid #e3e1da;border-radius:12px;box-sizing:border-box}.h2{font-family:Unbounded,Onest,sans-serif;font-size:14px;font-weight:600;margin:0;letter-spacing:.01em}.muted{color:#5b6070}.pill{display:inline-flex;align-items:center;gap:6px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600;line-height:18px;white-space:nowrap}.p-green{background:#e3f4e8;color:#14532d}.p-amber{background:#fdefd9;color:#8a3b0b}.p-red{background:#fce8e8;color:#8f1d1d}.p-blue{background:#e9ebfe;color:#312e81}.p-gray{background:#ecebe6;color:#3d4049}.t{width:100%;border-collapse:collapse;font-size:13px}.t th{text-align:left;font-weight:600;color:#5b6070;font-size:12px;padding:10px 12px;border-bottom:1px solid #e3e1da;white-space:nowrap}.t td{padding:11px 12px;border-bottom:1px solid #efeeea;vertical-align:top;line-height:18px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 14px;border-radius:8px;font-family:Onest,sans-serif;font-size:13px;font-weight:600;border:1px solid #d6d4cc;background:#ffffff;color:#16181d;cursor:pointer;box-sizing:border-box;white-space:nowrap}.btn:hover{background:#f6f5f1;color:#16181d}.btn-p{background:#4338ca;border-color:#4338ca;color:#ffffff}.btn-p:hover{background:#3730a3;color:#ffffff}.btn-s{min-height:32px;padding:0 10px}.btn-s,.lbl{font-size:12px}.lbl{color:#5b6070;font-weight:500}.kpi{font-family:Unbounded,Onest,sans-serif;font-size:26px;font-weight:600;line-height:32px}.inp{height:40px;border:1px solid #d6d4cc;border-radius:8px;padding:0 12px;font-family:Onest,sans-serif;font-size:14px;color:#16181d;background:#ffffff;box-sizing:border-box}.bar{height:10px;border-radius:5px;background:#ecebe6;overflow:hidden}.dot{width:8px;height:8px;border-radius:4px;display:inline-block;flex-shrink:0}:root{--bg:#f6f5f1;--surface:#ffffff;--fg:#16181d;--muted:#5b6070;--accent:#4338ca;--side:#16181d;color-scheme:light}body,html{height:100%}body{background:var(--bg);color:var(--fg);font-family:Onest,system-ui,-apple-system,Segoe UI,sans-serif;font-size:14px;margin:0}.app{display:flex;min-height:100%}.side{position:-webkit-sticky;position:sticky;top:0;height:100vh;flex-shrink:0;background:var(--side)}.side nav{height:100%;overflow-y:auto}main{flex:1 1;min-width:0}.screen,main{display:flex;flex-direction:column}.screen{min-height:100vh}.screen[hidden]{display:none!important}.sr{position:absolute;left:-9999px}a:focus-visible,button:focus-visible,input:focus-visible{outline:2px solid #8b87f0;outline-offset:2px}.chip{border:0}.chip,.pausebtn{cursor:pointer;font-family:inherit}.pausebtn{display:flex;align-items:center;gap:8px;background:#1f2933;border-radius:10px;padding:10px 12px;border:0;width:100%}.pausebtn:hover{background:#26323e}.on-green{background:#e3f4e8;border-color:#86c79b;color:#14532d}.tab{border:0;background:transparent;font-family:inherit;font-size:14px;padding:10px 14px;min-height:44px;cursor:pointer;color:#5b6070;font-weight:500}.tab[aria-selected=true]{color:#16181d;font-weight:700;box-shadow:inset 0 -2px 0 #4338ca}.igopt{text-align:left;border:1px solid #d6d4cc;border-radius:10px;padding:10px 14px;background:#ffffff;cursor:pointer;font-family:inherit;min-height:44px}.igopt[aria-pressed=true]{border-color:#4338ca;box-shadow:0 0 0 2px #c7c9f7}.dlg{display:grid;grid-template-columns:320px minmax(0,1fr) 360px;height:calc(100vh - 93px);min-height:560px}.dlg-list{border-right:1px solid #e3e1da;background:#ffffff;overflow-y:auto}.dlg-list,.dlg-thread{display:flex;flex-direction:column}.dlg-thread{min-height:0;min-width:0}.dlg-ctx{border-left:1px solid #e3e1da;padding:18px 20px;gap:18px;overflow-y:auto}.conv,.dlg-ctx{background:#ffffff;display:flex;flex-direction:column}.conv{text-align:left;border:0;border-bottom:1px solid #efeeea;padding:14px 16px;cursor:pointer;font-family:inherit;gap:6px;width:100%}.conv:hover{background:#f6f5f1}.conv[aria-current=true]{background:#eef0ff}.bubble{max-width:78%;display:flex;flex-direction:column;gap:4px}.b-c{align-self:flex-start}.b-c .tx{background:#ffffff;border:1px solid #e3e1da;border-radius:14px 14px 14px 4px}.b-a{align-self:flex-end;align-items:flex-end}.b-a .tx{background:#4338ca;color:#ffffff;border-radius:14px 14px 4px 14px}.b-h{align-self:flex-end;align-items:flex-end}.b-h .tx{background:#0f766e;color:#ffffff;border-radius:14px 14px 4px 14px}.tx{padding:10px 14px;font-size:14px;line-height:20px;white-space:pre-line}.sys{align-self:center;font-size:12px;color:#3d4049;background:#ecebe6;border-radius:999px;padding:5px 12px;text-align:center}.step[hidden]{display:none!important}.modal{position:fixed;inset:0;background:rgba(22,24,29,.45);display:flex;align-items:center;justify-content:center;padding:16px;z-index:50}.modal[hidden]{display:none!important}.modal .box{background:#ffffff;border-radius:14px;padding:22px;width:min(460px,100%);display:flex;flex-direction:column;gap:12px;box-sizing:border-box}.toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom, 0px));transform:translateX(-50%);background:#16181d;color:#ffffff;padding:12px 18px;border-radius:10px;font-size:13px;z-index:60;max-width:calc(100% - 32px)}tr.clickable{cursor:pointer}tr.clickable:hover td{background:#f6f5f1}.modesw{display:grid;grid-template-columns:1fr 1fr;grid-gap:4px;gap:4px;background:#23262e;border-radius:10px;padding:4px;margin:0 8px 6px}.modesw button{border:0;border-radius:7px;padding:8px 6px;min-height:36px;font-family:inherit;font-size:12px;font-weight:600;color:#c9cbd3;background:transparent;cursor:pointer}.modesw button[aria-pressed=true]{background:#ffffff;color:#16181d}.modehint{font-size:11px;line-height:15px;color:#a3a7b3;padding:0 12px 14px}.app:not([data-mode=agency]) [data-only=agency],.app[data-mode=agency] [data-only=platform]{display:none!important}.mobilebar{display:none}@media (max-width:1300px){main [style*="repeat(5"],main [style*="repeat(6"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dlg{grid-template-columns:280px minmax(0,1fr)}.dlg-ctx{grid-column:1/-1;border-left:0;border-top:1px solid #e3e1da}.dlg{height:auto}.dlg-thread{min-height:520px}}@media (max-width:999.98px){.side nav{width:208px!important}.dlg,main [style*=grid-template-columns]{grid-template-columns:minmax(0,1fr)!important}.dlg-list{border-right:0;max-height:320px}main header{flex-wrap:wrap;padding:16px!important}main>section>div{padding-left:16px!important;padding-right:16px!important}.card{overflow-x:auto!important}.t{min-width:640px}.screen{min-height:0}.app{flex-direction:column}.mobilebar{display:flex;position:-webkit-sticky;position:sticky;top:env(safe-area-inset-top,0);z-index:30;align-items:center;gap:12px;background:#16181d;color:#ffffff;padding:10px 16px}.mobilebar button{background:#2e3240;color:#ffffff;border:0;border-radius:8px;min-height:40px;padding:0 14px;font-family:inherit;font-weight:600;cursor:pointer}.side{position:fixed;left:0;top:0;bottom:0;height:auto;z-index:45;transform:translateX(-105%);transition:transform .2s ease;box-shadow:4px 0 24px rgba(0,0,0,.25)}.side.open{transform:none}.side nav{width:260px!important;padding-top:calc(20px + env(safe-area-inset-top, 0px))!important}}@media (prefers-reduced-motion:reduce){*{transition:none!important}}.side-backdrop{display:none}@media (max-width:999.98px){.side-backdrop{display:block;position:fixed;inset:0;background:rgba(22,24,29,.45);z-index:44}.side-backdrop[hidden]{display:none}}.userbox{display:flex;align-items:center;gap:10px}.logout{background:transparent;border:0;color:#a3a7b3;font-family:inherit;font-size:11px;cursor:pointer;padding:0;text-decoration:underline}.logout:hover{color:#ffffff}.demo-badge{display:inline-flex;align-self:flex-start;margin:0 12px 14px;padding:3px 9px;border-radius:999px;background:#fdefd9;color:#8a3b0b;font-size:11px;font-weight:600;line-height:16px}.login{min-height:100vh;align-items:center;justify-content:center;padding:16px;background:#16181d}.login,.login .box{display:flex;box-sizing:border-box}.login .box{background:#ffffff;border-radius:14px;padding:28px 26px;width:min(400px,100%);flex-direction:column;gap:12px}.login .logo{font-family:Unbounded,Onest,sans-serif;font-weight:600;font-size:18px;letter-spacing:.06em}.login .err{background:#fce8e8;color:#8f1d1d;border-radius:8px;padding:10px 12px;font-size:13px}.login .inp{width:100%}