.account-main--sale {
  max-width: 1060px !important;
  width: calc(100% - 40px) !important;
  margin: 40px auto 80px !important;
  min-width: 0;
}
.sale-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #b7c9d8;
  margin-bottom: 36px;
}
.sale-topline a {
  color: #dae8f5;
  text-decoration: none;
}
.sale-topline span {
  letter-spacing: 0.12em;
}
.sale-identity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.sale-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 11px;
  font-weight: 800;
  color: #b8d4dd;
  margin: 0 0 14px;
}
.sale-identity h1 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.sale-identity p {
  color: #b4c4d3;
}
.sale-total {
  text-align: right;
  flex-shrink: 0;
}
.sale-total span,
.sale-amounts span {
  display: block;
  color: #b9cbd7;
  font-size: 12px;
  margin-bottom: 8px;
}
.sale-total strong {
  font-size: 30px;
}
.sale-status {
  background: linear-gradient(125deg, #173948, #102738);
  border: 1px solid #41616a;
  border-radius: 20px;
  padding: 30px 34px;
  position: relative;
}
.sale-status h2 {
  font-size: 25px;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.sale-status p {
  max-width: 700px;
  line-height: 1.7;
  color: #d3e2e8;
  font-size: 14px;
  margin: 0;
}
.sale-status .sale-due {
  margin-top: 18px;
  font-size: 12px;
  color: #e9cc95;
}
.sale-panel {
  border: 1px solid #2c4356;
  background: rgba(12, 32, 50, 0.85);
  padding: 28px 32px;
  border-radius: 16px;
  margin: 20px 0;
}
.sale-panel h2 {
  font-size: 19px;
  margin: 0 0 15px;
  line-height: 1.5;
}
.sale-panel p {
  font-size: 14px;
  line-height: 1.8;
  color: #c3d2dd;
}
.sale-choice {
  border-color: #847551;
  background: linear-gradient(120deg, #202e35, #102438);
}
.sale-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 190px));
  gap: 16px;
  margin-top: 24px;
}
.sale-gallery a {
  text-decoration: none;
  color: #ccdbe6;
  font-size: 12px;
}
.sale-gallery img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #071726;
  border: 1px solid #314757;
  border-radius: 10px;
  margin-bottom: 10px;
}
.sale-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}
.sale-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  border-radius: 9px;
  padding: 12px 18px;
  background: #ebd3a3;
  border: 1px solid #ebd3a3;
  color: #142333;
  font: 700 13px/1.4 inherit;
  text-decoration: none;
  cursor: pointer;
  gap: 10px;
  max-width: 100%;
  white-space: normal;
}
.sale-button--quiet {
  background: transparent;
  color: #e3ecf4;
  border-color: #4c6275;
}
.sale-button:disabled {
  opacity: 0.45;
  cursor: wait;
}
.sale-button:focus-visible,
.sale-field input:focus-visible,
.sale-field textarea:focus-visible,
.sale-check input:focus-visible {
  outline: 3px solid #9de4ee;
  outline-offset: 4px;
}
.sale-amounts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sale-amounts strong {
  font-size: 30px;
  font-weight: 700;
}
.sale-amounts > div:last-child strong {
  color: #f1d7a2;
}
.sale-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.8;
  margin: 24px 0;
}
.sale-check input {
  margin-top: 7px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: #edd4a6;
}
.sale-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #c4d5e0;
  font-size: 13px;
  margin-bottom: 18px;
  min-width: 0;
}
.sale-field input,
.sale-field textarea {
  font: inherit;
  color: #e7f0f7;
  background: #071c2f;
  border: 1px solid #3b5366;
  border-radius: 8px;
  min-height: 46px;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
}
.sale-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.sale-fields label:nth-child(2) {
  grid-column: 1/-1;
}
.sale-notice:empty {
  display: none;
}
.sale-notice {
  font-size: 14px;
  color: #f1d5a3;
}
.sale-prose {
  white-space: pre-wrap;
}
.sale-bank {
  margin: 24px 0;
  display: grid;
  gap: 0;
  max-width: 640px;
}
.sale-bank > div {
  padding: 14px 0;
  border-bottom: 1px solid #2e4455;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  font-size: 13px;
}
.sale-bank dt {
  color: #a7bac8;
}
.sale-bank dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.sale-copy {
  display: inline-block;
  margin-left: 12px;
  min-height: 44px;
  padding: 8px 12px;
  color: #d2edf5;
  background: transparent;
  border: 1px solid #4c6275;
  border-radius: 8px;
  cursor: pointer;
}
.sale-copy:focus-visible {
  outline: 3px solid #9de4ee;
  outline-offset: 3px;
}
.sale-return-cost {
  font-size: 32px;
  color: #f1d7a2;
}
.sale-history {
  padding: 0;
  list-style: none;
}
.sale-history li {
  border-left: 2px solid #4c797e;
  padding: 4px 0 20px 20px;
  margin-left: 4px;
  font-size: 14px;
  position: relative;
}
.sale-history li:before {
  content: '';
  position: absolute;
  left: -5px;
  top: 8px;
  background: #9bc9c3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.sale-history small {
  display: block;
  margin-top: 7px;
  font-size: 11px;
  color: #93acbd;
}
.sale-upload {
  margin-top: 25px;
  font-size: 14px;
}
.sale-upload summary {
  cursor: pointer;
  padding: 10px 0;
}
.sale-upload form {
  margin-top: 20px;
  max-width: 480px;
}
@media (max-width: 600px) {
  .account-main--sale {
    width: calc(100% - 28px) !important;
    margin-top: 26px !important;
  }
  .sale-topline {
    margin-bottom: 24px;
    font-size: 11px;
  }
  .sale-topline span {
    display: none;
  }
  .sale-identity {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .sale-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border-top: 1px solid #30475a;
    padding-top: 14px;
  }
  .sale-total strong {
    font-size: 25px;
  }
  .sale-status,
  .sale-panel {
    padding: 24px 20px;
    border-radius: 14px;
  }
  .sale-status h2 {
    font-size: 23px;
  }
  .sale-amounts {
    gap: 12px;
  }
  .sale-amounts strong {
    font-size: 25px;
  }
  .sale-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .sale-button {
    width: 100%;
    box-sizing: border-box;
  }
  .sale-fields {
    grid-template-columns: 1fr;
  }
  .sale-bank > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .sale-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sale-gallery img {
    height: 140px;
  }
}
