* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Pretendard, Arial, sans-serif;
}
body {
  background: #f4f7fb;
  color: #0f172a;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input {
  font: inherit;
}
button {
  border: none;
  cursor: pointer;
}
.header {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
}
.header-inner {
  width: 94%;
  max-width: 1500px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 52px;
}
.brand h1 {
  font-size: 25px;
}
.brand p {
  font-size: 12px;
  color: #64748b;
  font-weight: 800;
  margin-top: 3px;
}
.nav {
  display: flex;
  gap: 34px;
  font-weight: 900;
}
.nav a.active {
  color: #2563eb;
}
.actions {
  display: flex;
  gap: 10px;
}
.btn {
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 900;
}
.btn.blue {
  background: #2563eb;
  color: white;
}
.btn.white {
  background: white;
  border: 1px solid #cbd5e1;
}
.wrap {
  width: 94%;
  max-width: 1500px;
  margin: 30px auto 70px;
}
.hero {
  background: #e0f2fe;
  border-radius: 26px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 26px;
  margin-bottom: 24px;
}
.hero h2 {
  font-size: 42px;
  margin-bottom: 10px;
}
.hero span {
  color: #0284c7;
}
.hero p,
.hint {
  color: #64748b;
  line-height: 1.7;
}
.search {
  display: flex;
  margin-top: 22px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  max-width: 760px;
  border: 1px solid #bae6fd;
}
.search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 19px 22px;
}
.search button {
  width: 170px;
  background: #0284c7;
  color: white;
  font-weight: 900;
}
.stat {
  background: white;
  border-radius: 22px;
  padding: 24px;
}
.stat strong {
  font-size: 38px;
  color: #0284c7;
  display: block;
  margin-top: 8px;
}
.layout {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 24px;
}
.panel {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 24px;
}
.panel h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.result-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 720px;
  overflow: auto;
}
.result {
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
  text-align: left;
  width: 100%;
}
.result:hover,
.result.active {
  border-color: #0284c7;
  background: #f0f9ff;
}
.result strong {
  display: block;
  margin-bottom: 6px;
}
.result small {
  color: #64748b;
}
.detail-head {
  margin-bottom: 20px;
}
.detail-head h2 {
  font-size: 34px;
  margin-top: 8px;
}
.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 900;
  font-size: 13px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
}
.card h4 {
  font-size: 17px;
  margin-bottom: 10px;
}
.card p {
  color: #334155;
  line-height: 1.65;
  font-size: 14px;
}
.wide {
  grid-column: 1/-1;
}
.empty {
  text-align: center;
  padding: 50px;
  color: #64748b;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 9px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}
@media (max-width: 900px) {
  .header {
    height: auto;
    padding: 14px 0;
  }
  .header-inner,
  .nav,
  .actions {
    flex-wrap: wrap;
  }
  .hero,
  .layout,
  .grid {
    grid-template-columns: 1fr;
  }
  .search button {
    width: 120px;
  }
}
