/* Trang /ai-home-personality — sửa tính cách AI Home. */

.aihp-shell {
  max-width: 900px;
  padding: 16px;
}

.aihp-header {
  margin-bottom: 12px;
}

.aihp-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.aihp-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 4px;
}

.aihp-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff4e5;
  border: 1px solid #f5c98a;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.8125rem;
  margin-bottom: 16px;
}

.aihp-meta {
  color: #6b7280;
  font-size: 0.8125rem;
  margin-bottom: 12px;
}

.aihp-section {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6b7280;
  margin: 20px 0 8px;
}

.aihp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
  color: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}

.aihp-card {
  border: 1px solid #e9ebf0;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
  background: #fff;
}

.aihp-card-locked {
  background: #fafbfc;
}

.aihp-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.aihp-card-title {
  font-size: 0.8125rem;
  font-weight: 600;
}

.aihp-card-actions {
  display: inline-flex;
  gap: 6px;
  flex-shrink: 0;
}

.aihp-lock-reason {
  font-size: 0.75rem;
  color: #6b7280;
  font-style: italic;
  margin-bottom: 8px;
}

.aihp-preset-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.aihp-preset-label {
  font-size: 0.75rem;
  color: #6b7280;
  margin-right: 2px;
}

.aihp-text {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 0.8125rem;
  line-height: 1.55;
  background: #f7f8fa;
  border-radius: 4px;
  padding: 10px;
  margin: 0;
}
