*{box-sizing:border-box}
body{font-family:'Hind Siliguri',system-ui,sans-serif;background:#f1f5f9;margin:0;color:#0f172a}
.container{max-width:1300px;margin:0 auto;padding:18px}
h1{font-size:22px;margin:14px 0}
a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}
.topbar{background:#0f172a;color:#fff;padding:12px 0}
.topbar .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px}
.topbar .brand{color:#fff;font-weight:700;text-decoration:none}
.topnav a{color:#cbd5e1;margin-left:14px}
.topnav a:hover{color:#fff;text-decoration:none}
.card,.auth-box{background:#fff;border-radius:12px;padding:22px;box-shadow:0 1px 3px rgba(0,0,0,.06);margin-bottom:18px}
.auth-box{max-width:420px;margin:60px auto}
label{display:block;margin-bottom:12px;font-weight:500;font-size:14px}
input,select,textarea{width:100%;padding:9px 12px;border:1px solid #cbd5e1;border-radius:8px;font:inherit;margin-top:5px;background:#fff}
input:focus,select:focus,textarea:focus{outline:2px solid #93c5fd;border-color:#3b82f6}
.btn{display:inline-block;background:#2563eb;color:#fff;border:0;padding:10px 18px;border-radius:8px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.btn:hover{background:#1d4ed8;text-decoration:none;color:#fff}
.btn.sm{padding:5px 10px;font-size:13px}
.btn.ghost{background:#e2e8f0;color:#0f172a}.btn.ghost:hover{background:#cbd5e1}
.btn.danger{background:#dc2626}.btn.danger:hover{background:#b91c1c}
.btn.ok{background:#059669}.btn.ok:hover{background:#047857}
.alert{padding:12px 14px;border-radius:8px;margin-bottom:14px}
.alert.ok{background:#dcfce7;color:#166534;border:1px solid #86efac}
.alert.err{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5}
.note{color:#64748b;font-size:14px}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:640px){.grid2{grid-template-columns:1fr}}
.table-wrap{overflow-x:auto;background:#fff;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.06)}
table{width:100%;border-collapse:collapse;font-size:14px}
th,td{padding:10px 12px;text-align:left;border-bottom:1px solid #e2e8f0;vertical-align:top}
th{background:#f8fafc;font-weight:600;font-size:13px;color:#334155}
tr:hover td{background:#f8fafc}
.tag{display:inline-block;padding:2px 8px;border-radius:6px;font-size:12px;background:#e0e7ff;color:#3730a3;margin:1px}
.tag.ok{background:#dcfce7;color:#166534}
.tag.err{background:#fee2e2;color:#991b1b}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.filters>*{flex:1 1 150px}
.actions{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.footer{text-align:center;color:#94a3b8;padding:30px 0;font-size:13px}
.photo-preview{max-width:120px;max-height:120px;border-radius:8px;margin-top:8px}