*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Segoe UI,Arial,sans-serif;background:#f4f7fb;color:#1f2937}body{min-height:100vh}.page-shell{min-height:100vh}.topbar{height:78px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;padding:0 5vw;box-shadow:0 1px 8px rgba(15,23,42,.04)}.topbar h1{margin:2px 0 0;font-size:22px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11px;font-weight:800;color:#64748b}.home-link,.back-link{color:#2563eb;text-decoration:none;font-weight:700}.content{width:min(1180px,92vw);margin:30px auto 50px}.school-card{background:linear-gradient(135deg,#ffffff,#f8fbff);border:1px solid #e2e8f0;border-radius:18px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 12px 35px rgba(15,23,42,.06);margin-bottom:22px}.school-info{display:flex;align-items:center;gap:18px}.school-logo{width:74px;height:74px;object-fit:contain;border:1px solid #e5e7eb;border-radius:14px;background:#fff;padding:6px}.school-info h2{margin:3px 0 6px;font-size:24px}.school-info p{margin:0;color:#64748b}.status{padding:8px 14px;border-radius:999px;background:#dcfce7;color:#166534;font-size:13px;font-weight:800}.grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:22px}.panel{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:24px;box-shadow:0 12px 35px rgba(15,23,42,.05)}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.panel-head h3{font-size:22px;margin:4px 0 0}.scan-icon{width:46px;height:46px;border-radius:13px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-size:24px}label{display:block;margin:16px 0 7px;font-size:13px;font-weight:800;color:#334155}input,select{width:100%;height:48px;border:1px solid #cbd5e1;border-radius:10px;padding:0 13px;font-size:15px;background:#fff;outline:none;transition:.2s}input:focus,select:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.12)}button{width:100%;height:50px;border:0;border-radius:10px;margin-top:20px;background:#2563eb;color:#fff;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 8px 18px rgba(37,99,235,.18)}button:hover{background:#1d4ed8}.hint{font-size:13px;color:#64748b;line-height:1.6;margin:16px 0 0}.hint.warning{color:#92400e}.alert{border-radius:12px;padding:13px 15px;margin:0 0 18px;font-weight:700}.alert.success{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46}.alert.error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.member-panel{text-align:left}.member-avatar{width:76px;height:76px;border-radius:22px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;margin:8px auto 12px;font-size:32px;font-weight:900}.member-name{text-align:center;margin:0 0 20px;font-size:21px}.details{border-top:1px solid #edf2f7}.details>div{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 2px;border-bottom:1px solid #edf2f7}.details span{color:#64748b;font-size:13px}.details strong{text-align:right}.empty-state{text-align:center;color:#94a3b8;padding:50px 20px}.empty-icon{font-size:46px;margin-bottom:10px}.auth-body{display:grid;place-items:center;padding:30px;background:radial-gradient(circle at top left,#e0edff 0,#f4f7fb 45%)}.auth-wrap{width:min(520px,94vw)}.auth-card{background:#fff;border:1px solid #e2e8f0;border-radius:22px;padding:32px;box-shadow:0 22px 60px rgba(15,23,42,.12)}.auth-card h1{font-size:25px;margin:7px 0 10px}.auth-copy{color:#64748b;line-height:1.6;margin:0 0 20px}.auth-mark{width:48px;height:48px;border-radius:14px;background:#2563eb;color:#fff;display:grid;place-items:center;font-weight:900;font-size:22px;margin-bottom:14px}.ip-box{display:flex;justify-content:space-between;gap:20px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:12px 14px;margin-bottom:18px}.ip-box span{color:#64748b}.back-link{display:inline-block;margin-top:20px}@media(max-width:800px){.topbar{padding:0 4vw}.content{width:94vw;margin-top:18px}.grid{grid-template-columns:1fr}.school-card{align-items:flex-start;gap:15px}.school-info{align-items:flex-start}.school-logo{width:58px;height:58px}.school-info h2{font-size:20px}.status{display:none}.panel{padding:19px}.auth-card{padding:24px}}
