@import "https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800;900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap";:root{--red:#d7191f;--red-600:#b8141a;--red-700:#8f0f14;--red-50:#fff1f1;--red-100:#ffe0e0;--yellow:#f7c51e;--yellow-600:#d9a700;--ink:#111214;--ink-2:#2a2d33;--muted:#646a73;--line:#e4e6ea;--line-2:#d3d6dc;--bg:#f4f5f8;--card:#fff;--ok:#158a4b;--ok-bg:#e8f7ee;--warn:#9a6400;--warn-bg:#fff6dc;--err:#b3261e;--err-bg:#fdecea;--radius:14px;--shadow:0 1px 2px #1112140f, 0 6px 24px #1112140f;--font:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif;--display:"Montserrat", var(--font);--mono:"JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;color-scheme:light}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:84px}body{font-family:var(--font);color:var(--ink);background:radial-gradient(circle at 12% -10%, #d7191f12, transparent 40%), radial-gradient(circle at 100% 0%, #f7c51e14, transparent 35%), var(--bg);-webkit-font-smoothing:antialiased;margin:0;line-height:1.5}a{color:var(--red-600)}h1,h2,h3{font-family:var(--display);letter-spacing:-.01em;margin:0}h2{font-size:1.2rem;font-weight:800}h3{font-size:1rem;font-weight:700}p{margin:.4rem 0}code,pre,textarea.mono{font-family:var(--mono)}code{background:#f1f2f5;border-radius:6px;padding:.05rem .35rem;font-size:.88em}.container{width:min(1360px,100% - 32px);margin-inline:auto}label{color:var(--ink-2);margin-bottom:.3rem;font-size:.82rem;font-weight:600;display:block}.hint{color:var(--muted);font-size:.8rem;font-weight:400}input[type=text],input:not([type]),input[type=password],input[type=number],input[type=search],input[type=url],input[type=tel],input[type=email],input[type=date],select,textarea{width:100%;font:inherit;border:1px solid var(--line-2);color:var(--ink);background:#fff;border-radius:10px;padding:.6rem .75rem;font-size:.92rem;transition:border-color .15s,box-shadow .15s}textarea{resize:vertical;min-height:90px}input:focus,select:focus,textarea:focus{border-color:var(--red);outline:none;box-shadow:0 0 0 3px #d7191f24}input[type=checkbox],input[type=radio]{accent-color:var(--red);width:16px;height:16px}.check{cursor:pointer;align-items:center;gap:.45rem;margin:0;font-size:.88rem;font-weight:500;display:inline-flex}.btn{font:inherit;cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:10px;justify-content:center;align-items:center;gap:.45rem;padding:.6rem 1rem;font-size:.9rem;font-weight:700;text-decoration:none;transition:transform 80ms,background .15s,box-shadow .15s,opacity .15s;display:inline-flex}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--red);color:#fff;box-shadow:0 4px 14px #d7191f47}.btn-primary:hover:not(:disabled){background:var(--red-600)}.btn-yellow{background:var(--yellow);color:var(--ink)}.btn-yellow:hover:not(:disabled){background:var(--yellow-600)}.btn-ghost{border-color:var(--line-2);color:var(--ink);background:#fff}.btn-ghost:hover:not(:disabled){border-color:var(--ink-2)}.btn-dark{background:var(--ink);color:#fff}.btn-sm{border-radius:8px;padding:.38rem .7rem;font-size:.8rem}.btn-link{color:var(--red-600);cursor:pointer;font-weight:600;font:inherit;background:0 0;border:0;padding:0;font-size:.85rem}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.badge{color:var(--ink-2);white-space:nowrap;background:#eef0f3;border-radius:999px;align-items:center;gap:.3rem;padding:.15rem .55rem;font-size:.72rem;font-weight:700;display:inline-flex}.badge.red{background:var(--red-100);color:var(--red-700)}.badge.yellow{color:#6d5200;background:#fff3c4}.badge.green{color:#166534;background:#dcfce7}.badge.ok{background:var(--ok-bg);color:var(--ok)}.badge.warn{background:var(--warn-bg);color:var(--warn)}.badge.err{background:var(--err-bg);color:var(--err)}.grid{gap:.9rem;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}@media (width<=760px){.grid-2,.grid-3{grid-template-columns:1fr}}.row{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.row.end{justify-content:flex-end}.spacer{flex:1}.hidden{display:none!important}.notice{border:1px solid;border-radius:10px;padding:.7rem .9rem;font-size:.86rem}.notice.info{color:#23407a;background:#f2f6ff;border-color:#d6e2ff}.notice.ok{background:var(--ok-bg);color:var(--ok);border-color:#bfe8cf}.notice.warn{background:var(--warn-bg);color:var(--warn);border-color:#f3dd9a}.notice.err{background:var(--err-bg);color:var(--err);border-color:#f5c2bd}.spinner{border:2px solid;border-right-color:#0000;border-radius:50%;width:14px;height:14px;animation:.7s linear infinite spin;display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.md{font-size:.92rem;line-height:1.6}.md h1{color:var(--red-700);margin:.2rem 0 .8rem;font-size:1.35rem}.md h2{border-bottom:2px solid var(--red-100);margin:1.3rem 0 .5rem;padding-bottom:.25rem;font-size:1.1rem}.md h3{margin:1.1rem 0 .4rem;font-size:.98rem}.md h4{color:var(--ink-2);margin:.9rem 0 .3rem;font-size:.9rem}.md ul,.md ol{padding-left:1.3rem}.md li{margin:.2rem 0}.md pre{color:#f1f1f1;background:#15171b;border-radius:10px;padding:.8rem;font-size:.82rem;overflow:auto}.md pre code{color:inherit;background:0 0;padding:0}.md table{border-collapse:collapse;width:100%;font-size:.85rem}.md th,.md td{border:1px solid var(--line);text-align:left;padding:.35rem .5rem}.md input[type=checkbox]{vertical-align:middle;margin-right:.35rem}.md hr.file-sep{border:0;border-top:2px dashed var(--line-2);margin:1.6rem 0}input.invalid{border-color:var(--err);box-shadow:0 0 0 3px #b3261e1f}.grid>*{min-width:0}.badge:empty{display:none}.pager{flex-wrap:wrap;align-items:center;gap:.4rem;margin-top:.6rem;font-size:.82rem;display:flex}.pager .pager-info{color:var(--muted,#667085)}.pager select{width:auto;margin-left:auto;padding:.3rem .5rem;font-size:.8rem}.mb{margin-bottom:1rem}.toast{background:var(--ink);color:#fff;opacity:0;pointer-events:none;z-index:60;border-radius:12px;max-width:420px;padding:.7rem 1rem;font-size:.88rem;transition:all .2s;position:fixed;bottom:18px;right:18px;transform:translateY(10px)}.toast.on{opacity:1;transform:none}.toast.err{background:var(--err)}.sp-wrap{grid-template-columns:minmax(260px,340px) 1fr;align-items:start;gap:1rem;display:grid}.sp-list{max-height:75vh;padding:.6rem;overflow:auto}.sp-filter{padding:.2rem .2rem .6rem}.sp-filter select{width:100%}.sp-item{text-align:left;cursor:pointer;width:100%;color:inherit;font:inherit;background:0 0;border:1px solid #0000;border-radius:10px;flex-direction:column;gap:.2rem;padding:.6rem .7rem;display:flex}.sp-item:hover{background:#00000008}.sp-item.on{border-color:var(--line);background:#d7191f0d}.sp-subj{font-weight:600}.sp-new{color:#d7191f;font-size:.8rem}.sp-main{min-height:360px}.sp-head{justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.sp-head h2{margin:0}.sp-thread{flex-direction:column;gap:.7rem;max-height:52vh;margin:1rem 0;padding-right:.3rem;display:flex;overflow:auto}.sp-msg{border:1px solid var(--line);border-radius:14px;max-width:82%;padding:.6rem .8rem}.sp-us{background:#d7191f0f;align-self:flex-end}.sp-them,.sp-flip.sp-us{background:#00000008;align-self:flex-start}.sp-flip.sp-them{background:#d7191f0f;align-self:flex-end}.sp-meta{margin-bottom:.25rem}.sp-body{white-space:normal;overflow-wrap:anywhere}.sp-img{border:1px solid var(--line);border-radius:8px;max-width:260px;max-height:200px;margin-top:.4rem;display:block}.sp-reply textarea{width:100%}@media (width<=820px){.sp-wrap{grid-template-columns:1fr}.sp-msg{max-width:100%}}.bd-page .page-head h1 small{font-size:.9rem;font-weight:600}.bd-layout{grid-template-columns:220px minmax(0,1fr) 360px;align-items:start;gap:1rem;display:grid}.bd-side{padding:.8rem;position:sticky;top:80px}.bd-side h3{margin:0 0 .5rem;font-size:.95rem}.bd-list{gap:.3rem;max-height:70vh;display:grid;overflow:auto}.bd-item{text-align:left;cursor:pointer;color:inherit;font:inherit;background:0 0;border:1px solid #0000;border-radius:10px;flex-direction:column;padding:.5rem .6rem;display:flex}.bd-item:hover{background:#00000008}.bd-item.on{border-color:var(--line);background:#d7191f0d}.bd-gallery{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.8rem;display:grid}.bd-tpl{text-align:left;cursor:pointer;font:inherit;color:inherit;border:1px solid var(--line);flex-direction:column;gap:.35rem;transition:transform .1s,box-shadow .1s;display:flex}.bd-tpl:hover{transform:translateY(-2px);box-shadow:0 8px 20px #00000014}.bd-tpl-ic{font-size:1.8rem}.bd-top .grid-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem;display:grid}.bd-top .span-2{grid-column:span 2}.bd-actions{flex-wrap:wrap;gap:.4rem}.bd-map-box h3{margin:0}.bd-svg{width:100%;max-height:340px;margin-top:.5rem}.bd-node rect{fill:var(--card,#fff);stroke:#d7191f;stroke-width:1.4px;cursor:pointer}.bd-node:hover rect{fill:#d7191f0f}.bd-node-t{fill:currentColor;pointer-events:none;font-size:12px;font-weight:700}.bd-node-s{fill:#777;pointer-events:none;font-size:9.5px}.bd-edge{fill:none;stroke:#d7191f;stroke-width:1.4px;opacity:.65}.bd-arrow-head{fill:#d7191f}.bd-flows{gap:1rem;display:grid}.bd-flow-head{align-items:center;gap:.5rem;margin-bottom:.5rem;display:flex}.bd-flow-name{flex:1;font-size:1.05rem;font-weight:800}.bd-trigger{background:#f7c51e1f;border-radius:10px;padding:.6rem}.bd-steps{gap:.5rem;margin-top:.6rem;display:grid}.bd-step{border:1px solid var(--line);background:var(--card,#fff);border-left:4px solid #d7191f;border-radius:10px;padding:.5rem .7rem}.bd-step-ask{border-left-color:#2563eb}.bd-step-api{border-left-color:#0891b2}.bd-step-ai{border-left-color:#7c3aed}.bd-step-condition,.bd-step-goto{border-left-color:#f59e0b}.bd-step-human{border-left-color:#16a34a}.bd-step-end{border-left-color:#444}.bd-step-head{justify-content:space-between;align-items:center;gap:.5rem;display:flex}.bd-step-body{gap:.4rem;margin-top:.4rem;display:grid}.bd-step-body label{font-size:.82rem}.bd-step-tools button{border:1px solid var(--line);cursor:pointer;color:inherit;background:0 0;border-radius:6px;margin-left:.2rem;padding:.1rem .4rem}.bd-right{position:sticky;top:80px}.bd-tabs{gap:.3rem;margin-bottom:.6rem}.bd-tabs button{border:1px solid var(--line);cursor:pointer;font:inherit;color:inherit;background:0 0;border-radius:8px;flex:1;padding:.35rem}.bd-tabs button.on{color:#fff;background:#d7191f;border-color:#d7191f}.bd-phone{background:#efe7dd;border:8px solid #1d1d1f;border-radius:28px;flex-direction:column;height:560px;display:flex;overflow:hidden}.bd-phone-head{color:#fff;background:#075e54;align-items:center;gap:.5rem;padding:.55rem .7rem;display:flex}.bd-phone-head small{opacity:.8;font-size:.7rem;display:block}.bd-phone-head .btn-link{color:#fff;margin-left:auto;font-size:1.1rem}.bd-avatar{background:#fff;border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.bd-chat{flex-direction:column;flex:1;gap:.35rem;padding:.7rem;display:flex;overflow:auto}.bd-msg{overflow-wrap:anywhere;border-radius:10px;max-width:82%;padding:.4rem .6rem;font-size:.85rem;box-shadow:0 1px 1px #0000001a}.bd-bot{color:#111;background:#fff;border-top-left-radius:2px;align-self:flex-start}.bd-user{color:#111;background:#d9fdd3;border-top-right-radius:2px;align-self:flex-end}.bd-note{color:#555;box-shadow:none;text-align:center;background:#ffffffb3;align-self:center;font-size:.72rem}.bd-media{color:#666;background:#f3f3f3;border-radius:6px;margin-bottom:.3rem;padding:.4rem;font-size:.72rem}.bd-btns{flex-wrap:wrap;gap:.3rem;margin-top:.4rem;display:flex}.bd-btns button{color:#0a7c6c;cursor:pointer;background:#fff;border:1px solid #0a7c6c;border-radius:999px;padding:.15rem .6rem;font-size:.78rem}.bd-events{background:#f0f0f0;gap:.3rem;padding:.3rem .5rem 0;display:flex}.bd-events button{cursor:pointer;background:0 0;border:none;font-size:1rem}.bd-input{background:#f0f0f0;gap:.4rem;padding:.4rem .5rem .6rem;display:flex}.bd-input input{border-radius:999px;flex:1}.bd-code{color:#e5e5e5;white-space:pre;background:#111;border-radius:10px;max-height:560px;margin-top:.5rem;padding:.7rem;font-size:.74rem;overflow:auto}@media (width<=1180px){.bd-layout{grid-template-columns:1fr}.bd-side,.bd-right{position:static}.bd-top .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}}.pl-rate{border:1px solid var(--line,#e5e5e5);background:var(--card,#fff);border-radius:12px;flex-direction:column;align-items:flex-end;gap:2px;min-width:210px;padding:10px 16px;display:flex}.pl-rate strong{font-size:1.35rem}.pl-rate .up{color:#b3261e}.pl-rate .down{color:#1b7f3b}.bs-eq{opacity:.75;margin-top:2px;font-size:.85rem;display:block}.page-head:has(.pl-rate){flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.su-topups{border-top:1px dashed var(--line,#ddd);padding-top:12px}.pl-actions{white-space:nowrap}.btn-link.danger{color:#b3261e}.su-exact strong{white-space:nowrap}.pl-subrow td:first-child{padding-left:1.4rem}.pl-more td{background:var(--bg,#faf9f6)}.pl-mfilter{max-width:200px;margin-left:.5rem}.pl-models .pl-prov{margin-bottom:.4rem}.pl-models .pl-prov>strong{text-transform:uppercase;color:var(--muted);margin-top:.3rem;font-size:.8rem;display:block}.pl-notify{align-self:center;font-size:.85rem}
