:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;color:#19223a;background:#f4f6fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}.app{display:flex;min-height:100vh}.sidebar{width:238px;background:linear-gradient(180deg,#10152f,#111933);color:#d9ddf0;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:24px 13px;z-index:20}.logo{font-size:21px;font-weight:800;color:white;padding:4px 12px 32px;letter-spacing:-.6px}.logo span{color:#9a7aff}.nav{display:grid;gap:5px}.nav button{border:0;background:transparent;color:#c7cce3;text-align:left;padding:12px 13px;border-radius:9px;display:flex;align-items:center;gap:12px;font-size:13px}.nav button.active,.nav button:hover{background:linear-gradient(90deg,#6444dd,#5637c5);color:white}.nav .sym{font-size:17px;width:20px;text-align:center}.sidebottom{margin-top:auto;font-size:12px;color:#8992b2;padding:16px 12px}.main{margin-left:238px;width:calc(100% - 238px);min-height:100vh}.top{height:78px;padding:16px 34px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid #e8ebf5;position:sticky;top:0;z-index:10}.top h1{margin:0;font-size:23px;letter-spacing:-.7px}.top small{color:#8490a8}.topright{display:flex;align-items:center;gap:14px}.avatar{background:#6544dc;color:white;border-radius:50%;height:36px;width:36px;display:grid;place-items:center;font-weight:700;font-size:12px}.content{padding:30px 34px 60px;max-width:1580px;margin:auto}.headrow{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;flex-wrap:wrap}.headrow h2{font-size:19px;margin:0}.muted{color:#78839a;font-size:13px}.btn{background:#6745dc;color:white;border:1px solid #6745dc;padding:10px 16px;border-radius:9px;font-weight:650;font-size:13px;display:inline-flex;align-items:center;gap:7px;justify-content:center}.btn:hover{background:#5130bf}.btn.secondary{background:white;color:#5b3bd0;border-color:#d9d3fa}.btn.danger{background:#fff1f2;color:#bd2447;border-color:#ffd2dc}.btn.ghost{background:transparent;color:#5b3bd0;border-color:transparent}.btn.small{padding:7px 10px;font-size:12px}.grid{display:grid;gap:18px}.g4{grid-template-columns:repeat(4,minmax(0,1fr))}.g3{grid-template-columns:repeat(3,minmax(0,1fr))}.g2{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:white;border:1px solid #e6eaf3;border-radius:14px;padding:21px;box-shadow:0 4px 14px #17234a05;min-width:0}.metric .ico{font-size:22px;margin-bottom:14px;color:#6645df}.metric strong{font-size:29px;display:block;letter-spacing:-1px}.metric label{color:#74809a;font-size:12px}.card h3{margin:0 0 16px;font-size:15px}.chartbox{height:270px;position:relative}.listrow{padding:12px 0;border-bottom:1px solid #eef0f6;display:flex;align-items:center;justify-content:space-between;gap:12px}.listrow:last-child{border:0}.listrow b{font-size:13px}.listrow small{color:#8a93a7;font-size:11px}.pill{font-size:11px;font-weight:650;padding:5px 9px;border-radius:20px;white-space:nowrap;background:#e9edff;color:#5163ba}.pill.green{background:#e6f8ed;color:#248b4c}.pill.red{background:#fff0f1;color:#c44452}.pill.yellow{background:#fff5e3;color:#aa6b12}.pill.purple{background:#f0eafe;color:#6d44c8}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}.tab{border:0;border-radius:8px;padding:9px 13px;background:#eaeef7;color:#5e6781;font-size:12px}.tab.active{background:#6745dc;color:white}.tablewrap{overflow-x:auto}.data{border-collapse:collapse;width:100%;font-size:13px}.data th{text-align:left;background:#f3f5fb;color:#58647d;padding:13px 12px;font-size:11px}.data td{padding:15px 12px;border-bottom:1px solid #edf0f6}.data tr:last-child td{border:0}.data tbody tr:hover{background:#fafbff}.link{color:#6444d8;background:none;border:0;padding:0;font-weight:600}.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.field label{font-size:12px;font-weight:650;color:#4b5670}.field input,.field textarea,.field select,.search{border:1px solid #dfe4f0;border-radius:9px;padding:11px 12px;background:white;color:#24304a;width:100%;outline:none}.field textarea{min-height:105px;resize:vertical;line-height:1.6}.field input:focus,.field textarea:focus,.field select:focus,.search:focus{border-color:#7659e8;box-shadow:0 0 0 3px #7959e817}.twofields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.empty{text-align:center;padding:55px 18px;color:#8792a7}.empty .big{font-size:40px;display:block;margin-bottom:12px}.upload{border:2px dashed #cbc5ef;border-radius:13px;background:#faf9ff;padding:26px;text-align:center}.upload input{max-width:300px}.progress{background:#e9ecf6;border-radius:30px;height:9px;overflow:hidden}.progress>div{height:100%;background:#36b76e;border-radius:30px}.checkrow{display:grid;grid-template-columns:1.6fr 1fr auto;gap:12px;align-items:center;border-bottom:1px solid #edf0f6;padding:13px 0;font-size:13px}.checkrow:last-child{border:0}.checkrow input{accent-color:#6745dc}.folder{border:1px solid #e6eaf3;border-radius:11px;padding:22px;cursor:pointer}.folder:hover{border-color:#9b8af1;background:#fcfbff}.folder .foldericon{font-size:29px;color:#f4a621}.folder b{display:block;font-size:13px;margin-top:12px}.folder small{font-size:11px;color:#8b94a8}.editor{min-height:390px;border:1px solid #e0e5f1;border-radius:10px;padding:22px;outline:none;line-height:1.8;font-size:13px;background:white;white-space:pre-wrap}.editor:focus{border-color:#8c78e6}.sectionlist{display:grid;gap:7px}.sectionlist button{padding:12px;text-align:left;border:0;border-radius:8px;background:#f6f7fc;color:#45506b;font-size:12px}.sectionlist button.active{background:#eee8ff;color:#623ccf;font-weight:700}.statbar{display:flex;align-items:center;justify-content:space-between;margin:10px 0;font-size:12px}.notice{background:#f3f0ff;color:#6044a5;border:1px solid #e5dcff;border-radius:10px;padding:12px 14px;font-size:12px;line-height:1.6}.modalback{position:fixed;inset:0;background:#0c122bb0;display:grid;place-items:center;z-index:40;padding:20px}.modal{background:white;border-radius:16px;padding:24px;width:min(560px,100%);max-height:90vh;overflow:auto;box-shadow:0 20px 70px #0003}.modal h2{margin:0 0 20px;font-size:20px}.actions{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap}.footer{font-size:11px;color:#a3abc0;margin-top:30px}.mobilebar{display:none}.highlight{background:#f7f5ff;border:1px solid #e9e1ff;border-radius:12px;padding:20px}.hint{font-size:11px;color:#8a93a7;line-height:1.6}.nowrap{white-space:nowrap}#toast{position:fixed;bottom:24px;right:24px;z-index:99;background:#1b2543;color:white;padding:13px 18px;border-radius:9px;box-shadow:0 10px 30px #1114;opacity:0;pointer-events:none;transition:opacity .2s;font-size:13px}#toast.show{opacity:1}@media(max-width:1100px){.g4{grid-template-columns:repeat(2,1fr)}.g3{grid-template-columns:repeat(2,1fr)}.content{padding:23px}.sidebar{width:205px}.main{margin-left:205px;width:calc(100% - 205px)}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:240px}.sidebar.open{transform:translateX(0)}.main{margin:0;width:100%}.top{padding:12px 18px;height:70px}.top h1{font-size:18px}.content{padding:20px 15px}.mobilebar{display:inline-flex;border:0;background:#f1edff;color:#6241d2;border-radius:9px;padding:9px}.split,.g2,.g3{grid-template-columns:1fr}.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.twofields{grid-template-columns:1fr}.checkrow{grid-template-columns:1fr auto}.checkrow .muted{display:none}.card{padding:16px}.metric strong{font-size:23px}.topright{gap:7px}}

.authwrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(140deg,#0d1731,#32246c);padding:24px}.authcard{background:white;color:#182039;width:min(440px,100%);padding:36px;border-radius:18px;box-shadow:0 20px 80px #0005}.authcard h1{font-size:28px;margin:0 0 8px}.authcard p{color:#64718a}.authcard label{display:block;font-weight:600;margin:16px 0 7px}.authcard input{display:block;width:100%;padding:13px;border:1px solid #cfd5e3;border-radius:9px}.authactions{display:flex;gap:10px;margin:22px 0}.autherror{background:#ffe5e9;padding:12px;border-radius:8px;color:#a3183b!important}.authcard small{color:#6e7790}