@charset "utf-8";

.seller-body {
  min-height: 100vh;
  /* the store's fixed three-band header is not used here */
  padding-top: 0;
  background: #ebe8e2;
}
html:has(.seller-body) { scroll-padding-top: 88px; }

/* Authentication owns one viewport. Let the header take its actual height;
   the remaining row shrinks instead of adding a hard-coded header offset. */
html:has(.seller-body #seller-auth:not([hidden])) {
  overflow: hidden;
  scrollbar-gutter: auto;
}
.seller-body:has(#seller-auth:not([hidden])) {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}
.seller-body:has(#seller-auth:not([hidden])) #seller-main { min-height: 0; }

.seller-topbar {
  position: relative;
  z-index: 20;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px clamp(20px, 3vw, 44px);
  background: var(--navy-850);
  color: var(--paper-2);
  border-bottom: 1px solid var(--navy-600);
}

.seller-topbar__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
}
.seller-topbar__brand:hover { color: inherit; }
.seller-topbar__brand img { width: 156px; }
.seller-topbar__brand span { display: grid; line-height: 1.1; border-left: 1px solid var(--navy-600); padding-left: 16px; }
.seller-topbar__brand b { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .025em; }
.seller-topbar__brand small { color: var(--steel-300); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }

.seller-topbar__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--steel-200);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}

.seller-auth {
  position: relative;
  isolation: isolate;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  padding: clamp(24px, 5dvh, 56px) clamp(24px, 6vw, 88px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--navy-850);
}
.seller-auth__media {
  position: fixed;
  z-index: -1;
  inset: 0;
  min-height: 0;
  overflow: hidden;
}
.seller-auth__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,22,48,.88), rgba(12,22,48,.48));
}
.seller-auth__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seller-auth__panel {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  width: min(440px, 100%);
  margin-block: auto;
  padding: clamp(24px, 3vw, 36px);
  color: var(--paper-2);
  background: rgba(23, 42, 85, .96);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
}
.seller-auth__copy { margin-bottom: 24px; }
.seller-auth__copy .eyebrow { color: var(--orange-light); }
.seller-auth__copy h1 { font-size: 2.5rem; line-height: 1.1; color: var(--white); }
.seller-auth__copy > p:last-child { margin-top: 12px; color: var(--steel-200); font-size: .9375rem; }

.seller-auth .field input,
.listing-form .field input,
.listing-form .field select,
.listing-form .field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  padding: 10px 12px;
}
.seller-auth .field input:focus,
.listing-form .field input:focus,
.listing-form .field select:focus,
.listing-form .field textarea:focus { border-color: var(--navy-850); outline: 3px solid rgba(219,148,33,.22); }
.listing-form textarea { resize: vertical; }

#seller-login-form { display: grid; gap: 16px; }
#seller-login-form .field,
#seller-login-form .form-error,
#seller-login-form .form-note { margin: 0; }
.seller-auth__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.seller-auth__links button {
  min-height: 44px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--steel-200);
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.seller-auth button:disabled { cursor: not-allowed; opacity: .6; }
.seller-auth__hint { margin: 6px 0 0; color: var(--steel-200); font-size: .8125rem; line-height: 1.5; }
.seller-auth .field label { color: var(--steel-200); font-size: .8125rem; text-transform: none; }
.seller-auth .field input { color: var(--white); background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); }
.seller-auth .field input::placeholder { color: #9ca3a9; }
.seller-auth .seller-password button { color: var(--white); }
.seller-auth .btn--outline { color: var(--white); border: 1px solid rgba(255,255,255,.35); background: transparent; }
.seller-auth .btn--outline:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.seller-auth__alternatives { display: grid; gap: 12px; }
.seller-auth__separator { display: flex; align-items: center; gap: 12px; color: var(--steel-300); font-size: .75rem; }
.seller-auth__separator::before, .seller-auth__separator::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.15); }
.seller-auth__foot { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: var(--steel-300); font-size: .75rem; line-height: 1.6; }
.seller-auth [hidden] { display: none !important; }
.seller-auth .field { animation: auth-field-in .16s ease-out; }
@keyframes auth-field-in { from { opacity: .4; transform: translateY(3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .seller-auth .field { animation: none; } }
#seller-passkey-option { display: grid; gap: 4px; }
#seller-passkey-option[hidden] { display: none; }
.seller-security__help { max-width: 65ch; margin: 24px 0; color: var(--steel-600); }
.seller-passkeys { padding: 0; margin: 24px 0; list-style: none; }
.seller-passkeys > li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.seller-passkeys > li > div { min-width: 0; overflow-wrap: anywhere; }
.seller-passkeys b { display: block; }
.seller-passkeys small { display: block; margin-top: 4px; color: var(--steel-600); }
.seller-passkeys button { flex-shrink: 0; }
.seller-password { position: relative; }
.seller-auth .seller-password input { padding-right: 66px; }
.seller-password button {
  position: absolute;
  inset: 1px 1px 1px auto;
  min-width: 60px;
  border: 0;
  background: transparent;
  font-size: .8125rem;
  font-weight: 600;
  cursor: pointer;
}
.form-error,
.form-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--error-600);
  background: var(--error-bg);
  color: var(--error-700);
  font-size: .875rem;
}
.form-note { border-color: #48744c; background: #eef6ee; color: #2f5c33; }

/* Once staff are signed in, the top bar stays fixed while the workspace scrolls beneath it. */
.seller-body:has(#seller-app:not([hidden])) .seller-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  box-shadow: 0 1px 0 rgba(0,0,0,.25);
}
.seller-app { min-height: calc(100svh - 72px); }
.seller-sidebar {
  position: fixed;
  top: 72px;
  bottom: 0;
  left: 0;
  width: 252px;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  background: var(--navy-800);
  color: var(--paper-2);
}
.seller-sidebar__identity {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 8px 24px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--navy-600);
}
.seller-sidebar__avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--orange-600);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-900);
}
.seller-sidebar__identity div { display: grid; min-width: 0; }
.seller-sidebar__identity b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .875rem; }
.seller-sidebar__identity span:last-child { color: var(--steel-300); font-size: .75rem; text-transform: capitalize; }
.seller-sidebar nav { display: grid; gap: 6px; }
.seller-nav {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--steel-200);
  text-align: left;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
}
.seller-nav:hover { color: var(--white); background: rgba(255,255,255,.06); }
.seller-nav.is-active { color: var(--white); background: var(--navy-600); }
.seller-nav > span { min-width: 24px; padding: 1px 6px; border-radius: 999px; background: var(--navy-700); text-align: center; font-size: .7rem; }
.seller-nav.is-active > span { background: var(--orange-600); color: var(--navy-900); }
.seller-sidebar__signout {
  margin-top: auto;
  padding: 12px;
  border: 0;
  border-top: 1px solid var(--navy-600);
  background: transparent;
  color: var(--steel-300);
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}
.seller-sidebar__signout:hover { color: var(--white); }

.seller-workspace { margin-left: 252px; min-height: calc(100svh - 72px); padding: clamp(28px, 4vw, 64px); }
.seller-view { width: min(100%, 1500px); margin-inline: auto; }
.seller-view__header { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: 28px; border-bottom: 2px solid var(--navy-850); }
.seller-view__header h1 { font-size: clamp(2.5rem, 4vw, 4.3rem); }
.seller-view__header p:last-child { margin-top: 8px; color: var(--steel-600); }

.seller-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 26px 0;
  border-block: 1px solid var(--line-strong);
}
.seller-metrics > div { padding: 18px 20px; border-right: 1px solid var(--line-strong); }
.seller-metrics > div:first-child { padding-left: 0; }
.seller-metrics > div:last-child { border-right: 0; }
.seller-metrics dt { color: var(--steel-600); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.seller-metrics dd { margin-top: 4px; font-family: var(--font-display); font-size: 2rem; line-height: 1; }

.seller-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 14px; }
.seller-toolbar input,
.seller-toolbar select {
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--paper-2);
  padding: 0 12px;
}
.seller-search { position: relative; width: min(100%, 380px); }
.seller-search svg { position: absolute; left: 12px; top: 12px; color: var(--steel-500); pointer-events: none; }
.seller-search input { width: 100%; padding-left: 40px; }
.seller-toolbar--orders { justify-content: flex-end; }

/* Keep the absolutely positioned screen-reader label inside the table scroller. */
.seller-table-wrap { position: relative; background: var(--paper-2); border: 1px solid var(--line); overflow-x: auto; }
.seller-table { width: 100%; min-width: 840px; border-collapse: collapse; }
.seller-table th { padding: 12px 16px; background: #e3dfd8; color: var(--steel-600); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; text-align: left; }
.seller-table td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: middle; font-size: .875rem; }
.seller-table tbody tr:hover { background: #f7f4ef; }
.seller-cell-stock, .seller-cell-price, .seller-cell-updated { white-space: nowrap; }
@media (min-width: 761px) and (max-width: 1280px) {
  .seller-table { min-width: 0; }
  .seller-table th:nth-child(5), .seller-cell-updated { display: none; }
  .seller-table .seller-listing-cell { min-width: 180px; }
  .seller-table th, .seller-table td { padding-inline: 10px; }
  .seller-table .seller-listing-cell b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .seller-table .seller-row-actions { display: grid; grid-template-columns: auto auto; justify-content: end; }
  .seller-table .seller-row-actions button[data-archive] { grid-column: 1 / -1; }
}
.seller-listing-cell { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; min-width: 280px; }
.seller-listing-cell img { width: 64px; aspect-ratio: 4/3; object-fit: cover; background: #e7e1d8; border-radius: var(--r-xs); }
.seller-listing-cell div { min-width: 0; }
.seller-listing-cell b,
.seller-listing-cell span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seller-listing-cell span { color: var(--steel-600); font-size: .75rem; }
.seller-status {
  display: inline-block;
  padding: 3px 8px;
  border-left: 3px solid var(--steel-500);
  background: #ece9e3;
  color: var(--steel-600);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.seller-status--active { border-color: #3a7744; color: #2e6737; background: #edf5ee; }
.seller-status--draft { border-color: #a06f20; color: #7b5315; background: #fbf3e3; }
.seller-status--new { border-color: var(--orange-600); color: var(--orange-700); background: #fdf2e2; }
.seller-status--confirmed { border-color: #246e8c; color: #1a5a75; background: #e9f4f8; }
.seller-status--fulfilled { border-color: #3a7744; color: #2e6737; background: #edf5ee; }
.seller-status--available,
.seller-status--booked { border-color: #3a7744; color: #2e6737; background: #edf5ee; }
.seller-status--quoted { border-color: #246e8c; color: #1a5a75; background: #e9f4f8; }
.seller-row-actions { display: flex; justify-content: flex-end; gap: 6px; }
.seller-row-actions button { min-height: 34px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-xs); background: transparent; font-size: .75rem; font-weight: 650; cursor: pointer; }
.seller-row-actions button:hover { border-color: var(--navy-850); }
.seller-row-actions button[data-archive] { color: var(--error-700); }
.seller-empty { padding: 36px; color: var(--steel-600); text-align: center; }

.seller-orders { display: grid; border-top: 1px solid var(--line-strong); }
.seller-order { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(220px, 1fr) minmax(280px, 1fr); gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.seller-order > * { min-width: 0; overflow-wrap: anywhere; }
.seller-order__customer h2 { margin-top: 7px; font-size: 1.25rem; }
.seller-order__customer a { display: block; color: var(--steel-600); font-size: .875rem; }
.seller-order__customer time { display: block; margin-top: 10px; color: var(--steel-500); font-size: .75rem; }
.seller-order__items { display: grid; gap: 8px; align-content: start; }
.seller-order__item { display: grid; grid-template-columns: 1fr auto; gap: 14px; font-size: .875rem; }
.seller-order__item span { color: var(--steel-600); }
.seller-order__flag { display: block; margin-top: 2px; color: var(--orange-700); font-size: .75rem; font-weight: 700; }
.seller-order__total { margin-top: 6px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 700; }
.seller-order__notes { margin-top: 10px; color: var(--steel-600); font-size: .8rem; }
.seller-order__manage { display: grid; align-content: start; gap: 10px; }
.seller-order__manage select { width: 100%; height: 40px; border: 1px solid var(--line-strong); background: var(--paper-2); padding: 0 10px; }
.seller-order__manage a { text-align: center; font-size: .8rem; font-weight: 650; }

/* ------------------------------------------- main site: trailers + requests -- */
.field__optional { margin-left: 4px; color: var(--steel-500); font-size: .75rem; font-weight: 500; text-transform: none; letter-spacing: 0; }
.seller-cell-price s { margin-right: 6px; color: var(--steel-500); font-size: .8em; }
.seller-request__details { margin-top: 6px; padding: 12px 14px; border-left: 3px solid var(--line-strong); background: #f3f0ea; color: var(--navy-850); font-size: .875rem; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.seller-inbox-switch { display: none; }
.listing-form__triple--even { grid-template-columns: repeat(3, 1fr); }
.listing-form__hint--after { margin: 8px 0 0; }
.trailer-alt { margin-top: 16px; }

/* ------------------------------------------ main website: shared views -- */
/* Escape trailers, the lot and projects are one "Main website" area. */
.seller-website-switch {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 4px;
  margin: 20px 0 0;
  padding: 4px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--paper-2);
}
.seller-website-switch button {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--steel-600);
  font-size: .85rem;
  font-weight: 650;
  cursor: pointer;
}
.seller-website-switch button:hover { color: var(--navy-850); }
.seller-website-switch button[aria-pressed="true"] { background: var(--navy-850); color: var(--white); }
.seller-projects__featured { margin: 18px 0 0; color: var(--steel-600); font-size: .875rem; }
.seller-status--published { border-color: #3a7744; color: #2e6737; background: #edf5ee; }
.seller-status--link_created { border-color: #246e8c; color: #1a5a75; background: #e9f4f8; }

/* photo sets: the first photo is the cover; staff can reorder and remove */
.listing-image--cover { outline: 3px solid var(--orange-600); outline-offset: -3px; }
.listing-image__cover {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 6px;
  border-radius: var(--r-xs);
  background: var(--orange-600);
  color: var(--navy-900);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.listing-image__tools {
  position: absolute;
  inset: auto 4px 4px;
  display: flex;
  gap: 4px;
}
.listing-image__tools button {
  flex: 1;
  min-height: 28px;
  padding: 0 6px;
  border: 0;
  border-radius: var(--r-xs);
  background: rgba(16, 30, 63, .88);
  color: #fff;
  font-size: .65rem;
  font-weight: 650;
  cursor: pointer;
}
.listing-image__tools button:hover { background: var(--orange-600); color: var(--navy-900); }
.listing-image__tools button:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 1px; }

/* checkbox rows with a title and a short explanation */
.listing-flags { display: grid; gap: 10px; margin: 6px 0 18px; padding: 0; border: 0; }
.listing-flags legend {
  margin-bottom: 8px;
  padding: 0;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--steel-600);
}
.listing-flag {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  cursor: pointer;
}
.listing-flag:has(input:checked) { border-color: var(--orange-600); background: #fdf6ea; }
.listing-flag input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange-700); }
.listing-flag span { display: grid; gap: 2px; }
.listing-flag b { font-size: .9rem; }
.listing-flag small { color: var(--steel-600); font-size: .78rem; line-height: 1.45; }
.project-sort { max-width: 220px; margin-top: 16px; }

/* scanner pilot: staff confirm they checked the AI draft before it goes live */
.listing-ai__review {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}
.listing-ai__review:has(input:checked) { border-color: var(--orange-light); }
.listing-ai__details { display: contents; }
.listing-ai__review input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange-600); }
.listing-ai__review span { display: grid; gap: 2px; }
.listing-ai__review b { font-size: .9rem; color: var(--white); }
.listing-ai__review small { color: var(--steel-300); font-size: .78rem; line-height: 1.45; }

/* Reviewed Shopmonkey invoice links on order requests */
.seller-pay { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.seller-pay__status { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0; font-size: .75rem; }
.seller-pay__status span { color: var(--steel-600); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.seller-pay__status b { padding: 2px 8px; border-radius: 999px; background: #ece9e3; color: var(--steel-600); font-size: .7rem; white-space: nowrap; }
.seller-pay__status b[data-pay-state="link_created"] { background: #e9f4f8; color: #1a5a75; }
.seller-pay__status b[data-pay-state="paid"] { background: #edf5ee; color: #2e6737; }
.seller-pay__status b[data-pay-state="refunded"],
.seller-pay__status b[data-pay-state="partially_refunded"] { background: #fbf3e3; color: #7b5315; }
.seller-pay__note { margin: 0; color: var(--steel-600); font-size: .75rem; line-height: 1.45; }
.seller-pay__shipping { display: grid; gap: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--steel-600); }
.seller-pay__shipping input { height: 38px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); font-size: .875rem; letter-spacing: 0; text-transform: none; }
.seller-pay .btn { min-height: 38px; font-size: .8125rem; white-space: normal; }
.seller-pay__link { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .8rem; font-weight: 650; }
.seller-pay__link button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.seller-pay__invoice { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; }
.seller-pay__invoice input { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); font: inherit; font-weight: 400; }
.seller-pay__review { display: grid; gap: 10px; font-size: .8rem; }
.seller-pay__review dl { margin: 0; }
.seller-pay__review dl > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; padding: 4px 0; }
.seller-pay__review dd { margin: 0; font-weight: 600; }
.seller-pay__status b[data-pay-state="review_required"],
.seller-pay__status b[data-pay-state="partially_paid"] { background: #fbf3e3; color: #7b5315; }

.listing-editor {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--r-md);
  background: var(--paper-2);
  box-shadow: 0 24px 80px rgba(0,0,0,.34);
}
.listing-editor::backdrop { background: rgba(12,22,48,.72); backdrop-filter: blur(3px); }
.listing-editor__head {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 36px);
  background: var(--navy-850);
  color: var(--paper-2);
}
.listing-editor__head h2 { font-size: 2rem; }
.listing-editor__head .icon-btn { color: var(--paper-2); }
.listing-form { padding-bottom: 100px; }
.listing-form__section { padding: 30px clamp(20px, 4vw, 36px); border-bottom: 1px solid var(--line); }
.listing-form__section h3 { margin-bottom: 22px; font-size: 1.18rem; }
.listing-form__triple { display: grid; grid-template-columns: 1fr 1.2fr .7fr; gap: 12px; }
.listing-form__hint { margin: -10px 0 18px; color: var(--steel-600); font-size: .875rem; }
.listing-upload { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 112px; border: 1px dashed var(--steel-400); background: #eeebe5; cursor: pointer; }
.listing-upload:hover { border-color: var(--orange-600); color: var(--orange-700); }
.listing-upload:has(+ input:focus-visible) { outline: 2px solid var(--orange-600); outline-offset: 2px; }
.listing-upload span { display: grid; }
.listing-upload small { color: var(--steel-600); }
.listing-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(116px, 1fr)); gap: 10px; margin-top: 14px; }
.listing-image { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #ddd7ce; }
.listing-image img { width: 100%; height: 100%; object-fit: cover; }
.listing-image label { position: absolute; inset: auto 4px 4px 4px; display: flex; align-items: center; gap: 5px; padding: 5px 7px; background: rgba(16,30,63,.88); color: #fff; font-size: .65rem; cursor: pointer; }
.listing-form__foot {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(20px, 4vw, 36px);
  background: var(--paper-2);
  border-top: 1px solid var(--line-strong);
  box-shadow: 0 -12px 24px rgba(16,30,63,.07);
}
.listing-form__foot > label { display: grid; gap: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.listing-form__foot select { min-width: 180px; height: 42px; border: 1px solid var(--line-strong); background: var(--white); padding: 0 10px; }
.listing-form__foot > div { display: flex; gap: 8px; }
.listing-form__error { position: sticky; bottom: 84px; margin: 0 clamp(20px, 4vw, 36px); }

@media (max-width: 1200px) {
  .seller-order { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .seller-order__manage { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}

@media (max-width: 980px) {
  .seller-auth { justify-content: center; }
  /* Tablet: every section fits in one evenly split row, so nothing needs a sideways scroll. */
  .seller-sidebar { position: sticky; top: 72px; z-index: 25; width: auto; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 8px; padding: 6px 12px; overflow: visible; }
  .seller-sidebar__identity { display: none; }
  .seller-sidebar nav { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 4px; }
  .seller-nav { position: relative; width: auto; min-height: 54px; grid-template-columns: 1fr; grid-template-rows: auto auto; justify-items: center; align-content: center; gap: 3px; padding: 6px 4px; text-align: center; font-size: .72rem; line-height: 1.15; }
  .seller-nav > span { position: absolute; top: 4px; left: calc(50% + 8px); min-width: 18px; padding: 0 5px; font-size: .62rem; line-height: 16px; }
  .seller-sidebar__signout { margin: 0; padding: 0 12px; border: 0; border-left: 1px solid var(--navy-600); white-space: nowrap; font-size: .75rem; }
  .seller-workspace { margin-left: 0; padding: 30px 20px 56px; }
  .seller-order { grid-template-columns: 1fr 1fr; }
  .seller-order__manage { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; }
}

@media (max-width: 640px) {
  .seller-topbar { min-height: 64px; }
  .seller-topbar__brand img { width: 132px; }
  .seller-topbar__brand span { display: none; }
  .seller-topbar__back { font-size: .75rem; }
  .seller-auth { padding: 24px 16px; }
  .seller-auth__panel { padding: 24px; }
  .seller-sidebar { top: 64px; }
  .seller-body:has(#seller-app:not([hidden])) .seller-topbar { min-height: 64px; }
  .seller-view__header { align-items: stretch; flex-direction: column; }
  .seller-view__header .btn { width: 100%; }
  .seller-metrics { grid-template-columns: 1fr 1fr; }
  .seller-metrics > div { padding: 14px; border-bottom: 1px solid var(--line); }
  .seller-metrics > div:nth-child(2) { border-right: 0; }
  .seller-metrics > div:nth-child(3) { padding-left: 0; border-bottom: 0; }
  .seller-metrics > div:nth-child(4) { border: 0; }
  .seller-toolbar { align-items: stretch; flex-direction: column; }
  .seller-search { width: 100%; }
  .seller-toolbar select { width: 100%; }
  .seller-order { grid-template-columns: 1fr; gap: 18px; }
  .seller-order__manage { grid-column: auto; grid-template-columns: 1fr; }
  .field--split,
  .listing-form__triple { grid-template-columns: 1fr; }
  .listing-form__foot { align-items: stretch; flex-direction: column; }
  .listing-form__foot select { width: 100%; }
  .listing-form__foot > div { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------ AI draft summary -- */
.seller-view__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.seller-view__actions .btn { white-space: nowrap; }
.listing-ai {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px clamp(20px, 4vw, 36px);
  background: var(--navy-800);
  color: var(--paper-2);
  border-bottom: 3px solid var(--orange-600);
}
.listing-ai__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.listing-ai .eyebrow { color: var(--steel-300); margin: 0; }
.listing-ai__confidence { padding: 3px 8px; border-radius: 999px; background: var(--navy-600); font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.listing-ai__confidence[data-level="high"] { background: #2e6737; }
.listing-ai__confidence[data-level="low"] { background: #7b5315; }
.listing-ai__price { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 24px; }
.listing-ai__price small { display: block; color: var(--steel-300); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.listing-ai__price b { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; }
.listing-ai__price span { font-weight: 600; }
.listing-ai p { margin: 0; color: var(--steel-200); font-size: .875rem; line-height: 1.5; }
.listing-ai__alternatives { display: grid; gap: 6px; }
.listing-ai__alternatives small { color: var(--steel-300); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.listing-ai__alternatives ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.listing-ai__alternatives button { width: 100%; display: grid; gap: 2px; min-height: 44px; padding: 9px 12px; border: 1px solid var(--navy-600); border-radius: var(--r-md); background: rgba(255,255,255,.04); color: var(--paper-2); text-align: left; cursor: pointer; }
.listing-ai__alternatives button:hover { border-color: var(--steel-400); background: rgba(255,255,255,.08); }
.listing-ai__alternatives button b { font-size: .875rem; }
.listing-ai__alternatives button span { color: var(--steel-300); font-size: .78rem; line-height: 1.4; }
.listing-ai__check { padding: 10px 12px; border-left: 3px solid var(--tan-light); background: rgba(255,255,255,.05); }

/* --------------------------------------------------------- scanner -- */
.scanner {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0a1430;
  color: var(--white);
  overflow: hidden;
}
.scanner[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.scanner::backdrop { background: #0a1430; }
@media (min-width: 761px) {
  .scanner { width: min(560px, calc(100vw - 32px)); height: min(860px, calc(100dvh - 32px)); margin: auto; border-radius: var(--r-lg); }
  .scanner::backdrop { background: rgba(12,22,48,.8); }
}
.scanner__head {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: calc(env(safe-area-inset-top) + 8px) 14px 10px 6px;
  background: linear-gradient(#0a1430, rgba(10,20,48,.6));
}
.scanner__head .icon-btn { width: 44px; height: 44px; color: var(--white); }
.scanner__head h2 { font-size: 1.15rem; color: var(--white); }
.scanner__head p { margin: 1px 0 0; color: var(--steel-300); font-size: .78rem; line-height: 1.3; }
.scanner__count { padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.scanner__stage { position: relative; min-height: 0; overflow: hidden; background: #000; }
.scanner__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scanner__frame { position: absolute; inset: 9% 8% 12%; pointer-events: none; }
.scanner__frame i { position: absolute; width: 38px; height: 38px; border: 3px solid var(--white); filter: drop-shadow(0 0 6px rgba(0,0,0,.5)); }
.scanner__frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 10px; }
.scanner__frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 10px; }
.scanner__frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 10px; }
.scanner__frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 10px; }
.scanner__line {
  position: absolute;
  left: 6%;
  right: 6%;
  top: 0;
  height: 2px;
  background: var(--orange-light);
  box-shadow: 0 0 14px 3px rgba(245,185,90,.55);
  animation: scanner-sweep 2.6s ease-in-out infinite alternate;
}
@keyframes scanner-sweep { from { top: 4%; } to { top: 96%; } }
.scanner__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  background: #0d1012;
  color: var(--steel-200);
  text-align: center;
}
.scanner__fallback[hidden] { display: none; }
.scanner__fallback p { max-width: 30ch; margin: 0; }
.scanner__flash { position: absolute; inset: 0; margin: 0; background: #fff; opacity: 0; pointer-events: none; }
.scanner__flash.is-on { animation: scanner-flash .32s ease-out; }
@keyframes scanner-flash { from { opacity: .75; } to { opacity: 0; } }

.scanner__analyzing { position: absolute; inset: 0; z-index: 2; display: grid; place-items: end center; background: #000; }
.scanner__analyzing[hidden] { display: none; }
.scanner__analyzing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.7); }
.scanner__analyzing::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(245,185,90,.28) 50%, transparent 100%) 0 -100% / 100% 60% no-repeat;
  animation: scanner-wash 1.8s linear infinite;
}
@keyframes scanner-wash { to { background-position: 0 250%; } }
.scanner__analyzing-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 0 16px 28px;
  padding: 18px 22px;
  border-radius: var(--r-lg);
  background: rgba(16,30,63,.86);
  backdrop-filter: blur(8px);
  text-align: center;
}
.scanner__analyzing-copy small { color: var(--steel-300); }
.scanner__spinner { width: 26px; height: 26px; border: 3px solid rgba(255,255,255,.2); border-top-color: var(--orange-light); border-radius: 50%; animation: scanner-spin .8s linear infinite; }
@keyframes scanner-spin { to { transform: rotate(360deg); } }

.scanner__tray { display: grid; gap: 10px; padding: 12px 16px calc(env(safe-area-inset-bottom) + 10px); background: #0a1430; }
.scanner__shots { display: flex; gap: 10px; margin: 0; padding: 8px 8px 0 0; list-style: none; overflow-x: auto; }
.scanner__shots[hidden] { display: none; }
.scanner__shots li { position: relative; flex: 0 0 auto; width: 60px; height: 60px; }
.scanner__shots img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); border: 2px solid rgba(255,255,255,.4); }
.scanner__shots button { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0; border: 2px solid #0a1430; border-radius: 50%; background: var(--white); color: var(--navy-900); cursor: pointer; }
.scanner__shots button::after { content: ""; position: absolute; inset: -10px; }
.scanner__notes input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-md); background: rgba(255,255,255,.08); color: var(--white); font-size: 16px; }
.scanner__notes input::placeholder { color: var(--steel-400); }
.scanner .form-error { margin: 0; }
.scanner__controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; padding: 4px 0; }
.scanner__side { min-width: 72px; min-height: 56px; display: grid; justify-items: center; align-content: center; gap: 3px; padding: 6px 10px; border: 0; border-radius: var(--r-lg); background: transparent; color: var(--steel-200); font-size: .72rem; font-weight: 650; cursor: pointer; }
.scanner__side:hover { color: var(--white); }
.scanner__side--go:not(:disabled) { background: var(--orange-600); color: var(--navy-900); }
.scanner__side--go:disabled { opacity: .4; cursor: default; }
.scanner__shutter { width: 76px; height: 76px; display: grid; place-items: center; padding: 0; border: 4px solid var(--white); border-radius: 50%; background: transparent; cursor: pointer; }
.scanner__shutter span { width: 58px; height: 58px; border-radius: 50%; background: var(--white); transition: transform .12s var(--ease); }
.scanner__shutter:active span { transform: scale(.88); }
.scanner__shutter:disabled { opacity: .35; cursor: default; }
.scanner__manual { justify-self: center; min-height: 36px; border: 0; background: transparent; color: var(--steel-300); font-size: .78rem; text-decoration: underline; cursor: pointer; }
.scanner.is-busy .scanner__frame,
.scanner.is-busy .scanner__controls label { opacity: .35; pointer-events: none; }
.scanner :focus-visible { outline: 2px solid var(--orange-light); outline-offset: 2px; }

/* ------------------------------------------------ mobile app shell -- */
.seller-tabbar,
.seller-account { display: none; }

@media (max-width: 760px) {
  .seller-body:has(#seller-app:not([hidden])) { background: var(--paper); }
  .seller-body:has(#seller-app:not([hidden])) .seller-topbar {
    position: sticky;
    top: 0;
    min-height: 0;
    padding: calc(env(safe-area-inset-top) + 10px) 16px 10px;
  }
  .seller-body:has(#seller-app:not([hidden])) .seller-topbar__back { display: none; }
  .seller-app { min-height: 0; }
  .seller-sidebar { display: none; }
  .seller-workspace { margin: 0; padding: 18px 16px calc(env(safe-area-inset-bottom) + 112px); min-height: 0; }

  .seller-view__header { gap: 14px; padding-bottom: 16px; border-bottom-width: 1px; }
  .seller-view__header h1 { font-size: 2.1rem; }
  .seller-view__header p:last-child { font-size: .875rem; }
  .seller-view__header .eyebrow { display: none; }
  .seller-view__actions { display: none; }
  .seller-view__actions--always { display: flex; }
  .seller-view__actions--always .btn { width: 100%; }
  .seller-inbox-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 12px 0; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-2); }
  .seller-website-switch { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 12px 0 0; }
  .seller-website-switch button { padding: 0 6px; font-size: .8rem; }
  .seller-inbox-switch button { min-height: 38px; border: 0; border-radius: 6px; background: transparent; color: var(--steel-600); font-size: .82rem; font-weight: 650; cursor: pointer; }
  .seller-inbox-switch button[aria-pressed="true"] { background: var(--navy-850); color: var(--white); }
  #seller-orders-view .seller-view__header .btn { width: auto; align-self: flex-start; }
  .seller-security__help { font-size: .875rem; }

  .seller-metrics { grid-template-columns: repeat(4, 1fr); margin: 14px 0; border: 0; gap: 8px; }
  .seller-metrics > div,
  .seller-metrics > div:first-child,
  .seller-metrics > div:nth-child(n) { padding: 10px 8px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-2); text-align: center; }
  .seller-metrics dt { font-size: .58rem; letter-spacing: .06em; }
  .seller-metrics dd { font-size: 1.45rem; }
  .seller-toolbar { flex-direction: row; margin: 0 0 12px; gap: 8px; }
  .seller-search { flex: 1; }
  .seller-toolbar > label:not(.seller-search) { flex: 0 0 132px; }
  .seller-toolbar select { width: 100%; }
  .seller-search { min-width: 0; }
  .seller-toolbar input, .seller-toolbar select { font-size: 16px; border-radius: var(--r-lg); }

  /* Inventory rows become tappable cards. */
  .seller-table-wrap { border: 0; background: transparent; overflow: visible; }
  .seller-table { min-width: 0; display: block; }
  .seller-table thead { display: none; }
  .seller-table tbody { display: grid; gap: 10px; }
  .seller-table tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--paper-2);
  }
  .seller-table tbody tr:hover { background: var(--paper-2); }
  .seller-table td { display: block; padding: 0; border: 0; }
  .seller-table td:first-child { grid-column: 1 / -1; }
  .seller-listing-cell { grid-template-columns: 76px 1fr; min-width: 0; }
  .seller-listing-cell img { width: 76px; border-radius: var(--r-md); }
  .seller-listing-cell b { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .seller-cell-status { grid-column: 1; grid-row: 2; }
  .seller-cell-price { grid-column: 2; grid-row: 2; font-family: var(--font-display); font-size: 1.15rem; text-align: right; }
  .seller-cell-stock { grid-column: 1; grid-row: 3; color: var(--steel-600); font-size: .8rem; }
  .seller-cell-updated { display: none !important; }
  .seller-table td:last-child { grid-column: 1 / -1; padding-top: 8px; border-top: 1px solid var(--line); }
  .seller-row-actions { display: grid; grid-template-columns: repeat(3, 1fr); }
  .seller-row-actions button { min-height: 40px; border-radius: var(--r-md); font-size: .8rem; }

  .seller-order { padding: 14px; margin-bottom: 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-2); }
  .seller-orders { border: 0; }
  .seller-order__manage select { font-size: 16px; }

  .seller-passkeys li { flex-wrap: wrap; }
  .seller-account { display: grid; gap: 14px; margin-top: 28px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper-2); }
  .seller-account__identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
  .seller-account__identity .seller-sidebar__avatar { color: var(--white); }
  .seller-account__identity div { display: grid; min-width: 0; }
  .seller-account__identity span:last-child { overflow: hidden; text-overflow: ellipsis; color: var(--steel-600); font-size: .8rem; }

  .seller-tabbar {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom) + 10px);
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    height: 66px;
    padding: 0 4px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 22px;
    background: rgba(23,42,85,.94);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 12px 32px rgba(16,30,63,.28);
  }
  .seller-tab {
    position: relative;
    height: 56px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 3px;
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--steel-400);
    font-size: .66rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--dur) var(--ease);
  }
  .seller-tab:hover { color: var(--steel-200); }
  .seller-tab.is-active { color: var(--white); }
  .seller-tab.is-active svg { color: var(--orange-light); }
  .seller-tab__badge { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--orange-600); color: var(--navy-900); font-size: .62rem; line-height: 18px; text-align: center; }
  .seller-tabbar__center { display: grid; place-items: center; }
  .seller-tabbar__scan {
    width: 62px;
    height: 62px;
    margin-top: -30px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 4px solid var(--paper);
    border-radius: 50%;
    background: var(--orange-600);
    color: var(--navy-900);
    box-shadow: 0 8px 20px rgba(219, 148, 33, .42);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .15s var(--ease), background var(--dur) var(--ease);
  }
  .seller-tabbar__scan:hover { background: var(--orange-500); color: var(--navy-900); }
  .seller-tabbar__scan:active { transform: scale(.92); }
  .seller-tab:focus-visible,
  .seller-tabbar__scan:focus-visible { outline: 2px solid var(--orange-light); outline-offset: 2px; }

  .seller-body .toast-region { bottom: calc(env(safe-area-inset-bottom) + 96px); }
  .seller-empty { padding: 32px 16px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); }
  .seller-empty__scan { display: block; margin-top: 6px; font-size: .8rem; }

  /* The product editor becomes a full-screen sheet. */
  .listing-editor { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .listing-editor__head { padding: calc(env(safe-area-inset-top) + 12px) 16px 12px; align-items: center; }
  .listing-editor__head h2 { font-size: 1.4rem; }
  .listing-editor .eyebrow { display: none; }
  .listing-form__section { padding: 22px 16px; }
  .listing-form input, .listing-form select, .listing-form textarea { font-size: 16px; }
  .listing-form__foot { padding: 12px 16px calc(env(safe-area-inset-bottom) + 12px); }
  .listing-ai { padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .scanner__line, .scanner__analyzing::after { animation: none; }
  .scanner__line { top: 50%; }
  .scanner__spinner { animation-duration: 2.4s; }
}

@media (prefers-reduced-motion: reduce) {
  .seller-body *, .seller-body *::before, .seller-body *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
