*{box-sizing:border-box}html,body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f5f7fb;color:#172033}body{min-height:100vh}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:270px;background:#fff;border-right:1px solid #e8edf5;z-index:100;display:flex;flex-direction:column;box-shadow:0 8px 30px rgba(15,23,42,.06);transition:.25s}.brand{padding:20px 18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #eef2f7}.brand-icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#2563eb,#4f46e5);display:grid;place-items:center;color:#fff;font-size:21px;box-shadow:0 8px 20px rgba(37,99,235,.22)}.brand-copy{display:flex;flex-direction:column}.brand-copy b{font-size:16px}.brand-copy small{color:#94a3b8;margin-top:2px}.nav{padding:14px 10px;overflow:auto}.nav-label{display:block;padding:14px 12px 8px;color:#9aa6b2;font-size:11px;font-weight:800;letter-spacing:.08em}.nav a{display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:12px;margin:2px 0;color:#5f6c80;transition:.2s}.nav a:hover,.nav a.active{background:#edf4ff;color:#2563eb;transform:translateX(2px)}.nav a i{font-size:18px;width:22px}.main{margin-left:270px;width:calc(100% - 270px);min-height:100vh}.topbar{height:70px;position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid #e8edf5}.top-actions{display:flex;align-items:center;gap:10px}.icon-btn{width:40px;height:40px;border:0;background:#f3f6fa;border-radius:11px;display:grid;place-items:center;cursor:pointer;color:#526071}.icon-btn:hover{background:#eaf1ff;color:#2563eb}.live-pill{display:flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:12px;font-weight:700}.live-pill span{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.12)}.avatar{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#2563eb,#8b5cf6);display:grid;place-items:center;color:#fff;font-weight:800}.who{display:flex;flex-direction:column;min-width:90px}.who b{font-size:13px}.who small{font-size:11px;color:#94a3b8}.content{padding:24px;max-width:1600px;margin:0 auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.page-head h1{margin:0;font-size:26px}.page-head p,.card-head p{margin:5px 0 0;color:#8a98aa}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat{background:#fff;border:1px solid #edf1f6;border-radius:16px;padding:18px;display:flex;align-items:center;gap:14px;box-shadow:0 5px 18px rgba(15,23,42,.04)}.stat-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;font-size:22px}.stat-icon.blue{background:#dbeafe;color:#2563eb}.stat-icon.green{background:#d1fae5;color:#059669}.stat-icon.orange{background:#ffedd5;color:#ea580c}.stat-icon.red{background:#fee2e2;color:#dc2626}.stat b{display:block;font-size:22px}.stat small{color:#8b98a9}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:#fff;border:1px solid #edf1f6;border-radius:16px;padding:20px;margin-bottom:18px;box-shadow:0 5px 18px rgba(15,23,42,.04)}.card-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.card h3{margin:0}.money{font-size:21px;color:#2563eb}.btn{border:0;border-radius:11px;padding:11px 15px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;cursor:pointer;transition:.2s}.btn.primary{background:linear-gradient(135deg,#2563eb,#1d4ed8);color:#fff;box-shadow:0 8px 20px rgba(37,99,235,.22)}.btn.success{background:#10b981;color:#fff}.btn.outline{background:#fff;border:1px solid #dce4ee;color:#526071}.btn:hover{transform:translateY(-1px)}.btn.wide{width:100%;margin-top:12px}.btn.tiny{padding:8px 10px;border-radius:8px;font-size:12px}.table-wrap{overflow:auto;margin:0 -4px}.table-wrap table{min-width:780px;width:100%;border-collapse:collapse}th,td{padding:13px 12px;border-bottom:1px solid #eef2f7;text-align:left;font-size:13px;vertical-align:middle}th{font-size:11px;color:#91a0b2;text-transform:uppercase;letter-spacing:.04em}tbody tr:hover{background:#fbfcfe}.muted{display:block;color:#94a3b8;margin-top:3px;font-size:11px}.badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;background:#eef2f7;color:#5f6c80;font-size:11px;font-weight:800;text-transform:capitalize}.badge.success{background:#d1fae5;color:#047857}.badge.warning{background:#fff3cd;color:#9a6700}.badge.danger{background:#fee2e2;color:#b91c1c}.toolbar{display:flex;gap:10px;justify-content:space-between;margin-bottom:12px}.toolbar input,.inline input,.inline select{max-width:320px}.pill{padding:8px 12px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:12px}.inline{display:flex;align-items:center;gap:8px;flex-wrap:wrap}label{display:block;font-size:12px;font-weight:800;color:#536174;margin:12px 0 6px}input,select,textarea{width:100%;border:1px solid #dfe6ef;background:#fff;border-radius:10px;padding:11px 12px;outline:none;transition:.2s}input:focus,select:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}textarea{resize:vertical}.modal{border:0;border-radius:18px;width:min(760px,92vw);padding:0;box-shadow:0 24px 80px rgba(15,23,42,.24)}.modal::backdrop{background:rgba(15,23,42,.4);backdrop-filter:blur(3px)}.modal form{padding:20px}.modal-head{display:flex;align-items:center;justify-content:space-between}.modal-head button{border:0;background:#f1f5f9;width:34px;height:34px;border-radius:9px;font-size:22px}.alert{padding:12px 14px;border-radius:12px;margin-bottom:16px;font-weight:700}.alert.success{background:#ecfdf5;color:#047857;border:1px solid #c8f5df}.alert.danger{background:#fff1f2;color:#be123c;border:1px solid #ffe4e6}.feature-list>div{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid #eef2f7}.feature-list i{width:38px;height:38px;border-radius:10px;background:#eef4ff;color:#2563eb;display:grid;place-items:center}.feature-list span{display:flex;flex-direction:column}.feature-list small{color:#94a3b8;margin-top:3px}.chart-bars{display:flex;flex-direction:column;gap:12px}.bar-row{display:grid;grid-template-columns:70px 1fr 120px;gap:10px;align-items:center;font-size:12px}.bar-row>div{height:9px;border-radius:999px;background:#eef2f7;overflow:hidden}.bar-row i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#8b5cf6);border-radius:999px}.empty{text-align:center;padding:54px 20px;color:#8794a6}.empty i{font-size:40px}.service-hero{display:flex;align-items:center;gap:16px;padding:10px 0 18px}.service-hero>i{font-size:34px;width:60px;height:60px;display:grid;place-items:center;background:#eef4ff;color:#2563eb;border-radius:16px}.service-hero h2{margin:0}.service-hero p{margin:5px 0;color:#718096}.invoice-line{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid #eef2f7}.invoice-line small{display:block;color:#94a3b8;margin-top:2px}.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.task-card{background:#fff;border:1px solid #edf1f6;border-radius:16px;padding:18px;box-shadow:0 5px 18px rgba(15,23,42,.04)}.task-top{display:flex;justify-content:space-between;align-items:center}.task-meta{display:flex;flex-direction:column;gap:6px;color:#718096;font-size:12px;margin:12px 0}.code-note{background:#f8fafc;border:1px dashed #dfe6ef;border-radius:10px;padding:12px}.page-loader{position:fixed;inset:0;z-index:9999;background:linear-gradient(135deg,#2563eb,#1d4ed8);display:grid;place-items:center;color:#fff;text-align:center;transition:.3s}.page-loader.hidden{opacity:0;visibility:hidden}.spinner{width:52px;height:52px;border:4px solid rgba(255,255,255,.25);border-top-color:#fff;border-radius:50%;display:block;animation:spin .8s linear infinite;margin:auto}.page-loader p{font-size:12px;letter-spacing:.08em}.mobile-overlay{display:none}.auth-page{background:radial-gradient(circle at top left,#dbeafe 0,#f7f9fc 42%,#f7f9fc 100%);display:grid;place-items:center;padding:22px}.auth-shell{width:min(440px,100%)}.auth-shell.install{width:min(760px,100%)}.auth-brand{display:flex;justify-content:center;align-items:center;gap:12px;margin-bottom:14px}.auth-brand>div{display:flex;flex-direction:column}.auth-brand small{color:#7c8a9d}.auth-card{background:#fff;border:1px solid #e8edf5;border-radius:20px;padding:24px;box-shadow:0 24px 60px rgba(15,23,42,.1)}.auth-card h1{margin:0 0 5px}.auth-card>p{color:#8491a4;margin-top:0}.input-icon{position:relative}.input-icon i{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#8794a6}.input-icon input{padding-left:38px}.auth-card hr{border:0;border-top:1px solid #eef2f7;margin:18px 0}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1100px){.stats{grid-template-columns:repeat(2,1fr)}.task-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){.sidebar{transform:translateX(-100%);width:280px}.sidebar.open{transform:translateX(0)}.main{margin-left:0;width:100%}.mobile-overlay.show{display:block;position:fixed;inset:0;background:rgba(15,23,42,.35);z-index:90}.grid.two{grid-template-columns:1fr}.content{padding:18px}.who,.live-pill{display:none}}@media(max-width:620px){.topbar{height:62px;padding:0 14px}.content{padding:14px}.page-head{align-items:flex-start;flex-direction:column}.page-head h1{font-size:22px}.page-head .btn,.page-head form{width:100%}.stats{grid-template-columns:1fr}.task-grid{grid-template-columns:1fr}.card{padding:15px;border-radius:14px}.grid.two{grid-template-columns:1fr}.bar-row{grid-template-columns:56px 1fr}.bar-row b{grid-column:2}.invoice-line{grid-template-columns:1fr auto}.invoice-line .badge{grid-column:1/-1;width:max-content}.auth-card{padding:20px}.inline{align-items:stretch;flex-direction:column}.inline input,.inline select,.inline .btn{max-width:none;width:100%}}@media print{.sidebar,.topbar,.page-head .btn,.btn{display:none!important}.main{margin:0;width:100%}.content{padding:0}.card{box-shadow:none;border:0}}