@charset "UTF-8";

.man-day-card {
  padding: 28px;
}

.man-day-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.man-day-form,
.man-day-result-wrap {
  min-width: 0;
}

.utility-field + .utility-field {
  margin-top: 18px;
}

.input-with-unit {
  position: relative;
}

.input-with-unit .utility-input {
  padding-right: 58px;
}

.input-unit {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
  pointer-events: none;
}

.quick-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.quick-chip {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.quick-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-1px);
}

.field-help {
  margin: 8px 0 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.result-summary-card {
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  padding: 24px;
}

.result-summary-top {
  margin-bottom: 18px;
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 800;
}

.result-summary-desc {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.result-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.result-metric {
  background: #fff;
  border: 1px solid #edf1f5;
  border-radius: 18px;
  padding: 16px;
  min-height: 98px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.result-metric-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}

.result-metric strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: #111827;
  word-break: keep-all;
}

.result-note-box {
  min-height: 92px;
  display: flex;
  align-items: center;
}

.result-note-box p {
  margin: 0;
  color: #334155;
  line-height: 1.8;
  font-size: 14px;
}

@media (max-width: 991px) {
  .man-day-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  .man-day-card {
    padding: 20px;
  }

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

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