.profile-card,
.checkin-form,
.history {
  margin-bottom: 28px;
}

.profile-card .field-hint {
  margin-bottom: 10px;
}

.photo-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1 1 100%;
}

.photo-inputs label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--muted);
}

.photo-inputs input[type="file"] {
  font-size: 0.75rem;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}

.ai-estimate {
  margin-top: 10px;
}

.ai-estimate-row {
  display: flex;
  gap: 8px;
}

.ai-estimate-row .secondary-btn.full {
  flex: 1 1 auto;
}

.ai-estimate-row #bodyPhotoSettings {
  flex: 0 0 auto;
}

.secondary-btn.full {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  font-size: 0.95rem;
}

.secondary-btn.full:hover {
  background: var(--bg);
}

.checkin-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
}

.checkin-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.checkin-date {
  font-weight: 600;
}

.checkin-remove {
  border: none;
  background: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 0.85rem;
}

.checkin-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.checkin-stats strong {
  color: var(--text);
}

.checkin-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.checkin-photos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.checkin-photos .photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--muted);
}

.ai-result {
  background: var(--bg);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.ai-result strong {
  color: var(--text);
}

.empty-hint {
  color: var(--muted);
  font-size: 0.85rem;
}
