:root{--ink:#201b36;--muted:#807a91;--purple:#7924ed;--pink:#dd40be;--line:#eae7f1;--bg:#f7f6fb;--green:#17866d;--amber:#9a6626;--shadow:0 8px 30px #2b0e5b06;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:var(--purple)}button{border:0}h1,h2,h3,p{margin:0}h1{font-size:30px;letter-spacing:-1px;font-weight:730}h2{font-size:18px;letter-spacing:-.35px}h3{font-size:15px}p{line-height:1.65}small{font-size:12px}img{max-width:100%}svg{display:block}.icon{width:20px;height:20px;flex-shrink:0}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;font-weight:700;font-size:10px;letter-spacing:1.6px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:10px;padding:11px 16px;background:white;font-weight:650;font-size:13px;color:var(--ink);text-decoration:none;transition:background .15s,transform .15s}.btn:hover{background:#f2eefb}.btn.primary{background:var(--purple);border-color:var(--purple);color:white;box-shadow:0 4px 12px #7924ed20}.btn.primary:hover{background:#6920cc}.btn.ghost{background:transparent;border-color:transparent}.btn.danger{color:#b23855}.btn.small{font-size:12px;padding:8px 10px}.btn.icon-only{padding:10px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:24px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.card-head p{font-size:12px;color:var(--muted);margin-top:6px}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 9px;background:#f1edf9;color:#796b96;font-size:10px;font-weight:700;border-radius:6px;white-space:nowrap}.badge.green{background:#e9f6f0;color:var(--green)}.badge.amber{background:#fff5e7;color:var(--amber)}.badge.purple{background:#f0e7ff;color:var(--purple)}.dot{width:6px;height:6px;background:currentColor;border-radius:50%}.boot{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px}.boot img{width:220px}.boot p{color:var(--muted)}
.auth{display:grid;grid-template-columns:minmax(350px,.94fr) 1fr;min-height:100vh;background:#fff}.auth-story{position:relative;overflow:hidden;padding:50px 65px;background:radial-gradient(ellipse at 88% 92%,#8631dc 0,transparent 60%),radial-gradient(ellipse at 0 8%,#5820a9 0,transparent 60%),#241335;color:#fff;display:flex;flex-direction:column;justify-content:space-between;gap:45px}.auth-story:before,.auth-story:after{content:"";position:absolute;border:1px solid #ffffff12;border-radius:50%;width:650px;height:650px;right:-360px;top:60px;pointer-events:none}.auth-story:after{width:850px;height:850px;right:-460px;top:-40px}.auth-logo{width:185px;position:relative}.auth-story h1{font-size:clamp(40px,4vw,63px);line-height:1.08;letter-spacing:-2.5px;max-width:520px;position:relative;margin:24px 0}.auth-story h1 span{color:#e4b1ff}.auth-story p{max-width:390px;color:#c6b5d5;font-size:15px}.auth-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:30px}.auth-chips span{border:1px solid #ffffff24;border-radius:30px;padding:9px 13px;font-size:11px;color:#e9d9f8}.auth-foot{font-size:11px;letter-spacing:1px;color:#baa7ce}.auth-main{display:grid;place-items:center;padding:48px 32px}.auth-box{width:100%;max-width:380px}.auth-box h2{font-size:28px;letter-spacing:-1px;margin:12px 0}.auth-box>p{color:var(--muted);margin-bottom:30px}.auth-box .btn.primary{width:100%;margin-top:4px;padding:13px}.auth-footer{margin-top:26px;font-size:12px;color:var(--muted);text-align:center}.auth-footer a{color:var(--muted)}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.field label{font-size:12px;font-weight:650}.field input,.field textarea,.field select,.filter{border:1px solid #e3deed;border-radius:9px;background:#fff;padding:11px 12px;color:var(--ink);width:100%;min-height:42px}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--purple);outline:3px solid #7924ed10}.field textarea{resize:vertical;min-height:88px;line-height:1.6}.field small{color:var(--muted);line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-error{color:#af3154;min-height:18px;margin:10px 0;font-size:12px}.password-field{position:relative}.password-field input{padding-right:67px}.password-toggle{position:absolute;right:9px;top:12px;background:none;font-size:11px;color:var(--purple)}
.shell{display:grid;grid-template-columns:232px 1fr;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#fff;border-right:1px solid var(--line);padding:32px 20px 20px;display:flex;flex-direction:column;z-index:30}.sidebar-logo{width:164px;margin:0 10px 38px}.nav-caption{font-size:9px;color:#aaa3b8;font-weight:700;letter-spacing:1.6px;padding:0 14px;margin:0 0 12px}.nav{display:grid;gap:4px}.nav button{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:9px;background:none;color:#817991;text-align:left;font-size:12px;font-weight:600}.nav button.active{color:var(--purple);background:#f1eafa}.nav button.active:after{content:"";width:5px;height:5px;border-radius:50%;background:var(--purple);margin-left:auto}.nav button:hover{background:#f7f4fc}.nav .icon{width:18px;height:18px}.sidebar-bottom{margin-top:auto;padding-top:30px}.connection-mini{padding:15px 13px;border:1px solid #ede7f7;background:#fcfaff;border-radius:12px;margin-bottom:20px}.connection-mini p{color:var(--muted);font-size:11px;margin-top:7px}.connection-mini button{color:var(--purple);background:none;font-size:11px;font-weight:600;margin-top:9px;padding:0}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:18px}.avatar{width:35px;height:35px;flex-shrink:0;border-radius:11px;display:grid;place-items:center;background:#ede3fc;color:var(--purple);font-weight:750;font-size:12px}.profile-copy{min-width:0;flex:1}.profile-copy strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-copy small{font-size:10px;color:var(--muted)}.profile .btn{padding:6px}.main{grid-column:2;min-width:0}.topbar{height:78px;padding:0 40px;background:#ffffffb3;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px}.breadcrumb{font-size:11px;color:#a49caf;display:flex;gap:11px}.breadcrumb strong{font-weight:600;color:#5e556f}.topbar-right{display:flex;gap:18px;align-items:center}.topbar-right .date{font-size:11px;color:var(--muted)}.mobile-toggle{display:none}.workspace{max-width:1550px;margin:auto;padding:34px 40px 40px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p{margin-top:7px;color:var(--muted);font-size:12px}.welcome{border-radius:18px;background:radial-gradient(ellipse at 95% 25%,#a43be4,transparent 50%),linear-gradient(110deg,#3d165b,#6b22ba);color:white;padding:30px 33px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;overflow:hidden;margin-bottom:24px}.welcome:after{content:"↗";position:absolute;right:35px;top:-50px;font-size:210px;line-height:1.4;opacity:.08;font-family:Arial}.welcome h2{font-size:24px;letter-spacing:-.7px;margin:9px 0}.welcome p{font-size:12px;color:#d9c6ed;max-width:450px}.welcome .eyebrow{color:#d7b7fa;font-size:9px}.welcome .btn{position:relative;z-index:1;background:#ffffff17;border-color:#ffffff38;color:#fff;white-space:nowrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat{padding:21px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px;font-weight:550}.stat-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#f5efff;color:#9865d4}.stat-icon .icon{width:15px;height:15px}.stat-value{font-size:29px;font-weight:700;letter-spacing:-1px;margin:12px 0 8px}.stat-meta{font-size:10px;color:#a49caf}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:22px}.chart-area{height:220px;display:flex;align-items:center;justify-content:center}.chart-area svg{width:100%;height:100%;overflow:visible}.chart-legend{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:var(--muted);margin:12px 0 0}.filter{width:auto;max-width:240px;font-size:11px;padding:8px 10px;min-height:34px}.empty{text-align:center;padding:36px 24px;color:var(--muted)}.empty-icon{display:grid;place-items:center;width:54px;height:54px;background:#f6f1fc;color:#b095ce;border-radius:16px;margin:0 auto 16px}.empty h3{color:#5c516d;font-size:13px;margin-bottom:8px}.empty p{font-size:12px;max-width:360px;margin:0 auto 18px;line-height:1.7}.empty .btn{font-size:11px}.empty.compact{padding:22px 12px}.empty.compact .empty-icon{width:43px;height:43px}.list-item{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid #f1eef5}.list-item:first-child{padding-top:0}.list-item:last-child{border-bottom:0;padding-bottom:0}.list-item .details{flex:1;min-width:0}.list-item .details strong{display:block;font-size:12px;overflow-wrap:anywhere}.list-item .details p{font-size:10px;color:var(--muted);margin-top:4px}.account-icon{width:42px;height:42px;display:grid;place-items:center;background:linear-gradient(140deg,#efe3fe,#fbe9f5);color:#b157cf;border-radius:13px;flex-shrink:0}.account-icon .icon{width:21px;height:21px}.inline-note{display:flex;gap:10px;padding:14px 17px;border:1px solid #ebe4f7;background:#fbf8ff;border-radius:11px;color:#8e72ac;font-size:11px;line-height:1.7;margin-bottom:22px}.inline-note .icon{width:17px;height:17px;margin-top:1px}.inline-note strong{color:#68517f}.section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.account-card .card-head{margin-bottom:20px}.account-card h2{font-size:18px;margin-top:15px;overflow-wrap:anywhere}.account-card .username{font-size:12px;color:var(--muted);margin-top:5px}.mini-stats{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:20px 0}.mini-stats strong{display:block;font-size:21px;margin-bottom:5px}.mini-stats span{font-size:10px;color:var(--muted)}.account-card .last{font-size:10px;color:var(--muted);margin-top:14px}.campaign{display:flex;flex-direction:column}.campaign h2{margin:18px 0 8px;overflow-wrap:anywhere}.campaign .objective{color:var(--muted);font-size:12px;min-height:38px}.campaign .campaign-meta{display:flex;gap:9px;margin:18px 0;font-size:10px;color:var(--muted)}.campaign .actions{display:flex;gap:8px;margin-top:auto;padding-top:18px;border-top:1px solid var(--line)}.campaign .actions .btn{flex:1}.table-wrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.table th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#a39aad;padding:12px 15px;background:#fcfbfe;border-bottom:1px solid var(--line)}.table td{padding:16px 15px;border-bottom:1px solid #f0edf5}.table tbody tr:last-child td{border-bottom:none}.table td strong{font-size:12px}.table .btn.small{padding:6px 8px}.table-card{padding:0;overflow:hidden}.table-card .card-head{padding:23px 24px 0}.log-icon{width:32px;height:32px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;color:#a18bb9;flex-shrink:0}.log-icon .icon{width:15px;height:15px}.list-date{font-size:10px;color:var(--muted);white-space:nowrap}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-left:1px solid var(--line);border-top:1px solid var(--line);border-radius:10px;overflow:hidden}.weekday{font-size:9px;text-transform:uppercase;letter-spacing:.7px;padding:14px 10px;background:#fbfaff;text-align:center;color:var(--muted);border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.day{min-height:100px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px;background:#fff;min-width:0}.day.blank{background:#fdfcfe}.day .day-num{font-size:11px;display:grid;place-items:center;width:24px;height:24px;margin-bottom:6px}.day.today .day-num{background:var(--purple);border-radius:50%;color:#fff}.calendar-item{display:block;width:100%;text-align:left;font-size:9px;line-height:1.4;padding:6px 7px;border-radius:5px;background:#f1e9fc;color:#7d47a9;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-item.published{background:#e6f6ef;color:#3b8b6b}.calendar-scroll{overflow-x:auto}.content-list{margin-top:24px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.settings-grid .card h2{margin-bottom:9px}.settings-grid .card>p{font-size:12px;color:var(--muted);margin-bottom:20px}.integration-card{grid-column:1/-1;display:flex;align-items:flex-start;gap:20px}.integration-card .integration-copy{flex:1}.integration-card h2{margin-bottom:8px}.integration-card p{font-size:12px;color:var(--muted);max-width:740px}.integration-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:24px}.integration-step{font-size:11px;color:var(--muted);line-height:1.7}.integration-step strong{display:block;color:#6c547e;margin-bottom:5px}.step-number{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#f0e7fa;color:#8b59ba;margin-right:5px;font-size:10px}.footnote{margin-top:27px;display:flex;justify-content:space-between;gap:16px;font-size:9px;color:#aaa2b5}.footnote a{color:inherit}.settings-import{display:block;width:100%;border:1px dashed #d8c7ed;padding:18px;border-radius:10px;margin-bottom:16px;font-size:12px}.mobile-overlay{display:none}
dialog{width:560px;max-width:calc(100vw - 32px);max-height:90vh;border:1px solid var(--line);border-radius:18px;padding:0;box-shadow:0 30px 100px #21103930;color:var(--ink)}dialog::backdrop{background:#1e123b75;backdrop-filter:blur(3px)}.modal-head{padding:25px 28px 20px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-head h2{font-size:20px}.modal-body{padding:24px 28px}.modal-body>p{font-size:12px;color:var(--muted);margin-bottom:22px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:15px}.modal-body .inline-note{margin-bottom:17px}.details-text{white-space:pre-wrap;color:#72647f;font-size:12px;line-height:1.8;overflow-wrap:anywhere}.toast-visible{display:flex!important}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:14px 22px;display:none;border-radius:12px;background:#2b1c41;box-shadow:0 10px 35px #23133c20;color:white;z-index:100;font-size:12px;max-width:calc(100vw - 30px);line-height:1.6}#toast.error{background:#87334d}.skeleton{height:130px;background:linear-gradient(110deg,#f0ecf6,#faf8fc,#f0ecf6);border-radius:15px}.privacy{max-width:760px;margin:60px auto;background:white;border:1px solid var(--line);border-radius:18px;padding:40px}.privacy h1{margin-bottom:20px}.privacy h2{margin:25px 0 10px}.privacy p,.privacy li{line-height:1.8;color:#72677f;font-size:14px}.hidden{display:none!important}
@media(min-width:1600px){.workspace{padding-top:42px}.welcome{padding:35px 38px}.chart-area{height:260px}}
@media(max-width:1150px){.workspace{padding:28px}.topbar{padding:0 28px}.shell{grid-template-columns:210px 1fr}.sidebar{width:210px;padding:28px 15px 18px}.sidebar-logo{width:154px}.stats{gap:12px}.stat{padding:17px}.section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}.welcome{padding:25px}.welcome h2{font-size:21px}.card{padding:20px}.auth-story{padding:42px}}
@media(max-width:900px){.dashboard-grid{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.settings-grid{grid-template-columns:1fr}.integration-card{display:block}.integration-card>.account-icon{margin-bottom:15px}.integration-steps{grid-template-columns:1fr;gap:14px}.welcome{align-items:flex-start;flex-direction:column}.auth-story{padding:35px}.auth-story h1{font-size:44px}.auth-main{padding:32px 25px}}
@media(max-width:700px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:235px}.sidebar.open{transform:translateX(0)}.mobile-overlay.open{display:block;position:fixed;inset:0;background:#1e123b66;z-index:29}.topbar{height:65px;padding:0 18px}.mobile-toggle{display:inline-flex;padding:6px!important}.topbar-right .date{display:none}.breadcrumb{font-size:10px;gap:7px}.topbar-right{gap:10px}.workspace{padding:25px 17px}.page-heading{align-items:flex-start;flex-direction:column;gap:15px;margin-bottom:23px}h1{font-size:26px}.page-heading .btn{padding:10px 13px;font-size:12px}.page-heading p{font-size:11px}.welcome{padding:25px;gap:18px}.welcome h2{font-size:23px;line-height:1.25}.welcome p{font-size:11px}.welcome .eyebrow{font-size:8px}.stats{gap:10px}.stat{padding:15px}.stat-value{font-size:25px}.stat-top{font-size:10px;gap:6px}.stat-meta{font-size:9px}.stat-icon{width:25px;height:25px}.card{padding:19px}.card-head{align-items:flex-start;gap:12px;flex-wrap:wrap}.card-head h2{font-size:16px}.card-head .filter{max-width:150px}.chart-area{height:180px}.section-grid{grid-template-columns:1fr}.auth{grid-template-columns:1fr}.auth-story{padding:30px;min-height:280px;gap:26px}.auth-logo{width:145px}.auth-story h1{font-size:35px;letter-spacing:-1.5px;margin:15px 0}.auth-story p{font-size:12px}.auth-chips,.auth-foot{display:none}.auth-main{padding:35px 25px}.auth-box h2{font-size:25px}.calendar{min-width:580px}.day{min-height:88px}.form-grid{grid-template-columns:1fr}.modal-head{padding:20px}.modal-body{padding:20px}.list-date{font-size:9px;max-width:80px;white-space:normal;text-align:right}.footnote{font-size:8px}.privacy{margin:20px;padding:25px}.table-card{padding:0}.integration-card .badge{margin-top:15px}.inline-note{font-size:10px}.topbar-right .badge{font-size:9px}.calendar-controls{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.cloud-server{margin-bottom:20px}.cloud-card h2{margin:18px 0 7px}.cloud-message{font-size:12px;color:#7a6b89;line-height:1.75;margin:18px 0;min-height:65px}.cloud-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cloud-buttons .primary{grid-column:1/-1}.cloud-foot{color:#9786a7;font-size:10px;line-height:1.8;margin-top:18px}.check-row{display:flex;align-items:center;gap:10px;padding:10px 0 16px;font-size:12px;line-height:1.6}.check-row input{accent-color:var(--purple)}.cloud-log{padding:14px 0;border-bottom:1px solid var(--line)}.cloud-log small{color:var(--muted)}.cloud-log p{margin-top:6px;font-size:12px}.integration-copy>.btn{margin-top:24px}

.sidebar{overflow-y:auto}

.recovery-box{margin:22px 0;padding:22px;border:1px solid #ddd3f6;border-radius:18px;background:linear-gradient(135deg,#f7f4ff,#f4faf8)}.recovery-box h3{font-size:16px;margin:0}.recovery-box>.row{gap:12px;flex-wrap:wrap;margin-bottom:16px}.recovery-box>strong{display:block;font-size:15px}.recovery-box>p{font-size:14px;line-height:1.6;margin:9px 0}.recovery-next{border-left:3px solid #7853ce;padding:10px 14px;margin:16px 0;background:#ffffffa8;border-radius:0 10px 10px 0}.recovery-next small{display:block;letter-spacing:.08em;font-size:10px;color:#786a94;margin-bottom:6px}.recovery-next strong{font-size:16px}.recovery-steps{font-size:13px;line-height:1.8;padding-left:22px}.recovery-box .cloud-foot{font-size:12px}
