@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#11172a;--navy2:#1b2340;--purple:#6b5cff;--purple2:#897cff;--bg:#f5f6fb;--card:#fff;--text:#20243a;--muted:#858ba2;--line:#e9ebf3;--green:#168b67;--red:#d94b61;--radius:18px}*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',sans-serif;color:var(--text);background:var(--bg);font-size:14px}h1,h2,h3{font-family:Manrope,sans-serif;margin:0}p{color:var(--muted);line-height:1.6}.admin-body{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:var(--navy);color:#fff;padding:26px 17px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;gap:11px;align-items:center;color:#fff;text-decoration:none;font:700 17px Manrope;margin:2px 8px 42px}.brand small{display:block;color:#858da9;font:600 9px 'DM Sans';letter-spacing:1.7px;margin-top:5px}.brand b{color:#a69eff}.brand-mark{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#9387ff,#5a4ce6);color:white;font:800 23px Manrope;box-shadow:0 7px 20px #6b5cff33;flex-shrink:0}.sidebar nav{display:grid;gap:8px}.sidebar nav a{padding:14px 15px;border-radius:12px;color:#aab0c7;text-decoration:none;font-weight:600}.sidebar nav a.active,.sidebar nav a:hover{background:#282f50;color:#fff}.sidebar nav a.active{box-shadow:inset 3px 0 #8b7eff}.sidebar-bottom{margin-top:auto;padding:15px 10px;color:#aab0c7;font-size:12px}.online-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#48d7a5;margin-right:8px}.main-content{margin-left:250px;padding:32px clamp(20px,3vw,46px);max-width:1800px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.topbar h1{font-size:28px;letter-spacing:-.8px;margin-top:6px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#969bb0}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 17px;border:0;border-radius:11px;text-decoration:none;font:700 13px 'DM Sans';cursor:pointer;white-space:nowrap}.primary{background:linear-gradient(135deg,var(--purple),#7d6df4);color:white;box-shadow:0 6px 14px #6b5cff25}.secondary{background:#f0f1f8;color:#4f5672;border:1px solid #e5e7f0}.full{width:100%;margin-top:20px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:22px}.stat-card{padding:22px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 4px 20px #20243a04}.stat-label{display:flex;justify-content:space-between;color:#7d839b;font-weight:600;font-size:12px}.stat-label span{font-size:17px;color:var(--purple)}.stat-number{font:800 31px Manrope;letter-spacing:-1px;margin:12px 0 6px}.stat-foot{font-size:11px;color:#a0a5b7}.panel{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:24px;margin-bottom:22px;box-shadow:0 4px 20px #20243a04;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:23px}.panel-heading h2{font-size:17px;letter-spacing:-.3px}.panel-heading p{font-size:12px;margin:6px 0 0}.text-link{color:#6657ec;text-decoration:none;font-weight:700;font-size:12px;white-space:nowrap}.chart{height:220px;display:flex;align-items:stretch;gap:clamp(5px,1.5vw,18px);padding:10px 4px 0;border-bottom:1px solid var(--line)}.chart-col{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:8px}.chart-value{font-size:10px;color:#8b90a5}.chart-bar-wrap{height:145px;width:min(32px,75%);display:flex;align-items:flex-end}.chart-bar{width:100%;border-radius:7px 7px 2px 2px;background:linear-gradient(180deg,#9388ff,#6658e9);min-height:3px}.chart-col small{font-size:10px;color:#969bb0;white-space:nowrap}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{text-align:left;font-size:10px;letter-spacing:.9px;color:#9ba0b2;font-weight:700;padding:0 14px 14px;border-bottom:1px solid var(--line)}td{padding:16px 14px;border-bottom:1px solid #f0f1f6;font-size:12px}tbody tr:last-child td{border-bottom:0}td strong{display:block;font-size:12px;color:#30354c}td .table-sub{display:block;font-size:11px;color:#9298ad;margin-top:5px}td .table-sub a{color:inherit;text-decoration:none}.truncate{max-width:250px;overflow:hidden;text-overflow:ellipsis;color:#7b8198}.status{display:inline-block;border-radius:20px;padding:6px 9px;font-size:10px;font-weight:700}.status.good{background:#e7f8f1;color:#178764}.status.muted{background:#f0f1f6;color:#81869a}.empty{text-align:center;color:#969bb0;padding:28px!important}.search-form{display:flex;gap:8px}.search-form input{width:180px}.actions{display:flex;align-items:center;gap:12px}.actions form{margin:0}.link-button{border:0;background:none;color:#777e98;font:600 12px 'DM Sans';cursor:pointer;padding:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field{min-width:0}.field.full,.help.full{grid-column:1/-1}label{display:block;font-weight:700;font-size:12px;color:#4c526a;margin-bottom:9px}label em{color:var(--red);font-style:normal}input,textarea,select{font:400 13px 'DM Sans';color:#343950;background:#fff;border:1px solid #e1e4ef;border-radius:10px;padding:12px 13px;width:100%;outline:none}input:focus,textarea:focus,select:focus{border-color:#8a7cff;box-shadow:0 0 0 3px #796bff17}textarea{resize:vertical;line-height:1.6}.field small,.help,.small{display:block;color:#969bb0;font-size:11px;line-height:1.6;margin-top:7px}.slug-input{display:flex;align-items:center;border:1px solid #e1e4ef;border-radius:10px;overflow:hidden}.slug-input span{padding:0 0 0 12px;color:#9a9fb2;font-size:12px;white-space:nowrap}.slug-input input{border:0;box-shadow:none!important;min-width:0}.optional{font:500 10px 'DM Sans';color:#8c82f5;background:#f0eeff;border-radius:7px;padding:4px 7px;vertical-align:middle}.form-row{display:flex;justify-content:space-between;align-items:center}.form-row p{margin:5px 0 0}.switch{margin:0;position:relative;display:inline-block;width:44px;height:25px}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;inset:0;background:#d7d9e5;border-radius:30px;cursor:pointer;transition:.2s}.switch span:before{content:'';position:absolute;width:19px;height:19px;left:3px;top:3px;background:white;border-radius:50%;transition:.2s}.switch input:checked+span{background:#7162f0}.switch input:checked+span:before{transform:translateX(19px)}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin:8px 0 30px}.alert{padding:13px 15px;border-radius:10px;margin:0 0 18px;font-size:12px}.alert.success{background:#e8f8f1;color:#147a5c}.alert.error{background:#fff0f2;color:#b62f48}.period-select{width:auto;min-width:145px}.inner-stats{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:26px}.inner-stats .stat-card{background:#fafaff}.subheading{font-size:14px;margin:5px 0 12px}.chart.tall{height:240px;gap:5px}.chart.tall .chart-col small{font-size:9px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:20px}.two-col .panel{min-width:0}.device-row{display:grid;grid-template-columns:1fr auto;gap:10px;margin:18px 0;align-items:center}.device-row>div:first-child{display:flex;justify-content:space-between;gap:15px}.device-row strong{font-size:12px}.device-row small{color:#969bb0;text-align:right}.mini-progress{grid-column:1/2;height:6px;background:#f0effa;border-radius:10px;overflow:hidden}.mini-progress span{display:block;height:100%;background:linear-gradient(90deg,#7767f5,#a197ff);border-radius:10px}.top-link{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #f0f1f6}.top-link:last-child{border:0}.rank{width:26px;height:26px;border-radius:8px;background:#f0eeff;color:#6657e8;display:grid;place-items:center;font-size:11px;font-weight:700;flex-shrink:0}.top-link div{min-width:0;flex:1}.top-link strong,.top-link small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top-link strong{font-size:12px}.top-link small{font-size:10px;color:#969bb0;margin-top:4px}.top-link>b{font-size:12px}.auth-bg,.wait-bg{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 20% 0%,#eeecff 0,transparent 45%),radial-gradient(ellipse at 100% 100%,#e8f0ff 0,transparent 40%),#f6f7fc}.auth-card,.wait-card{width:min(100%,420px);padding:36px;background:#ffffffed;border:1px solid #fff;border-radius:24px;box-shadow:0 24px 80px #28305c12;text-align:center}.auth-card .brand-mark,.wait-card .brand-mark{margin:0 auto 20px}.auth-card h1,.wait-card h1{font-size:25px;letter-spacing:-.7px}.auth-card>p,.wait-card>p{font-size:13px;margin:9px 0 23px}.auth-card form{text-align:left;margin-top:25px}.auth-card input{margin-bottom:17px}.auth-card .small,.wait-card .small{font-size:11px;margin-top:22px}.wait-card{width:min(100%,480px);padding:42px}.wait-card .eyebrow{margin-bottom:12px}.countdown{display:flex;align-items:baseline;justify-content:center;gap:9px;margin:26px 0 15px}.countdown span{font:800 42px Manrope;color:#6657e8}.countdown small{font-size:12px;color:#9298ad}.progress{height:6px;border-radius:20px;background:#efeff8;overflow:hidden}.progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#6657e8,#a198ff);border-radius:20px;transition:width .5s}.wait-card .btn{margin-top:24px}.wait-card .small{margin-bottom:0}.auth-card code{background:#f0effa;padding:3px 5px;border-radius:4px}@media(max-width:1100px){.sidebar{width:215px}.main-content{margin-left:215px;padding:25px 22px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col{grid-template-columns:1fr}}@media(max-width:700px){.sidebar{position:static;width:auto;padding:12px 15px}.sidebar .brand{margin:0}.sidebar nav{display:flex;overflow:auto;gap:5px;margin-top:15px}.sidebar nav a{padding:10px 12px;white-space:nowrap;font-size:12px}.sidebar-bottom{display:none}.main-content{margin:0;padding:20px 13px}.topbar{align-items:flex-start}.topbar h1{font-size:23px}.topbar .btn{font-size:11px;padding:10px}.stats-grid{gap:10px}.stat-card{padding:16px}.stat-number{font-size:25px}.panel{padding:16px;margin-bottom:14px}.panel-heading{align-items:flex-start;flex-wrap:wrap}.form-grid{grid-template-columns:1fr;gap:16px}.field.full,.help.full{grid-column:auto}.chart{gap:4px}.chart-col small{font-size:9px}.search-form{width:100%}.search-form input{flex:1;width:0}.inner-stats{grid-template-columns:1fr 1fr}.two-col{gap:0}.auth-card,.wait-card{padding:28px 22px}}
