*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:#f4f7fb;color:#172033}a{color:#1d4ed8;text-decoration:none}.topbar{height:68px;background:#fff;border-bottom:1px solid #e7ebf2;display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:12px;font-weight:800}.brandmark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;display:grid;place-items:center}.layout{display:flex;min-height:calc(100vh - 68px)}.sidebar{width:245px;background:#111827;color:#cbd5e1;padding:20px 12px;position:sticky;top:68px;height:calc(100vh - 68px)}.sidebar a{display:flex;gap:11px;padding:11px 13px;color:#cbd5e1;border-radius:10px;margin:3px 0}.sidebar a:hover,.sidebar a.active{background:#1f2937;color:#fff}.content{flex:1;padding:28px;min-width:0}.pagehead{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.pagehead h1{margin:0;font-size:28px}.muted{color:#64748b}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}.stat{background:#fff;border:1px solid #e9edf4;border-radius:18px;padding:20px;box-shadow:0 8px 25px rgba(15,23,42,.05)}.stat .icon{width:42px;height:42px;border-radius:12px;background:#eef2ff;display:grid;place-items:center;font-size:20px}.stat .label{color:#64748b;margin-top:12px}.stat strong{display:block;font-size:30px;margin-top:4px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.panel{background:#fff;border:1px solid #e9edf4;border-radius:18px;padding:20px;box-shadow:0 8px 25px rgba(15,23,42,.05)}.point{position:relative;overflow:hidden}.point:before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(#2563eb,#7c3aed)}.point h3{margin:2px 0 7px}.pill{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:12px;background:#eef2ff;color:#3730a3}.btn{display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:0;border-radius:10px;background:#2563eb;color:#fff;cursor:pointer}.btn.secondary{background:#eef2f7;color:#172033}.btn.danger{background:#dc2626}.btn.success{background:#059669}.toolbar{display:flex;gap:10px;flex-wrap:wrap}.formgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #d9e0ea;border-radius:10px;background:#fff}.field textarea{min-height:90px;resize:vertical}.full{grid-column:1/-1}.tablewrap{overflow:auto;border:1px solid #e8edf3;border-radius:14px}.table{width:100%;border-collapse:collapse;min-width:850px}.table th,.table td{padding:12px 14px;border-bottom:1px solid #edf0f5;text-align:left}.table th{background:#f8fafc;color:#475569;font-size:12px;text-transform:uppercase}.avatar{width:42px;height:42px;border-radius:12px;background:#e0e7ff;display:grid;place-items:center;font-weight:800;color:#3730a3}.person{display:flex;align-items:center;gap:10px}.map{height:250px;border-radius:14px;overflow:hidden;background:#e2e8f0}.notice{padding:12px 14px;border-radius:12px;background:#eff6ff;color:#1e40af}.error{padding:12px 14px;border-radius:12px;background:#fef2f2;color:#991b1b}.successmsg{padding:12px 14px;border-radius:12px;background:#ecfdf5;color:#065f46}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;background:linear-gradient(135deg,#eef2ff,#f8fafc)}.loginhero{padding:8vw;background:radial-gradient(circle at 20% 20%,#60a5fa55,transparent 30%),linear-gradient(135deg,#172554,#312e81);color:#fff}.loginhero h1{font-size:48px;max-width:650px;margin:30px 0 15px}.loginbox{display:flex;align-items:center;justify-content:center;padding:35px}.logincard{background:#fff;width:min(430px,100%);padding:34px;border-radius:24px;box-shadow:0 25px 80px #17203322}.logininput{width:100%;padding:13px;border:1px solid #d9e0ea;border-radius:12px;margin:6px 0 12px}.mobile-menu{display:none}@media(max-width:1050px){.cards{grid-template-columns:repeat(2,1fr)}.grid{grid-template-columns:repeat(2,1fr)}.sidebar{width:210px}}@media(max-width:760px){.topbar{padding:0 15px}.sidebar{display:none}.mobile-menu{display:inline-flex}.content{padding:18px}.cards,.grid,.formgrid,.login{grid-template-columns:1fr}.loginhero{display:none}.pagehead{align-items:flex-start;flex-direction:column}.cards{grid-template-columns:1fr 1fr}}