/*
 * Product mockups — Flogit's interface, rebuilt in HTML.
 *
 * These replace screenshots. Three reasons that is the better trade here:
 * they carry no real inventory, buyer names or margins; they stay crisp at any
 * density instead of going soft on a retina display; and they reflow on a phone
 * instead of becoming an unreadable 1400px image.
 *
 * Fidelity is the whole point, so the values are lifted from the extension, not
 * approximated: the bar is #1f2937 with a 34px brand tile, buttons are 36px tall
 * with a 10px radius from ui/injected-kit.ts, the keywords card carries a 3px
 * brand left border, and the description block uses the dotted-leader spec lines
 * Flogit actually writes. If the product's geometry changes, these change.
 *
 * The data is invented but plausible. Nothing here is a real listing.
 */

/* ── Surface: a Vinted-ish form these things sit inside ─────────────────── */
.mock {
  --mock-bg: #ffffff;
  --mock-line: #e4e7ec;
  --mock-ink: #111827;
  --mock-dim: #6b7280;
  background: var(--mock-bg);
  color: var(--mock-ink);
  border: 1px solid var(--mock-line);
  border-radius: var(--r-lg);
  box-shadow: var(--lift);
  overflow: hidden;
  font-size: 14px;
  line-height: 1.45;
  /* The mockups are a fixed design; they must not inherit the page's dark theme,
     because the product itself renders on Vinted's own white page. */
  color-scheme: light;
}

.mock-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--mock-line);
  background: #f9fafb;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; background: #d0d5dd; }
.mock-url {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mock-dim);
  letter-spacing: 0.01em;
}

.mock-body { padding: 18px; display: grid; gap: 14px; }

/* ── Vinted's own form fields, as context ───────────────────────────────── */
.mock-field { display: grid; gap: 6px; }
.mock-label { font-size: 12px; font-weight: 600; color: var(--mock-dim); }
.mock-input {
  border: 1px solid var(--mock-line);
  border-radius: 8px;
  padding: 9px 12px;
  min-height: 38px;
  color: var(--mock-ink);
  background: #fff;
  display: flex;
  align-items: center;
}
.mock-input.is-empty { color: #98a2b3; }
.mock-textarea { min-height: auto; display: block; white-space: pre-line; }

/* ── The Flogit bar ─────────────────────────────────────────────────────── */
.fg-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #1f2937;
  color: #fff;
}
.fg-bar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.fg-mark {
  width: 34px; height: 34px; flex: none;
  border-radius: 9px;
  background: #5164ae;
  display: grid; place-items: center;
  color: #fff;
}
.fg-mark svg { display: block; }
.fg-copy { min-width: 0; display: grid; gap: 2px; }
.fg-title { font-weight: 600; font-size: 14px; }
.fg-sub { font-size: 12px; color: #9ca3af; }
.fg-hint { font-size: 12px; color: #fcd34d; }
.fg-actions { display: flex; align-items: center; gap: 8px; flex: none; }

/* These are spans, not buttons: the mockups depict the product, they do not
   operate it. A real <button> here is focusable and announced to a screen reader
   as an action that does nothing, which is worse than not being there. */
.fg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 36px; padding: 0 16px;
  border: 0; border-radius: 10px;
  font: 600 13px/1 var(--sans);
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(16,24,40,.05);
}
.fg-btn--solid { background: #fff; color: #1f2937; }
.fg-btn--ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  padding: 0 15px; box-shadow: none;
}
.fg-btn[disabled] { opacity: .5; }

/* ── The keywords card ──────────────────────────────────────────────────── */
.fg-kw {
  padding: 16px;
  border: 1px solid #e4e7ec;
  border-left: 3px solid #5164ae;
  border-radius: 12px;
  background: #fff;
  display: grid;
  gap: 4px;
}
.fg-kw-head { display: flex; align-items: center; gap: 8px; }
.fg-kw-mark {
  width: 20px; height: 20px; flex: none;
  border-radius: 6px; background: #5164ae;
  display: grid; place-items: center; color: #fff;
}
.fg-kw-label { font-weight: 600; font-size: 14px; }
.fg-kw-help { font-size: 12.5px; color: #6b7280; margin-bottom: 6px; }

/* ── The description Flogit writes: dotted-leader spec lines ────────────── */
.fg-spec { display: grid; gap: 7px; margin-top: 4px; }
.fg-spec-h { font-size: 13px; font-weight: 600; }
.fg-spec-row { display: flex; align-items: baseline; gap: 10px; font-size: 13px; }
.fg-spec-row dt { color: #6b7280; flex: none; margin: 0; }
.fg-spec-row::after {
  content: ''; order: -1; flex: 1; align-self: end;
  margin-bottom: 0.3em; border-bottom: 1px dotted #d0d5dd;
}
.fg-spec-row dt { order: -2; }
.fg-spec-row dd {
  order: 0; margin: 0;
  font-family: var(--mono); font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* ── The phone-upload modal ─────────────────────────────────────────────── */
.fg-modal {
  width: 100%;
  max-width: 330px;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: var(--lift-lg);
  display: grid;
  gap: 12px;
  justify-items: center;
  color: #111827;
}
.fg-modal h4 { font-size: 16px; }
.fg-modal-sub { font-size: 12.5px; color: #6b7280; }
.fg-qr {
  width: 168px; height: 168px;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 9px;
  background: #fff;
}
.fg-qr img { width: 100%; height: 100%; display: block; }
.fg-modal-status { font-size: 13px; color: #047857; font-weight: 500; }
.fg-modal-expiry { font-family: var(--mono); font-size: 11px; color: #98a2b3; }
.fg-modal-btn {
  display: grid; place-items: center;
  width: 100%; height: 44px;
  border: 1px solid #e4e7ec; border-radius: 12px;
  background: #fff; color: #344054;
  font: 600 14px/1 var(--sans);
}

/* ── A market-comps card, from the panel ────────────────────────────────── */
.fg-card {
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 14px;
  color: #111827;
}
.fg-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fg-card-title { font-weight: 600; font-size: 15px; }
.fg-card-note { font-size: 12px; color: #6b7280; }

.fg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fg-stat { display: grid; gap: 2px; }
.fg-stat dt { font-size: 11px; color: #6b7280; margin: 0; }
.fg-stat dd {
  margin: 0; font-weight: 600; font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.fg-stat--lead dd { color: #5164ae; }

/* Where this item sits against the market.
 *
 * The bars are a histogram: how MANY comparable listings sit at each price. Your
 * own price is not a count, it is a position — so it is a marker on the axis, not
 * a coloured bar. Colouring one bar "you" says "there are this many listings at
 * your price", which is a different and untrue statement. The marker also carries
 * a label, because position alone is unreadable to anyone who cannot see the hue.
 */
.fg-dist { display: grid; gap: 6px; }
.fg-dist-plot { position: relative; padding-top: 18px; }
.fg-dist-bars { display: flex; align-items: flex-end; gap: 4px; height: 56px; }
.fg-dist-bar { flex: 1; background: #e8ebf4; border-radius: 3px 3px 0 0; }

.fg-dist-mark {
  position: absolute;
  top: 0; bottom: 0;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 2px;
  pointer-events: none;
}
.fg-dist-mark::after {
  content: '';
  width: 2px;
  flex: 1;
  background: #5164ae;
  border-radius: 1px;
  height: 100%;
}
.fg-dist-flag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: #5164ae;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fg-dist-axis {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 10px; color: #98a2b3;
  font-variant-numeric: tabular-nums;
}

.fg-row {
  display: flex; align-items: center; gap: 12px;
  padding-top: 12px; border-top: 1px solid #f2f4f7;
}
.fg-thumb {
  width: 40px; height: 40px; flex: none;
  border-radius: 8px; background: #f2f4f7;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 9px; color: #98a2b3;
}
.fg-row-main { min-width: 0; flex: 1; }
.fg-row-title {
  font-size: 13px; font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.fg-row-meta { font-size: 11.5px; color: #6b7280; }
.fg-row-price {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ── Pills: state as shape, not only colour ─────────────────────────────── */
.fg-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  font-family: var(--mono); letter-spacing: 0.02em;
}
.fg-pill--good { background: #ecfdf3; color: #027a48; }
.fg-pill--warn { background: #fffaeb; color: #b54708; }
.fg-pill--flat { background: #f2f4f7; color: #475467; }

@media (max-width: 34rem) {
  .fg-bar { flex-direction: column; align-items: stretch; }
  .fg-actions { justify-content: stretch; }
  .fg-actions .fg-btn { flex: 1; }
  .fg-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════════════
 * Panel mockups — the parts of Flogit that are not the sell form.
 *
 * The sell-form mockup above sits inside Vinted's page, so it borrows Vinted's
 * chrome. These do not: the panel is Flogit's own surface, opened from Vinted's
 * navigation, so it gets a rail and a header of its own.
 *
 * Same rules as above. Invented but plausible data, no real buyer ever named, no
 * real margin. Spans, not buttons. Geometry lifted from the extension: 12px rail
 * icons on a 44px rail, 16px card radius, the same pill vocabulary.
 * ═══════════════════════════════════════════════════════════════════════════ */

.fg-app {
  display: grid;
  grid-template-columns: 186px minmax(0, 1fr);
  min-height: 0;
}
/* The panel's sidebar. White, with the lockup, the version and plan, the primary
   action, then the menu — copied from ui/Sidebar.tsx rather than imagined. It was
   a dark bar with invented sections until someone put the two side by side. */
.fg-rail {
  background: #fff;
  border-right: 1px solid var(--mock-line);
  padding: 16px 12px;
  display: grid;
  gap: 2px;
  align-content: start;
}
.fg-rail-brand { display: flex; align-items: center; padding: 0 8px 2px; color: #5164ae; }
.fg-rail-brand svg { display: block; }
.fg-rail-new {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; margin-bottom: 14px;
  border-radius: 9px; background: #5164ae; color: #fff;
  font-size: 13px; font-weight: 600;
}
.fg-rail-label {
  padding: 0 8px 6px;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: #98a2b3;
}
.fg-rail span:not(.fg-rail-brand):not(.fg-rail-new):not(.fg-rail-label) {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 9px; border-radius: 8px;
  font-size: 13px; color: #344054; white-space: nowrap;
}
.fg-rail [data-on] { background: #f2f4f7; color: #5164ae; font-weight: 600; }
.fg-rail svg { flex: none; color: #667085; }
.fg-rail [data-on] svg { color: #5164ae; }

.fg-pane { padding: 18px; display: grid; gap: 14px; align-content: start; background: #fff; }
.fg-pane-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.fg-pane-title { font-size: 15px; font-weight: 600; }

/* ── Offers: the buyer's number, yours, and the reason ──────────────────── */
.fg-offer {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 12px; align-items: center;
  padding: 12px; border: 1px solid #e4e7ec; border-radius: 12px;
}
.fg-who {
  width: 36px; height: 36px; border-radius: 50%;
  background: #eceef6; color: #5164ae;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 600;
}
.fg-offer-item { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-offer-nums {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  margin-top: 3px;
  font-family: var(--mono); font-size: 11.5px; color: #6b7280;
  font-variant-numeric: tabular-nums;
}
.fg-strike { text-decoration: line-through; color: #98a2b3; }
.fg-counter { color: #5164ae; font-weight: 600; }
.fg-offer-act { display: flex; gap: 6px; flex: none; }
.fg-offer-act .fg-btn { height: 30px; padding: 0 11px; font-size: 12px; }
.fg-btn--dark { background: #1f2937; color: #fff; }
.fg-btn--line { background: #fff; color: #344054; border: 1px solid #d0d5dd; box-shadow: none; }

/* ── Sales: sold on, paid on, and what was left ─────────────────────────── */
.fg-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.fg-table th {
  text-align: left; font-weight: 600; color: #6b7280;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0 8px 7px 0; border-bottom: 1px solid #e4e7ec;
}
.fg-table td { padding: 9px 8px 9px 0; border-bottom: 1px solid #f2f4f7; vertical-align: middle; }
.fg-table tr:last-child td { border-bottom: 0; }
.fg-table .num { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; padding-right: 0; }
.fg-dim { color: #98a2b3; }
.fg-table caption {
  caption-side: bottom; text-align: left; padding-top: 9px;
  font-size: 11.5px; color: #6b7280;
}

/* ── DAC7: two independent triggers, either of which fires ──────────────── */
.fg-meter { display: grid; gap: 5px; }
.fg-meter-top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-size: 12.5px;
}
.fg-meter-val { font-family: var(--mono); font-variant-numeric: tabular-nums; font-weight: 600; }
.fg-meter-track { height: 8px; border-radius: 999px; background: #f2f4f7; overflow: hidden; }
.fg-meter-fill { height: 100%; border-radius: 999px; background: #5164ae; }
/* Over the line is a fact, not a failure — amber says "this is now reportable",
   which is true, and stops short of red, which would say "you owe money". */
.fg-meter[data-over] .fg-meter-fill { background: #f79009; }
.fg-meter-note { font-size: 11.5px; color: #6b7280; }

/* ── Evidence: the photos, and when ─────────────────────────────────────── */
.fg-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fg-shot {
  aspect-ratio: 1;
  border-radius: 8px;
  background: #f2f4f7;
  border: 1px solid #e4e7ec;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 9px; color: #98a2b3;
}
.fg-stamp {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 11px; color: #6b7280;
  font-variant-numeric: tabular-nums;
}

/* ── Packing slip: paper, not screen ────────────────────────────────────── */
.fg-slip {
  width: 100%; max-width: 320px;
  background: #fff; color: #111827;
  border: 1px solid #e4e7ec; border-radius: 4px;
  box-shadow: var(--lift);
  padding: 20px;
  display: grid; gap: 12px;
  font-size: 12.5px;
}
.fg-slip-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fg-slip-ref { font-family: var(--mono); font-size: 10.5px; color: #6b7280; }
.fg-slip ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.fg-slip li { display: flex; justify-content: space-between; gap: 10px; }
.fg-slip li span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.fg-slip-rule { border: 0; border-top: 1px dashed #d0d5dd; margin: 0; }
.fg-slip-thanks { font-size: 12px; color: #475467; line-height: 1.5; }

@media (max-width: 40rem) {
  .fg-app { grid-template-columns: 1fr; }
  /* The rail becomes a scrolling strip: it still shows where you are, without
     eating a third of a phone screen. */
  .fg-rail { display: flex; overflow-x: auto; gap: 4px; padding: 8px; border-right: 0; border-bottom: 1px solid var(--mock-line); }
  .fg-rail-brand { padding: 2px 6px; }
  .fg-rail-new, .fg-rail-label { display: none; }
  .fg-offer { grid-template-columns: 36px minmax(0, 1fr); }
  .fg-offer-act { grid-column: 1 / -1; }
  .fg-shots { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════════════════
 * More of the product, for the feature blocks.
 *
 * Same rules as everything above: invented but plausible data, no real buyer
 * ever named, no real margin, spans rather than buttons. These are pictures of
 * the software, not a copy of it you can operate.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ── The period band on the dashboard ───────────────────────────────────── */
.fg-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fg-band-card {
  padding: 14px; border: 1px solid #e4e7ec; border-radius: 12px; background: #fff;
}
.fg-band-label { font-size: 11.5px; color: #6b7280; }
.fg-band-value {
  margin-top: 4px; font-size: 22px; font-weight: 700; line-height: 1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.fg-band-sub { margin-top: 5px; font-size: 11px; color: #98a2b3; font-variant-numeric: tabular-nums; }

/* ── Customers: the same person, more than once ─────────────────────────── */
.fg-cust {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 11px; align-items: center;
  padding: 10px 0; border-bottom: 1px solid #f2f4f7;
}
.fg-cust:last-child { border-bottom: 0; }
.fg-cust-name { font-size: 13px; font-weight: 500; }
.fg-cust-meta { margin-top: 2px; font-size: 11.5px; color: #6b7280; font-variant-numeric: tabular-nums; }
.fg-cust-spend {
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums; text-align: right;
}
.fg-cust-count { display: block; font-family: var(--sans); font-size: 11px; font-weight: 400; color: #6b7280; }

/* ── Inventory: a grid with a selection acting on it ────────────────────── */
.fg-inv { border: 1px solid #e4e7ec; border-radius: 12px; overflow: hidden; }
.fg-inv-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; background: #eceef6; border-bottom: 1px solid #e4e7ec;
  font-size: 12.5px; color: #3c4a82; font-weight: 600;
}
.fg-inv-bar .fg-btn { height: 28px; padding: 0 10px; font-size: 11.5px; margin-left: auto; }
.fg-inv-row {
  display: grid; grid-template-columns: 18px 34px minmax(0, 1fr) auto auto;
  gap: 10px; align-items: center;
  padding: 9px 12px; border-bottom: 1px solid #f2f4f7; font-size: 12.5px;
}
.fg-inv-row:last-child { border-bottom: 0; }
.fg-inv-row[data-on] { background: #f7f8fb; }
.fg-check {
  width: 15px; height: 15px; border-radius: 4px;
  border: 1.5px solid #cdd1dc; display: grid; place-items: center;
}
.fg-check[data-on] { background: #5164ae; border-color: #5164ae; color: #fff; }
.fg-inv-thumb { width: 34px; height: 34px; border-radius: 7px; background: #f2f4f7; }
.fg-inv-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fg-inv-num { font-family: var(--mono); font-variant-numeric: tabular-nums; color: #6b7280; }

/* ── The photo editor, before and after ─────────────────────────────────── */
.fg-photos { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.fg-photo {
  aspect-ratio: 1; border-radius: 10px; border: 1px solid #e4e7ec;
  background: #f2f4f7; display: grid; place-items: center; position: relative;
  font-family: var(--mono); font-size: 10px; color: #98a2b3;
}
.fg-photo-tag {
  position: absolute; inset-block-end: 7px; inset-inline-start: 7px;
  padding: 2px 7px; border-radius: 999px;
  font-family: var(--sans); font-size: 10px; font-weight: 600;
}
.fg-photo-arrow { color: #98a2b3; }

/* ── The panel's own sidebar, for the holiday switch ────────────────────── */
.fg-side {
  width: 100%; max-width: 260px;
  border: 1px solid #e4e7ec; border-radius: 14px; background: #fff;
  padding: 12px; display: grid; gap: 2px;
}
.fg-side-row {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 10px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: #344054;
}
.fg-side-row svg { color: #6b7280; flex: none; }
.fg-side-row[data-on] { background: #eceef6; color: #5164ae; }
.fg-side-row[data-on] svg { color: #5164ae; }
.fg-switch { margin-left: auto; width: 32px; height: 19px; border-radius: 999px; background: #e4e7ec; position: relative; flex: none; }
.fg-switch::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 13px; height: 13px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 2px rgba(16,24,40,.2);
}
.fg-switch[data-on] { background: #5164ae; }
.fg-switch[data-on]::after { left: 16px; }

/* ── A shipping label, as it prints ─────────────────────────────────────── */
.fg-label {
  width: 100%; max-width: 260px;
  background: #fff; border: 1px solid #d0d5dd; border-radius: 4px;
  padding: 14px; display: grid; gap: 9px;
  font-family: var(--mono); font-size: 10.5px; color: #111827;
}
.fg-label-code {
  height: 44px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, #111827 0 2px, #fff 2px 4px, #111827 4px 5px, #fff 5px 9px);
}
.fg-label-to { font-size: 11.5px; line-height: 1.5; }
.fg-label-rule { border: 0; border-top: 1px dashed #d0d5dd; margin: 0; }

@media (max-width: 40rem) {
  .fg-band { grid-template-columns: repeat(2, 1fr); }
  .fg-inv-row { grid-template-columns: 18px 34px minmax(0, 1fr) auto; }
  .fg-inv-row .fg-inv-num:last-child { display: none; }
  .fg-photos { grid-template-columns: 1fr; }
  .fg-photo-arrow { transform: rotate(90deg); justify-self: center; }
}

/* ── Corrections, after comparing every shot with the real panel ────────────
 *
 * These exist because the mockups had drifted into plausible-looking invention:
 * grey Decline/Counter buttons where the product has an orange Send counter and
 * a Dismiss, a price line in a format the panel never uses, and no state badge
 * at all. A shot that is merely in the right spirit still teaches the visitor
 * the wrong thing.
 */

/* The counter action is amber in the product, not dark. */
.fg-btn--send { background: #f59009; color: #fff; }
.fg-btn--quiet { background: #fff; color: #344054; border: 1px solid #e4e7ec; box-shadow: none; }

/* "Countered" / "Pending" in the corner of an offer card. */
.fg-offer { position: relative; }
.fg-state {
  position: absolute; inset-block-start: 10px; inset-inline-end: 12px;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid #fedf89; background: #fffaeb; color: #b54708;
  font-size: 10.5px; font-weight: 600;
}

/* The price line as the panel writes it: was 12.29, now 10, and the percentage. */
.fg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-top: 3px; font-size: 12.5px; }
.fg-price .was { text-decoration: line-through; color: #98a2b3; font-variant-numeric: tabular-nums; }
.fg-price .now { font-weight: 600; font-variant-numeric: tabular-nums; }
.fg-price .pct { font-size: 11.5px; font-weight: 600; }
.fg-price .pct[data-low] { color: #dc6803; }
.fg-price .pct[data-ok] { color: #039855; }
.fg-hint { margin-top: 7px; font-size: 11.5px; color: #98a2b3; }

/* The counter input sitting beside the two buttons. */
.fg-amount {
  display: flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 11px;
  border: 1px solid #e4e7ec; border-radius: 9px; background: #fff;
  font-size: 12.5px; color: #98a2b3;
}
.fg-amount b { color: #667085; font-weight: 500; }

/* Customers leads with three figures, then the list. */
.fg-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 4px; }
.fg-kpi { padding: 12px; border: 1px solid #e4e7ec; border-radius: 11px; }
.fg-kpi dt { margin: 0; font-size: 11px; color: #6b7280; }
.fg-kpi dd { margin: 3px 0 0; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fg-kpi small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 400; color: #98a2b3; }

@media (max-width: 40rem) {
  .fg-kpis { grid-template-columns: 1fr; }
  .fg-state { position: static; align-self: start; }
}

/* ── The photo editor's before and after ────────────────────────────────────
 *
 * The two panes used to be grey boxes labelled IMG_4182 and IMG_4182-b, which
 * showed nothing: the whole point of the feature is that the second looks
 * BETTER, and a pair of identical rectangles cannot say that.
 *
 * No photograph is used — the site has none by design, and a stock jumper would
 * be a lie about someone's inventory. Instead each pane is a drawn garment on a
 * backdrop, and the same drawing is put through the actual CSS filter the Vivid
 * preset applies. The difference you see is the difference the preset makes.
 */
.fg-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eef1f6;
}
.fg-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  /* The filter goes on the image, not the box, so the label chip sitting on top
     of it keeps its own colour instead of being pushed through Vivid too. */
  transition: filter .2s ease;
}
/* The Vivid preset, with the numbers the editor actually uses. */
.fg-photo[data-preset='vivid'] img { filter: saturate(1.45) contrast(1.12) brightness(1.05); }
.fg-photo-name {
  position: absolute; inset-block-start: 8px; inset-inline-start: 8px;
  font-family: var(--mono); font-size: 9.5px; color: #98a2b3;
}
