@font-face{font-family:Vazirmatn;src:url('/static/Vazirmatn.woff2') format('woff2');font-display:swap}*{box-sizing:border-box}html{background:#080b19}body{margin:0;font:14px/1.8 Vazirmatn,Tahoma,sans-serif;direction:rtl;color:#f5f2ff;background:radial-gradient(ellipse 80% 80% at 0 0,#1a0632 0%,#090b1b 58%,#090b19 100%);min-height:100vh;overflow-x:hidden}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.svg-icons{height:0;width:0;position:absolute;overflow:hidden}.hidden{display:none!important}.muted,.helper{color:#9999b2}.helper{font-size:12px}a{color:#d2a0ff;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}h1{font-size:29px;margin-bottom:2px}h3{font-size:16px;margin:0}p{margin-bottom:12px}.text-green{color:#16e998!important}.icon-button{border:0;border-radius:12px;background:#1a1b36;color:#c8c2eb;display:inline-flex;align-items:center;justify-content:center;width:43px;height:43px}.icon-button:hover{background:#2a2751}.primary{border:1px solid #a737f9;background:linear-gradient(125deg,#ab17f1,#6222d6);box-shadow:inset 0 1px 0 #ffffff40,0 7px 20px #5210ad44;border-radius:12px;color:white;font-weight:700;padding:11px 19px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.primary:hover{filter:brightness(1.14)}.secondary{border:1px solid #474368;background:#1c1c37;color:#ddd8f7;border-radius:10px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.secondary:hover{background:#27234a}.wide{width:100%;margin-top:5px}.danger{color:#ff91ab;border-color:#823c59}.stacked{display:grid;gap:14px}.stacked label,.form-grid label,.auth-inner label{display:flex;flex-direction:column;gap:7px;color:#cfcbe5;font-size:13px}input:not([type=checkbox]):not([type=file]),textarea,select{width:100%;background:#12162b;color:#f4f3ff;border:1px solid #393953;border-radius:11px;outline:none;padding:11px 13px;min-width:0}input:focus,textarea:focus,select:focus{border-color:#9e46ee;box-shadow:0 0 0 2px #9e46ee25}input::placeholder,textarea::placeholder{color:#777e9c}textarea{resize:vertical}#toast{z-index:3000;position:fixed;left:20px;bottom:24px;max-width:min(85vw,420px);background:#2e2452;color:#fff;padding:12px 18px;border:1px solid #9f62ec;border-radius:12px;box-shadow:0 12px 30px #0008;display:none}#toast.visible{display:block}.app-shell{width:min(1640px,100%);min-height:100vh;margin:auto;display:grid;grid-template-columns:246px minmax(0,1fr);background:#090c1b;box-shadow:0 0 60px #0008}.sidebar{background:linear-gradient(150deg,#0c0e20 30%,#1b0a39 100%);border-left:1px solid #343052;position:relative;overflow:hidden;display:flex;flex-direction:column;min-height:100vh}.brand{display:flex;align-items:center;gap:11px;padding:26px 21px 30px}.brand strong{display:block;font-size:24px;line-height:1.3}.brand small{display:block;font-size:14px;letter-spacing:.3px;color:#b6b1cb;direction:ltr;text-align:right}.brand-mark{font-family:Arial,sans-serif;color:#ece7ff;letter-spacing:-6px;font-size:50px;font-weight:900;font-style:italic;line-height:.85;text-shadow:2px 1px 0 #632cff,-1px -1px 14px #ad26fa;display:inline-flex;align-items:flex-start;transform:skew(-9deg);white-space:nowrap}.brand-mark span{font-size:28px;color:#d293ff;letter-spacing:0;margin-top:0;text-shadow:0 0 9px #9749fb}.sidebar nav{display:grid;gap:9px;padding:8px 10px}.sidebar nav button{width:100%;background:transparent;color:#e5e2f8;border:none;border-radius:12px;display:flex;align-items:center;gap:16px;text-align:right;padding:11px 18px;font-weight:700;font-size:15px;transition:background .15s}.sidebar nav button svg{width:23px;height:23px}.sidebar nav button.active{background:linear-gradient(90deg,#6719cf,#ad1bf0);box-shadow:inset 0 1px 0 #eac3ff55,0 7px 25px #5712b877}.sidebar nav button:not(.active):hover{background:#282244}.bot-panel{z-index:1;margin:auto 13px 90px;border:1px solid #5a3a9c;border-radius:20px;padding:25px 13px 18px;display:grid;text-align:center;gap:6px;background:radial-gradient(circle at 50% 5%,#482488 0%,#220b44 50%,#130d29 100%);box-shadow:0 15px 40px #0004}.telegram-symbol{color:#45b6ff;filter:drop-shadow(0 0 14px #4abaff);font-size:65px;line-height:1}.bot-panel strong{font-size:23px}.bot-panel span{font-size:12px;color:#d1c3ec}.bot-panel a{margin-top:17px;padding:9px 13px;border-radius:10px;background:#7226db;color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;gap:10px}.sidebar-glow{position:absolute;bottom:-280px;right:-150px;width:550px;height:550px;background:radial-gradient(circle,#7436e533,transparent 68%);pointer-events:none}.workspace{min-width:0;display:flex;flex-direction:column}.topbar{height:94px;padding:20px 30px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1e223a;background:#0d1021}.topbar-account{display:flex;align-items:center;gap:13px}.account-button{background:#171c34;border:1px solid #2c304c;border-radius:12px;padding:7px 14px;min-width:174px;color:#fff;display:flex;align-items:center;gap:10px;direction:ltr}.avatar{width:39px;height:39px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(125deg,#2538a7,#b448ff);font-weight:900;background-size:cover;background-position:center}.online-dot{width:11px;height:11px;border-radius:50%;background:#16eb8e;box-shadow:0 0 0 3px #082d24}.alert-dot{position:absolute;width:9px;height:9px;background:#f42bc6;border-radius:50%;top:0;right:0}.topbar .icon-button{position:relative}.topbar-title{display:none;align-items:center;gap:6px}.brand-mini{font:bold italic 28px Arial;color:#fff}.brand-mini span{color:#ba71f9}.topbar-title small{font-size:10px;color:#868dab}.topbar-title strong{font-size:20px}#content{padding:20px 28px 48px;max-width:1300px;width:100%;margin:0 auto;flex:1}.view{display:none}.view.active{display:block}.hero{height:210px;display:flex;align-items:center;border:1px solid #26264f;border-radius:22px;overflow:hidden;position:relative;background:linear-gradient(105deg,#040817 0%,#10102c 35%,#1a0d3d 100%);box-shadow:0 16px 40px #0005;margin-bottom:18px}.hero:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse 48% 90% at 28% 100%,#ac23e766,transparent 75%),linear-gradient(90deg,#00abf51d,transparent 55%);pointer-events:none}.hero-earth{position:absolute;left:-4%;top:-56%;height:350px;width:610px;border-radius:50%;transform:rotate(-17deg);background:radial-gradient(circle at 50% 15%,#c09bf9 0%,#5a45c4 6%,#150f50 30%,#0a102d 70%);border:2px solid #936bff;box-shadow:0 0 45px #512dff, inset 0 0 58px #2c83f1aa,0 0 110px #9a1df34d;opacity:.75;overflow:hidden}.earth-grid{position:absolute;inset:0;border-radius:50%;background:repeating-linear-gradient(0deg,transparent 0,transparent 22px,#7d80ef38 23px,transparent 24px),repeating-linear-gradient(90deg,transparent 0,transparent 29px,#a3adfc38 30px,transparent 31px)}.earth-continents{position:absolute;inset:20% 9%;color:#efab5b;font-size:120px;letter-spacing:30px;text-shadow:0 0 12px #ffba47,0 0 35px #f0a02f;opacity:.85}.hero-caption{z-index:1;position:relative;padding:30px 46px;margin-right:0;text-align:right}.hero h1{font-size:30px;margin:5px 0 0}.hero p{font-size:18px;color:#e3dcf9;margin-bottom:2px}.hero small{color:#b7a0e5;font-size:13px}.hero-brand{display:none}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat-card{display:flex;align-items:center;gap:20px;padding:18px 22px;border:1px solid #292c49;border-radius:16px;min-height:100px;background:linear-gradient(135deg,#12172d,#17112c)}.stat-card small{display:block;color:#c7c1d8;font-size:13px}.stat-card strong{font:800 28px/1.5 Vazirmatn,sans-serif;direction:ltr;display:block;text-align:right}.stat-icon{height:52px;width:52px;display:flex;align-items:center;justify-content:center;border-radius:16px}.stat-icon svg{width:29px;height:29px}.stat-icon.purple{color:#ad77fe;background:#382368}.stat-icon.green{color:#2af1a6;background:#0b3732}.stat-icon.emerald{color:#2bf8a6;background:#123d38}.dash-columns{display:grid;grid-template-columns:1fr 1fr;gap:16px}.panel{border:1px solid #303050;border-radius:19px;background:linear-gradient(140deg,#14162c,#111225 85%);padding:18px 20px;min-width:0}.panel-head{padding-bottom:13px;border-bottom:1px solid #2b2b48;margin-bottom:7px}.heading-icon{font-size:25px;color:#ad4cf6;margin-left:7px;vertical-align:middle}.preview-list{display:grid;gap:0;min-height:190px}.preview-row{display:flex;align-items:center;gap:12px;padding:13px 1px;border-bottom:1px solid #2b2945;min-width:0}.preview-row:last-child{border-bottom:none}.preview-row .avatar{height:38px;width:38px;font-size:13px;flex-shrink:0}.preview-info{flex:1;min-width:0}.preview-info strong{display:block;color:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.preview-info span{font-size:12px;color:#beb5d5;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.time-label{font-size:11px;color:#9896b1;white-space:nowrap}.status-chip{font-size:12px;color:#2cf0a2;background:#0f342b;border-radius:999px;padding:4px 12px}.text-action{border:0;background:none;color:#ce85fc;font-weight:700;width:100%;display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 5px 0}.text-action svg{width:17px;height:17px}.notice{margin-top:20px;background:linear-gradient(90deg,#1a0d32,#1a1238);border:1px solid #412e66;padding:14px 20px;border-radius:14px;display:flex;gap:20px;align-items:center}.notice-tag{color:#e4c3ff;font-weight:700;white-space:nowrap}.notice #notice-text{color:#d5cbeb}.page-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 0 23px}.page-title p{color:#9f9ab9;margin:0}.page-title h1{font-size:26px}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:18px}.chat-panel{border:1px solid #31314e;background:#111527;border-radius:18px;min-width:0;padding:16px;display:flex;flex-direction:column}.chat-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #302e48;padding-bottom:13px;gap:15px}.chat-actions{display:flex;gap:8px;align-items:center}.chat-actions input{max-width:230px}.messages{overflow-y:auto;max-height:55vh;min-height:320px;padding:12px 8px;display:flex;flex-direction:column;gap:11px}.chat-item{display:flex;gap:10px;align-items:flex-start;position:relative}.chat-item.mine{flex-direction:row-reverse}.chat-item .avatar{width:33px;height:33px;font-size:12px;flex:none}.bubble{background:#25213d;padding:9px 13px;border-radius:12px;max-width:min(78%,550px);min-width:120px;border:1px solid #3b315b;white-space:pre-wrap;overflow-wrap:anywhere}.mine .bubble{background:#40216c;border-color:#7138a4}.bubble strong{display:block;color:#e2bafc;font-size:12px;margin-bottom:2px}.bubble p{margin:0;color:#fff}.bubble small{font-size:10px;color:#b1a8ca;display:block;direction:ltr;text-align:left}.bubble-actions{display:flex;gap:8px;margin-top:4px;flex-wrap:wrap}.bubble-actions button{font-size:11px;color:#cdb3f6;border:0;background:none;padding:0 4px}.older{background:none;border:0;color:#c391fa;padding:9px}.chat-compose{display:flex;align-items:flex-end;gap:10px;border-top:1px solid #2b3049;padding-top:14px}.chat-compose textarea{resize:none;max-height:120px}.icon-send{width:52px;height:52px;padding:0;flex:none}.reply-banner{display:flex;justify-content:space-between;background:#30214b;padding:8px 14px;border-radius:8px;color:#dbbbff;margin-bottom:8px}.reply-banner button{background:none;color:white;border:none;font-size:20px}.chat-aside h3{margin:0 0 15px}.chat-aside p{color:#a8a1c2}.rule{padding:13px 0;border-bottom:1px solid #2f2a45;color:#ddc5fa}.config-filters{display:flex;gap:12px;margin-bottom:20px}.config-filters label{flex:1;position:relative}.config-filters label svg{position:absolute;right:12px;top:12px;color:#ae9bcd}.config-filters input{padding-right:42px}.config-filters select{max-width:160px}.config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.config-card{border:1px solid #2d3450;background:linear-gradient(125deg,#17182d,#111628);border-radius:16px;padding:18px}.config-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.config-card h3{margin:0 0 4px}.config-card small{color:#a9a4bc}.tag{font-size:12px;border-radius:99px;background:#0e362b;color:#24e699;padding:4px 10px}.tag.pending{color:#ffc977;background:#382915}.tag.inactive{color:#ff91a6;background:#3b1c2b}.config-foot{display:flex;align-items:center;justify-content:space-between;margin-top:13px;gap:8px;flex-wrap:wrap}.config-foot .secondary{padding:6px 12px;font-size:12px}.centered{display:flex;margin:18px auto}.hint{font-size:12px;color:#9e99ba;line-height:1.9}.profile-panel{max-width:810px;overflow:hidden}.profile-cover{margin:-18px -20px 0;height:110px;background:radial-gradient(circle at 60% 10%,#7f36df 0%,#302066 34%,#100f25 90%)}.profile-avatar{height:95px;width:95px;border:4px solid #18152e;border-radius:50%;margin:-48px 23px 10px;display:flex;align-items:center;justify-content:center;background:linear-gradient(130deg,#592eca,#c13ef5);font:900 35px Arial;background-size:cover;background-position:center}.profile-panel h2,.profile-panel>.muted{margin-right:23px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}.form-grid .checkline{display:flex;flex-direction:row;align-items:center}.form-grid button{max-width:250px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-grid .panel h3{margin-bottom:16px}.sessions-list{min-height:auto}.admin-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:15px}.admin-tabs button{border:1px solid #4a3b70;background:#19162c;color:#e4dafa;border-radius:10px;padding:9px 15px}.admin-tabs button.active{background:#6429c8}.admin-row{display:flex;align-items:center;gap:9px;border-bottom:1px solid #312a4c;padding:11px 0;flex-wrap:wrap}.admin-row strong{flex:1}.admin-row button{font-size:11px;padding:6px 10px}.auth-screen{min-height:100vh;max-width:1120px;margin:auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:25px;padding:30px}.auth-art{text-align:center;padding:30px}.auth-globe{display:grid;place-items:center;position:relative;margin:auto auto 25px;border-radius:50%;height:min(31vw,310px);width:min(31vw,310px);background:radial-gradient(circle at 40% 35%,#372c98,#130e39 70%);border:2px solid #a051fd;box-shadow:inset 0 0 40px #652cdb,0 0 80px #832dcf88;font:italic bold min(20vw,180px)/1 Arial;color:#fff;text-shadow:0 0 12px #9155ec}.auth-globe:before{content:'';border:13px solid #dd83fd;position:absolute;width:110%;height:60%;transform:rotate(-26deg);border-radius:50%;box-shadow:0 0 20px #822afe;opacity:.6}.auth-globe span{font-size:.5em;color:#ffc050;text-shadow:0 0 20px #ffcc5e}.brand-auth{font-size:35px;font-weight:900}.auth-art p{color:#aa9ebf}.auth-points{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.auth-points span{color:#d5b6fc}.auth-card{border:1px solid #593378;background:linear-gradient(145deg,#171428,#0d1024);border-radius:25px;padding:30px;box-shadow:0 20px 80px #050212b3}.auth-header{display:flex;align-items:center;justify-content:space-between;font-weight:800;font-size:19px;border-bottom:1px solid #30294a;padding-bottom:17px}.auth-inner{padding-top:22px}.auth-inner h2{margin:0}.auth-inner p{color:#a7a1bd;font-size:13px}.auth-inner form{display:grid;gap:17px;margin:20px 0}.bot-link{display:block;text-align:center;font-weight:800;margin-top:14px}.modal-backdrop{position:fixed;z-index:1000;inset:0;background:#050410d9;display:flex;align-items:center;justify-content:center;padding:20px}.modal{max-width:520px;width:100%;border:1px solid #703ba4;border-radius:20px;background:#19142f;padding:24px;box-shadow:0 20px 120px #000c}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head button{font-size:25px}.modal p{color:#b5abc8}.mobile-nav{display:none}
@media(max-width:1100px){.app-shell{grid-template-columns:210px minmax(0,1fr)}.hero-earth{width:450px;left:-18%}.hero h1{font-size:27px}.sidebar .brand{padding:23px 12px}.brand strong{font-size:20px}.bot-panel{margin:30px 8px 60px}}@media(max-width:850px){.app-shell{display:block}.sidebar{display:none}.workspace{min-height:100vh}.topbar{height:71px;padding:8px 15px}.topbar-title{display:flex}.topbar-title .brand-mini{font-size:30px}.topbar-title strong{font-size:16px}.topbar-title small{display:none}.topbar-account{gap:9px}.account-button{min-width:auto;padding:4px 8px}.account-button #top-name{max-width:75px;overflow:hidden;text-overflow:ellipsis}.topbar .icon-button{height:36px;width:36px}#content{padding:13px 13px 90px}.hero{height:166px;border-radius:17px}.hero-earth{height:255px;width:380px;left:-26%;top:-60%}.hero-caption{padding:20px 18px}.hero h1{font-size:20px}.hero p{font-size:13px}.hero small{font-size:10px}.stats-grid{gap:8px}.stat-card{min-height:81px;padding:11px 10px;gap:6px;border-radius:12px}.stat-icon{width:33px;height:33px;border-radius:9px}.stat-icon svg{width:20px;height:20px}.stat-card small{font-size:10px}.stat-card strong{font-size:19px}.dash-columns{gap:10px}.panel{padding:13px}.mobile-nav{display:flex;position:fixed;z-index:100;bottom:0;left:0;right:0;height:calc(66px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:#0d0e24;border-top:1px solid #352b5b;align-items:center;justify-content:space-around;box-shadow:0 -12px 30px #0005}.mobile-nav button{border:0;background:none;color:#a19fb9;font-size:10px;display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-width:57px;height:55px}.mobile-nav button.active{color:#bb73ff;border-radius:12px;background:#251645}.mobile-nav svg{height:22px;width:22px}.chat-layout{grid-template-columns:1fr}.chat-aside{display:none}.messages{max-height:53vh}.auth-screen{grid-template-columns:1fr;max-width:540px;padding:15px}.auth-art{padding:18px}.auth-globe{width:155px;height:155px;font-size:91px}.auth-art p,.auth-points{display:none}.brand-auth{font-size:23px}.auth-card{padding:22px}.page-title h1{font-size:23px}.page-title p{font-size:11px}}
@media(max-width:580px){.hero-earth{left:-43%;opacity:.5}.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{flex-direction:column;text-align:center;align-items:center;gap:2px}.stat-card strong{text-align:center;font-size:18px}.stat-card small{font-size:9px}.dash-columns,.config-grid,.settings-grid{grid-template-columns:1fr}.preview-list{min-height:auto}.panel-head{padding-bottom:10px}.notice{gap:9px;font-size:11px;padding:11px}.notice-tag{font-size:11px}.page-title{align-items:flex-start}.page-title .primary{font-size:11px;padding:10px}.config-filters{gap:6px}.config-filters select{max-width:115px}.config-filters button{font-size:11px;padding:8px}.form-grid{grid-template-columns:1fr}.chat-head{display:block}.chat-actions{margin-top:10px}.chat-actions input{max-width:none}}

/* The hero uses the approved Zavieh Net artwork, cropped to its globe element, not a screenshot of controls. */
.hero-earth{left:0;top:0;width:66%;height:100%;border:0;border-radius:0;transform:none;overflow:hidden;opacity:.95;background:linear-gradient(90deg,transparent 65%,#0d0925 100%),url('/static/hero-earth.webp') center/cover no-repeat;box-shadow:none}
.hero-earth .earth-grid,.hero-earth .earth-continents{display:none}
@media(max-width:850px){.hero-earth{left:0;top:0;width:62%;height:100%}}
@media(max-width:580px){.hero-earth{left:0;top:0;width:65%;height:100%;opacity:.5}}

.hero-earth{-webkit-mask-image:linear-gradient(90deg,#000 0%,#000 62%,transparent 100%);mask-image:linear-gradient(90deg,#000 0%,#000 62%,transparent 100%)}
