@charset "UTF-8";

.pyeong-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 30px;
  box-sizing: border-box;
}

.pyeong-grid {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.pyeong-input-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pyeong-equals {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  font-size: 28px;
  font-weight: 800;
  color: #d97706;
  user-select: none;
}

.pyeong-card .utility-field-label {
  padding-left: 2px;
}

.pyeong-card .utility-input {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  box-sizing: border-box;
}

.quick-area {
  margin-top: 10px;
  margin-bottom: 22px;
}

.quick-area .utility-field-label {
  margin-bottom: 10px;
  padding-left: 2px;
}

.quick-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-btn {
  border: 1px solid #f3d7aa;
  background: #fff8ec;
  color: #9a6700;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: all 0.18s ease;
}

.quick-btn:hover {
  transform: translateY(-1px);
  background: #ffefcf;
  border-color: #efc67b;
}

.quick-btn:active {
  transform: translateY(0);
}

.pyeong-card .utility-btn-row {
  margin-top: 4px;
  margin-bottom: 12px;
  justify-content: flex-start;
}

.pyeong-result-box {
  margin-top: 12px;
  padding: 24px 26px;
  box-sizing: border-box;
}

.result-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 18px;
  padding-left: 2px;
}

.result-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.result-item {
  border: 1px solid #ece7df;
  background: #fffdfa;
  border-radius: 18px;
  padding: 20px 18px;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-label {
  display: block;
  font-size: 13px;
  color: #7b7280;
  margin-bottom: 8px;
  line-height: 1.4;
  word-break: keep-all;
}

.result-item strong {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #1f2937;
  line-height: 1.3;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.result-note {
  margin: 18px 0 0;
  padding-left: 2px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  word-break: keep-all;
}

@media (max-width: 768px) {
  .pyeong-card {
    padding: 20px 16px;
  }

  .pyeong-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pyeong-equals {
    height: auto;
    font-size: 22px;
    padding: 2px 0;
  }

  .pyeong-result-box {
    padding: 20px 16px;
  }

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

  .result-item {
    padding: 18px 16px;
  }

  .result-item strong {
    font-size: 22px;
  }
}