*{margin:0;padding:0;box-sizing:border-box;font-family:Inter,sans-serif}
body{background:#f4f6f9;color:#111827}

/* ===== TOPBAR ===== */
.topbar{
  height:64px;
  background:#fff;
  border-bottom:1px solid #e5e7eb;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 20px;
  position:fixed;
  inset:0 0 auto 0;
  z-index:1000;
}
.brand{display:flex;align-items:center;gap:10px}
.brand span{font-size:18px;font-weight:700;color:#2563eb}
.menu-btn{
  font-size:22px;
  cursor:pointer;
  display:none;
}
.top-actions a{
  margin-left:16px;
  text-decoration:none;
  color:#374151;
  font-weight:500;
}

/* ===== SIDEBAR ===== */
.sidebar{
  width:260px;
  background:#fff;
  border-right:1px solid #e5e7eb;
  position:fixed;
  top:64px;
  bottom:0;
  padding:20px;
  transition:.3s;
}
.sidebar h4{
  font-size:11px;
  color:#9ca3af;
  margin-bottom:10px;
  text-transform:uppercase;
}
.sidebar a{
  display:block;
  padding:12px 14px;
  border-radius:8px;
  margin-bottom:6px;
  text-decoration:none;
  color:#374151;
  font-weight:500;
}
.sidebar a.active,
.sidebar a:hover{
  background:#eaf4ff;
  color:#2563eb;
}

/* ===== MAIN ===== */
.main{
  margin-left:260px;
  padding-top:64px;
}

/* HERO */
.hero{
  background:#eaf4ff;
  padding:70px 40px;
  text-align:center;
}
.hero h1{font-size:32px}
.hero p{color:#4b5563;margin-top:8px}

/* SEARCH */
.search-wrap{
  background:#fff;
  max-width:900px;
  margin:-30px auto 0;
  padding:24px;
  border-radius:12px;
  border:1px solid #e5e7eb;
}
.search-box{display:flex;gap:12px}
.search-box input{
  flex:1;
  padding:14px;
  border:1px solid #d1d5db;
  border-radius:6px;
}
.search-box button{
  padding:14px 24px;
  border:none;
  background:#2563eb;
  color:#fff;
  border-radius:6px;
  font-weight:600;
  cursor:pointer;
}

/* TABS */
.tabs{
  max-width:900px;
  margin:30px auto 0;
  display:flex;
  gap:20px;
  border-bottom:1px solid #e5e7eb;
  overflow-x:auto;
}
.tabs button{
  background:none;
  border:none;
  padding:10px 0;
  font-weight:600;
  cursor:pointer;
  color:#374151;
  border-bottom:2px solid transparent;
}
.tabs button.active{
  color:#2563eb;
  border-bottom-color:#2563eb;
}

/* RESULTS */
.results{
  max-width:900px;
  margin:30px auto 60px;
}
.record{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:16px;
  margin-bottom:12px;
}
.record strong{color:#2563eb}
.empty{color:#6b7280;padding:20px}

/* FOOTER */
.footer{
  text-align:center;
  padding:20px;
  font-size:14px;
  color:#6b7280;
  border-top:1px solid #e5e7eb;
  background:#fff;
}

/* ===== MOBILE ===== */
@media(max-width:900px){
  .menu-btn{display:block}
  .sidebar{
    left:-260px;
    z-index:2000;
  }
  .sidebar.show{left:0}
  .main{margin-left:0}
}