:root{
  --bg:#020b16;--card:#071827;--card2:#091e30;--border:#1c3448;
  --text:#eef5fa;--muted:#8fa5b8;--yellow:#f4d51f;--green:#72d69b;--red:#ff4652;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}
a{text-decoration:none}button,input{font:inherit}
.topbar{display:flex;justify-content:space-between;align-items:center;padding:22px 20px;border-bottom:1px solid rgba(255,255,255,.06);position:sticky;top:0;background:rgba(2,11,22,.94);backdrop-filter:blur(12px);z-index:5}
h1,h2,h3,p{margin:0}h1{font-size:22px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#a9c0d2}
.logout{color:var(--yellow);font-size:12px;border:1px solid var(--border);padding:9px 12px;border-radius:9px}
.container{max-width:900px;margin:auto;padding:22px 18px 100px}
.hero{background:linear-gradient(135deg,var(--card),var(--card2));border:1px solid var(--border);border-radius:20px;padding:22px;display:grid;gap:20px}
.hero h2{font-size:27px;margin:7px 0}.hero p{color:var(--muted);line-height:1.55;max-width:650px}
.primary{display:inline-block;border:0;background:var(--yellow);color:#101820;font-weight:900;border-radius:12px;padding:14px 18px;cursor:pointer;text-align:center}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}
.stats article{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px}
.stats strong{display:block;font-size:22px;color:var(--yellow);word-break:break-word}.stats span{font-size:11px;color:var(--muted)}
.section{margin-top:25px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.inspection-card{background:var(--card);border:1px solid var(--border);border-radius:17px;padding:17px;margin-bottom:12px}
.inspection-card h3{font-size:16px;margin:10px 0 6px}.inspection-card p{color:var(--muted);font-size:12px}
.status{display:inline-block;font-size:9px;font-weight:900;letter-spacing:1px;padding:6px 8px;border-radius:7px;background:rgba(114,214,155,.1);color:var(--green)}
.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:70px;background:#06121f;border-top:1px solid var(--border);display:flex;justify-content:space-around;z-index:10}
.bottom-nav a{color:#71889b;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:18px;min-width:55px}.bottom-nav span{font-size:9px}.bottom-nav .selected{color:var(--yellow)}
.auth-page{min-height:100vh;display:grid;place-items:center;padding:20px}
.auth-card{width:min(430px,100%);background:linear-gradient(135deg,var(--card),var(--card2));border:1px solid var(--border);border-radius:22px;padding:28px;box-shadow:0 20px 70px rgba(0,0,0,.3)}
.auth-logo{width:52px;height:52px;border-radius:14px;background:var(--yellow);color:#101820;display:grid;place-items:center;font-weight:950;font-size:20px;margin-bottom:20px}
.auth-card h1{font-size:30px;margin:8px 0}.auth-subtitle{color:var(--muted);line-height:1.5;margin-bottom:22px}
.auth-form{display:grid;gap:15px}.auth-form label{display:grid;gap:7px;color:#cbd8e2;font-size:12px;font-weight:700}
.auth-form input{width:100%;border:1px solid var(--border);background:#04111d;color:var(--text);border-radius:11px;padding:13px;outline:none}
.auth-form input:focus{border-color:var(--yellow)}
.auth-error,.auth-success{margin-bottom:15px;padding:12px;border-radius:10px;font-size:12px;line-height:1.45}
.auth-error{background:rgba(255,70,82,.1);border:1px solid rgba(255,70,82,.3);color:#ff9ca4}
.auth-success{background:rgba(114,214,155,.1);border:1px solid rgba(114,214,155,.3);color:#a9edc4}
.auth-link{display:block;margin-top:15px}
@media(min-width:700px){.hero{grid-template-columns:1fr auto}}
@media(max-width:520px){.stats{grid-template-columns:1fr}.auth-card{padding:23px}}
