[hidden] { display: none !important; }

.appraisal-form { max-width: 800px; }

.appraisal-textarea {
  width: 100%;
  min-height: 200px;
  padding: 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  resize: vertical;
}

.appraisal-textarea:focus {
  outline: none;
  border-color: var(--color-teal);
}

.hub-selector {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.75rem 0;
}

.hub-selector label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--color-muted);
  transition: color 0.2s;
}

.hub-selector label:hover { color: var(--color-text); }

.hub-selector input[type="checkbox"] {
  accent-color: var(--color-teal);
  width: 14px;
  height: 14px;
}

.results-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  font-size: 0.875rem;
}

.results-table th {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border-bottom: 2px solid var(--color-border);
  color: var(--color-muted);
  white-space: nowrap;
}

.results-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

.price-value {
  color: var(--color-amber);
  font-family: var(--font-mono);
  text-align: right;
}

.price-sell { color: var(--color-teal); font-family: var(--font-mono); text-align: right; }

.total-row {
  background: var(--color-surface);
  font-weight: 600;
}

.total-row td { border-top: 2px solid var(--color-border); }

.loading {
  display: none;
  color: var(--color-teal);
  margin-top: 1rem;
  align-items: center;
  gap: 0.5rem;
}

.loading.active { display: flex; }

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-teal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.unknown-items {
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(248,81,73,0.08);
  border: 1px solid var(--color-danger);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--color-danger);
}

.unknown-items strong { display: block; margin-bottom: 0.35rem; }

.summary-bar {
  margin-top: 1.25rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.summary-item { display: flex; flex-direction: column; gap: 0.2rem; }
.summary-label { font-size: 0.75rem; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.summary-value { font-family: var(--font-mono); font-size: 1.1rem; font-weight: 600; color: var(--color-teal); }

.appraise-btn {
  margin-top: 0.75rem;
  padding: 0.5rem 1.5rem;
  background: var(--color-teal);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.appraise-btn:hover { opacity: 0.85; }
.appraise-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.qty-cell { font-family: var(--font-mono); text-align: right; }
.item-name { color: var(--color-text); }
.hub-header { text-align: center; }
