/* Angler-to-angler idle board.  Kept separate so the map and ticket styles
   can evolve without changing the listing workflow. */
body .lake-market-page {
  --market-accent: var(--lake-green, #08705f);
  --market-accent-dark: var(--lake-green-dark, #075548);
  --market-line: var(--lake-line, #d8e1dd);
  --market-muted: var(--lake-muted, #66746e);
  --market-paper: var(--lake-paper, #fbfcfa);
  width: min(100%, 760px);
  min-height: calc(100vh - 110px);
  margin: 0 auto;
  color: var(--lake-ink, #17231f);
  background: var(--market-paper);
}

/* The front navigation gained the fifth "闲置" destination.  The legacy
   app stylesheet still declares four columns, which would wrap the last tab
   into a second row on phones. */
body.front-app .mobile-nav {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

body .lake-market-page svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

body .market-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

/* lake.css treats every header span as a vertical title; this span is the
   action cluster on the right and must stay horizontal on narrow screens. */
body .lake-ledger-header > span.market-header-actions {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
}

body .market-header-actions .lake-publish-button {
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}

body .market-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
  padding: 7px 12px;
  border-bottom: 1px solid var(--market-line);
  background: var(--market-paper);
}

body .market-search > svg {
  color: var(--market-accent);
}

body .market-search > input {
  min-width: 0;
  flex: 1 1 auto;
  height: 34px;
  padding: 0;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

body .market-search > input::placeholder {
  color: var(--market-muted);
}

body .market-search > button {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--market-accent);
  border-radius: 4px;
  color: #fff;
  background: var(--market-accent);
  font-weight: 800;
}

body .market-category-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--market-line);
  scrollbar-width: none;
}

body .market-category-tabs::-webkit-scrollbar {
  display: none;
}

body .market-category-tabs > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  min-height: 42px;
  padding: 0 10px;
  border-right: 1px solid var(--market-line);
  color: var(--market-muted);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
}

body .market-category-tabs > a.is-active {
  color: var(--market-accent-dark);
  background: #e8f4ef;
  font-weight: 800;
}

body .market-list-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 12px 14px 8px;
  border-bottom: 1px solid var(--market-line);
}

body .market-list-intro b {
  color: var(--market-accent-dark);
  font-size: 18px;
}

body .market-list-intro small {
  min-width: 0;
  color: var(--market-muted);
  text-align: right;
}

body .market-item-list {
  background: var(--market-paper);
}

body .market-item-row {
  border-bottom: 1px solid var(--market-line);
}

body .market-item-row.is-mine {
  background: #f7faf7;
}

body .market-item-main {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 96px;
  padding: 10px 12px;
  color: inherit;
  text-decoration: none;
}

body .market-item-cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  background: #edf2ee;
}

body .market-item-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .market-item-cover-icon {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: var(--market-muted);
}

body .market-item-cover.is-empty .market-item-cover-icon {
  display: grid;
}

body .market-item-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body .market-item-copy small,
body .market-item-copy em,
body .market-item-price small {
  overflow: hidden;
  color: var(--market-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .market-item-copy b {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .market-item-unread {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  padding: 2px 6px;
  border: 1px solid #e5aaa4;
  border-radius: 3px;
  color: #a6372e;
  background: #fff0ef;
  font-size: 11px;
  font-weight: 800;
}

body .market-item-price {
  display: grid;
  justify-items: end;
  gap: 5px;
  min-width: 58px;
  text-align: right;
}

body .market-item-price strong {
  color: var(--lake-red, #c94b3f);
  font-size: 15px;
  white-space: nowrap;
}

body .market-item-price small {
  max-width: 64px;
  padding: 2px 4px;
  border: 1px solid var(--market-line);
  border-radius: 3px;
  text-align: center;
}

body .market-item-price small.is-active {
  border-color: #b8dacb;
  color: var(--market-accent-dark);
  background: #e8f4ef;
}

body .market-item-price small.is-sold {
  border-color: #e5c8a0;
  color: #95620e;
  background: #fff5e2;
}

body .market-item-price small.is-muted {
  color: var(--market-muted);
  background: #f2f5f1;
}

body .market-item-main > svg:last-child {
  color: var(--market-muted);
}

body .market-item-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 12px 10px 98px;
}

body .market-item-actions form,
body .market-owner-actions form {
  display: inline-flex;
  margin: 0;
}

body .market-item-actions .button,
body .market-item-actions button,
body .market-item-actions a {
  min-height: 30px;
}

body .market-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 58px 24px;
  border-bottom: 1px solid var(--market-line);
  color: var(--market-muted);
  text-align: center;
}

body .market-empty > svg {
  width: 34px;
  height: 34px;
  color: var(--market-accent);
}

body .market-empty b {
  color: var(--lake-ink, #17231f);
  font-size: 16px;
}

body .market-empty p {
  margin: 0;
}

body .market-footnote {
  margin: 0;
  padding: 14px;
  color: var(--market-muted);
  font-size: 12px;
  line-height: 1.6;
}

body .market-message-alerts {
  border-bottom: 1px solid var(--market-line);
  background: #fff8e8;
}

body .market-message-alerts > header {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px 8px;
  border-bottom: 1px solid #ead8a9;
  color: #845a08;
}

body .market-message-alerts > header > svg {
  width: 20px;
  height: 20px;
}

body .market-message-alerts > header > span {
  display: grid;
  gap: 2px;
}

body .market-message-alerts > header small {
  color: #9a772a;
  font-size: 10px;
}

body .market-message-alerts > div {
  display: grid;
}

body .market-message-alerts a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 10px 12px;
  border-bottom: 1px solid #ead8a9;
  color: inherit;
  text-decoration: none;
}

body .market-message-alerts a:last-child {
  border-bottom: 0;
}

body .market-message-alert-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #dfc887;
  border-radius: 50%;
  color: #845a08;
  background: #fff;
}

body .market-message-alerts a > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body .market-message-alerts a small,
body .market-message-alerts a em {
  overflow: hidden;
  color: #8e743c;
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .market-message-alerts a b {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .market-message-alerts a strong {
  color: #845a08;
  font-size: 12px;
  white-space: nowrap;
}

body .market-message-alerts a > svg:last-child {
  color: #a68a4b;
}

body .market-interest-inbox {
  border-top: 2px solid var(--market-accent);
  border-bottom: 1px solid var(--market-line);
  background: #f7faf7;
}

body .market-interest-inbox > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 8px;
  border-bottom: 1px solid var(--market-line);
}

body .market-interest-inbox > header > span {
  display: grid;
  gap: 3px;
}

body .market-interest-inbox > header small {
  color: var(--market-muted);
  font-size: 12px;
}

body .market-interest-inbox > header b {
  font-size: 16px;
}

body .market-interest-inbox > header > strong {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--market-accent);
  font-size: 13px;
}

body .market-interest-row {
  padding: 12px 14px;
  border-bottom: 1px solid var(--market-line);
}

body .market-interest-row.is-unread {
  box-shadow: inset 3px 0 0 #c94b3f;
  background: #fffaf9;
}

body .market-interest-row:last-child {
  border-bottom: 0;
}

body .market-interest-row > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

body .market-interest-row > header > span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

body .market-interest-row > header b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .market-interest-row > header small {
  color: var(--market-muted);
  font-size: 12px;
}

body .market-interest-row > header em {
  flex: 0 0 auto;
  padding: 2px 5px;
  border: 1px solid var(--market-line);
  border-radius: 3px;
  color: var(--market-muted);
  font-size: 11px;
  font-style: normal;
}

body .market-interest-row > header em.is-open {
  border-color: #b8dacb;
  color: var(--market-accent-dark);
  background: #e8f4ef;
}

body .market-interest-row > header em.is-closed {
  color: var(--market-muted);
  background: #f2f5f1;
}

body .market-interest-row > p {
  margin: 8px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.55;
}

body .market-message-thread {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

body .market-interest-form > .market-message-thread {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid #cde3d7;
}

body .market-message-bubble {
  display: grid;
  width: min(88%, 520px);
  gap: 4px;
  padding: 8px 10px;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  background: #fff;
}

body .market-message-bubble.is-seller {
  justify-self: end;
  border-color: #afd6c5;
  background: #eaf6f0;
}

body .market-message-bubble small {
  color: var(--market-muted);
  font-size: 10px;
}

body .market-message-bubble p {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.55;
}

body .market-message-waiting {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--market-muted);
  font-size: 11px;
}

body .market-message-waiting svg {
  width: 14px;
  height: 14px;
}

body .market-interest-reply {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  margin: 10px 0 0;
}

body .market-interest-reply label {
  display: grid;
  min-width: 0;
  gap: 5px;
}

body .market-interest-reply label > span {
  color: var(--market-muted);
  font-size: 11px;
}

body .market-interest-reply textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 64px;
  padding: 8px 9px;
  border: 1px solid var(--market-line);
  border-radius: 3px;
  color: inherit;
  background: #fff;
  font: inherit;
  line-height: 1.45;
  resize: vertical;
}

body .market-interest-reply button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  white-space: nowrap;
}

body .market-interest-status {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 0;
}

body .market-interest-readonly > header {
  border-bottom: 1px solid #cde3d7;
}

body .market-interest-empty {
  margin: 0;
  padding: 18px 14px;
  color: var(--market-muted);
  font-size: 13px;
}

body .market-interest-form {
  margin: 14px;
  border: 1px solid #b8dacb;
  border-radius: 4px;
  background: #f7fbf8;
}

body .market-interest-form > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px 8px;
  border-bottom: 1px solid #cde3d7;
}

body .market-interest-form > header > span {
  display: grid;
  gap: 3px;
}

body .market-interest-form > header small {
  color: var(--market-muted);
  font-size: 12px;
}

body .market-interest-form > header b {
  color: var(--market-accent-dark);
}

body .market-interest-form > header em {
  color: var(--market-muted);
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

body .market-interest-form > form {
  display: grid;
  gap: 8px;
  padding: 10px 12px 12px;
}

body .market-interest-form textarea {
  width: 100%;
  min-height: 76px;
  box-sizing: border-box;
  padding: 9px 10px;
  border: 1px solid var(--market-line);
  border-radius: 3px;
  color: var(--lake-ink, #17231f);
  background: #fff;
  font: inherit;
  line-height: 1.5;
  resize: vertical;
}

body .market-interest-form textarea:focus {
  border-color: var(--market-accent);
  outline: 2px solid #cde9dd;
}

body .market-interest-form .market-submit,
body .market-interest-form button {
  width: 100%;
  margin: 0;
  min-height: 40px;
}

body .market-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px;
  border-bottom: 1px solid var(--market-line);
  background: #f2f5f1;
  scrollbar-width: thin;
}

body .market-gallery img {
  flex: 0 0 auto;
  width: min(82vw, 420px);
  height: min(82vw, 420px);
  border: 1px solid var(--market-line);
  border-radius: 4px;
  object-fit: cover;
  background: #e8efea;
}

body .market-gallery-empty {
  display: grid;
  place-items: center;
  min-height: 190px;
  color: var(--market-muted);
}

body .market-gallery-empty svg {
  width: 32px;
  height: 32px;
}

body .market-detail-heading {
  position: relative;
  display: grid;
  gap: 6px;
  padding: 16px 14px 14px;
  border-bottom: 1px solid var(--market-line);
}

body .market-detail-heading small,
body .market-detail-heading p {
  margin: 0;
  color: var(--market-muted);
  font-size: 12px;
}

body .market-detail-heading h1 {
  margin: 0;
  padding-right: 90px;
  font-size: 21px;
  line-height: 1.35;
}

body .market-detail-heading > strong {
  position: absolute;
  top: 38px;
  right: 14px;
  color: var(--lake-red, #c94b3f);
  font-size: 20px;
  white-space: nowrap;
}

body .market-detail-ledger {
  margin: 0;
  border-bottom: 1px solid var(--market-line);
}

body .market-detail-page .lake-detail-ledger-head > em.is-sold,
body .market-detail-page .lake-detail-ledger-head > em.is-muted {
  color: var(--market-muted);
  background: #f2f5f1;
}

body .market-description {
  border-bottom: 1px solid var(--market-line);
}

body .market-description > header,
body .market-owner-tools > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px 8px;
}

body .market-description > header span,
body .market-owner-tools > header span {
  display: grid;
  gap: 3px;
}

body .market-description > header small,
body .market-owner-tools > header small {
  color: var(--market-muted);
  font-size: 12px;
}

body .market-description > header b,
body .market-owner-tools > header b {
  font-size: 16px;
}

body .market-description > header a,
body .market-owner-tools > header a {
  color: var(--market-accent-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

body .market-description > p {
  margin: 0;
  padding: 6px 14px 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}

body .market-contact,
body .market-login-cta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px;
  padding: 12px;
  border: 1px solid #b8dacb;
  border-radius: 4px;
  color: var(--market-accent-dark);
  background: #edf8f3;
  text-decoration: none;
}

body .market-contact-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--market-accent);
}

body .market-contact > div {
  min-width: 0;
}

body .market-contact b,
body .market-contact p,
body .market-contact small {
  display: block;
  margin: 0;
}

body .market-contact p {
  margin-top: 4px;
  font-size: 13px;
}

body .market-contact small {
  margin-top: 7px;
  color: var(--market-muted);
  line-height: 1.5;
}

body .market-login-cta {
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

body .market-owner-tools {
  border-top: 2px solid var(--market-accent);
  border-bottom: 1px solid var(--market-line);
  background: #f7faf7;
}

body .market-owner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 14px 14px;
}

body .market-form {
  padding-bottom: 28px;
}

body .market-form-section {
  border-bottom: 8px solid #f2f5f1;
}

body .market-form-section > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--market-line);
}

body .market-form-section > header span {
  display: grid;
  gap: 3px;
}

body .market-form-section > header small {
  color: var(--market-muted);
  font-size: 12px;
}

body .market-form-section > header b {
  font-size: 17px;
}

body .market-form-section > header em {
  color: var(--market-accent-dark);
  font-size: 12px;
  font-style: normal;
}

body .market-form-section > label,
body .market-form-grid {
  padding: 12px 14px 0;
}

body .market-form-section > label {
  display: grid;
  gap: 6px;
}

body .market-form-section > label > span {
  color: var(--market-muted);
  font-size: 13px;
  font-weight: 700;
}

body .market-form :is(input, select, textarea) {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 10px 11px;
  border: 1px solid var(--market-line);
  border-radius: 3px;
  color: var(--lake-ink, #17231f);
  background: #fff;
  font: inherit;
}

body .market-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

body .market-form :is(input, select, textarea):focus {
  border-color: var(--market-accent);
  outline: 2px solid #cde9dd;
  outline-offset: 0;
}

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

body .market-form-grid label {
  display: grid;
  gap: 6px;
}

body .market-form-grid label > span {
  color: var(--market-muted);
  font-size: 13px;
  font-weight: 700;
}

body .market-input-prefix {
  position: relative;
}

body .market-input-prefix > i {
  position: absolute;
  top: 50%;
  left: 10px;
  color: var(--lake-red, #c94b3f);
  font-style: normal;
  font-weight: 800;
  transform: translateY(-50%);
}

body .market-input-prefix > input {
  padding-left: 26px;
}

body .market-file-field > small,
body .market-contact-field > small {
  color: var(--market-muted);
  font-size: 12px;
}

body .market-existing-images {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px 0;
}

body .market-existing-images img {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border: 1px solid var(--market-line);
  border-radius: 3px;
  object-fit: cover;
}

body .market-form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px;
  color: var(--market-muted);
  font-size: 12px;
  line-height: 1.6;
}

body .market-form-note > svg {
  color: var(--market-accent);
}

body .market-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 28px);
  margin: 0 14px;
  min-height: 46px;
}

@media (max-width: 420px) {
  body .market-item-main {
    grid-template-columns: 64px minmax(0, 1fr) auto 16px;
    gap: 8px;
    padding-right: 10px;
    padding-left: 10px;
  }

  body .market-item-cover {
    width: 64px;
    height: 64px;
  }

  body .market-item-copy b {
    font-size: 14px;
  }

  body .market-item-price {
    min-width: 52px;
  }

  body .market-item-price strong {
    font-size: 14px;
  }

  body .market-item-actions {
    padding-left: 82px;
  }

  body .market-detail-heading h1 {
    padding-right: 74px;
    font-size: 19px;
  }

  body .market-detail-heading > strong {
    right: 10px;
    font-size: 17px;
  }

  body .market-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 720px) {
  body .lake-market-page {
    border-right: 1px solid var(--market-line);
    border-left: 1px solid var(--market-line);
  }

  body .market-gallery img {
    width: 360px;
    height: 360px;
  }
}

/* Online escrow order surfaces.  The layout stays dense and thumb-friendly
   on a phone: status and money are always visible before the action row. */
body .market-item-price small.is-reserved,
body .market-order-amount em.is-hold,
body .market-payment-summary em.is-hold {
  border-color: #c7b36a;
  color: #725b00;
  background: #fff9dc;
}

body .market-item-lock,
body .market-owner-lock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #725b00;
  font-size: 12px;
}

body .market-owner-lock {
  width: 100%;
  padding: 8px 0;
  line-height: 1.5;
}

body .market-online-buy,
body .market-purchase-dock > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  margin-top: 10px;
  padding: 0 13px;
  border: 1px solid var(--market-accent);
  border-radius: 4px;
  color: #fff;
  background: var(--market-accent);
  font-weight: 800;
  text-decoration: none;
}

body .market-offline-only {
  display: block;
  margin-top: 8px;
  color: var(--market-muted);
  font-size: 12px;
}

body .market-purchase-dock {
  position: sticky;
  z-index: 3;
  bottom: calc(58px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--market-line);
  background: rgba(251, 252, 250, .96);
  box-shadow: 0 -4px 14px rgba(21, 43, 35, .08);
  backdrop-filter: blur(8px);
}

body .market-purchase-dock > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body .market-purchase-dock small {
  color: var(--market-muted);
  font-size: 11px;
}

body .market-purchase-dock b {
  color: var(--lake-red, #c94b3f);
  font-size: 18px;
}

body .market-purchase-dock > a {
  flex: 0 0 auto;
  margin: 0;
}

body .market-orders-page {
  padding-bottom: 20px;
}

body .market-order-overview,
body .market-payment-summary,
body .market-order-detail-head,
body .market-purchase-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 14px;
  border-bottom: 1px solid var(--market-line);
  background: var(--market-paper);
}

body .market-order-overview > span,
body .market-payment-summary > span {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body .market-order-overview small,
body .market-payment-summary small,
body .market-order-detail-head small,
body .market-purchase-hero small {
  color: var(--market-muted);
  font-size: 12px;
}

body .market-order-overview b {
  font-size: 20px;
}

body .market-order-overview b.is-danger {
  color: var(--lake-red, #c94b3f);
}

body .market-after-sale-overview {
  display: grid;
  min-height: 66px;
  padding: 11px 14px;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #8f342d;
  border-bottom: 1px solid #efc0bc;
  background: #fff0ef;
}

body .market-after-sale-overview > svg {
  color: var(--lake-red, #c94b3f);
}

body .market-after-sale-overview span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body .market-after-sale-overview b {
  font-size: 13px;
  line-height: 19px;
}

body .market-after-sale-overview small {
  color: #9a5a55;
  font-size: 11px;
  line-height: 17px;
}

body .market-after-sale-overview.is-unread {
  color: #725b00;
  border-bottom-color: #e7d493;
  background: #fff9dc;
}

body .market-after-sale-overview.is-unread > svg,
body .market-after-sale-overview.is-unread small {
  color: #80691a;
}

body .market-payment-summary b,
body .market-order-detail-head strong,
body .market-purchase-hero strong {
  color: var(--lake-red, #c94b3f);
  font-size: 22px;
}

body .market-order-amount {
  display: grid;
  justify-items: end;
  gap: 5px;
  min-width: 80px;
}

body .market-order-amount strong {
  color: var(--lake-red, #c94b3f);
  white-space: nowrap;
}

body .market-order-amount em,
body .market-payment-summary > em,
body .market-order-detail-head > em {
  padding: 2px 5px;
  border: 1px solid var(--market-line);
  border-radius: 3px;
  color: var(--market-muted);
  background: #f2f5f1;
  font-size: 11px;
  font-style: normal;
  white-space: nowrap;
}

body .market-order-amount em.is-warning,
body .market-payment-summary > em.is-warning {
  border-color: #ead39d;
  color: #8a650d;
  background: #fff7df;
}

body .market-order-amount em.is-danger,
body .market-payment-summary > em.is-danger,
body .market-order-detail-head > em.is-danger {
  border-color: #efc0bc;
  color: #a4332b;
  background: #fff0ef;
}

body .market-order-amount em.is-success,
body .market-payment-summary > em.is-success,
body .market-order-detail-head > em.is-success {
  border-color: #b8dacb;
  color: var(--market-accent-dark);
  background: #e8f4ef;
}

body .market-order-main {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 11px 14px;
  color: inherit;
  text-decoration: none;
}

body .market-order-card {
  border-bottom: 1px solid var(--market-line);
  background: var(--market-paper);
}

body .market-order-card.has-unread {
  box-shadow: inset 3px 0 #d69b22;
}

body .market-order-after-sale {
  display: grid;
  margin: 0 14px 10px 80px;
  padding: 9px 10px;
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 8px;
  color: #8f342d;
  border: 1px solid #efc0bc;
  border-radius: 4px;
  background: #fff4f2;
}

body .market-order-after-sale > svg:first-child {
  color: var(--lake-red, #c94b3f);
}

body .market-order-after-sale > svg:last-child {
  width: 16px;
  color: #a66560;
}

body .market-order-after-sale span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body .market-order-after-sale b {
  font-size: 12px;
  line-height: 18px;
}

body .market-order-after-sale small {
  overflow: hidden;
  color: #9a5a55;
  font-size: 10px;
  line-height: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .market-order-cover {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  color: var(--market-muted);
  background: #edf2ee;
}

body .market-order-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .market-order-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

body .market-order-unread {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  min-height: 20px;
  padding: 1px 6px;
  align-items: center;
  gap: 4px;
  border: 1px solid #e1ca83;
  border-radius: 3px;
  color: #725b00;
  background: #fff9dc;
  font-size: 10px;
  font-weight: 800;
}

body .market-order-unread svg {
  width: 13px;
  height: 13px;
}

body .market-order-copy small,
body .market-order-copy em {
  overflow: hidden;
  color: var(--market-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .market-order-copy b {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .market-order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 14px 11px 80px;
}

body .market-order-actions form {
  display: inline-flex;
  margin: 0;
}

body .market-order-detail-head > span {
  display: grid;
  min-width: 0;
  gap: 5px;
}

body .market-order-after-sale-detail {
  display: grid;
  margin: 14px;
  padding: 13px 12px;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: #7e302a;
  border: 1px solid #e8aaa4;
  border-radius: 4px;
  background: #fff0ef;
}

body .market-order-after-sale-detail > svg {
  color: var(--lake-red, #c94b3f);
}

body .market-order-after-sale-detail span {
  display: grid;
  min-width: 0;
  gap: 3px;
}

body .market-order-after-sale-detail small,
body .market-order-after-sale-detail em {
  color: #9a5a55;
  font-size: 10px;
  font-style: normal;
  line-height: 16px;
}

body .market-order-after-sale-detail b {
  font-size: 13px;
  line-height: 19px;
}

body .market-order-after-sale-detail p {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  color: #5f2c28;
  font-size: 12px;
  line-height: 19px;
}

body .market-after-sale-deadline {
  display: block;
  margin-top: 5px;
  padding-top: 7px;
  border-top: 1px solid #e9bbb7;
  font-size: 11px;
  line-height: 18px;
}

body .market-order-detail-head h1 {
  max-width: 65vw;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.35;
}

body .market-escrow-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-bottom: 1px solid var(--market-line);
}

body .market-escrow-ledger > div {
  display: grid;
  gap: 4px;
  padding: 11px 14px;
  border-right: 1px solid var(--market-line);
  border-bottom: 1px solid var(--market-line);
}

body .market-escrow-ledger > div:nth-child(even) {
  border-right: 0;
}

body .market-escrow-ledger dt {
  color: var(--market-muted);
  font-size: 11px;
}

body .market-escrow-ledger dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 800;
}

body .market-notice-block {
  margin: 12px 14px;
  padding: 11px 12px;
  border: 1px solid var(--market-line);
  border-radius: 4px;
}

body .market-notice-block > div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

body .market-notice-block > div > span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

body .market-notice-block small {
  color: var(--market-muted);
  line-height: 1.55;
}

body .market-notice-block.is-info {
  border-color: #b8dacb;
  background: #edf8f3;
}

body .market-notice-block.is-warning {
  border-color: #ead39d;
  background: #fff9e8;
}

body .market-cash-hint {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 14px 12px;
  color: var(--market-muted);
  font-size: 12px;
}

body .market-payment-methods {
  display: grid;
  gap: 1px;
  margin: 0 14px 14px;
  border: 1px solid var(--market-line);
  background: var(--market-line);
}

body .market-payment-method {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  padding: 9px 11px;
  border: 0;
  color: inherit;
  background: var(--market-paper);
  text-align: left;
}

body .market-payment-method > span {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 3px;
}

body .market-payment-method small {
  overflow: hidden;
  color: var(--market-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .market-payment-method > em {
  color: var(--market-accent-dark);
  font-style: normal;
  font-weight: 800;
}

body .market-payment-method:disabled {
  opacity: .5;
}

body .market-wechat-panel,
body .market-alipay-panel {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin: 14px;
  padding: 28px 18px;
  border: 1px solid var(--market-line);
  background: #f7faf7;
  text-align: center;
}

body .market-wechat-panel small,
body .market-alipay-panel small {
  color: var(--market-muted);
}

body .market-wechat-icon,
body .market-alipay-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: #14b66b;
}

body .market-alipay-icon {
  background: #1677ff;
}

body .market-wechat-panel .market-submit {
  width: 100%;
  margin-top: 8px;
}

body .market-rule-agreement {
  position: relative;
  margin: 14px;
}

body .market-rule-checkbox {
  position: absolute;
  width: 1px !important;
  height: 1px;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

body .market-declaration-trigger {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 62px;
  padding: 10px 11px;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  color: var(--market-muted);
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

body .market-declaration-trigger > span:nth-child(2) {
  display: grid;
  gap: 3px;
  min-width: 0;
}

body .market-declaration-trigger b {
  color: var(--lake-ink, #17231f);
  font-size: 13px;
}

body .market-declaration-trigger small {
  color: var(--market-muted);
  font-size: 11px;
  line-height: 1.5;
}

body .market-declaration-control {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  box-sizing: border-box;
  border: 1px solid #91a09a;
  border-radius: 3px;
  color: #fff;
  background: #fff;
}

body .market-declaration-control > svg {
  width: 15px;
  height: 15px;
  opacity: 0;
}

body .market-rule-agreement.is-agreed .market-declaration-trigger {
  border-color: var(--market-accent);
  background: #f3faf7;
}

body .market-rule-agreement.is-agreed .market-declaration-control {
  border-color: var(--market-accent);
  background: var(--market-accent);
}

body .market-rule-agreement.is-agreed .market-declaration-control > svg {
  opacity: 1;
}

body .market-shipping-proof-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: -4px 14px 14px;
  padding: 9px 10px;
  border-left: 3px solid #c47d20;
  color: #684817;
  background: #fff8e9;
  font-size: 12px;
  line-height: 1.6;
}

body .market-shipping-proof-note > svg {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  color: #a96312;
}

body .market-submit:disabled {
  opacity: .52;
  cursor: not-allowed;
}

body.market-rule-modal-open {
  overflow: hidden;
}

body .market-rule-modal {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 12px;
  background: rgba(10, 20, 17, .58);
}

body .market-rule-modal[hidden] {
  display: none;
}

body .market-rule-dialog {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(100%, 620px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  border: 1px solid var(--market-line);
  border-radius: 6px;
  color: var(--lake-ink, #17231f);
  background: #fff;
  box-shadow: 0 18px 50px rgba(8, 25, 20, .25);
}

body .market-rule-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--market-line);
  background: #f5f8f6;
}

body .market-rule-dialog > header > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

body .market-rule-dialog > header small {
  color: var(--market-accent-dark);
  font-size: 11px;
}

body .market-rule-dialog > header b {
  font-size: 16px;
  line-height: 1.35;
}

body .market-rule-dialog > header button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  color: var(--market-muted);
  background: #fff;
}

body .market-rule-copy {
  min-height: 0;
  overflow-y: auto;
  padding: 15px;
  outline: 0;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

body .market-rule-copy :is(p, h3) {
  overflow-wrap: anywhere;
}

body .market-rule-copy p {
  margin: 0 0 11px;
  color: #34433e;
  font-size: 13px;
  line-height: 1.8;
}

body .market-rule-copy .market-rule-introduction {
  color: var(--lake-ink, #17231f);
  font-weight: 600;
}

body .market-rule-copy h3 {
  margin: 18px 0 8px;
  padding-left: 9px;
  border-left: 3px solid var(--market-accent);
  font-size: 14px;
  line-height: 1.5;
}

body .market-rule-copy section:first-of-type h3 {
  margin-top: 8px;
}

body .market-rule-dialog > footer {
  padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--market-line);
  background: #fff;
}

body .market-rule-accept {
  width: 100%;
  min-height: 46px;
}

body .market-rule-accept:disabled {
  color: #7c8883;
  background: #e7ece9;
  box-shadow: none;
  cursor: not-allowed;
}

@media (max-width: 420px) {
  body .market-rule-modal {
    padding: 0;
  }

  body .market-rule-dialog {
    width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  body .market-rule-dialog > header {
    padding-top: max(12px, env(safe-area-inset-top));
  }
}

body .market-event-list,
body .market-dispute-form {
  margin: 14px;
  border: 1px solid var(--market-line);
  background: var(--market-paper);
}

body .market-event-list > header,
body .market-dispute-form > header {
  display: flex;
  padding: 11px 12px 8px;
  border-bottom: 1px solid var(--market-line);
}

body .market-event-list > header span,
body .market-dispute-form > header span {
  display: grid;
  gap: 3px;
}

body .market-event-list small,
body .market-dispute-form small {
  color: var(--market-muted);
  font-size: 11px;
}

body .market-event-list ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

body .market-event-list li {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--market-line);
}

body .market-event-list li:last-child {
  border-bottom: 0;
}

body .market-event-list li > div {
  display: grid;
  gap: 3px;
}

body .market-event-list li > div > em {
  width: max-content;
  padding: 1px 5px;
  border: 1px solid var(--market-line);
  border-radius: 3px;
  color: var(--market-muted);
  background: #f2f5f1;
  font-size: 10px;
  font-style: normal;
}

body .market-event-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--market-accent);
}

body .market-dispute-form form {
  display: grid;
  gap: 8px;
  padding: 11px 12px 12px;
}

body .market-dispute-form textarea,
body .market-buyer-after-sale textarea,
body .market-seller-after-sale textarea,
body .market-admin-resolve input,
body .market-admin-resolve select {
  box-sizing: border-box;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--market-line);
  border-radius: 3px;
  color: inherit;
  background: #fff;
  font: inherit;
}

body .market-seller-after-sale {
  margin: 14px;
  border: 1px solid #e6b18a;
  background: #fffaf3;
}

body .market-buyer-after-sale {
  margin: 14px;
  border: 1px solid #d8c27c;
  background: #fffbea;
}

body .market-buyer-after-sale > header {
  display: flex;
  padding: 11px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e5d59d;
}

body .market-buyer-after-sale > header > span {
  display: grid;
  gap: 3px;
}

body .market-buyer-after-sale > header small {
  color: #80691a;
  font-size: 11px;
}

body .market-buyer-after-sale > header > svg {
  flex: 0 0 auto;
  color: #9a7a13;
}

body .market-buyer-after-sale > p {
  margin: 0;
  padding: 11px 12px 0;
  color: #66551a;
  font-size: 11px;
  line-height: 18px;
}

body .market-buyer-after-sale > form {
  display: grid;
  gap: 9px;
  padding: 12px;
}

body .market-evidence-used {
  display: flex;
  margin: 11px 12px 12px;
  padding: 9px 10px;
  align-items: flex-start;
  gap: 7px;
  color: #5f5a3b;
  border: 1px solid #ded7b8;
  background: #fffef7;
  font-size: 11px;
  line-height: 18px;
}

body .market-evidence-used > svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  flex: 0 0 auto;
  color: var(--market-accent-dark);
}

body .market-seller-after-sale > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-bottom: 1px solid #efd1b8;
}

body .market-seller-after-sale > header > span {
  display: grid;
  gap: 3px;
}

body .market-seller-after-sale > header small,
body .market-seller-after-sale > p {
  color: var(--market-muted);
  font-size: 11px;
  line-height: 18px;
}

body .market-seller-after-sale > header > svg {
  flex: 0 0 auto;
  color: #a35c22;
}

body .market-seller-after-sale > form {
  display: grid;
  gap: 10px;
  padding: 12px;
}

body .market-seller-after-sale > p {
  margin: 0;
  padding: 11px 12px 0;
}

body .market-seller-after-sale-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

body .market-seller-after-sale-actions > button,
body .market-seller-followup > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 42px;
  padding: 7px 8px;
  line-height: 1.25;
}

body .market-seller-after-sale-actions > .is-danger {
  border-color: #e5aaa5;
  color: #9f3028;
  background: #fff2f0;
}

@media (max-width: 520px) {
  body .market-seller-after-sale-actions {
    grid-template-columns: minmax(0, 1fr);
  }
}

body .market-purchase-hero {
  justify-content: flex-start;
}

body .market-purchase-cover {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid var(--market-line);
  border-radius: 4px;
  color: var(--market-muted);
  background: #edf2ee;
}

body .market-purchase-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .market-purchase-hero > div {
  display: grid;
  min-width: 0;
  gap: 5px;
}

body .market-purchase-hero h1 {
  max-width: 64vw;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.35;
}

body .market-purchase-form {
  padding-bottom: 8px;
}

body .admin-market-orders {
  --market-accent: var(--lake-green, #08705f);
  --market-accent-dark: var(--lake-green-dark, #075548);
  --market-line: var(--lake-line, #d8e1dd);
  --market-muted: var(--lake-muted, #66746e);
  --market-paper: var(--lake-paper, #fbfcfa);
  width: min(100%, 860px);
  margin: 0 auto;
}

body .admin-market-filter {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

body .admin-market-filter > span {
  display: grid;
  gap: 3px;
}

body .admin-market-filter small {
  color: var(--market-muted);
  font-size: 11px;
}

body .admin-market-filter nav {
  display: flex;
  gap: 5px;
  overflow-x: auto;
}

body .admin-market-filter nav a {
  padding: 6px 8px;
  border: 1px solid var(--market-line);
  border-radius: 3px;
  color: var(--market-muted);
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

body .admin-market-filter nav a.is-active {
  border-color: var(--market-accent);
  color: var(--market-accent-dark);
  background: #e8f4ef;
  font-weight: 800;
}

body .market-admin-order {
  margin-bottom: 8px;
  padding: 12px;
  border: 1px solid var(--market-line);
  background: var(--market-paper);
}

body .market-admin-order > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

body .market-admin-order > header span {
  display: grid;
  gap: 3px;
}

body .market-admin-order > header small,
body .market-admin-order > p {
  color: var(--market-muted);
  font-size: 12px;
}

body .market-admin-order > p {
  margin: 9px 0;
  line-height: 1.55;
}

body .market-admin-order blockquote {
  margin: 8px 0;
  padding: 8px;
  border-left: 3px solid #d18c83;
  color: #7b3932;
  background: #fff2f0;
  white-space: pre-wrap;
}

body .market-admin-resolve {
  display: grid;
  grid-template-columns: minmax(90px, .4fr) minmax(0, 1fr) auto;
  gap: 7px;
  align-items: center;
}

body .market-admin-resolve label {
  grid-column: 1 / -1;
  color: var(--market-muted);
  font-size: 12px;
}

body .market-admin-resolve label input {
  width: auto;
  margin-right: 4px;
}

@media (max-width: 520px) {
  body .market-message-alerts a {
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    gap: 7px;
    padding-right: 10px;
    padding-left: 10px;
  }

  body .market-message-alerts a > strong {
    display: none;
  }

  body .market-interest-reply {
    grid-template-columns: minmax(0, 1fr);
  }

  body .market-interest-reply button {
    width: 100%;
  }

  body .market-message-bubble {
    width: 92%;
  }

  body .market-order-main {
    grid-template-columns: 52px minmax(0, 1fr) auto 14px;
    gap: 7px;
    padding-right: 10px;
    padding-left: 10px;
  }

  body .market-order-cover {
    width: 52px;
    height: 52px;
  }

  body .market-order-actions {
    padding-left: 70px;
  }

  body .market-purchase-dock {
    margin-right: -1px;
    margin-left: -1px;
  }

  body .market-purchase-dock > a {
    padding-right: 9px;
    padding-left: 9px;
    font-size: 12px;
  }

  body .market-admin-resolve {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body .market-admin-resolve select,
  body .market-admin-resolve input {
    grid-column: 1 / -1;
  }
}
