:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#253149;background:#f5f7fb;font-size:14px;font-synthesis:none;--primary:#4f46e5;--border:#e6eaf1;--muted:#788499}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:0;background:transparent;color:inherit;transition:background .15s}button:disabled{opacity:.5;cursor:not-allowed}a{color:#6058d8;text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;margin-bottom:8px}h2{font-size:17px;letter-spacing:-.3px;margin:0}h3{font-size:16px}small{display:block;color:var(--muted);font-size:12px;line-height:1.6}strong{font-weight:600}input,select,textarea{border:1px solid #dce2eb;border-radius:8px;background:#fff;color:#29344a;padding:10px 12px;max-width:100%}input:focus,select:focus,textarea:focus{outline:2px solid #c9c5ff;border-color:#8b82ef}label{display:block;font-weight:500;margin:18px 0}label input:not([type=checkbox]),label select,label textarea{display:block;width:100%;margin-top:8px}label small{margin-top:6px;font-weight:400}.primary,.secondary{border-radius:8px;font-weight:600;padding:11px 16px;white-space:nowrap}.primary{background:var(--primary);color:#fff;box-shadow:0 2px 4px #4f46e520}.primary:hover{background:#4238cd}.secondary{background:#fff;border:1px solid #dce2eb}.secondary:hover{background:#f2f3fa}.full{width:100%}.muted{color:var(--muted);line-height:1.6}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#8a8fa7;display:block;margin-bottom:12px}.workspace{display:flex;min-height:100vh}.sidebar{width:245px;background:#11192b;color:#a6b0c6;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:28px 18px}.brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:650;letter-spacing:-.5px;color:#fff;white-space:nowrap}.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#7266f5;font-size:13px}.sidebar .brand{margin:0 8px 40px}.nav-caption{font-size:9px;letter-spacing:2px;font-weight:700;margin:0 15px 16px;color:#65708b}.sidebar nav{display:grid;gap:5px}.sidebar nav button{padding:12px 15px;text-align:left;border-radius:8px;display:flex;align-items:center;gap:13px;font-size:13px}.sidebar nav button span{font-size:20px;width:22px;text-align:center;color:#8090ac}.sidebar nav button.active{color:#fff;background:#28334e}.sidebar nav button.active span{color:#a69bff}.sidebar nav button:hover{background:#1b2740}.sidebar-bottom{margin-top:auto;border-top:1px solid #29324a;padding:23px 4px 0;display:flex;align-items:center;gap:10px;font-size:11px}.sidebar-bottom small{font-size:10px;max-width:130px;overflow:hidden;text-overflow:ellipsis}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#354363;color:#d8e0ee}.logout{margin-left:auto;font-size:19px}.main{margin-left:245px;width:calc(100% - 245px)}.topbar{height:66px;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:12px;color:#788499}.slash{margin:0 10px;color:#bdc4d0}.live{display:flex;gap:8px;align-items:center}.live i,.dot{width:6px;height:6px;border-radius:50%;background:#3db391}.content{padding:35px 38px;max-width:1800px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;gap:20px}.page-heading p{margin:0;font-size:13px}.page-heading .eyebrow{margin-bottom:10px}.heading-actions{display:flex;gap:8px;flex-wrap:wrap}.toolbar{display:flex;align-items:center;gap:10px;margin-bottom:22px;flex-wrap:wrap;font-size:12px}.toolbar input,.toolbar select{font-size:12px;padding:8px 10px}.toolbar .muted{margin-left:auto;font-size:11px}.period{font-weight:600;margin-right:3px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:24px}.stat{background:#fff;border:1px solid var(--border);border-radius:12px;padding:22px}.stat>span{color:#788499;font-size:10px;font-weight:700;letter-spacing:1px}.stat>strong{display:block;font-size:29px;letter-spacing:-1px;margin:16px 0 10px;overflow-wrap:anywhere}.stat.accent{background:#f0edff;border-color:#e0dafb}.stat.accent>strong{color:#6050cf}.stat small{font-size:10px}.compact .stat>strong{font-size:23px;margin-bottom:0}.compact .stat>strong small{display:inline;font-size:13px;font-weight:400}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:22px;margin-bottom:24px}.panel{background:#fff;border:1px solid var(--border);border-radius:12px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #f0f2f6}.panel-head h2{font-size:14px}.tag{display:inline-block;font-size:10px;color:#8175b9;background:#f3f0ff;border:1px solid #ece7ff;padding:4px 8px;border-radius:5px}.activity{display:flex;width:100%;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #f0f2f6;font-size:12px}.activity:hover{background:#f9faff}.activity strong{font-size:15px}.chart{height:264px;padding:30px 25px 35px;display:flex;align-items:flex-end;gap:7px}.bar-col{flex:1;height:100%;display:flex;justify-content:flex-end;flex-direction:column;position:relative}.bar{background:#8a7eeb;border-radius:4px 4px 0 0;min-height:2px}.bar-col:hover .bar{background:#5b4acf}.bar-col>span{position:absolute;bottom:-22px;font-size:8px;white-space:nowrap;color:#8b96aa;left:50%;transform:translate(-50%) rotate(-35deg)}.empty{padding:60px 25px;text-align:center;color:#919db0}.empty>span{font-size:35px;color:#c0c8dc;display:block;margin-bottom:16px}.empty h3{color:#56637c;font-weight:500;margin-bottom:8px}.empty p{font-size:12px;margin-bottom:0}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;letter-spacing:.3px;color:#8590a4;background:#fafbfe;font-weight:600;padding:16px 20px;border-bottom:1px solid var(--border);white-space:nowrap}td{padding:19px 20px;border-bottom:1px solid #f0f2f6;vertical-align:middle}td strong{display:block;line-height:1.55}td a{display:block;font-size:11px;margin-top:5px}td small{font-size:10px;margin-top:4px}tbody tr:hover{background:#fdfdff}tbody tr:last-child td{border-bottom:0}.align-right{text-align:right}.actions{text-align:right;white-space:nowrap}.actions button{font-size:11px;color:#655bc3;margin:3px;padding:5px}.actions button:hover{background:#eeebfd;border-radius:5px}.entity{display:flex;align-items:center;gap:12px}.channel-avatar{background:#f4eaf0;color:#c37192;border-radius:10px;width:38px;height:38px;display:grid;place-items:center;font-size:13px;flex-shrink:0}.thumbnail{width:88px;border-radius:7px}.video-cell{min-width:160px;max-width:360px}.wrap{max-width:260px;line-height:1.7}.badge{display:inline-block;background:#e8f6ef;color:#31956b;border-radius:5px;padding:5px 8px;font-size:10px;white-space:nowrap}.badge.off{background:#f4edf0;color:#9a627c}progress{display:block;width:125px;height:5px;border:none;border-radius:10px;accent-color:#8173df;background:#eeeaf9;margin:8px 0}progress::-webkit-progress-bar{background:#eeeaf9;border-radius:10px}progress::-webkit-progress-value{background:#8173df;border-radius:10px}.comment-cell{max-width:410px;min-width:230px}.comment-cell p{white-space:pre-wrap;line-height:1.6;margin:8px 0;max-height:150px;overflow:auto}.error-text{color:#b65469;font-size:10px;display:block;max-width:200px;overflow-wrap:anywhere}.pagination{border-top:1px solid var(--border);padding:14px 20px;display:flex;gap:15px;justify-content:flex-end;align-items:center;font-size:11px;color:#7f8b9e}.pagination span{margin-right:auto}footer{padding:28px 0 0;font-size:10px;color:#a1aabb}footer span{padding:0 8px}.alert{border-radius:8px;padding:13px 15px;margin-bottom:18px;font-size:12px;display:flex;justify-content:space-between;gap:20px;overflow-wrap:anywhere}.alert.error{background:#fff0f0;color:#ac4557;border:1px solid #f7dce2}.alert.success{background:#eaf8f1;color:#337c5c;border:1px solid #d3ecdf}.alert button{padding:0 3px}.modal-backdrop{position:fixed;inset:0;background:#0b12296b;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:20;display:flex;align-items:center;justify-content:center;padding:24px}.modal{background:#fff;border-radius:16px;padding:26px 30px;width:650px;max-width:100%;max-height:90vh;overflow:auto;box-shadow:0 24px 80px #0e17284d}.modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:20px}.modal-header h2{line-height:1.5}.close{font-size:25px;color:#8b94a8}.modal p{line-height:1.65;font-size:13px}.modal pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f4f5fb;border-radius:8px;padding:16px;font-size:11px;line-height:1.6}.modal-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--border);padding-top:20px;margin-top:24px}.check{display:flex;align-items:center;gap:10px;font-weight:400;margin:12px 0;font-size:13px}.check input{accent-color:var(--primary);width:16px;height:16px}fieldset{border:1px solid var(--border);border-radius:8px;margin:20px 0;padding:12px 16px;max-height:230px;overflow:auto}legend{font-weight:500;font-size:13px;padding:0 5px}.credential,.event{border-bottom:1px solid var(--border);padding:16px 0;margin-bottom:16px}.credential button{color:var(--primary);margin-left:10px}.event strong{display:block;margin:8px 0}.file-input{border:1px dashed #b7aeee;background:#f9f7ff;padding:18px;border-radius:10px}.reply,blockquote{margin:0 0 16px;padding:15px;border-radius:8px;background:#f4f5f9}.reply.owner{background:#f0edff;margin-left:25px}.reply p,blockquote p{white-space:pre-wrap;margin:8px 0}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:#fff}.login-intro{background:#11192b;color:#fff;padding:60px 10%;display:flex;flex-direction:column;justify-content:center}.login-intro .brand{margin-bottom:85px}.login-intro h1{font-size:44px;line-height:1.2;letter-spacing:-1.5px}.login-intro p{color:#929fb9;line-height:1.8;max-width:370px}.login-intro .eyebrow{color:#8f83d7}.login-decoration{margin-top:48px;border:1px solid #34415d;border-radius:14px;background:linear-gradient(130deg,#1d2943,#252747);padding:24px;max-width:365px;display:flex;flex-direction:column;gap:16px}.login-decoration span{font-size:9px;letter-spacing:2px;color:#8b97b6}.login-decoration strong{font-size:35px;letter-spacing:12px;font-weight:400;color:#b0a5f0}.login-card{align-self:center;width:360px;max-width:80%;margin:50px auto}.login-card h2{font-size:25px;margin-bottom:10px}.login-card>p{font-size:13px;margin-bottom:30px}.login-card .primary{margin-top:14px}.loading{padding:70px;color:#7a839b;text-align:center}@media(min-width:1600px){.stats-grid{gap:24px}.content{padding:40px 48px}}@media(max-width:1150px){.sidebar{width:210px;padding:25px 12px}.main{margin-left:210px;width:calc(100% - 210px)}.content{padding:25px}.topbar{padding:0 25px}.sidebar .brand{font-size:18px}.page-heading{align-items:flex-start}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.toolbar .muted{margin-left:0}.heading-actions{justify-content:flex-end}.login-intro h1{font-size:35px}}@media(max-width:760px){.workspace{display:block}.sidebar{position:static;width:100%;padding:15px;gap:15px}.sidebar .brand{margin:0;font-size:18px}.nav-caption,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:4px}.sidebar nav button{white-space:nowrap;padding:9px 12px;font-size:11px}.sidebar nav button span{display:none}.main{margin:0;width:100%}.topbar{height:48px;padding:0 18px}.content{padding:22px 16px}.page-heading{flex-direction:column;gap:18px}.heading-actions{justify-content:flex-start}h1{font-size:26px}.stats-grid{gap:10px}.stat{padding:16px}.stat>strong{font-size:23px}.toolbar input{width:130px}.login-page{display:block;background:#11192b;min-height:100vh;padding-bottom:50px}.login-intro{padding:30px 10%}.login-intro .brand{margin-bottom:30px}.login-intro h1{font-size:30px}.login-decoration{display:none}.login-card{background:#fff;padding:28px;width:400px;max-width:90%;margin:0 auto;border-radius:16px}.modal-backdrop{padding:10px}.modal{padding:20px;max-height:95vh}.chart{gap:3px}.bar-col>span{font-size:7px}}
