* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Pretendard, Arial, sans-serif;
}

body {
  background: #f4f7fb;
  color: #0f172a;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  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: #16a34a;
}

.actions {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 900;
}

.btn.green {
  background: #16a34a;
  color: #fff;
}

.btn.white {
  background: #fff;
  border: 1px solid #cbd5e1;
}

.wrap {
  width: 94%;
  max-width: 1500px;
  margin: 30px auto 70px;
}

.hero {
  background: #dcfce7;
  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: #16a34a;
}

.hint,
.hero p {
  color: #64748b;
  line-height: 1.7;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 180px 150px;
  gap: 10px;
  margin-top: 22px;
  max-width: 820px;
}

.search-row input,
.search-row select {
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  padding: 17px;
  background: #fff;
  outline: none;
}

.search-row button {
  border-radius: 16px;
  background: #16a34a;
  color: #fff;
  font-weight: 900;
}

.stat {
  background: #fff;
  border-radius: 22px;
  padding: 24px;
}

.stat strong {
  font-size: 38px;
  color: #16a34a;
  display: block;
  margin-top: 8px;
}

.panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 24px;
}

.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  align-items: center;
}

.list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.school-groups {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.region-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.region-title h3 {
  font-size: 20px;
}

.region-title span {
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.school {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  min-height: 180px;
}

.school h3 {
  font-size: 21px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.school p {
  color: #475569;
  line-height: 1.6;
  font-size: 14px;
}

.tag {
  display: inline-flex;
  margin: 10px 6px 0 0;
  padding: 8px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #15803d;
  font-size: 12px;
  font-weight: 900;
}

.empty {
  text-align: center;
  color: #64748b;
  padding: 60px;
}

@media (max-width: 1000px) {
  .header {
    height: auto;
    padding: 14px 0;
  }

  .header-inner,
  .nav,
  .actions {
    flex-wrap: wrap;
  }

  .hero,
  .search-row {
    grid-template-columns: 1fr;
  }

  .list {
    grid-template-columns: 1fr;
  }
}
