@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{font-family:"DM Sans",sans-serif;color:#172033;background:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:#4f46e5}.loading{padding:20vh 20px;text-align:center;font:700 22px Manrope}.loading small{font:400 14px "DM Sans";color:#718096}.layout{min-height:100vh;display:grid;grid-template-columns:250px minmax(0,1fr)}.sidebar{background:#111c36;color:#dce4f8;padding:26px 17px;display:flex;flex-direction:column;gap:28px}.brand{display:flex;align-items:center;gap:11px;color:white}.brandmark{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:linear-gradient(145deg,#818cf8,#4f46e5);font-weight:800;font-family:Manrope}.brand b,.brand small,.userbox b,.userbox small{display:block}.brand b{font:700 15px Manrope}.brand small{font-size:11px;color:#9ba9c6;margin-top:3px}.userbox{display:flex;align-items:center;gap:11px;padding:14px 10px;border:1px solid #2b3857;border-radius:13px}.avatar{width:35px;height:35px;display:grid;place-items:center;background:#293859;border-radius:50%;font-weight:700}.userbox b{font-size:13px}.userbox small{font-size:11px;color:#a7b5d0;margin-top:4px;text-transform:capitalize}.sidebar nav{display:grid;gap:7px}.navitem{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#b6c2db;text-align:left;padding:12px 13px;border-radius:10px;font-size:13px}.navitem span{font-size:18px;width:22px;text-align:center}.navitem:hover,.navitem.active{background:#29385d;color:white}.signout{margin-top:auto}.main{padding:30px clamp(18px,3.2vw,48px);min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#7b8499}.topbar h1{font:800 clamp(24px,3vw,32px) Manrope;margin:6px 0 0;letter-spacing:-1px}.secure{font-size:12px;color:#65718a}.secure i,.live-dot:before{display:inline-block;width:7px;height:7px;border-radius:50%;background:#10b981;margin-right:7px}.welcome{background:linear-gradient(115deg,#1b2a4e,#4338a6);color:white;padding:28px 30px;border-radius:20px;display:flex;align-items:center;justify-content:space-between;min-height:175px}.welcome h2{font:800 25px Manrope;margin:8px 0}.welcome p{color:#d5dcfa;margin:0;font-size:13px}.eyebrow.light{color:#b8c4ff}.welcome-icon{font-size:48px;opacity:.65;margin-right:15px}.statgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 32px}.stat,.panel,.quick,.info-panel{background:white;border:1px solid #e8ebf3;border-radius:15px}.stat{padding:20px}.stat span,.stat small{display:block;color:#7b8499;font-size:12px}.stat strong{display:block;font:800 29px Manrope;margin:10px 0 5px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0 16px}.section-head h2,.info-panel h2{font:700 18px Manrope;margin:0}.section-head p{margin:6px 0 0;font-size:12px}.muted{color:#778198}.quickgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.quick{text-align:left;padding:20px;display:grid;gap:9px;color:#19223a}.quick b{font:700 14px Manrope}.quick span{font-size:12px;color:#778198}.quick:hover{border-color:#a5b4fc;transform:translateY(-1px)}.info-panel{padding:18px 20px;margin-top:22px;background:#f8faff}.info-panel b{font-size:13px}.info-panel p{font-size:12px;color:#69758d;line-height:1.6;margin-bottom:0}.btn{border:1px solid #dce1ec;background:white;color:#27324a;border-radius:10px;padding:10px 14px;font-size:12px;font-weight:700}.btn.primary{background:#5146e5;color:white;border-color:#5146e5}.btn.primary:hover{background:#4338ca}.btn.ghost{background:transparent;border-color:#35415f;color:#d6dff3}.btn:disabled{opacity:.45;cursor:not-allowed}.full{width:100%;padding:13px}.panel{overflow:hidden}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:600px}th,td{text-align:left;padding:15px 18px;border-bottom:1px solid #edf0f5;font-size:12px}th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#7d879b;background:#fafbfe}td b,td small{display:block}td small{font-size:10px;color:#8490a4;margin-top:4px}.empty-cell{text-align:center;padding:35px;color:#8490a4}.tasklist{padding:0 20px}.taskrow{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid #edf0f5}.taskrow:last-child{border-bottom:0}.taskcheck{width:28px;height:28px;border-radius:9px;background:#eef2ff;color:#6366f1;display:grid;place-items:center}.taskcheck.checked{background:#dcfce7;color:#15803d}.taskbody{flex:1;min-width:0}.taskbody b{font-size:13px}.taskbody p{font-size:12px;color:#778198;margin:5px 0}.taskbody small{font-size:10px;color:#8a94a8}.pill{border-radius:20px;padding:5px 9px;font-size:10px;text-transform:capitalize;background:#eef2ff;color:#4f46e5;white-space:nowrap}.pill.green{background:#dcfce7;color:#15803d}.pill.red{background:#fee2e2;color:#b91c1c}.pill.purple{background:#ede9fe;color:#6d28d9}.smallbtn{padding:7px 9px;font-size:10px}.chat-panel{height:min(66vh,700px);min-height:400px;background:white;border:1px solid #e8ebf3;border-radius:16px;display:flex;flex-direction:column;overflow:hidden}.chat-head{padding:17px 20px;border-bottom:1px solid #edf0f5;display:flex;justify-content:space-between;align-items:center}.chat-head b,.chat-head small{display:block}.chat-head b{font-size:13px}.chat-head small{font-size:11px;color:#8490a4;margin-top:4px}.live-dot{font-size:10px;color:#0f9f6e}.messages{flex:1;overflow:auto;padding:18px;display:flex;flex-direction:column;gap:15px}.message{max-width:82%;align-self:flex-start}.message.mine{align-self:flex-end}.message-meta{display:flex;gap:9px;align-items:center;margin:0 0 5px 3px}.message-meta b{font-size:10px}.message-meta span{font-size:9px;color:#8b95a8}.bubble{background:#f0f3fa;border-radius:4px 13px 13px 13px;padding:11px 13px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.mine .bubble{background:#e8eaff;border-radius:13px 4px 13px 13px}.sendform{display:flex;gap:9px;padding:14px;border-top:1px solid #edf0f5}.sendform input{flex:1;min-width:0;border:1px solid #e0e5ef;border-radius:10px;padding:12px;outline-color:#818cf8}.uploadbtn{display:inline-flex;align-items:center;gap:8px}.warning{padding:13px 15px;background:#fff7e6;border:1px solid #f5deb0;color:#8b5b10;border-radius:10px;font-size:12px;line-height:1.5;margin:12px 0 17px}.notice{padding:12px 15px;border-radius:10px;background:#dcfce7;color:#166534;font-size:12px;margin-bottom:15px}.notice.bad{background:#fee2e2;color:#991b1b}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(circle at top right,#e8eaff,transparent 40%),#f5f7fb}.auth-card{width:min(100%,430px);padding:35px;background:white;border:1px solid #e8ebf3;border-radius:22px;box-shadow:0 20px 70px #29304c12}.auth-brand{color:#18223c;margin-bottom:30px}.auth-brand .brand small{color:#8b95a8}.auth-card h1{font:800 26px Manrope;margin:0 0 9px}.auth-card>p{font-size:12px;line-height:1.6}.auth-card form{display:grid;gap:16px;margin-top:24px}.auth-card label,.dialogform label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#3c465c}.auth-card input,.dialogform input,.dialogform textarea,.dialogform select{width:100%;border:1px solid #dfe4ee;border-radius:9px;padding:12px;outline-color:#818cf8;font-weight:400}.small{font-size:11px;line-height:1.6}.error{color:#b91c1c;font-size:12px}.auth-foot{font-size:11px;color:#929bad;margin-top:22px}.setup-list{font-size:13px;line-height:1.8;padding-left:20px}.setup-list code{font-size:11px}.empty{padding:35px;background:white;border:1px solid #e8ebf3;border-radius:15px}.empty h2{font:700 18px Manrope}.empty p{font-size:12px;line-height:1.6}dialog{border:0;padding:0;border-radius:17px;width:min(94vw,480px);box-shadow:0 30px 100px #11182740}dialog::backdrop{background:#11182777}.dialogform{padding:25px;display:grid;gap:14px}.dialog-head{display:flex;align-items:center;justify-content:space-between}.dialog-head h2{font:700 19px Manrope;margin:0}.iconbtn{border:0;background:#f0f2f8;border-radius:8px;padding:7px 10px}.dialogform textarea{min-height:80px;resize:vertical}footer{font-size:10px;color:#9aa3b5;text-align:center;margin:35px 0 5px}
@media(max-width:800px){.layout{grid-template-columns:1fr}.sidebar{padding:13px 14px;gap:13px}.brand{padding:0 5px}.userbox{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px}.navitem{white-space:nowrap;padding:10px 11px}.navitem span{display:none}.signout{position:absolute;right:15px;top:15px;padding:8px 10px;font-size:11px}.main{padding:20px 14px}.topbar{margin-bottom:18px}.secure{display:none}.welcome{padding:22px;min-height:150px}.welcome h2{font-size:21px}.welcome-icon{display:none}.statgrid{gap:8px;margin:15px 0 25px}.stat{padding:13px}.stat strong{font-size:24px}.stat span,.stat small{font-size:10px}.quickgrid{gap:9px}.quick{padding:15px}.section-head{align-items:flex-start}.taskrow{gap:8px;flex-wrap:wrap}.taskbody{min-width:55%}.taskrow .pill{margin-left:35px}.chat-panel{min-height:420px}.auth-card{padding:26px 21px}}@media(max-width:400px){.statgrid{grid-template-columns:1fr}.quickgrid{grid-template-columns:1fr}.navitem{font-size:11px}.section-head h2{font-size:16px}}
