:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-muted: #eeeeec;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --soft: #8f8f95;
  --border: #d8d8dc;
  --border-strong: #c6c6cc;
  --accent: #2563eb;
  --accent-soft: #e9f0ff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* POD-84 homepage journey */
body .home-page {
  overflow: clip;
}

.home-page .hero {
  width: min(1180px, calc(100% - 32px));
  min-height: auto;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  grid-template-rows: none;
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  overflow: visible;
  background: transparent;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.home-page .hero h1 {
  width: auto;
  margin: 0;
  display: block;
  color: var(--text);
  font-size: clamp(3.5rem, 5.7vw, 5.2rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.93;
  text-align: left;
  white-space: normal;
  text-wrap: balance;
  transform: none;
}

.home-page .hero-action-buttons {
  width: min(100%, 600px);
  margin-top: clamp(30px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-page .hero-action-buttons .primary-action,
.home-page .hero-action-buttons .secondary-action {
  width: 100%;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 12px;
  text-align: center;
}

.home-page .hero-action-buttons .primary-action {
  border: 1px solid #ef715f;
  background: #ef715f;
  color: var(--text);
}

.home-page .hero-action-buttons .primary-action:hover {
  border-color: #e46251;
  background: #e46251;
}

.home-page .hero-action-buttons .secondary-action {
  border-color: var(--text);
  background: transparent;
}

.home-page .hero-action-buttons .primary-action:focus-visible,
.home-page .hero-action-buttons .secondary-action:focus-visible,
.lost-one-panel .action-link:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  height: clamp(420px, 46vw, 540px);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 0 7% 4%;
  border-radius: 48% 52% 42% 58% / 55% 42% 58% 45%;
  background: #f1d9d3;
  transform: rotate(-4deg);
}

.hero-part {
  position: absolute;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.12));
  animation: hero-part-entrance 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: transform, opacity;
}

.hero-earbud {
  top: 4%;
  left: 3%;
  z-index: 2;
  width: min(42%, 210px);
  transform: translate3d(0, 0, 0) rotate(-8deg);
}

.hero-case {
  right: -2%;
  bottom: 1%;
  z-index: 1;
  width: min(69%, 340px);
  animation-delay: 100ms;
  transform: translate3d(0, 0, 0) rotate(5deg);
}

@keyframes hero-part-entrance {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.98);
  }
}

.home-page .home-offers-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 82px;
  border-top: 1px solid var(--border);
}

.home-page .home-offers-grid {
  margin-top: 0;
}

.lost-one-panel {
  width: min(1180px, calc(100% - 32px));
  min-height: 260px;
  margin: 18px auto 76px;
  padding: clamp(30px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 24px;
  background: var(--text);
  color: var(--surface);
}

.lost-one-panel .eyebrow {
  color: #b7b7bd;
}

.lost-one-panel h2 {
  margin-top: 8px;
  font-size: clamp(3rem, 8vw, 7rem);
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.lost-one-panel .secondary-action {
  flex: 0 0 auto;
  min-height: 52px;
  border-color: var(--surface);
  background: var(--surface);
  color: var(--text);
}

.lost-one-panel .secondary-action:hover {
  border-color: #e4e4e1;
  background: #e4e4e1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-part {
    animation: none;
    will-change: auto;
  }
}

@media (max-width: 860px) {
  .home-page .hero {
    min-height: calc(100svh - 76px);
    padding: 48px 0 40px;
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
    gap: 28px;
  }

  .home-page .hero h1 {
    font-size: clamp(3.25rem, 7vw, 4.75rem);
  }

  .hero-visual {
    height: clamp(370px, 52vw, 500px);
  }
}

@media (max-width: 620px) {
  .home-page .hero {
    width: min(100% - 24px, 1180px);
    min-height: auto;
    padding: 28px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 26px;
  }

  .home-page .hero h1 {
    font-size: clamp(2.25rem, 9.5vw, 3rem);
    letter-spacing: -0.06em;
    line-height: 0.94;
  }

  .home-page .hero-action-buttons {
    margin-top: 24px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-page .hero-action-buttons .primary-action,
  .home-page .hero-action-buttons .secondary-action {
    min-height: 52px;
  }

  .hero-visual {
    flex: 0 0 300px;
    height: 300px;
  }

  .hero-earbud {
    left: 16%;
    width: min(32%, 122px);
  }

  .hero-case {
    right: 10%;
    width: min(48%, 184px);
  }

  .home-page .home-offers-section,
  .home-page .lost-one-panel {
    width: min(100% - 24px, 1180px);
  }

  .home-page .home-offers-section {
    padding: 24px 0 56px;
  }

  .home-page .home-offers-grid {
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-page .home-offers-grid .buyer-offer-card-link,
  .home-page .home-offers-grid .buyer-offer-card {
    border-radius: 12px;
  }

  .home-page .home-offers-grid .buyer-offer-copy {
    gap: 4px;
    padding: 12px;
  }

  .home-page .home-offers-grid .buyer-offer-badge {
    padding: 3px 6px;
    font-size: 0.58rem;
  }

  .home-page .home-offers-grid .buyer-offer-copy h3 {
    font-size: 0.92rem;
  }

  .home-page .home-offers-grid .buyer-offer-copy p {
    font-size: 0.78rem;
  }

  .home-page .home-offers-grid .buyer-offer-copy strong {
    margin-top: 5px;
    font-size: 1.05rem;
  }

  .lost-one-panel {
    min-height: 240px;
    margin-bottom: 54px;
    padding: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .lost-one-panel .secondary-action {
    width: 100%;
  }
}

.buyer-offers-page {
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 160px);
  margin: 0 auto;
  padding: 72px 0 96px;
}

.buyer-offers-heading {
  max-width: 720px;
}

.buyer-offers-heading h1 {
  margin-top: 10px;
  font-size: clamp(2.75rem, 6vw, 5.75rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.buyer-offers-heading > p:last-child {
  max-width: 580px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  overflow-wrap: anywhere;
}

.buyer-offers-filters {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.buyer-offers-filter-group {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.buyer-offers-filter-field {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.buyer-offers-filter-field[hidden] {
  display: none;
}

.buyer-offers-filter-field select {
  width: auto;
  min-height: 36px;
  padding: 0 34px 0 14px;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  background-color: #ededf0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%231d1d1f' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.4'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.buyer-offers-filter-group select {
  max-width: min(320px, 100%);
  field-sizing: content;
}

.buyer-offers-filter-field select:focus-visible,
.buyer-offers-clear:focus-visible,
.buyer-offers-submit-fallback:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.buyer-offers-sort-field {
  margin-left: auto;
}

.buyer-offers-sort-field select {
  width: 178px;
}

.buyer-offers-clear,
.buyer-offers-submit-fallback {
  min-height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border: 0;
  border-radius: 999px;
  background: #ededf0;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
}

[data-offer-browser][aria-busy="true"] .buyer-offers-results {
  opacity: 0.55;
}

.buyer-offers-results {
  margin-top: 26px;
}

.buyer-offers-results > h2 {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.buyer-offers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.buyer-offer-card-link {
  min-width: 0;
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
}

.buyer-offer-card-link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.buyer-offer-card {
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.055);
}

.buyer-offer-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-muted);
}

.buyer-offer-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.buyer-offer-copy {
  display: grid;
  gap: 6px;
  padding: 17px 18px 19px;
}

.buyer-offer-badge {
  width: fit-content;
  margin-bottom: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8f7ed;
  color: #176b36;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.buyer-offer-copy h3 {
  overflow: hidden;
  font-size: 1.08rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.buyer-offer-copy p {
  color: var(--muted);
  font-size: 0.9rem;
}

.buyer-offer-copy strong {
  margin-top: 8px;
  font-size: 1.22rem;
  line-height: 1;
}

.buyer-offers-pagination {
  margin-top: 42px;
}

.buyer-offers-pagination ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.buyer-offers-pagination a,
.buyer-offers-pagination [aria-current="page"] {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  text-decoration: none;
  font-weight: 650;
}

.buyer-offers-pagination a:hover {
  border-color: var(--border-strong);
  background: var(--surface-muted);
}

.buyer-offers-pagination [aria-current="page"] {
  border-color: var(--text);
  background: var(--text);
  color: var(--surface);
}

.buyer-offers-empty,
.buyer-offers-error {
  min-height: 300px;
  margin-top: 64px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  text-align: center;
}

.buyer-offers-empty h1,
.buyer-offers-empty > p:not(.eyebrow),
.buyer-offers-error h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.05;
}

.buyer-offers-empty .full-action,
.buyer-offers-error .full-action {
  width: auto;
}

@media (max-width: 860px) {
  .buyer-offers-filters {
    align-items: flex-start;
    flex-direction: column;
  }

  .buyer-offers-sort-field {
    margin-left: 0;
  }

  .buyer-offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .buyer-offers-page {
    width: min(100% - 24px, 1180px);
    padding: 48px 0 72px;
  }

  .buyer-offers-filters {
    width: calc(100% + 24px);
    margin-left: -12px;
    padding: 0 12px 8px;
    align-items: center;
    flex-direction: row;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .buyer-offers-filters::-webkit-scrollbar {
    display: none;
  }

  .buyer-offers-filter-group {
    flex: 0 0 auto;
    flex-wrap: nowrap;
  }

  .buyer-offers-filter-field,
  .buyer-offers-clear,
  .buyer-offers-sort-field {
    flex: 0 0 auto;
  }

  .buyer-offers-results,
  .buyer-offers-empty,
  .buyer-offers-error {
    margin-top: 42px;
  }

  .buyer-offers-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.has-modal {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

input,
select {
  min-width: 0;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.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;
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  min-height: 52px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

body > header:not(.site-header) {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--text);
}

.brand-mark img {
  width: 100%;
  height: 100%;
}

.brand-name {
  font-size: 1rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.header-nav a,
.auth-nav-form button,
.auth-status {
  padding: 6px 8px;
  border-radius: 8px;
  text-decoration: none;
}

.auth-nav-form {
  display: contents;
}

.auth-nav-form button {
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.auth-status {
  color: var(--text);
  font-weight: 600;
}

.header-nav a:hover,
.auth-nav-form button:hover {
  background: var(--surface-muted);
  color: var(--text);
}

.auth-shell {
  width: min(460px, calc(100% - 32px));
  min-height: calc(100svh - 52px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 48px 0 72px;
}

.auth-panel {
  width: 100%;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.08);
}

.auth-panel h1 {
  margin-top: 10px;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0;
}

.auth-form {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.social-auth-form {
  margin-top: 22px;
}

.google-action {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.google-action span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.google-action:hover {
  border-color: var(--border-strong);
  background: #fdfdfc;
}

.auth-divider {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
}

.auth-form label {
  display: grid;
  gap: 7px;
}

.auth-form label > span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.auth-form input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.52);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.auth-switch {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.auth-switch a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.auth-switch a:hover {
  text-decoration: underline;
}

.home-page {
  overflow: hidden;
}

.steps-section,
.trust-section,
.supported-section,
.home-offers-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  width: 100%;
  margin: 0;
}

.eyebrow,
.panel-kicker,
.mini-label,
.modal-step,
.placeholder-field span {
  display: block;
  color: var(--soft);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  min-height: calc(100svh - 52px);
  padding: clamp(18px, 2.8vw, 42px);
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 0;
  background: var(--surface);
  isolation: isolate;
}

.hero-stage {
  position: relative;
  min-height: min(58svh, 640px);
  display: grid;
  place-items: center;
  align-self: center;
}

.hero h1 {
  margin: 0;
  width: min(78vw, 1240px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3.4rem, 7.8vw, 9rem);
  color: var(--text);
  font-size: clamp(6.4rem, 14.4vw, 15.4rem);
  font-weight: 800;
  font-stretch: 115%;
  letter-spacing: 0;
  line-height: 0.82;
  text-align: center;
  white-space: nowrap;
  transform: scaleX(1.12);
  z-index: 1;
}

.hero-product {
  --hero-product-scroll-y: 0px;
  position: absolute;
  z-index: 2;
  width: clamp(280px, 28vw, 460px);
  max-height: min(44svh, 460px);
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.14));
  transform: translate3d(0, var(--hero-product-scroll-y), 0);
  animation: hero-product-entrance 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
  will-change: transform;
}

@keyframes hero-product-entrance {
  from {
    opacity: 0;
    transform: translate3d(0, calc(var(--hero-product-scroll-y) - 28px), 0) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translate3d(0, var(--hero-product-scroll-y), 0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-product {
    animation: none;
    transform: none;
    will-change: auto;
  }
}

.hero-actions {
  position: relative;
  z-index: 3;
  width: min(520px, 100%);
  align-self: end;
  justify-self: start;
}

.hero-actions p {
  max-width: 420px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.hero-action-buttons {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.section-heading {
  max-width: 640px;
}

.section-heading-centered {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.steps-section,
.trust-section,
.supported-section,
.home-offers-section {
  padding: 82px 0;
  border-top: 1px solid var(--border);
}

.home-offers-grid {
  margin-top: 34px;
}

.home-offers-empty {
  min-height: 220px;
  margin-top: 34px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.home-offers-empty a {
  color: var(--text);
  font-weight: 650;
}

.steps-grid,
.trust-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step-item,
.trust-grid article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.step-item span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
}

.step-item h3,
.trust-grid h3 {
  margin-top: 38px;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.trust-grid h3 {
  margin-top: 0;
}

.step-item p,
.trust-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.98rem;
}

.supported-tabs {
  margin: 32px auto 0;
  display: flex;
  justify-content: center;
  gap: 34px;
}

.supported-tab {
  position: relative;
  padding: 6px 0 12px;
  background: transparent;
  color: var(--soft);
  cursor: pointer;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 600;
}

.supported-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: transparent;
}

.supported-tab.is-active {
  color: var(--text);
}

.supported-tab.is-active::after {
  background: var(--text);
}

.supported-panel {
  margin-top: 54px;
}

.supported-panel[hidden] {
  display: none;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 42px;
  row-gap: 58px;
}

.part-tile {
  min-width: 0;
  min-height: 286px;
  padding: 0;
  display: grid;
  grid-template-rows: 190px auto;
  align-items: start;
  gap: 22px;
  background: transparent;
  color: var(--text);
  text-align: center;
  cursor: default;
}

.part-tile img {
  width: 100%;
  height: 190px;
  object-fit: contain;
}

.parts-grid-cases .part-tile img {
  padding: 8px 0;
}

.part-tile span {
  display: block;
  max-width: 230px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 600;
  line-height: 1.24;
}

.part-tile:focus-visible,
.supported-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.primary-action,
.secondary-action,
.full-action {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.primary-action,
.full-action {
  background: var(--accent);
  color: #fff;
}

.secondary-action {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
}

.primary-action:hover,
.full-action:hover {
  background: #1d4ed8;
}

.secondary-action:hover {
  border-color: var(--border-strong);
  background: #fdfdfc;
}

.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.primary-action:active,
.secondary-action:active,
.full-action:active,
.choice-card:active,
.part-options button:active {
  transform: translateY(1px);
}

.preview-panel {
  min-height: 360px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.preview-panel-large {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(240px, 1fr);
  align-items: center;
}

.preview-copy {
  padding: 32px;
}

.preview-copy h2 {
  margin-top: 10px;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.preview-copy p {
  margin-top: 12px;
  color: var(--muted);
}

.preview-panel img {
  width: 100%;
  height: 100%;
  max-height: 330px;
  object-fit: contain;
  object-position: center;
  padding: 24px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mini-panel {
  min-height: 120px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.mini-panel strong {
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.25;
}

.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

body > footer:not(.site-footer) {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 34px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer div {
  display: flex;
  gap: 16px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

body > footer:not(.site-footer) a {
  color: var(--muted);
}

body > footer:not(.site-footer) a:hover {
  color: var(--text);
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  place-items: center;
  padding: 18px;
  background: rgba(246, 246, 244, 0.78);
  backdrop-filter: blur(18px);
}

.modal-layer.is-visible {
  display: grid;
}

.modal {
  position: relative;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)) padding-box,
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(198, 198, 204, 0.58), rgba(255, 255, 255, 0.72)) border-box;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.modal-wide {
  width: min(760px, 100%);
}

.modal h2 {
  margin-top: 10px;
  padding-right: 44px;
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.modal:has(.modal-back) h2 {
  margin-top: 18px;
}

.modal-copy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1rem;
}

.icon-button {
  position: absolute;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 198, 204, 0.72);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 247, 246, 0.88));
  color: var(--muted);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(0, 0, 0, 0.06);
  transition: border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 140ms ease, background 140ms ease;
}

.icon-button:hover {
  border-color: var(--border-strong);
  background: #ffffff;
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 22px rgba(0, 0, 0, 0.09);
}

.icon-button:active {
  transform: translateY(1px);
}

.icon-button:focus-visible {
  outline: none;
  border-color: rgba(37, 99, 235, 0.52);
  color: var(--text);
  box-shadow: 0 0 0 3px var(--accent-soft), inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 22px rgba(0, 0, 0, 0.09);
}

.icon-button svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.modal-close {
  top: 18px;
  right: 18px;
}

.modal-back {
  top: 18px;
  left: 18px;
}

.modal-back svg {
  transform: translateX(-0.5px);
}

.modal-back + .modal-close + .modal-step,
.modal-back ~ .modal-step {
  margin-left: 44px;
  margin-right: 44px;
}

.choice-grid {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.choice-card {
  min-height: 120px;
  padding: 16px;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.choice-card:hover {
  border-color: var(--accent);
  background: #fbfdff;
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  font-size: 1.08rem;
}

.choice-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.choice-visual {
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-muted);
}

.choice-visual img {
  max-height: 76px;
  width: 100%;
  object-fit: contain;
  padding: 8px;
}

.part-options {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.part-options button {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.2;
}

.part-options button:hover,
.part-options button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #0f3c9c;
}

.placeholder-field {
  margin-top: 14px;
  padding: 16px;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  background: #fbfbfa;
}

.placeholder-field strong {
  display: block;
  margin-top: 7px;
  font-size: 0.98rem;
}

.full-action {
  width: 100%;
  margin-top: 16px;
}

.full-action:disabled,
.primary-action:disabled,
.secondary-action:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
}

.buyer-progress {
  width: min(210px, 100%);
  margin: 20px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 54px);
  justify-content: center;
  gap: 8px;
}

.buyer-progress span {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-muted);
}

.buyer-progress span.is-active {
  background: var(--accent);
}

.buyer-step {
  margin-top: 22px;
}

.buyer-part-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.buyer-part-card {
  min-height: 190px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.buyer-part-card:hover,
.buyer-part-card[aria-pressed="true"] {
  border-color: var(--accent);
  background: #fbfdff;
}

.buyer-part-card[aria-pressed="true"] {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent), 0 12px 26px rgba(37, 99, 235, 0.12);
}

.buyer-part-card strong,
.buyer-part-card small {
  display: block;
}

.buyer-part-card strong {
  font-size: 1.02rem;
}

.buyer-part-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.9rem;
}

.buyer-part-image {
  height: 116px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-muted);
}

.buyer-part-card[aria-pressed="true"] .buyer-part-image {
  background: #ffffff;
}

.buyer-part-image img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  padding: 8px;
}

.buyer-model-card,
.empty-results,
.request-success {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.buyer-model-card {
  margin-bottom: 14px;
}

.buyer-model-card h3,
.empty-results h3 {
  margin-top: 8px;
  font-size: 1.45rem;
  line-height: 1.08;
}

.buyer-model-card p,
.empty-results p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

.buyer-request-form label {
  display: grid;
  gap: 7px;
}

.buyer-request-form label > span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.buyer-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.buyer-model-option {
  min-height: 178px;
  padding: 12px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.buyer-model-option:hover,
.buyer-model-option[aria-pressed="true"] {
  border-color: var(--accent);
  background: #fbfdff;
}

.buyer-model-option[aria-pressed="true"] {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent), 0 12px 26px rgba(37, 99, 235, 0.12);
}

.buyer-model-image {
  height: 118px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-muted);
}

.buyer-model-option[aria-pressed="true"] .buyer-model-image {
  background: #ffffff;
}

.buyer-model-image img {
  width: 100%;
  height: 104px;
  object-fit: contain;
  padding: 8px;
}

.buyer-model-option strong {
  font-size: 0.98rem;
  line-height: 1.2;
}

.buyer-request-form {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.buyer-request-form input {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
}

.buyer-request-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.buyer-request-form .full-action {
  margin-top: 0;
  white-space: nowrap;
}

.buyer-selected-part {
  margin-bottom: 12px;
  padding: 10px 12px;
  display: inline-grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfbfa;
}

.buyer-selected-part img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  padding: 6px;
  border-radius: 8px;
  background: var(--surface-muted);
}

.buyer-selected-part small,
.buyer-selected-part strong,
.buyer-selected-part em {
  display: block;
}

.buyer-selected-part small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.buyer-selected-part strong {
  font-size: 0.98rem;
}

.buyer-selected-part em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
}

.request-success {
  margin-top: 14px;
  display: grid;
  gap: 4px;
  background: var(--accent-soft);
  border-color: rgba(37, 99, 235, 0.28);
}

.request-success[hidden] {
  display: none;
}

.request-success span {
  color: var(--muted);
  font-size: 0.92rem;
}

.sell-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 44px;
  align-items: start;
}

.dashboard-shell,
.submission-detail-shell {
  width: min(1040px, calc(100% - 32px));
  min-height: calc(100svh - 150px);
  margin: 0 auto;
  padding: 54px 0 72px;
}

.dashboard-heading,
.submission-detail-heading,
.detail-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.dashboard-heading h1,
.submission-detail-heading h1 {
  margin-top: 8px;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.dashboard-heading p:last-child,
.submission-detail-heading p:last-child {
  margin-top: 14px;
  max-width: 620px;
  color: var(--muted);
}

.dashboard-create-action,
.detail-section-heading .full-action {
  flex: 0 0 auto;
  width: auto;
  margin-top: 0;
}

.dashboard-messages {
  margin-top: 28px;
}

.dashboard-messages .form-success {
  margin: 0;
}

.submission-list {
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.submission-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.06);
}

.submission-card--changes-requested {
  border-color: #e9b6a3;
}

.submission-card-main {
  padding: 20px;
  display: grid;
  grid-template-columns: 152px minmax(0, 1fr);
  gap: 22px;
  color: inherit;
  text-decoration: none;
}

.submission-card-main:hover .submission-card-copy > strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.submission-card-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--soft);
  font-weight: 750;
}

.submission-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.submission-card-copy {
  min-width: 0;
  display: grid;
  align-content: start;
}

.submission-card-topline {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.submission-card-topline time {
  color: var(--muted);
  font-size: 0.82rem;
}

.status-badge {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1;
}

.status-badge--under-verification {
  border-color: rgba(37, 99, 235, 0.25);
  background: var(--accent-soft);
  color: #174ea6;
}

.status-badge--changes-requested,
.status-badge--not-published {
  border-color: rgba(194, 65, 12, 0.24);
  background: #fff4ed;
  color: #9a3412;
}

.status-badge--published {
  border-color: rgba(22, 163, 74, 0.24);
  background: #edf8f0;
  color: #166534;
}

.submission-card-copy > strong {
  font-size: 1.45rem;
  line-height: 1.1;
}

.submission-card-copy > span:not(.submission-card-topline) {
  margin-top: 3px;
  color: var(--muted);
}

.submission-card-copy .submission-price {
  margin-top: 12px;
  color: var(--text);
  font-weight: 750;
}

.submission-card-copy .submission-reason {
  margin-top: 14px;
  padding: 11px 12px;
  border-radius: 8px;
  background: #fff4ed;
  color: #7c2d12;
  line-height: 1.4;
}

.submission-reason b {
  display: block;
  margin-bottom: 2px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.submission-card-actions {
  padding: 14px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--border);
  background: #fbfbfa;
}

.submission-card-actions .full-action,
.submission-card-actions .secondary-action {
  width: auto;
  margin: 0;
}

.dashboard-empty {
  margin-top: 34px;
  padding: clamp(30px, 7vw, 72px);
  display: grid;
  justify-items: start;
  gap: 12px;
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  background: var(--surface);
}

.dashboard-empty h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.dashboard-empty > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

.dashboard-empty .full-action {
  width: auto;
}

.detail-back-link {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.detail-back-link:hover {
  color: var(--text);
}

.submission-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  align-items: start;
  gap: 22px;
}

.submission-gallery-panel,
.submission-information-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.submission-gallery-panel {
  min-width: 0;
  overflow: hidden;
}

.submission-gallery-heading {
  padding: 20px 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.submission-gallery-heading h2,
.submission-information-card h2 {
  margin-top: 4px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.submission-gallery-heading > p {
  color: var(--muted);
  font-size: 0.82rem;
  text-align: right;
}

.submission-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 0.5fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  height: 640px;
  gap: 2px;
  background: var(--border);
}

.submission-gallery-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #f3f3f1;
}

.submission-gallery-photo--primary {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.submission-gallery-photo:nth-child(2) {
  grid-column: 2 / span 2;
}

.submission-gallery-grid--expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: 760px;
}

.submission-gallery-grid--expanded .submission-gallery-photo--primary {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.submission-gallery-grid--expanded .submission-gallery-photo:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.submission-gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.submission-gallery-photo:hover img {
  transform: scale(1.015);
}

.submission-gallery-photo:focus-visible {
  z-index: 1;
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.submission-gallery-photo span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  width: fit-content;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.78);
  color: #fff;
  font-size: 0.74rem;
  line-height: 1;
  text-transform: capitalize;
}

.submission-information-column {
  display: grid;
  gap: 16px;
}

.submission-information-card {
  padding: 22px;
}

.submission-information-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.submission-summary-card h1 {
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.submission-information-meta {
  margin-top: 10px;
  color: var(--muted);
}

.submission-information-price {
  margin-top: 22px;
  font-size: 1.55rem;
  font-weight: 780;
}

.offer-detail-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.offer-detail-actions .full-action {
  margin-top: 0;
}

.submission-information-card > p:last-child:not(.eyebrow) {
  margin-top: 14px;
  color: var(--muted);
  white-space: pre-wrap;
}

.submission-edit-action {
  margin-top: 18px;
}

.submission-detail-reason {
  margin-top: 20px;
  padding: 14px;
  border: 1px solid #e9b6a3;
  border-radius: 8px;
  background: #fff7f2;
}

.submission-detail-reason > p:last-child {
  margin-top: 6px;
  white-space: pre-wrap;
}

.submission-information-list {
  margin-top: 22px;
  border-top: 1px solid var(--border);
}

.submission-information-list > div {
  padding: 11px 0;
  display: grid;
  grid-template-columns: minmax(105px, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
  border-bottom: 1px solid var(--border);
}

.submission-information-list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.submission-information-list dt {
  color: var(--muted);
}

.submission-information-list dd {
  overflow-wrap: anywhere;
  font-weight: 650;
}

.submission-lightbox {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  height: min(900px, calc(100svh - 32px));
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.submission-lightbox::backdrop {
  background: rgba(8, 8, 10, 0.9);
  backdrop-filter: blur(8px);
}

.submission-lightbox-layout {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 62px;
  align-items: center;
  gap: 14px;
}

.submission-lightbox-stage {
  height: 100%;
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
  border-radius: 12px;
  background: #111113;
}

.submission-lightbox-stage img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.submission-lightbox-stage figcaption {
  padding: 13px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: #1d1d1f;
  color: #fff;
}

.submission-lightbox-arrow,
.submission-lightbox-close {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.82);
  color: #fff;
  cursor: pointer;
}

.submission-lightbox-arrow {
  width: 52px;
  height: 52px;
  font-size: 1.45rem;
}

.submission-lightbox-arrow:hover,
.submission-lightbox-close:hover {
  background: #fff;
  color: var(--text);
}

.submission-lightbox-arrow:focus-visible,
.submission-lightbox-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.submission-lightbox-close {
  position: fixed;
  z-index: 1;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  font-size: 1.8rem;
  line-height: 1;
}

.sell-intro {
  position: sticky;
  top: 24px;
}

.sell-intro h1 {
  max-width: 560px;
}

.sell-intro img {
  width: min(380px, 100%);
  margin-top: 30px;
}

.sell-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-success,
.form-errors,
.field-error {
  border-radius: 8px;
}

.form-success,
.form-errors {
  margin-bottom: 20px;
  padding: 14px 16px;
  display: grid;
  gap: 3px;
}

.form-success {
  border: 1px solid #b7d9c2;
  background: #edf8f0;
  color: #14532d;
}

.form-success span {
  color: #276749;
}

.form-errors,
.field-error {
  border: 1px solid #f0b8b8;
  background: #fff1f1;
  color: #991b1b;
}

.form-error-list {
  margin: 8px 0 0 18px;
}

.field-error {
  margin-top: 10px;
  padding: 10px 12px;
}

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

.sell-progress {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.sell-progress span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.sell-progress span.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #0f3c9c;
}

.sell-step {
  display: grid;
  gap: 18px;
}

.step-heading h2 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.sell-part-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.sell-part-card {
  min-height: 126px;
  padding: 16px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.sell-part-card:hover,
.sell-part-card:has(input:checked) {
  border-color: var(--accent);
  background: #fbfdff;
}

.sell-part-card input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.sell-part-card strong,
.sell-part-card small {
  display: block;
}

.sell-part-card small {
  margin-top: 4px;
  color: var(--muted);
}

.item-section {
  padding: 18px;
  display: grid;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfbfa;
}

.item-section h3 {
  font-size: 1.18rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid label,
.notes-field {
  display: grid;
  gap: 7px;
}

.form-grid label > span,
.notes-field > span {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 650;
}

.form-grid input,
.form-grid select,
.notes-field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 10px 12px;
}

.notes-field textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.notes-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  outline: none;
}

.wide-field {
  grid-column: 1 / -1;
}

.form-grid label > .address-autocomplete-control {
  position: relative;
  display: block;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.address-autocomplete-dropdown {
  position: absolute;
  z-index: 30;
  top: calc(100% + 2px);
  right: 0;
  left: 0;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.16);
}

.address-autocomplete-dropdown[hidden] {
  display: none;
}

.address-autocomplete-option {
  padding: 11px 12px;
  color: var(--text);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
}

.address-autocomplete-option + .address-autocomplete-option {
  border-top: 1px solid var(--border);
}

.address-autocomplete-option:hover,
.address-autocomplete-option.is-active {
  background: var(--accent-soft);
}

.address-autocomplete-attribution {
  display: flex;
  justify-content: flex-end;
  padding: 7px 10px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.address-autocomplete-attribution img {
  width: 120px;
  height: auto;
}

.address-autocomplete-disclosure {
  color: var(--muted);
  font-size: 0.78rem;
}

.address-autocomplete-warning {
  display: block;
  margin-top: 7px;
  color: #991b1b;
  font-size: 0.82rem;
  font-weight: 500;
}

.cleaning-check {
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.cleaning-check input,
.toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.section-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.photo-slot {
  min-height: 292px;
  display: grid;
  grid-template-rows: 182px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.photo-file-input,
.photo-slot input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.photo-slot-preview {
  position: relative;
  width: 100%;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(45, 212, 191, 0.08)),
    #f7f7f5;
  cursor: pointer;
}

.photo-slot-preview:hover .photo-slot-frame {
  border-color: var(--border-strong);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
}

.photo-slot-preview:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--accent-soft);
}

.photo-slot-preview:focus-visible .photo-slot-frame {
  border-color: rgba(37, 99, 235, 0.52);
}

.photo-slot-frame {
  position: relative;
  width: min(118px, 54%);
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(198, 198, 204, 0.82);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
}

.photo-slot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.photo-upload-glyph {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(198, 198, 204, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--soft);
  font-weight: 700;
}

.photo-preview-message {
  padding: 0 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.photo-replace-glyph {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.72);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
}

.photo-slot-preview:hover .photo-replace-glyph {
  background: rgba(29, 29, 31, 0.84);
}

.photo-upload-glyph svg,
.photo-replace-glyph svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

.photo-slot-body {
  min-width: 0;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.photo-slot-title-row {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.photo-slot-title-row div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.photo-slot-title-row strong {
  font-size: 1rem;
  line-height: 1.2;
}

.photo-slot-title-row small,
.photo-slot-footer small {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.photo-status {
  flex: 0 0 auto;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #f7f7f5;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.photo-slot[data-status="uploaded"] .photo-status {
  border-color: rgba(22, 163, 74, 0.24);
  background: rgba(22, 163, 74, 0.08);
  color: #15803d;
}

.photo-slot[data-status="selected"] .photo-status {
  border-color: rgba(37, 99, 235, 0.26);
  background: var(--accent-soft);
  color: var(--accent);
}

.photo-slot-footer {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.photo-slot-footer small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-slot-actions {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.photo-icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(198, 198, 204, 0.72);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 8px 18px rgba(0, 0, 0, 0.05);
  transition: border-color 140ms ease, box-shadow 140ms ease, color 140ms ease, transform 140ms ease, background 140ms ease;
}

.photo-icon-button[hidden] {
  display: none;
}

.photo-icon-button:hover {
  border-color: var(--border-strong);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 10px 22px rgba(0, 0, 0, 0.08);
}

.photo-icon-button:active {
  transform: translateY(1px);
}

.photo-icon-button:focus-visible {
  outline: none;
  border-color: rgba(37, 99, 235, 0.52);
  color: var(--text);
  box-shadow: 0 0 0 3px var(--accent-soft), inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 22px rgba(0, 0, 0, 0.09);
}

.photo-icon-button svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.toggle-row {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.toggle-row label {
  min-height: 46px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

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

.reverification-warning {
  margin-top: 18px;
  padding: 16px;
  display: grid;
  gap: 8px;
  border: 1px solid #e9b6a3;
  border-radius: 8px;
  background: #fff4ed;
  color: #7c2d12;
}

.reverification-warning p {
  font-size: 0.9rem;
}

.reverification-warning label {
  margin-top: 4px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 650;
}

.reverification-warning input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.review-box {
  padding: 16px;
  display: grid;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfbfa;
}

.review-box p {
  color: var(--muted);
}

.sell-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: 12px;
}

.sell-actions .full-action,
.sell-actions .secondary-action {
  width: 100%;
  margin-top: 0;
}

.buyer-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
}

.buyer-actions .full-action {
  margin-top: 0;
}

.buyer-secondary {
  min-width: 90px;
}

.section-note {
  margin-top: 7px;
  max-width: 520px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}


.recommended-price-hint {
  margin-bottom: 11px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.25;
}

.model-number-field {
  position: relative;
}

.model-help-button {
  width: 22px;
  height: 22px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  color: var(--soft);
  cursor: help;
}

.model-help-link {
  text-decoration: none;
  cursor: pointer;
}

.model-help-button:hover,
.model-help-button:focus-visible {
  color: var(--text);
  background: var(--surface-muted);
}

.model-help-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.model-help-button svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.model-help-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: min(250px, calc(100vw - 56px));
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(29, 29, 31, 0.96);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-2px);
  transition: opacity 140ms ease, transform 140ms ease;
}

.field-title:hover .model-help-tooltip,
.field-title:focus-within .model-help-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.cleaning-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.94rem;
}

.cleaning-check {
  min-height: 22px;
  margin-top: 8px;
  align-items: center;
  color: var(--text);
  font-weight: 600;
}

.cleaning-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--text);
}

.badge-preview {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfbfa;
}

.badge-preview > span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.badge-preview div {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-preview strong {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.85rem;
}

.legal {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding-top: 1.5rem;
  padding-bottom: 3rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal .back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  text-decoration: none;
}

.legal .back-link:hover {
  color: var(--text);
}

.legal a {
  color: var(--accent);
  word-break: break-word;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-size: 1.125rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal p {
  margin-bottom: 1rem;
}

.legal ul {
  margin: 0 0 1rem 1.25rem;
  padding-left: 0.5rem;
}

@media (max-width: 860px) {
  .site-header {
    min-height: auto;
    padding: 12px 0;
    align-items: flex-start;
  }

  .header-nav {
    gap: 2px;
    font-size: 0.84rem;
  }

  .header-nav a {
    padding: 7px 6px;
  }

  .submission-detail-layout {
    grid-template-columns: 1fr;
  }

  .steps-section,
  .trust-section,
  .supported-section,
  .home-offers-section {
    padding: 58px 0;
  }

  .sell-shell {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sell-intro {
    position: static;
  }

  .steps-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .step-item,
  .trust-grid article {
    min-height: auto;
  }

  .step-item h3 {
    margin-top: 28px;
  }

  .parts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    row-gap: 42px;
  }

  .part-tile {
    grid-template-rows: 168px auto;
    min-height: 250px;
  }

  .part-tile img {
    height: 168px;
  }

  .hero {
    min-height: calc(100svh - 76px);
    padding: 22px;
  }

  .hero-stage {
    min-height: min(55svh, 540px);
  }

  .hero h1 {
    width: min(90vw, 840px);
    gap: clamp(2.2rem, 7vw, 4.8rem);
    font-size: clamp(5.35rem, 19vw, 9.6rem);
    transform: scaleX(1.08);
  }

  .hero-product {
    width: clamp(235px, 40vw, 330px);
    max-height: 36svh;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: min(100% - 24px, 1180px);
    min-height: 48px;
    padding: 8px 0;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
  }

  .steps-section,
  .trust-section,
  .supported-section,
  .home-offers-section,
  .sell-shell,
  .site-footer,
  .dashboard-shell,
  .submission-detail-shell {
    width: min(100% - 16px, 1180px);
  }

  .dashboard-shell,
  .submission-detail-shell {
    padding: 34px 0 52px;
  }

  .dashboard-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-create-action {
    width: 100%;
  }

  .submission-card-main {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .submission-card-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .submission-card-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 14px;
  }

  .submission-card-actions .full-action,
  .submission-card-actions .secondary-action {
    width: 100%;
  }

  .submission-gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .submission-gallery-heading > p {
    text-align: left;
  }

  .submission-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
  }

  .submission-gallery-photo {
    flex: 1 1 calc(33.333% - 2px);
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .submission-gallery-photo--primary {
    flex-basis: 100%;
  }

  .submission-information-card {
    padding: 18px;
  }

  .offer-detail-actions {
    grid-template-columns: 1fr;
  }

  .submission-lightbox {
    width: calc(100% - 16px);
    height: calc(100svh - 16px);
  }

  .submission-lightbox-layout {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 4px;
  }

  .submission-lightbox-arrow {
    width: 40px;
    height: 40px;
  }

  .submission-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .header-nav {
    width: auto;
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1px;
    font-size: 0.74rem;
  }

  .header-nav a {
    padding: 4px 3px;
  }

  .hero {
    min-height: calc(100svh - 48px);
    padding: 18px;
  }

  .hero-stage {
    min-height: 45svh;
    align-self: start;
  }

  .hero h1 {
    width: 100%;
    gap: clamp(0.65rem, 5vw, 1.1rem);
    font-size: clamp(3.45rem, 16.5vw, 6.1rem);
    transform: none;
  }

  .hero-product {
    width: clamp(135px, 40vw, 175px);
    max-height: 22svh;
  }

  .hero-actions {
    width: auto;
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-actions p {
    font-size: 1rem;
  }

  .hero-action-buttons {
    display: grid;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .steps-section,
  .trust-section,
  .supported-section {
    padding: 44px 0;
  }

  .supported-tabs {
    gap: 22px;
  }

  .supported-tab {
    font-size: 1.08rem;
  }

  .supported-panel {
    margin-top: 38px;
  }

  .parts-grid {
    column-gap: 12px;
    row-gap: 34px;
  }

  .part-tile {
    grid-template-rows: 132px auto;
    min-height: 212px;
    gap: 16px;
  }

  .part-tile img {
    height: 132px;
  }

  .part-tile span {
    font-size: 1rem;
    line-height: 1.22;
  }

  .modal {
    padding: 24px 18px 18px;
  }

  .modal h2 {
    font-size: 2.15rem;
  }

  .choice-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .choice-visual {
    height: 76px;
  }

  .part-options {
    grid-template-columns: 1fr;
  }

  .modal-wide {
    width: min(100%, 560px);
  }

  .buyer-part-grid,
  .buyer-model-grid,
  .buyer-request-form,
  .sell-part-grid,
  .form-grid,
  .photo-grid,
  .toggle-row {
    grid-template-columns: 1fr;
  }

  .sell-panel {
    padding: 20px;
  }

  .sell-progress {
    grid-template-columns: 1fr;
  }

  .sell-actions {
    grid-template-columns: 1fr;
  }

  .photo-slot {
    min-height: 292px;
    grid-template-rows: 176px minmax(0, 1fr);
  }

  .photo-slot-frame {
    width: min(116px, 62%);
  }

  .photo-slot-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .photo-slot-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .photo-slot-actions {
    align-self: flex-end;
  }

  .buyer-part-card {
    min-height: 118px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
  }

  .buyer-part-image {
    height: 96px;
  }

  .buyer-part-image img {
    height: 84px;
  }

  .buyer-model-option {
    min-height: 118px;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    align-content: center;
  }

  .buyer-model-image {
    height: 96px;
  }

  .buyer-model-image img {
    height: 84px;
  }

  .buyer-request-form .full-action {
    width: 100%;
  }

  .buyer-actions {
    grid-template-columns: 1fr;
  }

  .buyer-secondary {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
