html, body, main, header, footer {
  padding: 0px;
  margin: 0px;
}

#app {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 16px;
  text-align: center;
}

#app-title {
  font-size: 28px;
  color: #1a73e8;
  margin-bottom: 8px;
}

#app-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 32px;
}

#input-area {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.date-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.date-group label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.date-group input[type="date"] {
  padding: 10px 14px;
  font-size: 16px;
  border: 2px solid #d0d0d0;
  border-radius: 8px;
  outline: none;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  min-width: 200px;
}

.date-group input[type="date"]:focus {
  border-color: #1a73e8;
}

#result-area {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.result-card {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 24px 28px;
  min-width: 180px;
  flex: 1;
  max-width: 240px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.result-card h3 {
  font-size: 14px;
  color: #888;
  margin: 0 0 12px 0;
  font-weight: 500;
}

.result-value {
  font-size: 22px;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 8px;
  word-break: break-all;
}

.result-card p {
  font-size: 12px;
  color: #aaa;
  margin: 0;
}

#features,
#scenarios,
#FAQ {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 16px;
  text-align: left;
}

#features h2,
#scenarios h2,
#FAQ h2 {
  font-size: 20px;
  color: #333;
  border-bottom: 2px solid #1a73e8;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

#features p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

#scenarios ul {
  padding-left: 20px;
}

#scenarios li {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

#FAQ dl {
  margin: 0;
}

#FAQ dt {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-top: 16px;
  cursor: default;
}

#FAQ dd {
  font-size: 14px;
  color: #666;
  margin: 8px 0 0 0;
  line-height: 1.7;
}

#__fork {
  text-align: center;
  margin-top: 40px;
}

#__fork button {
  padding: 10px 24px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

#__fork button:hover {
  border-color: #1a73e8;
  color: #1a73e8;
}

.page-info {
  text-align: center;
  font-size: 13px;
  color: #999;
  padding: 24px 0;
}

.page-info a {
  color: #1a73e8;
  text-decoration: none;
}

@media (max-width: 767px) {
  #app-title {
    font-size: 22px;
  }

  #input-area {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .date-group input[type="date"] {
    width: 100%;
    min-width: 260px;
  }

  #result-area {
    flex-direction: column;
    align-items: center;
  }

  .result-card {
    max-width: 100%;
    width: 100%;
  }
}
