.design-page .page-main {
  padding-bottom: 42px;
}
.design-page .breadcrumb {
  margin: 0;
  padding: 17px 11px 15px;
  color: #333;
  font-size: 16px;
}
.design-page .panel {
  border-radius: 6px;
  box-shadow: none;
}

.design-footer {
  min-height: 266px;
  padding: 31px 0 22px;
  background: #fff;
}
.design-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 58px;
  align-items: center;
}
.design-footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.design-footer-brand > img {
  width: 180px;
  height: auto;
}
.design-certifications {
  display: flex;
  align-items: center;
  gap: 10px;
}
.design-certifications span {
  display: inline-flex;
  min-width: 82px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #8bc5ff;
  border-radius: 3px;
  color: #438fff;
  font-size: 11px;
}
.design-footer-links {
  display: flex;
  gap: 36px;
  margin-top: 14px;
  color: #666;
  font-size: 16px;
}
.design-footer-copy {
  margin: 12px 0 0;
  color: #999;
  font-size: 16px;
}
.design-footer-records {
  margin: 24px 0 0;
  color: #999;
  font-size: 16px;
}
.design-footer-qrs {
  display: flex;
  gap: 28px;
}
.design-footer-qr {
  display: grid;
  gap: 8px;
  justify-items: center;
  color: #666;
  font-size: 16px;
}
.design-footer-qr img {
  width: 96px;
  height: 96px;
}

.agreement-layout {
  display: grid;
  min-height: 1302px;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 19px;
  align-items: stretch;
}
.agreement-menu {
  margin: 0;
  padding: 24px 0;
  list-style: none;
  background: #fff;
}
.agreement-menu a {
  display: flex;
  height: 60px;
  align-items: center;
  padding: 0 18px;
  font-size: 18px;
}
.agreement-menu a:hover,
.agreement-menu a.active {
  color: #fff;
  background: #2788fa;
}
.agreement-content {
  padding: 18px 39px 52px;
  background: #fff;
}
.agreement-content h1 {
  margin: 0 0 23px;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}
.agreement-panel[hidden] {
  display: none;
}
.agreement-copy {
  color: #333;
  font-size: 16px;
  line-height: 1.55;
}
.agreement-copy h2 {
  margin: 22px 0 7px;
  font-size: 16px;
  font-weight: 700;
}
.agreement-copy p {
  margin: 0 0 18px;
}

.recycle-page .recycle-card {
  min-height: 850px;
  padding: 34px 18px 52px;
}
.recycle-heading {
  display: flex;
  align-items: center;
  gap: 21px;
}
.recycle-heading img {
  width: 96px;
  height: 96px;
  border-radius: 7px;
}
.recycle-heading h1 {
  margin: 0 0 2px;
  font-size: 22px;
  font-weight: 700;
}
.recycle-heading p {
  margin: 0;
  color: #999;
  font-size: 16px;
}
.recycle-tabs {
  display: flex;
  gap: 38px;
  margin-top: 33px;
  border-bottom: 1px solid transparent;
}
.recycle-tabs button {
  position: relative;
  padding: 0 0 11px;
  border: 0;
  background: none;
  font-size: 18px;
  cursor: pointer;
}
.recycle-tabs button.active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  border-radius: 2px;
  background: #438fff;
  content: '';
}
.recycle-consultants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
  margin-top: 24px;
}
.recycle-consultant {
  display: flex;
  min-height: 120px;
  align-items: center;
  gap: 15px;
  padding: 16px 30px 16px 20px;
  background: #f7f7f7;
}
.recycle-consultant img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
}
.recycle-consultant strong {
  font-size: 18px;
}
.recycle-consultant a {
  display: inline-flex;
  width: 106px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border-radius: 20px;
  color: #fff;
  background: #2182f8;
  font-size: 16px;
}

.modal-page {
  height: 100vh;
  overflow: hidden;
}
.modal-underlay-frame {
  display: block;
  width: 100%;
  height: 100vh;
  border: 0;
}
.design-overlay {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  background: rgba(0, 0, 0, 0.42);
}
.design-overlay[hidden] {
  display: none;
}
.design-modal {
  position: relative;
  width: min(1000px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(20, 37, 62, 0.24);
}
.design-modal-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(42, 76, 115, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(29, 66, 108, 0.14);
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.design-modal-close::before,
.design-modal-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #34465b;
  content: '';
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center;
  transition: background-color 0.18s ease;
}
.design-modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.design-modal-close:hover {
  border-color: #2182f8;
  background: #2182f8;
  box-shadow: 0 6px 16px rgba(33, 130, 248, 0.28);
  transform: scale(1.05);
}
.design-modal-close:hover::before,
.design-modal-close:hover::after {
  background: #fff;
}
.design-modal-close:focus-visible {
  outline: 3px solid rgba(33, 130, 248, 0.35);
  outline-offset: 2px;
}

.guarantee-modal {
  width: min(960px, calc(100vw - 48px));
  height: min(672px, calc(100vh - 48px));
  height: min(672px, calc(100dvh - 48px));
  overflow: hidden;
  background: #eef9ff url('guarantee-desktop.png') center / 100% 100% no-repeat;
}
.guarantee-modal-copy {
  position: absolute;
  right: 46px;
  bottom: 27px;
  left: 46px;
  color: #26364a;
  text-align: center;
}
.guarantee-modal-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 122px;
  margin-bottom: 13px;
}
.guarantee-modal-details > div {
  min-width: 0;
  padding: 4px 34px 0;
}
.guarantee-modal-details > div + div {
  border-left: 1px dashed #d9e8f4;
}
.guarantee-modal-copy h2 {
  margin: 0 0 10px;
  color: #182b43;
  font-size: 18px;
  font-weight: 700;
}
.guarantee-modal-intro p {
  margin: 0;
  color: #617083;
  font-size: 13px;
  line-height: 1.75;
  text-align: left;
}
.guarantee-modal-stats {
  display: flex;
  justify-content: center;
  gap: 42px;
}
.guarantee-modal-stats span {
  display: grid;
  justify-items: center;
}
.guarantee-modal-stats strong {
  color: #2182f8;
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}
.guarantee-modal-stats em {
  font-size: 16px;
  font-style: normal;
}
.guarantee-modal-stats small {
  margin-top: 9px;
  color: #617083;
  font-size: 12px;
  white-space: nowrap;
}
.guarantee-modal-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.guarantee-modal-actions a {
  display: inline-flex;
  width: 264px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #2182f8;
  border-radius: 6px;
  color: #2182f8;
  background: #fff;
  font-size: 16px;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.guarantee-modal-actions a:hover {
  background: #f2f8ff;
}
.guarantee-modal-actions a.primary {
  border-color: #2182f8;
  color: #fff;
  background: linear-gradient(90deg, #2a93ff, #1376ee);
  box-shadow: 0 8px 18px rgba(33, 130, 248, 0.2);
}
.guarantee-modal-actions a.primary:hover {
  background: linear-gradient(90deg, #218af5, #0e6fe7);
}

.contact-modal {
  display: grid;
  width: min(1000px, calc(100vw - 48px));
  height: min(720px, calc(100vh - 48px));
  height: min(720px, calc(100dvh - 48px));
  grid-template-columns: 310px minmax(0, 1fr) 250px;
  grid-template-rows: 64px minmax(0, 1fr);
  overflow: hidden;
  border-radius: 8px;
}
.chat-brandbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 70px 0 26px;
  color: #fff;
  background: linear-gradient(90deg, #1764ba, #2088ff);
}
.chat-brandbar img {
  width: 178px;
  filter: brightness(0) invert(1);
}
.chat-brandbar span {
  font-size: 16px;
}
.contact-modal .design-modal-close {
  top: 12px;
  right: 14px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.contact-modal .design-modal-close::before,
.contact-modal .design-modal-close::after {
  background: #fff;
}
.contact-modal .design-modal-close:hover {
  background: rgba(255, 255, 255, 0.28);
}
.chat-contacts {
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid #e7e7e7;
  background: #fff;
}
.chat-filter {
  display: flex;
  height: 70px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}
.chat-filter span {
  color: #8b96a7;
  font-size: 12px;
}
.chat-contact-list {
  height: calc(100% - 70px);
  overflow-x: hidden;
  overflow-y: auto;
}
.chat-contact {
  display: grid;
  width: 100%;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid #f0f2f5;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.chat-contact:hover {
  background: #f3f8ff;
}
.chat-contact.active {
  background: #ecf6ff;
  box-shadow: inset 3px 0 #2182f8;
}
.chat-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}
.chat-contact strong {
  display: block;
  overflow: hidden;
  color: #26364a;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-contact small {
  display: block;
  overflow: hidden;
  color: #999;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-contact time {
  align-self: start;
  color: #9aa4b2;
  font-size: 12px;
}
.chat-contact time.is-online {
  color: #20a66a;
}
.chat-panel-state {
  margin: 0;
  padding: 32px 18px;
  color: #8b96a7;
  text-align: center;
  line-height: 1.7;
}
.chat-panel-state a {
  display: inline-flex;
  height: 34px;
  align-items: center;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 4px;
  color: #fff;
  background: #2182f8;
}
.chat-main {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #f6f8fa;
}
.chat-session {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: #fff;
}
.chat-session strong {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-session img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.chat-session button {
  padding: 7px 16px;
  border: 0;
  border-radius: 18px;
  color: #666;
  background: #f1f1f1;
}
.chat-session-meta {
  display: grid;
  gap: 3px;
}
.chat-session-meta b {
  color: #26364a;
  font-size: 16px;
  font-weight: 700;
}
.chat-session-meta small {
  color: #8b96a7;
  font-size: 12px;
  font-weight: 400;
}
.chat-session-meta small.is-online {
  color: #20a66a;
}
.chat-messages {
  min-height: 0;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 28px 22px 18px;
  scroll-behavior: smooth;
}
.chat-message {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.chat-message > img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.chat-message.is-self {
  flex-direction: row-reverse;
}
.chat-message.is-self .chat-message-body {
  text-align: right;
}
.chat-message.is-self .chat-message-meta {
  text-align: right;
}
.chat-message-meta {
  margin-bottom: 6px;
  color: #777;
}
.chat-message-meta em {
  margin-left: 12px;
  color: #2182f8;
  font-style: normal;
}
.chat-bubble {
  display: inline-block;
  max-width: 430px;
  padding: 11px 15px;
  border-radius: 0 10px 10px;
  background: #fff;
  font-size: 16px;
}
.chat-message.is-self .chat-bubble {
  border-radius: 10px 0 10px 10px;
  color: #fff;
  background: #2182f8;
  text-align: left;
}
.chat-bubble-image {
  display: block;
  max-width: 240px;
  max-height: 260px;
  border-radius: 8px;
  object-fit: contain;
}
.chat-empty-state {
  display: grid;
  min-height: 100%;
  place-content: center;
  gap: 8px;
  color: #98a2b1;
  text-align: center;
}
.chat-empty-state strong {
  color: #526176;
  font-size: 16px;
}
.chat-empty-state a {
  display: inline-flex;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin: 10px auto 0;
  padding: 0 22px;
  border-radius: 5px;
  color: #fff;
  background: #2182f8;
}
.chat-product {
  width: min(410px, 100%);
  margin-top: 8px;
  padding: 15px;
  border-radius: 9px;
  background: #fff;
}
.chat-product strong {
  display: block;
}
.chat-product b {
  color: #ff8a24;
  font-size: 20px;
}
.chat-product a {
  display: flex;
  width: 200px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin: 15px auto 0;
  border: 1px solid #2182f8;
  border-radius: 6px;
  color: #2182f8;
}
.chat-composer {
  height: 156px;
  padding: 12px 18px;
  border-top: 1px solid #e7e7e7;
  background: #fff;
}
.chat-composer.is-disabled {
  opacity: 0.72;
}
.chat-composer-status {
  min-height: 20px;
  margin: 0 0 5px;
  color: #8b96a7;
  font-size: 12px;
  line-height: 20px;
}
.chat-composer-status.is-error {
  color: #e5484d;
}
.chat-tools {
  display: flex;
  gap: 18px;
  color: #666;
  font-size: 16px;
}
.chat-input-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.chat-input-row textarea {
  min-width: 0;
  height: 86px;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #e4e8ee;
  border-radius: 6px;
  outline: none;
  resize: none;
}
.chat-input-row textarea:focus {
  border-color: #79b8ff;
  box-shadow: 0 0 0 3px rgba(33, 130, 248, 0.09);
}
.chat-input-row button {
  width: 82px;
  height: 40px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  background: #2182f8;
  cursor: pointer;
}
.chat-input-row button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.chat-profile {
  background: #fff;
}
.chat-profile-tabs {
  display: flex;
  height: 59px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}
.chat-profile-tabs button {
  height: 59px;
  padding: 0 3px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #333;
  background: transparent;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.chat-profile-tabs button:hover {
  color: #2182f8;
}
.chat-profile-tabs button.is-active {
  border-bottom-color: #2182f8;
  color: #2182f8;
}
.chat-profile-tabs button:focus-visible {
  outline: 2px solid rgba(33, 130, 248, 0.35);
  outline-offset: -4px;
}
.chat-profile-panel[hidden] {
  display: none;
}
.chat-profile-card {
  padding: 18px;
}
.chat-profile-card header {
  display: flex;
  gap: 12px;
  align-items: center;
}
.chat-profile-card header img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}
.chat-profile-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
}
.chat-profile-card p {
  margin: 11px 0;
  color: #555;
}
.chat-profile-card header span {
  color: #8b96a7;
  font-size: 12px;
}
.chat-profile-card header span.is-online {
  color: #20a66a;
}
.chat-rating {
  color: #f2b628;
  font-size: 20px;
}
.chat-trust {
  margin-top: 18px;
  padding: 28px 18px;
  color: #8b6a3d;
  background: linear-gradient(180deg, #fff9eb, #fff);
}
.chat-trust h3 {
  margin: 0 0 18px;
  text-align: center;
}
.chat-trust li {
  margin: 14px 0;
}
.chat-verification {
  padding: 34px 18px 24px;
  text-align: center;
}
.chat-verification-mark {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #2182f8;
  box-shadow: 0 8px 20px rgba(33, 130, 248, 0.2);
  font-size: 30px;
  font-weight: 700;
}
.chat-verification h3 {
  margin: 15px 0 6px;
  color: #26364a;
  font-size: 17px;
}
.chat-verification > p {
  margin: 0;
  color: #8b96a7;
  font-size: 12px;
}
.chat-verification dl {
  margin: 28px 0 0;
  padding: 0 14px;
  border-radius: 6px;
  background: #f7f9fc;
  text-align: left;
}
.chat-verification dl div {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e9edf3;
}
.chat-verification dl div:last-child {
  border-bottom: 0;
}
.chat-verification dt {
  color: #8b96a7;
}
.chat-verification dd {
  margin: 0;
  color: #26364a;
}
.chat-verification dd.is-certified {
  color: #20a66a;
}

.download-page {
  min-height: 1125px;
  background: #f2f4ff url('download-background.png') center 44px / 1920px 1080px no-repeat;
}
.download-page .site-topbar {
  position: relative;
  z-index: 2;
}
.download-visual {
  position: relative;
  width: 1920px;
  max-width: 100%;
  min-height: 1080px;
  margin: 0 auto;
}
.download-brand {
  position: absolute;
  top: 129px;
  left: max(calc((100% - 1290px) / 2), 30px);
  width: 233px;
}
.download-card {
  position: absolute;
  top: 90px;
  left: calc(50% + 89px);
  width: 499px;
  height: 669px;
  padding: 89px 91px 48px;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(67, 143, 255, 0.25);
  text-align: center;
}
.download-card img {
  width: 315px;
  height: 315px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.download-card h1 {
  margin: 22px 0 17px;
  font-size: 24px;
  font-weight: 400;
}
.download-card a {
  display: flex;
  width: 315px;
  height: 60px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #fff;
  background: #2182f8;
  font-size: 24px;
}
.download-card p {
  margin: 19px 0 0;
  color: #999;
  font-size: 16px;
}
.download-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

@media (min-width: 761px) {
  .design-page .page-main {
    position: relative;
    top: -27px;
    margin-bottom: -27px;
  }
}

@media (max-width: 760px) {
  .design-page .breadcrumb {
    padding: 10px 2px;
    font-size: 12px;
  }
  .design-footer {
    padding: 24px 0;
  }
  .design-footer-inner {
    display: block;
  }
  .design-certifications,
  .design-footer-qrs,
  .design-footer-records {
    display: none;
  }
  .design-footer-brand > img {
    width: 150px;
  }
  .design-footer-links {
    gap: 18px;
    font-size: 13px;
  }
  .design-footer-copy {
    font-size: 12px;
  }
  .agreement-layout {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .agreement-menu {
    display: flex;
    overflow-x: auto;
    padding: 0;
  }
  .agreement-menu li {
    flex: 0 0 auto;
  }
  .agreement-menu a {
    height: 44px;
    padding: 0 13px;
    font-size: 13px;
  }
  .agreement-content {
    padding: 18px 14px 30px;
  }
  .agreement-content h1 {
    font-size: 18px;
  }
  .agreement-copy {
    font-size: 14px;
  }
  .recycle-page .recycle-card {
    min-height: 0;
    padding: 18px 12px 26px;
  }
  .recycle-heading img {
    width: 58px;
    height: 58px;
  }
  .recycle-heading h1 {
    font-size: 18px;
  }
  .recycle-heading p {
    font-size: 12px;
  }
  .recycle-consultants {
    grid-template-columns: 1fr;
  }
  .recycle-consultant {
    min-height: 82px;
    padding: 10px;
  }
  .recycle-consultant img {
    width: 58px;
    height: 58px;
  }
  .recycle-consultant strong {
    font-size: 15px;
  }
  .recycle-consultant a {
    width: 76px;
    height: 34px;
    font-size: 13px;
  }
  .design-overlay {
    padding: 12px;
  }
  .design-modal {
    width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .guarantee-modal {
    height: min(590px, calc(100vh - 24px));
    height: min(590px, calc(100dvh - 24px));
    min-height: 0;
    background-size: auto 100%;
    background-position: top center;
  }
  .guarantee-modal-copy {
    right: 14px;
    bottom: 18px;
    left: 14px;
  }
  .guarantee-modal-details {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
  }
  .guarantee-modal-details > div {
    padding: 0;
  }
  .guarantee-modal-details > div + div {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #d9e8f4;
    border-left: 0;
  }
  .guarantee-modal-copy h2 {
    margin-bottom: 5px;
    font-size: 15px;
  }
  .guarantee-modal-intro p {
    font-size: 11px;
    line-height: 1.55;
  }
  .guarantee-modal-stats {
    gap: 34px;
  }
  .guarantee-modal-stats strong {
    font-size: 22px;
  }
  .guarantee-modal-stats small {
    margin-top: 4px;
    font-size: 10px;
  }
  .guarantee-modal-actions {
    gap: 10px;
  }
  .guarantee-modal-actions a {
    width: 50%;
    height: 42px;
    font-size: 14px;
  }
  .contact-modal {
    height: calc(100vh - 24px);
    height: calc(100dvh - 24px);
    grid-template-columns: 1fr;
    grid-template-rows: 60px minmax(0, 1fr);
  }
  .chat-brandbar {
    padding: 0 58px 0 18px;
  }
  .chat-brandbar img {
    width: 145px;
  }
  .chat-contacts,
  .chat-profile {
    display: none;
  }
  .chat-main {
    grid-column: 1;
  }
  .chat-messages {
    padding: 24px 12px 10px;
  }
  .chat-composer {
    height: 142px;
    padding: 10px 12px;
  }
  .chat-input-row textarea {
    height: 74px;
  }
  .chat-message > img {
    width: 38px;
    height: 38px;
  }
  .chat-bubble {
    max-width: calc(100vw - 120px);
    padding: 9px 12px;
    font-size: 14px;
  }
  .chat-product {
    width: 100%;
  }
  .download-page {
    min-height: 100vh;
    background-position: 38% 44px;
    background-size: auto calc(100vh - 44px);
  }
  .download-visual {
    min-height: calc(100vh - 44px);
  }
  .download-brand {
    top: 35px;
    left: 20px;
    width: 180px;
  }
  .download-card {
    top: 180px;
    left: 50%;
    width: min(330px, calc(100% - 30px));
    height: auto;
    padding: 35px;
    border-radius: 20px;
    transform: translateX(-50%);
  }
  .download-card img {
    width: 100%;
    height: auto;
  }
  .download-card a {
    width: 100%;
  }
}

/* Lanhu recycle form: compact two-column valuation layout. */
.recycle-page .recycle-card {
  min-height: 553px;
  padding: 32px 25px 25px;
}
.recycle-page .recycle-heading {
  gap: 16px;
}
.recycle-page .recycle-heading img {
  width: 52px;
  height: 52px;
  border-radius: 0;
  object-fit: contain;
}
.recycle-page .recycle-heading h1 {
  margin-bottom: 5px;
  color: #1d2c40;
  font-size: 22px;
}
.recycle-page .recycle-heading p {
  color: #7c8da8;
  font-size: 14px;
}
.recycle-page .recycle-form-grid {
  max-width: 860px;
  gap: 21px 28px;
  margin-top: 31px;
}
.recycle-page .form-panel {
  padding: 0;
}
.recycle-page .recycle-form-grid .field label {
  margin-bottom: 10px;
  color: #536b8e;
  font-size: 14px;
  font-weight: 400;
}
.recycle-page .recycle-form-grid .field input,
.recycle-page .recycle-form-grid .field select {
  height: 48px;
  padding: 0 13px;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  color: #526176;
  background: #fafbfe;
  font-size: 14px;
}
.recycle-page .recycle-form-grid .field textarea {
  height: 115px;
  min-height: 115px;
  padding: 13px;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  color: #526176;
  background: #fafbfe;
  font-size: 14px;
  line-height: 1.6;
}
.recycle-page .recycle-form-grid .field input::placeholder,
.recycle-page .recycle-form-grid .field select:invalid,
.recycle-page .recycle-form-grid .field textarea::placeholder {
  color: #8190a6;
}
.recycle-page .form-action {
  margin-top: 27px;
}
.recycle-page .form-action .primary-btn {
  width: 210px;
  height: 42px;
  min-height: 42px;
  border-radius: 21px;
  background: #2f86f6;
  font-size: 14px;
  font-weight: 400;
}
.recycle-page .form-action .primary-btn:hover {
  background: #1778ef;
}
.recycle-page .sell-form-status {
  max-width: 860px;
  margin: 14px auto 0;
  text-align: center;
}

@media (max-width: 760px) {
  .recycle-page .recycle-card {
    min-height: 0;
    padding: 20px 14px 28px;
  }
  .recycle-page .recycle-heading img {
    width: 52px;
    height: 52px;
  }
  .recycle-page .recycle-heading h1 {
    font-size: 18px;
  }
  .recycle-page .recycle-heading p {
    font-size: 12px;
  }
  .recycle-page .recycle-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 24px;
  }
  .recycle-page .recycle-form-grid .field.full {
    grid-column: auto;
  }
  .recycle-page .recycle-form-grid .field input,
  .recycle-page .recycle-form-grid .field select {
    height: 46px;
    font-size: 13px;
  }
  .recycle-page .recycle-form-grid .field textarea {
    height: 110px;
    min-height: 110px;
    font-size: 13px;
  }
  .recycle-page .form-action {
    margin-top: 22px;
  }
  .recycle-page .form-action .primary-btn {
    width: min(210px, 100%);
  }
}
/* Unified trade publishing wizard. Legacy edit forms keep their existing layout. */
.sell-page .publish-wizard {
  min-height: 720px;
  padding: 32px 36px 28px;
  border: 1px solid #e8ebf0;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}
.publish-wizard [hidden] {
  display: none !important;
}
.publish-wizard-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.publish-wizard-heading h1 {
  margin: 2px 0 8px;
  color: #222;
  font-size: 26px;
  line-height: 36px;
  font-weight: 600;
}
.publish-wizard-heading > div > p:last-child {
  margin: 0;
  color: #7b8390;
  font-size: 14px;
  line-height: 22px;
}
.publish-eyebrow {
  margin: 0;
  color: #157efb;
  font-size: 13px;
  line-height: 20px;
}
.publish-session-state {
  flex: 0 0 auto;
  min-width: 92px;
  padding: 7px 12px;
  border: 1px solid #cfe1f7;
  border-radius: 4px;
  background: #f3f8ff;
  color: #176fd1;
  text-align: center;
  font-size: 13px;
}
.publish-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 30px 0 36px;
  padding: 0;
  list-style: none;
}
.publish-steps li {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #9299a4;
  font-size: 13px;
}
.publish-steps li::before {
  position: absolute;
  z-index: 0;
  top: 15px;
  right: 50%;
  width: 100%;
  height: 1px;
  background: #e1e5eb;
  content: '';
}
.publish-steps li:first-child::before {
  display: none;
}
.publish-steps b {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8dde5;
  border-radius: 50%;
  background: #fff;
  font-weight: 500;
}
.publish-steps .is-active {
  color: #176fd1;
  font-weight: 600;
}
.publish-steps .is-active b {
  border-color: #157efb;
  background: #157efb;
  color: #fff;
}
.publish-steps .is-done {
  color: #48586b;
}
.publish-steps .is-done::before {
  background: #72aef4;
}
.publish-steps .is-done b {
  border-color: #72aef4;
  color: #176fd1;
}
.publish-wizard-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.publish-notice-modal {
  z-index: 40;
  padding: 20px;
}
.publish-notice-card {
  position: relative;
  z-index: 1;
  width: min(390px, calc(100vw - 40px));
  padding: 34px 34px 30px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(24, 49, 82, 0.24);
  text-align: center;
}
.publish-notice-close {
  position: absolute;
  top: 12px;
  right: 13px;
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #8993a2;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease;
}
.publish-notice-close:hover {
  color: #303a48;
  background: #f1f4f8;
}
.publish-notice-icon {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  margin-bottom: 17px;
  border-radius: 50%;
  color: #fff;
  background: #31b779;
  font-size: 28px;
  font-weight: 600;
}
.publish-notice-modal.is-error .publish-notice-icon {
  background: #ee5e5e;
}
.publish-notice-modal.is-loading .publish-notice-icon {
  box-sizing: border-box;
  border: 4px solid #dcecff;
  border-top-color: #2083f5;
  background: transparent;
  animation: publish-notice-spin 0.75s linear infinite;
}
.publish-notice-card h3 {
  margin: 0 0 10px;
  color: #273345;
  font-size: 19px;
  line-height: 28px;
  font-weight: 600;
}
.publish-notice-card p {
  margin: 0;
  color: #697689;
  font-size: 14px;
  line-height: 23px;
}
.publish-notice-confirm {
  min-width: 112px;
  height: 38px;
  margin-top: 23px;
  padding: 0 24px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #2083f5;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}
.publish-notice-confirm:hover {
  background: #1474de;
  box-shadow: 0 6px 16px rgba(32, 131, 245, 0.22);
}
@keyframes publish-notice-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .publish-notice-modal.is-loading .publish-notice-icon {
    animation: none;
  }
}
.publish-step-panel {
  min-height: 400px;
}
.publish-section-title {
  margin-bottom: 22px;
}
.publish-section-title h2,
.publish-section-title h3 {
  margin: 0 0 7px;
  color: #2a2d32;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}
.publish-section-title h3 {
  font-size: 16px;
  line-height: 24px;
}
.publish-section-title p {
  margin: 0;
  color: #8a919c;
  font-size: 13px;
  line-height: 20px;
}
.publish-field-grid,
.publish-dynamic-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 28px;
}
.publish-dynamic-fields:not(:empty) {
  margin-top: 20px;
}
.publish-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
  color: #4d535c;
  font-size: 14px;
}
.publish-field > span {
  line-height: 20px;
}
.publish-field em,
.publish-upload-block em {
  margin-left: 3px;
  color: #eb3f3f;
  font-style: normal;
}
.publish-field input,
.publish-field select,
.publish-field textarea,
.publish-sku-row input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #dfe3e9;
  border-radius: 4px;
  outline: none;
  background: #fff;
  color: #2f3338;
  font-size: 14px;
}
.publish-field select {
  height: 48px;
  padding: 0 38px 0 13px;
  border-color: #dfe5ef;
  border-radius: 8px;
  color: #526176;
  background: #fafbfe;
  cursor: pointer;
}
.publish-field textarea {
  min-height: 102px;
  padding-top: 12px;
  resize: vertical;
}
.publish-field input:focus,
.publish-field select:focus,
.publish-field textarea:focus,
.publish-sku-row input:focus {
  border-color: #4999ef;
  box-shadow: 0 0 0 2px rgba(21, 126, 251, 0.08);
}
.publish-field small {
  color: #9098a4;
  font-size: 12px;
  line-height: 18px;
}
.publish-choice-group {
  display: flex;
  min-height: 46px;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.publish-choice-group label {
  position: relative;
  cursor: pointer;
}
.publish-choice-group input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.publish-choice-group span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 13px;
  border: 1px solid #dfe3e9;
  border-radius: 4px;
  color: #5f6874;
  font-size: 13px;
}
.publish-choice-group input:checked + span {
  border-color: #157efb;
  background: #edf6ff;
  color: #116fda;
}
.publish-field-wide {
  grid-column: 1 / -1;
}
.publish-category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.publish-field-grid + .publish-category-list {
  margin-top: 20px;
}
.publish-category-card {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  padding: 18px 20px;
  border: 1px solid #e0e4ea;
  border-radius: 6px;
  background: #fff;
  color: #777f8a;
  text-align: left;
  cursor: pointer;
}
.publish-category-card b {
  color: #30343a;
  font-size: 17px;
  font-weight: 600;
}
.publish-category-card span {
  font-size: 13px;
}
.publish-category-card:hover {
  border-color: #86b9f2;
  background: #f8fbff;
}
.publish-category-card.is-active {
  border-color: #157efb;
  background: #f1f7ff;
  box-shadow: inset 3px 0 #157efb;
}
.publish-subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.publish-subcategory {
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid #dfe4eb;
  border-radius: 4px;
  background: #fff;
  color: #535a64;
  cursor: pointer;
}
.publish-subcategory:hover,
.publish-subcategory.is-active {
  border-color: #157efb;
  background: #157efb;
  color: #fff;
}
.publish-specimen-list {
  margin-top: 24px;
}
.publish-specimen-list h3 {
  margin: 0 0 12px;
  font-size: 16px;
}
.publish-specimen-list > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.publish-specimen {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  min-height: 70px;
  align-items: center;
  gap: 4px 10px;
  padding: 10px;
  border: 1px solid #e0e4e9;
  border-radius: 5px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.publish-specimen img {
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  object-fit: cover;
}
.publish-specimen b,
.publish-specimen span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.publish-specimen b {
  font-size: 14px;
}
.publish-specimen span {
  color: #858d99;
  font-size: 12px;
}
.publish-specimen.is-active {
  border-color: #157efb;
  background: #f4f9ff;
}
.publish-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px dashed #dfe3e9;
  color: #8c939e;
  text-align: center;
  font-size: 13px;
}
.publish-upload-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 26px;
  margin-top: 25px;
}
.publish-upload-block {
  min-width: 0;
}
.publish-upload-block > span {
  display: block;
  margin-bottom: 10px;
  color: #4d535c;
  font-size: 14px;
}
.publish-upload-block small {
  margin-left: 8px;
  color: #9299a4;
  font-size: 12px;
}
.publish-upload-button {
  display: inline-flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 17px;
  border: 1px solid #c8d9ec;
  border-radius: 4px;
  background: #f5f9fe;
  color: #176fd1;
  font-size: 13px;
  cursor: pointer;
}
.publish-upload-button:hover {
  border-color: #157efb;
  background: #eaf4ff;
}
.publish-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.publish-image-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}
.publish-image-preview figure {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 0;
  border: 1px solid #e0e4e9;
  border-radius: 4px;
  overflow: hidden;
  background: #f5f6f8;
}
.publish-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.publish-image-preview button,
.publish-sku-row button {
  position: absolute;
  top: 3px;
  right: 3px;
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(25, 30, 38, 0.72);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.publish-compensation-fields {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #edf0f3;
}
.publish-compensation-fields .publish-upload-block {
  margin-top: 18px;
}
.publish-fee-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid #e1e5ea;
  border-radius: 5px;
  background: #e1e5ea;
}
.publish-fee-summary > span {
  grid-column: 1 / -1;
  padding: 20px;
  background: #f8f9fb;
  color: #8b929c;
  text-align: center;
}
.publish-fee-summary > div {
  display: flex;
  min-height: 78px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  background: #fff;
}
.publish-fee-summary > div span {
  color: #818995;
  font-size: 12px;
}
.publish-fee-summary > div b {
  color: #31353a;
  font-size: 20px;
  font-weight: 600;
}
.publish-fee-summary .is-total b {
  color: #e34e38;
}
.publish-fee-summary ul {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 18px;
  background: #fafbfc;
  list-style: none;
}
.publish-fee-summary li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 5px 0;
  color: #737b86;
  font-size: 12px;
}
.publish-fee-summary li b {
  color: #454b54;
  font-weight: 500;
}
.publish-fee-summary li.is-fail span {
  color: #d64242;
}
.publish-fee-summary li.is-pass span {
  color: #288259;
}
.publish-agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #66707c;
  font-size: 13px;
}
.publish-agreement input {
  width: 16px;
  height: 16px;
  accent-color: #157efb;
}
.publish-sku-editor {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #e8ebef;
}
.publish-sku-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 150px 130px 30px;
  gap: 10px;
  margin-bottom: 10px;
}
.publish-sku-row button {
  position: static;
  align-self: center;
  background: #f0f2f5;
  color: #616976;
}
.publish-add-sku {
  height: 38px;
}
.publish-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid #eceff2;
}
.publish-actions button {
  min-width: 112px;
  height: 44px;
  border-radius: 4px;
}
.publish-actions .primary-btn {
  border: 0;
  background: #157efb;
  color: #fff;
}
.publish-actions .ghost-btn {
  border: 1px solid #d5dbe3;
  background: #fff;
  color: #535c68;
}
.publish-audit-panel {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.publish-audit-icon {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #eaf7f0;
  color: #258457;
  font-size: 32px;
}
.publish-audit-panel h2 {
  margin: 0 0 10px;
  color: #2d3238;
  font-size: 22px;
}
.publish-audit-panel p {
  max-width: 520px;
  margin: 0 0 24px;
  color: #7d8590;
  font-size: 14px;
  line-height: 22px;
}
.publish-audit-panel .primary-btn {
  display: inline-flex;
  min-width: 150px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .sell-page .publish-wizard {
    min-height: 0;
    padding: 20px 14px;
  }
  .publish-wizard-heading {
    gap: 12px;
  }
  .publish-wizard-heading h1 {
    font-size: 21px;
    line-height: 29px;
  }
  .publish-wizard-heading > div > p:last-child {
    font-size: 12px;
    line-height: 18px;
  }
  .publish-session-state {
    min-width: 76px;
    padding: 6px 8px;
    font-size: 11px;
  }
  .publish-steps {
    margin: 22px 0 28px;
  }
  .publish-steps li {
    flex-direction: column;
    gap: 5px;
    font-size: 10px;
    text-align: center;
  }
  .publish-steps li::before {
    top: 13px;
  }
  .publish-steps b {
    width: 26px;
    height: 26px;
  }
  .publish-section-title h2 {
    font-size: 18px;
  }
  .publish-field-grid,
  .publish-dynamic-fields,
  .publish-category-list,
  .publish-upload-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .publish-field-grid + .publish-category-list {
    margin-top: 16px;
  }
  .publish-field-wide {
    grid-column: auto;
  }
  .publish-category-card {
    min-height: 78px;
  }
  .publish-specimen-list > div {
    grid-template-columns: 1fr;
  }
  .publish-fee-summary {
    grid-template-columns: 1fr;
  }
  .publish-fee-summary > div,
  .publish-fee-summary ul {
    grid-column: 1;
  }
  .publish-fee-summary > div {
    min-height: 62px;
  }
  .publish-sku-row {
    grid-template-columns: 1fr 1fr 1fr 30px;
  }
  .publish-actions {
    position: sticky;
    z-index: 3;
    bottom: 0;
    margin: 24px -14px -20px;
    padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    background: #fff;
    box-shadow: 0 -4px 16px rgba(39, 49, 62, 0.07);
  }
  .publish-actions button {
    min-width: 0;
    flex: 1;
  }
}

@media (max-width: 520px) {
  .publish-steps span {
    display: none;
  }
  .publish-sku-row {
    grid-template-columns: 1fr 1fr 30px;
  }
  .publish-sku-row input:first-child {
    grid-column: 1 / -1;
  }
}
