:root {
  --ink: #1c1a14;
  --muted: #6e6a58;
  --cream: #f2ece0;
  --paper: #faf7f0;
  --line: #ddd6c8;
  --green: #1e4d32;
  --green-mid: #2d6b47;
  --green-light: #d8e8dc;
  --amber: #a96f1e;
  --amber-light: #f5e8ce;
  --rust: #8b3a2a;
  --rust-light: #f5ddd8;
  --blue: #1e3a5f;
  --blue-light: #d8e4f0;
  --shadow-sm: 0 2px 12px rgba(28, 26, 20, 0.07);
  --shadow: 0 8px 32px rgba(28, 26, 20, 0.1);
  --shadow-lg: 0 20px 60px rgba(28, 26, 20, 0.13);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Manrope", sans-serif;
  min-height: 100dvh;
}

button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

/* ── Topbar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  padding: 0 max(24px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(242, 236, 224, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--green);
  border-radius: 8px;
  flex-shrink: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Buttons ── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: all 0.14s;
  white-space: nowrap;
  cursor: pointer;
}

.button-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}
.button-ghost:hover {
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green);
}

.button-primary {
  background: var(--green);
  color: var(--paper);
  border-color: var(--green);
  letter-spacing: 0.02em;
}
.button-primary:hover { background: var(--green-mid); border-color: var(--green-mid); }
.button-primary:active { transform: translateY(1px); }

.button-large {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  margin-top: 10px;
}

/* ── Settings ── */
.settings-menu { position: relative; }

.settings-trigger {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  transition: all 0.14s;
}
.settings-trigger:hover {
  background: var(--green-light);
  border-color: var(--green);
  color: var(--green);
}

.settings-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 260px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 200;
}

.settings-section { padding: 8px; }

.settings-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin: 0 0 6px;
}

.settings-input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream);
  font-size: 13px;
  outline: none;
  transition: border-color 0.14s;
}
.settings-input:focus { border-color: var(--green); }

.settings-mode-select {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream);
  font-size: 13px;
  font-weight: 500;
  outline: none;
}

.settings-full-btn { width: 100%; justify-content: center; }
.settings-divider { height: 1px; background: var(--line); margin: 4px 0; }

/* ── Main layout ── */
main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 80px;
}

/* ── Text styles ── */
.section-kicker {
  margin: 0 0 8px;
  color: var(--amber);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1, h2, h3 { margin: 0; font-family: "Instrument Serif", serif; font-weight: 400; }

h1 {
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.upload-intro h1 {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(30px, 4vw, 50px); line-height: 1; letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 2.5vw, 28px); line-height: 1.1; }

.hero-copy {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ── Panel ── */
.panel {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 52px);
  background: var(--paper);
  box-shadow: var(--shadow);
  border: 1px solid rgba(221, 214, 200, 0.8);
  border-radius: 2px;
}

/* ── Upload layout ── */
.upload-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 96px);
  margin-top: 28px;
  padding: clamp(32px, 5vw, 64px);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(221, 214, 200, 0.8);
  border-radius: 2px;
  align-items: start;
}

.photo-tips {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.photo-tips div {
  display: grid;
  grid-template-columns: 32px 1fr;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  gap: 12px;
  align-items: start;
}

.photo-tips span {
  color: var(--amber);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 2px;
}

.photo-tips p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── Dropzone ── */
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border: 2px dashed var(--line);
  border-radius: 6px;
  background: var(--cream);
  cursor: pointer;
  transition: all 0.18s;
  padding: 32px 24px;
  text-align: center;
  gap: 0;
}
.dropzone:hover, .dropzone.drag-over {
  border-color: var(--green);
  background: var(--green-light);
}
.dropzone:hover .dropzone-icon,
.dropzone.drag-over .dropzone-icon { color: var(--green); }

.dropzone-icon {
  color: var(--muted);
  margin-bottom: 14px;
  opacity: 0.7;
  transition: color 0.18s;
}
.dropzone-text {
  margin: 0 0 5px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.dropzone-subtext { margin: 0; color: var(--muted); font-size: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Image previews ── */
.image-previews {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.preview-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.preview-remove {
  position: absolute;
  top: 4px; right: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(28, 26, 20, 0.72);
  color: white;
  border: 0;
  font-size: 14px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

/* ── Form fields ── */
.photo-tip-inline {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.form-field { margin-top: 16px; }

.form-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-label-opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
}

.form-select, .form-textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cream);
  font-size: 14px;
  outline: none;
  transition: border-color 0.14s, box-shadow 0.14s;
  color: var(--ink);
}
.form-select:focus, .form-textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 77, 50, 0.08);
}

.form-textarea { resize: vertical; line-height: 1.6; }

/* ── API key warning ── */
.api-key-warning {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 14px;
  background: var(--amber-light);
  border: 1px solid rgba(169, 111, 30, 0.3);
  border-radius: 6px;
  font-size: 13px;
  color: var(--amber);
  font-weight: 500;
  margin-top: 14px;
  line-height: 1.5;
}

/* ── Loading ── */
.loading-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  margin-top: 24px;
}

.loading-content { text-align: center; }

.loading-spinner {
  width: 40px; height: 40px;
  border: 2.5px solid var(--line);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
  margin: 0 auto 20px;
}

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

.loading-title { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.loading-sub { margin: 0; color: var(--muted); font-size: 14px; }

/* ── Verdict card ── */
.verdict-card { margin-top: 24px; }

.verdict-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.verdict-item-name {
  font-size: clamp(22px, 3.5vw, 40px);
  line-height: 1.05;
  margin: 6px 0 10px;
}

.verdict-explanation {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
  margin: 0;
}

.verdict-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  min-width: 150px;
}

.recommendation-badge {
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
}

.badge-strong-buy { background: var(--green-light); color: var(--green); }
.badge-maybe      { background: var(--amber-light); color: var(--amber); }
.badge-pass       { background: var(--rust-light); color: var(--rust); }
.badge-research   { background: var(--blue-light); color: var(--blue); }

.verdict-meta { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.verdict-stat { text-align: right; }
.verdict-stat-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.verdict-stat-value { font-size: 16px; font-weight: 700; }

/* ── Results grid ── */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 24px;
}

.result-section { margin-top: 24px; }
.result-section-title { margin: 4px 0 18px; }

.result-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.copy-buttons { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

/* ── Detail grid ── */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
}

.detail-grid dt {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 0 2px;
  border-top: 1px solid var(--line);
}

.detail-grid dd {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  padding: 2px 0 10px;
  border-top: 1px solid var(--line);
}

.detail-grid dt:nth-child(-n+2),
.detail-grid dd:nth-child(-n+2) { border-top: 0; }

.visual-clues { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.visual-clues-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}
.visual-clues ul { margin: 0; padding-left: 16px; }
.visual-clues li { font-size: 13px; color: var(--muted); line-height: 1.5; margin-bottom: 3px; }

/* ── Price tiers ── */
.price-tiers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.price-tier {
  padding: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.price-tier-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 5px;
}

.price-tier-value {
  font-family: "Instrument Serif", serif;
  font-size: 20px;
  color: var(--green);
  display: block;
  line-height: 1.1;
}

.pricing-rationale {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ── Selling grid ── */
.selling-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.selling-field {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding-right: 14px;
}

.selling-field:nth-child(3n) { border-right: 0; }

.selling-field dt {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.selling-field dd { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.4; }
.selling-field dd.empty { color: var(--muted); font-style: italic; }

.keywords-block { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }

.keywords-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
}

.keywords-wrap { display: flex; flex-wrap: wrap; gap: 6px; }

.keyword-chip {
  padding: 4px 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* ── Checklist ── */
.checklist { margin: 0; padding: 0; list-style: none; }

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}

.checklist li:last-child { border-bottom: 0; }

.checklist-check {
  width: 20px; height: 20px;
  border: 2px solid var(--line);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.12s;
  font-size: 11px;
}

.checklist-check.checked { background: var(--green); border-color: var(--green); color: white; }

/* ── Research links ── */
.research-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 8px;
}

.research-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 13px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.12s;
}

.research-link:hover { background: var(--green-light); border-color: var(--green); color: var(--green); }
.research-link svg { flex-shrink: 0; opacity: 0.4; }

/* ── Listing draft ── */
.listing-draft { display: flex; flex-direction: column; gap: 18px; }

.draft-field-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}

.draft-field-value {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.draft-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.draft-price-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 4px;
}

.draft-price-value {
  font-family: "Instrument Serif", serif;
  font-size: 20px;
  color: var(--green);
}

/* ── Warnings ── */
.warning-section { border-left: 3px solid var(--rust); }

.warning-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }

.warning-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--rust);
  line-height: 1.5;
}

.warning-list li::before { content: "⚠"; flex-shrink: 0; }

/* ── Results footer ── */
.results-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* ── History ── */
.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.history-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.14s;
}

.history-card:hover { box-shadow: var(--shadow); border-color: var(--green); }

.history-thumb { width: 100%; height: 130px; object-fit: cover; display: block; background: var(--line); }
.history-thumb-placeholder {
  width: 100%; height: 130px;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 28px;
}

.history-body { padding: 13px; }
.history-card-date { font-size: 11px; color: var(--muted); margin: 0 0 3px; }
.history-card-name { font-weight: 700; font-size: 14px; margin: 0 0 5px; }
.history-card-value { font-size: 12px; color: var(--muted); margin: 0 0 10px; }

.history-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

.history-badge {
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.history-delete {
  background: none;
  border: 0;
  padding: 4px;
  color: var(--muted);
  font-size: 15px;
  border-radius: 4px;
}
.history-delete:hover { color: var(--rust); background: var(--rust-light); }

.history-empty {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
  font-size: 15px;
}

/* ── Error banner ── */
.error-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--rust);
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  max-width: calc(100vw - 40px);
  z-index: 999;
}

.error-dismiss {
  background: none;
  border: 0;
  color: white;
  font-size: 20px;
  line-height: 1;
  padding: 0 4px;
  margin-left: 4px;
  opacity: 0.7;
}
.error-dismiss:hover { opacity: 1; }

.button.copied { background: var(--green-light); border-color: var(--green); color: var(--green); }

/* ── Mobile form header (desktop: hidden) ── */
.mobile-form-header { display: none; }
.mobile-tagline { margin: 0; font-family: "Instrument Serif", serif; font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; }

/* ── Responsive ── */
@media (max-width: 760px) {
  main { width: calc(100% - 20px); }

  .topbar { padding: 0 14px; height: 58px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 6px; }
  .brand-mark svg { width: 15px; height: 15px; }

  .upload-layout {
    display: block;
    margin-top: 12px;
    padding: 0;
    background: none;
    box-shadow: none;
    border: none;
  }

  .upload-intro { display: none; }

  .upload-form {
    background: var(--paper);
    border: 1px solid rgba(221, 214, 200, 0.9);
    box-shadow: var(--shadow);
    padding: 22px 18px 26px;
  }

  .mobile-form-header {
    display: block;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-form-header .section-kicker { margin-bottom: 5px; }

  .dropzone { min-height: 140px; padding: 22px 16px; }
  .dropzone-icon { width: 30px; height: 30px; margin-bottom: 10px; }
  .dropzone-text { font-size: 15px; }
  .dropzone-subtext { font-size: 12px; }

  .image-previews { gap: 6px; margin-top: 10px; }

  .form-field { margin-top: 13px; }
  .form-select, .form-textarea { font-size: 16px; padding: 12px 13px; }
  .form-textarea { height: 76px; resize: none; }
  .api-key-warning { margin-top: 13px; font-size: 12px; }

  .button-large { padding: 16px; font-size: 13px; margin-top: 14px; }

  /* Results */
  .results-grid { grid-template-columns: 1fr; }
  .verdict-card, .result-section { margin-top: 14px; }
  .panel { padding: 18px; }
  .verdict-header { grid-template-columns: 1fr; gap: 14px; }
  .verdict-item-name { font-size: 24px; }
  .verdict-right { flex-direction: row; align-items: center; justify-content: space-between; }
  .verdict-meta { flex-direction: row; gap: 18px; }
  .price-tiers { grid-template-columns: repeat(3, 1fr); gap: 7px; }
  .price-tier { padding: 11px 9px; }
  .price-tier-value { font-size: 16px; }
  .selling-grid { grid-template-columns: 1fr 1fr; }
  .draft-pricing { grid-template-columns: 1fr 1fr; }
  .result-section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .copy-buttons { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .copy-buttons .button { justify-content: center; font-size: 11px; padding: 8px 8px; }
  .results-footer { flex-direction: column; }
  .results-footer .button { justify-content: center; }
  .research-links { grid-template-columns: 1fr 1fr; gap: 7px; }
  .research-link { padding: 9px 11px; font-size: 12px; }
  .history-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
}

/* ── Feedback ───────────────────────────────────────────────────────────── */
.feedback-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.feedback-thumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.feedback-thumb:hover { border-color: var(--ink); color: var(--ink); }
.feedback-thumb.active { border-color: var(--green); background: var(--green-light); color: var(--green); }
.feedback-thumb#thumbDown.active { border-color: var(--rust); background: var(--rust-light); color: var(--rust); }

.feedback-detail-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 14px 0 8px;
}
.feedback-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.feedback-chip {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition: all 0.12s;
}
.feedback-chip:has(input:checked) { border-color: var(--rust); background: var(--rust-light); color: var(--rust); }
.feedback-chip input { display: none; }
.feedback-sale-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.feedback-thanks {
  font-size: 13px;
  color: var(--green);
  font-weight: 600;
  margin: 10px 0 0;
}

@media (max-width: 430px) {
  .selling-grid { grid-template-columns: 1fr; }
  .selling-field { border-right: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .price-tiers { grid-template-columns: 1fr; }
  .draft-pricing { grid-template-columns: 1fr; }
  .research-links { grid-template-columns: 1fr; }
  .history-grid { grid-template-columns: 1fr; }
  .copy-buttons { grid-template-columns: 1fr; }
  .verdict-right { flex-direction: column; align-items: flex-start; gap: 10px; }
}
