.ft-mkt-root {
  font-family: inherit;
}

.ft-mkt-loading,
.ft-mkt-error {
  padding: 2rem 0;
  text-align: center;
  color: #555;
}

.ft-mkt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.ft-mkt-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
}

.ft-mkt-card-title {
  margin: 0;
  font-size: 1.1rem;
}

.ft-mkt-card-meta {
  font-size: 0.85rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ft-mkt-card-volume {
  font-weight: 600;
  color: #1f8a4c;
}

.ft-mkt-card-summary {
  font-size: 0.9rem;
  color: #444;
  flex-grow: 1;
}

.ft-mkt-btn {
  margin-top: 0.5rem;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 6px;
  background: #1f8a4c;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.ft-mkt-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
}

.ft-mkt-btn:hover:not(:disabled) {
  background: #17703b;
}

.ft-mkt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
}

.ft-mkt-modal {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.ft-mkt-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  line-height: 1;
}

.ft-mkt-modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.ft-mkt-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #333;
}

.ft-mkt-field input,
.ft-mkt-field textarea {
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
}

.ft-mkt-modal-status {
  min-height: 1.2em;
  font-size: 0.9rem;
}

.ft-mkt-modal-status-ok {
  color: #1f8a4c;
  font-weight: 600;
}

.ft-mkt-modal-status-error {
  color: #b91c1c;
}
