* {
  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;
  height: 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 {
  padding: 10px 0;
}
.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: #fff;
}
.btn.white {
  background: #fff;
  border: 1px solid #cbd5e1;
}
.wrap {
  width: 94%;
  max-width: 1500px;
  margin: 30px auto 70px;
}
.hero {
  background: #dbeafe;
  border-radius: 26px;
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: center;
  margin-bottom: 24px;
}
.hero h2 {
  font-size: 42px;
  margin-bottom: 10px;
}
.hero span {
  color: #2563eb;
}
.hero p {
  color: #475569;
  line-height: 1.7;
}
.search {
  display: flex;
  margin-top: 22px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  max-width: 760px;
  border: 1px solid #dbeafe;
}
.search input {
  flex: 1;
  border: none;
  padding: 19px 22px;
  outline: none;
}
.search button {
  width: 170px;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
}
.stat {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
}
.stat strong {
  font-size: 38px;
  color: #2563eb;
  display: block;
  margin-top: 8px;
}
.layout {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 24px;
}
.panel {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid #e2e8f0;
}
.panel h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.hint {
  color: #64748b;
  line-height: 1.6;
  font-size: 14px;
}
.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: #2563eb;
  background: #eff6ff;
}
.result strong {
  display: block;
  margin-bottom: 6px;
}
.result small {
  color: #64748b;
}
.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.detail-head h2 {
  font-size: 34px;
}
.badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  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;
  min-height: 120px;
}
.card h4 {
  font-size: 17px;
  margin-bottom: 10px;
}
.card p,
.card li {
  color: #334155;
  line-height: 1.7;
  font-size: 14px;
}
.card ul {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.wide {
  grid-column: 1/-1;
}
.empty {
  padding: 50px;
  text-align: center;
  color: #64748b;
}
.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 9px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  font-weight: 800;
}
.wage-btn {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font-weight: 900;
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  z-index: 2000;
}
.modal.open {
  display: flex;
}
.modal-box {
  width: min(1100px, 96vw);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
}
.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}
.modal-head h3 {
  font-size: 25px;
}
.close-btn {
  padding: 10px 14px;
  border-radius: 12px;
  background: #f1f5f9;
  font-weight: 900;
}
.salary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.salary-table th,
.salary-table td {
  border: 1px solid #e2e8f0;
  padding: 9px;
  text-align: right;
  white-space: nowrap;
}
.salary-table th:first-child,
.salary-table td:first-child {
  text-align: center;
  background: #f8fafc;
  font-weight: 900;
}
.salary-table thead th {
  background: #eff6ff;
  color: #1d4ed8;
}
.source-note {
  margin-top: 12px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .header {
    height: auto;
    padding: 14px 0;
  }
  .header-inner,
  .nav,
  .actions {
    flex-wrap: wrap;
  }
  .hero,
  .layout {
    grid-template-columns: 1fr;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .search button {
    width: 120px;
  }
}
