@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--bg:#f6f6fa;--white:#fff;--ink:#211a34;--muted:#858098;--line:#ebe8f3;--dark:#161024;--purple:#6f3ff5;--purple2:#9b72ff;--green:#149b6a;--red:#dc5063;--orange:#d98a31;--blue:#3887db;--shadow:0 6px 28px rgba(27,17,51,.045)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 'DM Sans',system-ui,-apple-system,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{text-decoration:none;color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Manrope','DM Sans',sans-serif;letter-spacing:-.035em}h1{font-size:28px;line-height:1.2;margin:5px 0 6px}h2{font-size:25px}h3{font-size:15px;margin:0}p{color:var(--muted)}small{font-size:11px;color:var(--muted)}.loading-screen,.error-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center}.brand-mark{width:65px;height:65px;display:grid;place-items:center;border-radius:22px;background:#6f3ff5;color:white;font-size:24px;font-weight:800}.layout{display:grid;grid-template-columns:255px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--dark);color:#d7d1e7;padding:29px 15px 22px;display:flex;flex-direction:column;min-height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:0 13px;margin-bottom:51px}.brand-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:linear-gradient(140deg,#a37bff,#6032e0);box-shadow:0 8px 22px rgba(128,74,248,.33);font-weight:800;color:white;font-size:16px}.brand strong{display:block;font:800 16px/1.1 Manrope,sans-serif;color:#fff;white-space:nowrap;letter-spacing:-.045em}.brand strong span{color:#ae8dff}.brand small{display:block;margin-top:7px;font-size:9px;font-weight:700;letter-spacing:.17em;color:#83759b}.side-label{color:#716581;font-size:10px;font-weight:800;letter-spacing:.13em;padding-left:17px;margin-bottom:17px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{background:none;color:#b6afc6;border:0;display:flex;align-items:center;gap:13px;width:100%;padding:13px 13px;border-radius:11px;text-align:left;font-size:13px;font-weight:600;transition:all .18s}.nav-item:hover{background:#241b37;color:white}.nav-item.active{background:#6e3ef3;color:white;box-shadow:0 6px 18px rgba(96,52,219,.25)}.nav-icon{font-size:19px;width:24px;display:inline-block;text-align:center;font-weight:600}.nav-mini{margin-left:auto;font-size:10px;border-radius:7px;background:#342744;padding:3px 5px}.side-bottom{margin-top:auto;padding:32px 6px 0}.side-notice{border:1px solid #392b4c;border-radius:14px;background:#1d172d;display:flex;padding:14px 11px;gap:9px}.purple-dot{width:7px;height:7px;margin-top:6px;border-radius:50%;background:#ab89ff;box-shadow:0 0 0 5px rgba(160,118,255,.12);flex-shrink:0}.side-notice strong{font-size:11px;color:#f1ebfa}.side-notice p{font-size:10px;margin:3px 0 0;color:#988fa8;line-height:1.55}.logout{width:100%;margin-top:18px;border:0;background:none;color:#aba1bc;text-align:left;padding:11px 14px;font-size:12px}.logout:hover{color:white}.main{min-width:0;display:flex;flex-direction:column}.topbar{background:white;border-bottom:1px solid var(--line);padding:29px 37px 27px;display:flex;align-items:center;justify-content:space-between;gap:15px}.topbar p{margin:0;font-size:12px}.crumb{font-size:10px;color:#a39eae;font-weight:800;letter-spacing:.13em}.crumb span{margin:0 9px;color:#d0c9dc}.head-actions{display:flex;align-items:center;gap:16px}.avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:14px;background:#eee8ff;color:#7043dd;font-weight:800}.content{padding:28px 36px;flex:1;max-width:1700px;width:100%;margin:0 auto}.footer{display:flex;justify-content:space-between;font-size:10px;color:#aaa3b8;padding:22px 36px;border-top:1px solid #e8e4ed}.footer span{color:#b8b0c3}.btn{background:#f4f1fa;color:#4b415f;border:1px solid transparent;padding:11px 16px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;font-weight:700;line-height:1.25;white-space:nowrap;min-height:39px;transition:background .15s,transform .15s}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{color:white;background:#7544f4;box-shadow:0 5px 15px rgba(113,62,245,.18)}.btn-primary:hover{background:#6030d8}.btn-ghost{background:#2a2040;color:white;border-color:#49365f}.btn-light{background:#f3edff;color:#7241dc}.btn-outline{background:transparent;border-color:#ddd6e9;color:#5f5674}.btn-danger{background:#fff1f2;color:#ce3d55}.btn-green{background:#e5f6ef;color:#148d61}.btn-mini{min-height:29px;padding:6px 10px;font-size:11px;border-radius:8px}.full{width:100%}.button-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.welcome{background:linear-gradient(113deg,#26153e 5%,#372059 57%,#57358d 100%);border-radius:19px;color:white;padding:32px 34px;display:flex;justify-content:space-between;gap:20px;overflow:hidden;position:relative}.welcome:after{content:'';height:300px;width:300px;border:1px solid rgba(255,255,255,.1);border-radius:50%;position:absolute;right:-70px;top:-113px;box-shadow:0 0 0 34px rgba(255,255,255,.022),0 0 0 68px rgba(255,255,255,.016)}.welcome>div:first-child{max-width:650px;z-index:1}.welcome h2{font-size:24px;line-height:1.3;margin:9px 0}.welcome p{color:#cdc1de;max-width:630px;font-size:12px;line-height:1.7;margin-bottom:21px}.welcome-icon{font-size:96px;font-weight:400;transform:rotate(-12deg);opacity:.14;align-self:center;padding-right:75px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:.15em}.eyebrow.purple{color:#bda7ff}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0}.stat-card{background:white;border:1px solid #eeeaf5;border-radius:15px;padding:20px 19px;box-shadow:var(--shadow)}.stat-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;font-size:21px;font-weight:700}.stat-icon.violet{background:#eee7ff;color:#7746e8}.stat-icon.blue{background:#eaf3ff;color:#438bd8}.stat-icon.green{background:#e5f7ee;color:#2ba36d}.stat-icon.orange{background:#fff2e6;color:#e19035}.stat-value{font:800 29px/1.15 Manrope,sans-serif;letter-spacing:-.06em;margin-top:16px}.stat-value small{font-size:15px;font-weight:600;color:#a89fb7}.stat-card p{margin:6px 0 0;font-size:11px}.split{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:18px;align-items:start;margin-bottom:18px}.panel{background:white;border:1px solid #eeeaf5;border-radius:15px;box-shadow:var(--shadow);padding:23px;min-width:0;margin-bottom:18px}.split>.panel{margin-bottom:0}.panel-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:19px}.panel-top p{margin:4px 0 0;font-size:11px}.panel-top h3{font-size:15px}.table-wrap{overflow-x:auto}.table-wrap table{width:100%;border-collapse:collapse;font-size:11px;text-align:left}.table-wrap th{font-weight:800;color:#9991a5;font-size:10px;letter-spacing:.04em;padding:11px 10px;background:#faf9fc;white-space:nowrap}.table-wrap td{padding:13px 10px;border-bottom:1px solid #f0edf4;vertical-align:middle;color:#696078}.table-wrap td strong{color:#30283d;display:block;font-size:11px;line-height:1.35}.table-wrap td small{display:block;white-space:normal}.table-wrap tr:last-child td{border-bottom:0}.table-wrap tr.clickable:hover{background:#faf7ff;cursor:pointer}.table-empty{text-align:center!important;padding:30px!important}.pill{white-space:nowrap;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;font-size:9px;font-weight:800;padding:5px 8px;background:#f2eff7;color:#857b95}.pill.green{background:#e2f8ec;color:#218d60}.pill.purple{background:#eee8ff;color:#7743e0}.pill.orange{background:#fff0df;color:#c27b2f}.pill.blue{background:#e7f1ff;color:#3e82ca}.count{font-size:10px;color:#948ba5;background:#f2eff9;border-radius:8px;padding:4px 7px;margin-left:6px}.how .panel-top{margin-bottom:8px}.steps{display:flex;flex-direction:column}.step{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid #f0edf4;align-items:center}.step:last-child{border:0;padding-bottom:0}.step>b{display:grid;place-items:center;border-radius:9px;background:#f2ecff;color:#7445de;width:33px;height:33px;flex-shrink:0;font-size:11px}.step>div{flex:1}.step strong{font-size:12px}.step p{font-size:10px;margin:2px 0 0}.step-go{border:0;background:none;color:#9665ed;font-size:20px}.notice{border:1px solid #ded3fb;background:#f4efff;border-radius:12px;color:#6b578c;padding:15px 18px;margin-bottom:19px;font-size:12px;line-height:1.7}.notice b{color:#5d3a9b}.notice code{background:#ebe1ff;padding:2px 4px;border-radius:4px}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.account-card,.template-card{background:#fff;border:1px solid #eeeaf5;border-radius:15px;padding:20px;box-shadow:var(--shadow);min-width:0}.account-top,.template-head{display:flex;align-items:center;justify-content:space-between}.account-logo{width:42px;height:42px;background:#e8e0fc;color:#7445e8;font-size:26px;border-radius:13px;display:grid;place-items:center}.account-card h3,.template-card h3{margin:17px 0 4px;font-size:14px}.account-card p{margin:0;color:#4b425d;font-size:12px}.account-card small{display:block;margin-top:5px;min-height:18px}.account-actions{display:flex;align-items:center;gap:7px;border-top:1px solid #f0edf5;padding-top:16px;margin-top:17px;flex-wrap:wrap}.template-num{font-size:10px;background:#efe9ff;color:#7442e2;font-weight:800;border-radius:9px;display:grid;place-items:center;width:34px;height:32px}.template-text{font-size:12px;line-height:1.7;color:#726b81;white-space:pre-line;overflow-wrap:anywhere;min-height:91px;max-height:125px;overflow:hidden;margin-top:13px}.template-foot{border-top:1px solid #f0edf5;margin-top:16px;padding-top:15px}.progress-box{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid var(--line);padding:16px 19px;border-radius:13px;margin:0 0 17px;gap:20px}.progress-box strong{font-size:12px}.progress-box p{margin:2px 0 0;font-size:11px}.progress-track{height:7px;max-width:240px;min-width:130px;width:28%;background:#eee9f6;border-radius:20px;overflow:hidden}.progress-track>div{height:100%;background:linear-gradient(90deg,#7343e8,#b28cff);border-radius:inherit}.table-progress{width:100px;min-width:50px}.import-split{grid-template-columns:1.25fr 1fr}label{font-size:11px;font-weight:700;color:#51475f;display:block;margin-bottom:6px}input,textarea,select{width:100%;border:1px solid #e5e0ed;border-radius:10px;background:white;outline:none;color:#30253f;padding:11px 12px;font-size:12px;transition:border-color .15s,box-shadow .15s}input:focus,textarea:focus,select:focus{border-color:#9675eb;box-shadow:0 0 0 3px #f0e8ff}input[type=checkbox]{width:16px;height:16px;accent-color:#7948ed;flex-shrink:0;cursor:pointer}textarea{resize:vertical;min-height:100px}.form-group{margin-bottom:17px}.form-group small{display:block;margin-top:5px}.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px}.file-input{display:flex;gap:10px;align-items:center;border:1px dashed #b9a1f4;border-radius:12px;background:#f9f6ff;padding:17px;font-size:12px;margin-bottom:15px;cursor:pointer;flex-wrap:wrap}.file-input input{border:0;padding:0;background:none;width:100%;font-size:11px}.import-form .form-group{margin-bottom:13px}.hint{margin-top:15px;font-size:11px;color:#9791a3;line-height:1.6}.list-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #f0edf5}.list-row:last-child{border:0}.list-round{background:#eee8ff;color:#7541e5;display:grid;place-items:center;width:33px;height:33px;border-radius:10px;font-size:21px}.list-row div{flex:1}.list-row strong{display:block;font-size:12px}.list-row small{display:block}.list-row>span:last-child{font-size:10px;color:#18926b;font-weight:700}.table-tools{margin-bottom:13px}.table-tools input{max-width:350px}.empty{padding:52px 20px;text-align:center;color:#9f97ac}.empty-icon{display:grid;place-items:center;width:60px;height:60px;background:#f4effe;border-radius:18px;margin:0 auto 14px;color:#8456ed;font-size:31px}.empty h3{font-size:16px;color:#3c304e}.empty p{font-size:12px;margin:10px 0 19px}.empty .btn{margin:0 3px 4px}.section-head{display:flex;align-items:center;gap:14px;border-bottom:1px solid #f1eef5;padding-bottom:19px;margin-bottom:22px}.section-head>span{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#f1ebff;color:#7c52e8;font-weight:800}.section-head h3{font-size:15px}.section-head p{margin:3px 0 0;font-size:11px}.selection-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;max-height:320px;overflow:auto}.choice{display:flex;align-items:center;gap:9px;border:1px solid #ebe7f3;border-radius:10px;padding:11px;margin:0;cursor:pointer;min-width:0}.choice:has(input:checked){border-color:#ac8bfa;background:#faf8ff}.choice-icon{font-size:23px;color:#784ae5}.choice span:last-child{min-width:0}.choice strong,.checkbox-line strong{display:block;font-size:11px;color:#41374f}.choice small,.checkbox-line small{display:block;font-weight:400;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.check-inline{display:flex;align-items:center;gap:9px;margin-bottom:14px;cursor:pointer}.message-select{max-height:280px;overflow:auto;border:1px solid #ede8f3;border-radius:11px;margin:10px 0 19px}.checkbox-line{display:flex;align-items:center;gap:12px;padding:12px;border-bottom:1px solid #f0edf5;margin:0;cursor:pointer}.checkbox-line:last-child{border:0}.checkbox-line:has(input:checked){background:#fbf9ff}.checkbox-line span{min-width:0}.select-actions{display:flex;gap:7px;margin-top:9px}.row-between{display:flex;justify-content:space-between;align-items:center}.tiny{font-size:10px;color:#9d95a7}.note-gray{padding:14px;background:#f9f8fb;color:#938c9f;border-radius:10px;font-size:11px;line-height:1.7}.bottom-actions{background:white;border:1px solid var(--line);border-radius:15px;padding:21px;display:flex;justify-content:space-between;align-items:center;gap:20px}.bottom-actions strong{font-size:13px}.bottom-actions p{font-size:11px;margin:4px 0 0}.details-actions{margin-bottom:20px}.stats-detail{margin-top:0}.campaign-meta{padding:20px}.meta-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.meta-grid small{display:block;margin-bottom:6px;font-size:9px;letter-spacing:.08em}.meta-grid strong{font-size:11px}.sender-tags{display:flex;gap:6px;padding-top:13px;margin-top:13px;border-top:1px solid #eee9f4}.jobs-table td{min-width:100px}.jobs-table td:nth-child(3){min-width:180px;max-width:240px}.jobs-table td:last-child{min-width:130px}.message-cell small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.row-buttons{display:flex;gap:5px;flex-wrap:wrap}.stack-form{max-width:430px}.setting-detail strong{font-size:12px}.setting-detail p{font-size:11px;margin:4px 0 16px}.modal-overlay{position:fixed;inset:0;background:rgba(18,10,31,.68);z-index:50;display:flex;align-items:center;justify-content:center;padding:18px;backdrop-filter:blur(4px)}.modal{background:white;border-radius:18px;box-shadow:0 20px 90px rgba(0,0,0,.2);width:min(100%,730px);max-height:92vh;display:flex;flex-direction:column;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:19px 23px}.modal-header h2{font-size:17px;margin:0}.xbtn{font-size:27px;color:#958ca2;border:0;background:none;padding:0 7px}.modal-content{padding:22px 23px;overflow:auto}.modal-footer{border-top:1px solid var(--line);padding:15px 22px;display:flex;justify-content:flex-end}.preview-grid{grid-template-columns:repeat(3,1fr);margin:0 0 17px}.preview-grid .stat-value{font-size:18px}.toast{position:fixed;z-index:100;right:19px;bottom:21px;max-width:380px;padding:15px 18px;background:#211735;color:#fff;border-radius:11px;box-shadow:0 10px 40px #1114;font-weight:700;font-size:12px;display:none}.toast.bad{background:#a83f51}.auth-wrapper{min-height:100vh;display:grid;grid-template-columns:1.02fr 1fr}.auth-left{color:white;background:linear-gradient(146deg,#180f29,#2a1647 70%,#512a93);padding:47px clamp(30px,6vw,100px);display:flex;flex-direction:column;justify-content:center;overflow:hidden;position:relative}.auth-left .brand{padding:0;margin-bottom:20px}.auth-left h2{font-size:clamp(33px,3.2vw,51px);line-height:1.16;margin:5px 0 16px}.auth-left h2 em{font-style:normal;color:#ae8cff}.auth-left p{color:#c3b5d8;max-width:430px;line-height:1.85}.auth-points{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}.auth-points span{font-size:11px;color:#d4c2ed;background:#ffffff10;border:1px solid #ffffff15;border-radius:20px;padding:7px 10px}.auth-art{height:180px;display:grid;place-items:center}.auth-orbit{width:128px;height:128px;display:grid;place-items:center;background:#7a45f240;color:#c6a7ff;border:1px solid #a57aff66;border-radius:25px;transform:rotate(-9deg);box-shadow:0 0 0 30px #ffffff08,0 0 0 65px #ffffff04}.auth-orbit span{font-size:75px;transform:rotate(9deg)}.auth-right{display:grid;place-items:center;background:#faf9fc;padding:30px}.auth-card{width:min(100%,400px);background:#fff;border:1px solid #eeebf5;padding:34px;border-radius:20px;box-shadow:0 22px 60px #23103a0d}.auth-card .eyebrow{color:#8050ed}.auth-card h1{font-size:30px;margin:11px 0}.auth-card p{font-size:12px;line-height:1.8;margin-bottom:27px}.auth-card input{margin-bottom:16px}.auth-card label{font-size:11px}.helper{margin-top:21px;padding-top:20px;border-top:1px solid var(--line);display:flex;gap:10px;align-items:center;color:#91889d;font-size:11px}.helper .dot{width:7px;height:7px;background:#20a76c;border-radius:50%}.error-screen{padding:40px;text-align:center}.error-screen p{max-width:460px}
@media(max-width:1180px){.cards-grid{grid-template-columns:repeat(2,1fr)}.sidebar{padding-left:10px;padding-right:10px}.layout{grid-template-columns:223px minmax(0,1fr)}.topbar{padding:25px}.content{padding:24px}.split{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.layout{display:block}.sidebar{min-height:0;padding:14px;position:relative}.sidebar .brand{margin:0 0 12px;padding:0}.sidebar nav{flex-direction:row;overflow:auto;padding:3px 0 7px}.sidebar .nav-item{flex-shrink:0;width:auto;font-size:11px;padding:9px 10px}.sidebar .nav-icon{width:16px;font-size:15px}.side-label,.side-bottom,.nav-mini{display:none}.topbar{padding:19px 17px;align-items:flex-start}.topbar h1{font-size:23px}.topbar p{max-width:320px}.topbar .head-actions>.btn{display:none}.content{padding:17px}.footer{padding:15px 17px}.footer span{display:none}.welcome{padding:23px}.welcome h2{font-size:20px}.welcome-icon{display:none}.stat-grid{gap:9px;margin:12px 0}.stat-card{padding:15px}.stat-value{font-size:25px}.split,.import-split{display:block}.split>.panel{margin-bottom:16px}.cards-grid{grid-template-columns:1fr}.panel{padding:18px}.panel-top{flex-wrap:wrap}.selection-grid{grid-template-columns:1fr}.field-pair{grid-template-columns:1fr;gap:0}.bottom-actions{flex-direction:column;align-items:stretch}.meta-grid{grid-template-columns:1fr 1fr;gap:13px}.preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.preview-grid .stat-card{padding:10px}.preview-grid .stat-value{font-size:15px}.auth-wrapper{grid-template-columns:1fr}.auth-left{padding:23px 27px}.auth-left .brand{margin:0}.auth-left .auth-art,.auth-left>h2,.auth-left>p,.auth-points{display:none}.auth-right{min-height:65vh}.auth-card{padding:26px}.progress-box{flex-direction:column;align-items:flex-start}.progress-track{width:100%;max-width:none}}

.rates-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:11px;max-height:260px;overflow:auto}.rate-row{border:1px solid #eeeaf4;border-radius:10px;padding:10px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.rate-row>span{flex:1 1 100%;font-size:11px;font-weight:800;color:#473954}.rate-row label{display:flex;gap:4px;align-items:center;margin:0;font-size:10px;color:#92899d}.rate-row input{width:54px;padding:5px 6px;font-size:11px}@media(max-width:760px){.rates-grid{grid-template-columns:1fr}}
