/* Auth nav + publish button */

/* Desktop top bar: phone + auth vertically align with left slogan */
/* Desktop top bar: logo slightly right; phone/auth slightly right, not flush */
@media screen and (min-width: 1025px) {
  header.header div.company-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    min-height: 0.72rem;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0.14rem !important;
    padding-right: 0.14rem !important;
  }
  header.header div.company-info div.info-left {
    display: flex !important;
    align-items: center !important;
    float: none !important;
    height: auto !important;
  }
  header.header div.company-info div.info-right {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    margin: 0 !important;
    gap: 0.12rem;
    flex-shrink: 0;
  }
  header.header div.company-info div.info-right > p {
    float: none !important;
    display: inline-flex !important;
    align-items: center !important;
    height: auto !important;
    line-height: 1 !important;
    margin: 0 !important;
  }
  header.header div.company-info div.info-right > p:last-child {
    margin-left: 0 !important;
  }
}

/* Top bar auth: capsule style like phone number */
header.header div.company-info div.info-right p.username {
  display: inline-flex !important;
  align-items: center !important;
  height: auto !important;
  line-height: 1 !important;
  margin-left: 0.12rem !important;
  overflow: visible !important;
  float: none !important;
}
header.header div.company-info div.info-right p.username .qeeshu-auth-slot,
header.header div.company-info div.info-right p.username .qeeshu-auth-nav {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.1rem !important;
  height: auto !important;
  line-height: 1 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  vertical-align: middle !important;
}
header.header div.company-info div.info-right p.username .qeeshu-auth-link,
header.header div.company-info div.info-right p.username .qeeshu-auth-user {
  display: inline-block !important;
  height: 0.3rem !important;
  line-height: 0.3rem !important;
  background: #fff !important;
  padding: 0 0.14rem !important;
  margin: 0 !important;
  border-radius: 0.15rem !important;
  border: none !important;
  color: #003b90 !important;
  font-size: 0.14rem !important;
  font-weight: 600;
  text-decoration: none !important;
  white-space: nowrap;
  vertical-align: middle !important;
  box-sizing: border-box;
}
header.header div.company-info div.info-right p.username .qeeshu-auth-link:hover,
header.header div.company-info div.info-right p.username .qeeshu-auth-user:hover {
  background: #eaf1ff !important;
  color: #003b90 !important;
  text-decoration: none !important;
}
header.header div.company-info div.info-right p.username .qeeshu-auth-profile {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.06rem !important;
  height: 0.3rem !important;
  padding: 0 0.08rem 0 0.02rem !important;
  margin: 0 !important;
  background: #fff !important;
  border-radius: 0.15rem !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  max-width: 2.2rem;
  box-sizing: border-box;
}
header.header div.company-info div.info-right p.username .qeeshu-auth-profile:hover {
  background: #eaf1ff !important;
}
header.header div.company-info div.info-right p.username .qeeshu-auth-avatar {
  width: 0.26rem !important;
  height: 0.26rem !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  flex-shrink: 0;
}
header.header div.company-info div.info-right p.username .qeeshu-auth-profile .qeeshu-auth-user {
  background: transparent !important;
  padding: 0 !important;
  height: auto !important;
  line-height: 1 !important;
  max-width: 1.4rem;
}

/* Hide duplicate login/register in main/phone nav (legacy injected items) */
.header-nav li.qeeshu-nav-auth,
.nav-wrapper li.qeeshu-nav-auth,
.nav-wrapper-phone li.qeeshu-nav-auth,
ul.nav-list > li.qeeshu-nav-auth {
  display: none !important;
}

/* Mobile hamburger: account actions — same scale as main nav */
.nav-wrapper-phone li.qeeshu-phone-auth {
  display: block !important;
}
.nav-wrapper-phone li.qeeshu-phone-auth-sep {
  pointer-events: none;
  margin: 0.2rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  line-height: 1.2 !important;
  height: auto !important;
  min-height: 0 !important;
}
.nav-wrapper-phone li.qeeshu-phone-auth-sep:after {
  display: none !important;
  content: none !important;
}
.nav-wrapper-phone li.qeeshu-phone-auth-sep .qeeshu-phone-auth-label {
  display: block;
  margin: 0.12rem 0 0.04rem;
  padding: 0.14rem 0 0.1rem;
  border-top: 1px solid rgba(0, 59, 144, 0.14);
  font-size: 0.22rem !important;
  line-height: 1.2 !important;
  color: #5a6f8f;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.nav-wrapper-phone li.qeeshu-phone-auth a {
  display: block;
  color: #000 !important;
  font-weight: normal !important;
  font-size: 0.26rem !important;
  line-height: 1rem !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.nav-wrapper-phone li.qeeshu-phone-auth a.qeeshu-auth-logout {
  color: #8a3a3a !important;
}

.qeeshu-auth-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.12rem;
  flex-wrap: wrap;
}
.qeeshu-auth-link,
.qeeshu-auth-user {
  color: #003b90;
  font-size: 0.14rem;
  text-decoration: none;
  padding: 0.02rem 0.08rem;
  border-radius: 0.04rem;
  white-space: nowrap;
}
.qeeshu-auth-link:hover,
.qeeshu-auth-user:hover {
  background: rgba(0, 59, 144, 0.08);
}
.qeeshu-auth-user {
  max-width: 1.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.qeeshu-publish-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #003b90;
  color: #fff !important;
  font-size: 0.18rem;
  font-weight: 700;
  padding: 0.14rem 0.34rem;
  border-radius: 0.08rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  letter-spacing: 0.02rem;
  min-height: 0.46rem;
  box-shadow: 0 0.06rem 0.18rem rgba(0, 59, 144, 0.28);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.qeeshu-publish-btn:hover {
  background: #0355c9;
  transform: translateY(-1px);
  box-shadow: 0 0.08rem 0.22rem rgba(0, 59, 144, 0.36);
}
.qeeshu-publish-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0.18rem auto 0.28rem;
  max-width: 12rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0 0.1rem;
}
.qeeshu-publish-bar .qeeshu-publish-btn {
  font-size: 0.22rem;
  font-weight: 700;
  padding: 0.18rem 0.46rem;
  min-height: 0.56rem;
  border-radius: 0.1rem;
  box-shadow: 0 0.08rem 0.22rem rgba(0, 59, 144, 0.32);
}
.shop-toolbar .qeeshu-publish-btn {
  margin-left: auto;
}
.article-publish-bar {
  margin: 0.08rem 0 0.16rem;
}

/* Auth / publish pages */
.qeeshu-auth-page {
  padding-top: 1.52rem;
  padding-bottom: 0.8rem;
  min-height: 6rem;
  background: linear-gradient(180deg, #f3f7fd 0%, #fff 40%);
}
.qeeshu-auth-card {
  max-width: 5.2rem;
  margin: 0.5rem auto;
  background: #fff;
  border-radius: 0.1rem;
  box-shadow: 0 0.08rem 0.28rem rgba(0, 59, 144, 0.12);
  padding: 0.4rem 0.36rem;
}
.qeeshu-auth-card h1 {
  font-size: 0.28rem;
  color: #023c90;
  margin-bottom: 0.08rem;
}
.qeeshu-auth-card .sub {
  font-size: 0.14rem;
  color: #666;
  margin-bottom: 0.28rem;
  line-height: 1.6;
}
.qeeshu-auth-card .hint,
.qeeshu-auth-card p.hint {
  margin: 0.08rem 0 0;
  font-size: 0.13rem;
  color: #666;
  line-height: 1.5;
}
.qeeshu-auth-card label {
  display: block;
  font-size: 0.14rem;
  color: #333;
  margin: 0.14rem 0 0.06rem;
}
.qeeshu-auth-card input,
.qeeshu-auth-card select,
.qeeshu-auth-card textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0dced;
  border-radius: 0.06rem;
  padding: 0.12rem 0.14rem;
  font-size: 0.15rem;
  color: #222;
}
.qeeshu-auth-card textarea {
  min-height: 1.6rem;
  resize: vertical;
  line-height: 1.6;
}
.qeeshu-auth-card input:focus,
.qeeshu-auth-card textarea:focus,
.qeeshu-auth-card select:focus {
  outline: none;
  border-color: #003b90;
}
.qeeshu-auth-actions {
  margin-top: 0.28rem;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}
.qeeshu-auth-actions button {
  background: #003b90;
  color: #fff;
  border: 0;
  border-radius: 0.06rem;
  padding: 0.14rem;
  font-size: 0.16rem;
  font-weight: 600;
  cursor: pointer;
}
.qeeshu-auth-actions button:hover {
  background: #0355c9;
}
.qeeshu-auth-actions .muted {
  text-align: center;
  font-size: 0.14rem;
  color: #666;
}
.qeeshu-auth-actions .muted a {
  color: #003b90;
}
.qeeshu-auth-msg {
  margin-top: 0.12rem;
  font-size: 0.14rem;
  color: #c62828;
  min-height: 0.22rem;
}
.qeeshu-auth-msg.ok {
  color: #2e7d32;
}
.qeeshu-auth-msg.qeeshu-publish-success {
  margin-top: 0.2rem;
  padding: 0.2rem 0.22rem;
  border-radius: 0.08rem;
  background: linear-gradient(180deg, #e8f7ec 0%, #f4fbf6 100%);
  border: 1px solid #9fd6ad;
  color: #1b5e20;
  min-height: auto;
  line-height: 1.5;
}
.qeeshu-publish-success-title {
  font-size: 0.22rem;
  font-weight: 700;
  color: #1b5e20;
  margin-bottom: 0.06rem;
}
.qeeshu-publish-success-body {
  font-size: 0.16rem;
  color: #2e7d32;
  margin-bottom: 0.14rem;
}
.qeeshu-publish-success-btn {
  display: inline-block;
  padding: 0.1rem 0.22rem;
  border-radius: 0.06rem;
  background: #003b90;
  color: #fff !important;
  font-size: 0.15rem;
  font-weight: 600;
  text-decoration: none !important;
}
.qeeshu-publish-success-btn:hover {
  background: #0250c5;
}
.qeeshu-publish-list {
  margin-top: 0.3rem;
  border-top: 1px solid #eef3fb;
  padding-top: 0.2rem;
}
.qeeshu-publish-list h3 {
  font-size: 0.16rem;
  color: #023c90;
  margin-bottom: 0.12rem;
}
.qeeshu-publish-list li {
  font-size: 0.13rem;
  color: #444;
  line-height: 1.5;
  padding: 0.1rem 0;
  border-bottom: 1px dashed #eef3fb;
}

/* Full-width publish page */
.qeeshu-publish-page {
  padding-top: 1.52rem;
  padding-bottom: 0.7rem;
  min-height: 6rem;
  background: linear-gradient(180deg, #f3f7fd 0%, #fff 35%);
}
.qeeshu-publish-page .container {
  width: 100%;
  max-width: 12rem;
  box-sizing: border-box;
}
.qeeshu-publish-card {
  max-width: none !important;
  width: 100%;
  margin: 0.28rem auto 0;
  background: #fff;
  border-radius: 0.08rem;
  box-shadow: 0 0.06rem 0.22rem rgba(0, 59, 144, 0.1);
  padding: 0.32rem 0.36rem 0.4rem;
  box-sizing: border-box;
}
.qeeshu-publish-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.24rem;
  margin-bottom: 0.22rem;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid #e8eef8;
}
.qeeshu-publish-head h1 {
  font-size: 0.28rem;
  color: #023c90;
  margin: 0 0 0.06rem;
}
.qeeshu-publish-head .sub {
  margin: 0;
  font-size: 0.13rem;
  color: #666;
  line-height: 1.55;
  max-width: 7.2rem;
}
.qeeshu-publish-grid {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.18rem 0.28rem;
  align-items: start;
}
.qeeshu-publish-grid > label {
  margin: 0.08rem 0 0;
  padding-top: 0.08rem;
  font-size: 0.14rem;
  color: #333;
  font-weight: 600;
}
.qeeshu-publish-grid > .field {
  min-width: 0;
}
.qeeshu-publish-card input,
.qeeshu-publish-card select,
.qeeshu-publish-card textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d0dced;
  border-radius: 0.06rem;
  padding: 0.12rem 0.14rem;
  font-size: 0.15rem;
  color: #222;
  background: #fff;
}
.qeeshu-publish-card input:focus,
.qeeshu-publish-card select:focus,
.qeeshu-publish-card textarea:focus {
  outline: none;
  border-color: #003b90;
}
.qeeshu-publish-section {
  margin-top: 0.18rem;
}
.qeeshu-publish-section[hidden] {
  display: none !important;
}
.qeeshu-news-layout {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 0.28rem;
  align-items: start;
  margin-top: 0.12rem;
}
.qeeshu-news-cover-box {
  background: #f7f9fc;
  border: 1px solid #e4ebf6;
  border-radius: 0.08rem;
  padding: 0.14rem;
}
.qeeshu-news-cover-main {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #eef3fb;
  border-radius: 0.06rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qeeshu-news-cover-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qeeshu-news-cover-box .hint {
  margin-top: 0.08rem;
  font-size: 0.12rem;
  color: #888;
  line-height: 1.4;
}
.qeeshu-news-main label {
  display: block;
  font-size: 0.14rem;
  color: #333;
  margin: 0 0 0.06rem;
  font-weight: 600;
}
.qeeshu-news-main input {
  width: 100%;
  box-sizing: border-box;
}
.qeeshu-product-layout {
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 0.32rem;
  align-items: start;
  margin-top: 0.12rem;
}
.qeeshu-product-gallery {
  background: #f7f9fc;
  border: 1px solid #e4ebf6;
  border-radius: 0.08rem;
  padding: 0.16rem;
}
.qeeshu-cover-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #eef3fb;
  border-radius: 0.06rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.qeeshu-cover-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qeeshu-upload-placeholder {
  color: #8aa0bf;
  font-size: 0.14rem;
}
.qeeshu-cover-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
  margin-top: 0.12rem;
}
.qeeshu-thumb-item {
  width: 0.72rem;
  position: relative;
}
.qeeshu-thumb-btn {
  width: 0.72rem;
  height: 0.72rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.04rem;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  display: block;
}
.qeeshu-thumb-btn.active,
.qeeshu-thumb-item.is-main .qeeshu-thumb-btn {
  border-color: #003b90;
}
.qeeshu-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.qeeshu-thumb-actions {
  display: flex;
  gap: 0.02rem;
  margin-top: 0.04rem;
}
.qeeshu-thumb-set-main,
.qeeshu-thumb-remove {
  flex: 1;
  border: 0;
  border-radius: 0.03rem;
  font-size: 0.1rem;
  line-height: 1.2;
  padding: 0.02rem 0;
  cursor: pointer;
}
.qeeshu-thumb-set-main {
  background: #eaf1ff;
  color: #003b90;
}
.qeeshu-thumb-set-main:disabled {
  background: #003b90;
  color: #fff;
  cursor: default;
}
.qeeshu-thumb-remove {
  flex: 0 0 0.22rem;
  background: #fdecea;
  color: #c62828;
  font-size: 0.14rem;
  font-weight: 700;
}
.qeeshu-upload-row {
  display: flex;
  gap: 0.08rem;
  margin-top: 0.12rem;
}
.qeeshu-upload-btn {
  flex: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: #003b90 !important;
  color: #fff !important;
  border: 1px solid #003b90 !important;
  border-radius: 0.06rem;
  padding: 0.1rem 0.12rem;
  font-size: 0.13rem !important;
  font-weight: 600 !important;
  cursor: pointer;
  text-align: center;
  margin: 0 !important;
}
.qeeshu-upload-btn:hover {
  background: #0355c9 !important;
  color: #fff !important;
}
.qeeshu-upload-btn-secondary {
  background: #fff !important;
  color: #003b90 !important;
}
.qeeshu-upload-btn-secondary:hover {
  background: #eaf1ff !important;
  color: #003b90 !important;
}
.qeeshu-auth-card label.qeeshu-upload-btn,
.qeeshu-publish-card label.qeeshu-upload-btn {
  color: #fff !important;
}
.qeeshu-auth-card label.qeeshu-upload-btn-secondary,
.qeeshu-publish-card label.qeeshu-upload-btn-secondary {
  color: #003b90 !important;
}
.qeeshu-upload-btn input {
  display: none;
}
.qeeshu-gallery-meta {
  margin: 0.1rem 0 0;
  font-size: 0.12rem;
  color: #003b90;
  font-weight: 600;
}
.qeeshu-product-gallery .hint {
  margin-top: 0.06rem;
  font-size: 0.12rem;
  color: #888;
  line-height: 1.4;
}
.qeeshu-product-info .hint {
  font-size: 0.12rem;
  color: #888;
  margin: 0.04rem 0 0;
  line-height: 1.4;
}
.qeeshu-product-info label {
  display: block;
  font-size: 0.14rem;
  color: #333;
  margin: 0.12rem 0 0.06rem;
  font-weight: 600;
}
.qeeshu-product-info label:first-child {
  margin-top: 0;
}
.qeeshu-editor-block {
  margin-top: 0.22rem;
}
.qeeshu-editor-block > label {
  display: block;
  font-size: 0.14rem;
  color: #333;
  margin: 0 0 0.08rem;
  font-weight: 600;
}
.qeeshu-editor-wrap {
  border: 1px solid #d0dced;
  border-radius: 0.06rem;
  overflow: hidden;
  background: #fff;
}
.qeeshu-editor-toolbar {
  border-bottom: 1px solid #e4ebf6 !important;
  background: #f7f9fc;
}
.qeeshu-editor-body {
  min-height: 2.8rem;
}
.qeeshu-editor-wrap.is-tall .qeeshu-editor-body {
  min-height: 3.6rem;
}
.qeeshu-editor-wrap .w-e-text-container {
  min-height: 2.8rem !important;
  background: #fff !important;
}
.qeeshu-editor-wrap.is-tall .w-e-text-container {
  min-height: 3.6rem !important;
}
.qeeshu-editor-wrap .w-e-text-container [data-slate-editor] {
  min-height: 2.6rem !important;
  padding: 0.14rem 0.16rem !important;
  font-size: 0.15rem !important;
  line-height: 1.7 !important;
  color: #222 !important;
}
.qeeshu-editor-wrap .w-e-text-container img {
  max-width: 100%;
  height: auto;
}
.qeeshu-editor-wrap .w-e-toolbar {
  border: none !important;
  background: transparent !important;
  flex-wrap: wrap;
}
.qeeshu-editor-wrap .w-e-bar-item button {
  color: #333 !important;
}
.qeeshu-publish-actions {
  margin-top: 0.28rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  flex-wrap: wrap;
}
.qeeshu-publish-actions button[type="submit"] {
  min-width: 2.2rem;
  background: #003b90;
  color: #fff;
  border: 0;
  border-radius: 0.06rem;
  padding: 0.14rem 0.28rem;
  font-size: 0.16rem;
  font-weight: 600;
  cursor: pointer;
}
.qeeshu-publish-actions button[type="submit"]:hover {
  background: #0355c9;
}
.qeeshu-publish-actions .muted {
  font-size: 0.14rem;
  color: #666;
  margin: 0;
}
.qeeshu-publish-actions .muted a {
  color: #003b90;
}

@media screen and (max-width: 1024px) {
  .qeeshu-publish-bar {
    max-width: none;
    width: 94%;
    margin: 0.2rem auto 0.32rem;
    padding: 0;
    justify-content: stretch;
  }
  .qeeshu-publish-bar .qeeshu-publish-btn {
    width: 100%;
    font-size: 0.34rem !important;
    font-weight: 700 !important;
    padding: 0.22rem 0.36rem !important;
    min-height: 0.88rem;
    border-radius: 0.12rem;
    box-shadow: 0 0.08rem 0.24rem rgba(0, 59, 144, 0.34);
  }
  .qeeshu-auth-page {
    padding-top: 0.2rem;
  }
  .qeeshu-auth-page .container {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.28rem;
    padding-right: 0.28rem;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
  }
  .qeeshu-auth-card {
    width: 100%;
    max-width: 5.6rem;
    margin: 0.3rem auto;
    padding: 0.36rem 0.28rem;
    box-sizing: border-box;
  }
  .qeeshu-auth-card h1 {
    font-size: 0.4rem;
    text-align: center;
  }
  .qeeshu-auth-card .sub {
    text-align: center;
    font-size: 0.28rem !important;
    line-height: 1.55 !important;
    color: #555;
  }
  .qeeshu-auth-card .sub,
  .qeeshu-auth-card label,
  .qeeshu-auth-card input,
  .qeeshu-auth-card textarea,
  .qeeshu-auth-actions button,
  .qeeshu-auth-link,
  .qeeshu-publish-btn {
    font-size: 0.28rem;
  }
  .qeeshu-auth-card label {
    font-size: 0.28rem !important;
    margin: 0.18rem 0 0.1rem !important;
  }
  .qeeshu-auth-card input,
  .qeeshu-auth-card textarea,
  .qeeshu-auth-card select {
    font-size: 0.3rem !important;
    padding: 0.18rem 0.18rem !important;
    min-height: 0.72rem;
  }
  .qeeshu-auth-card .hint,
  .qeeshu-auth-card p.hint {
    font-size: 0.26rem !important;
    line-height: 1.5 !important;
    color: #666 !important;
    margin: 0.1rem 0 0 !important;
  }
  .qeeshu-auth-card .qeeshu-upload-btn,
  .qeeshu-auth-card .qeeshu-upload-btn-secondary,
  .qeeshu-auth-card label.qeeshu-upload-btn,
  .qeeshu-auth-card label.qeeshu-upload-btn-secondary,
  .qeeshu-profile-avatar-box .qeeshu-upload-btn,
  .qeeshu-profile-avatar-box .qeeshu-upload-btn-secondary {
    font-size: 0.28rem !important;
    padding: 0.16rem 0.24rem !important;
    min-height: 0.7rem;
    min-width: 2.2rem !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
  .qeeshu-profile-avatar-box {
    flex-wrap: wrap;
    gap: 0.2rem;
    margin: 0.16rem 0 0.24rem;
  }
  .qeeshu-profile-avatar-box img {
    width: 1.2rem !important;
    height: 1.2rem !important;
  }
  .qeeshu-profile-avatar-box .actions {
    gap: 0.12rem;
  }
  .qeeshu-auth-actions button {
    font-size: 0.32rem !important;
    min-height: 0.8rem;
    padding: 0.18rem !important;
  }
  .qeeshu-auth-actions .muted {
    text-align: center;
    font-size: 0.28rem;
    line-height: 1.5;
    margin-top: 0.08rem;
  }
  .qeeshu-auth-actions .muted a {
    font-size: 0.28rem;
    font-weight: 600;
  }
  .qeeshu-auth-user {
    max-width: 2.4rem;
    font-size: 0.24rem;
  }
  header.header div.company-info div.info-right p.username .qeeshu-auth-link,
  header.header div.company-info div.info-right p.username .qeeshu-auth-user {
    height: 0.4rem !important;
    line-height: 0.4rem !important;
    font-size: 0.22rem !important;
    padding: 0 0.16rem !important;
  }
  .qeeshu-publish-page {
    padding-top: 0.2rem;
    padding-bottom: 0.4rem;
  }
  .qeeshu-publish-page .container {
    width: 94%;
    max-width: none;
  }
  .qeeshu-publish-card {
    margin: 0.16rem 0 0.24rem;
    padding: 0.32rem 0.24rem 0.4rem;
    border-radius: 0.1rem;
    box-shadow: 0 0.04rem 0.16rem rgba(0, 59, 144, 0.08);
  }
  .qeeshu-publish-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.12rem;
    margin-bottom: 0.28rem;
  }
  .qeeshu-publish-head h1 {
    font-size: 0.44rem;
  }
  .qeeshu-publish-head .sub {
    font-size: 0.26rem;
    line-height: 1.5;
    max-width: none;
  }
  .qeeshu-publish-grid {
    grid-template-columns: 1fr;
    gap: 0.1rem 0;
    margin-bottom: 0.12rem;
  }
  .qeeshu-publish-grid > label,
  .qeeshu-product-info label,
  .qeeshu-editor-block > label,
  .qeeshu-news-cover-box > label,
  .qeeshu-product-gallery > label {
    font-size: 0.3rem !important;
    padding-top: 0.12rem;
    margin: 0.16rem 0 0.08rem !important;
    line-height: 1.4;
  }
  .qeeshu-publish-card input,
  .qeeshu-publish-card select,
  .qeeshu-publish-card textarea {
    font-size: 0.3rem !important;
    padding: 0.18rem 0.18rem !important;
    min-height: 0.72rem;
    border-radius: 0.08rem;
    line-height: 1.4;
  }
  .qeeshu-publish-card select {
    min-height: 0.8rem;
  }
  .qeeshu-publish-card .hint,
  .qeeshu-publish-card p.hint,
  #publisherHint,
  .qeeshu-news-cover-box .hint,
  .qeeshu-product-gallery .hint,
  .qeeshu-product-info .hint,
  .qeeshu-gallery-meta {
    font-size: 0.28rem !important;
    line-height: 1.5 !important;
    margin-top: 0.12rem !important;
    color: #666 !important;
  }
  .qeeshu-news-layout,
  .qeeshu-product-layout {
    grid-template-columns: 1fr;
    gap: 0.24rem;
  }
  .qeeshu-publisher-chip {
    padding: 0.2rem 0.18rem !important;
    gap: 0.18rem !important;
    flex-wrap: wrap;
  }
  .qeeshu-publisher-chip img {
    width: 0.72rem !important;
    height: 0.72rem !important;
  }
  .qeeshu-publisher-chip .nick {
    font-size: 0.34rem !important;
    line-height: 1.35 !important;
  }
  .qeeshu-publisher-chip .company {
    font-size: 0.28rem !important;
    line-height: 1.35 !important;
  }
  .qeeshu-publisher-chip .edit-link {
    font-size: 0.28rem !important;
    padding: 0.1rem 0.14rem !important;
  }
  .qeeshu-upload-btn,
  .qeeshu-upload-btn-secondary,
  .qeeshu-publish-card label.qeeshu-upload-btn,
  .qeeshu-publish-card label.qeeshu-upload-btn-secondary {
    font-size: 0.32rem !important;
    padding: 0.18rem 0.28rem !important;
    min-height: 0.76rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  .qeeshu-upload-row {
    gap: 0.14rem;
    margin-top: 0.14rem;
  }
  .qeeshu-news-cover-box .preview,
  .qeeshu-news-cover-preview,
  .qeeshu-cover-preview,
  .qeeshu-news-cover-main,
  .qeeshu-cover-main {
    min-height: 3.6rem !important;
  }
  .qeeshu-upload-placeholder {
    font-size: 0.36rem !important;
    color: #6a84a8 !important;
    font-weight: 600;
  }
  .qeeshu-news-cover-box {
    padding: 0.2rem;
  }
  .qeeshu-gallery-meta {
    font-size: 0.28rem !important;
  }
  .qeeshu-publish-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.16rem;
    margin-top: 0.36rem;
  }
  .qeeshu-publish-actions button[type="submit"] {
    width: 100%;
    min-width: 0;
    min-height: 0.8rem;
    font-size: 0.34rem !important;
    padding: 0.2rem 0.28rem !important;
  }
  .qeeshu-publish-actions .muted {
    font-size: 0.26rem !important;
    text-align: center;
  }
  .qeeshu-auth-msg,
  .qeeshu-auth-msg.ok,
  .qeeshu-publish-success-title {
    font-size: 0.3rem !important;
  }
  .qeeshu-publish-success-body {
    font-size: 0.26rem !important;
  }
  .qeeshu-publish-success-btn {
    font-size: 0.28rem !important;
    padding: 0.14rem 0.28rem !important;
  }

  /* wangEditor toolbar: readable + tappable on phone */
  .qeeshu-editor-wrap {
    border-radius: 0.08rem;
  }
  .qeeshu-editor-wrap .w-e-toolbar {
    flex-wrap: wrap !important;
    padding: 0.08rem 0.06rem !important;
    gap: 0.04rem;
  }
  .qeeshu-editor-wrap .w-e-bar,
  .qeeshu-editor-wrap .w-e-bar-item {
    height: auto !important;
  }
  .qeeshu-editor-wrap .w-e-bar-item {
    margin: 0.04rem !important;
  }
  .qeeshu-editor-wrap .w-e-bar-item button {
    padding: 0.12rem 0.14rem !important;
    min-width: 0.64rem !important;
    min-height: 0.64rem !important;
    font-size: 0.28rem !important;
  }
  .qeeshu-editor-wrap .w-e-bar-item button svg {
    width: 0.32rem !important;
    height: 0.32rem !important;
  }
  .qeeshu-editor-wrap .w-e-select-list,
  .qeeshu-editor-wrap .w-e-bar-item-group,
  .qeeshu-editor-wrap .w-e-drop-panel {
    font-size: 0.28rem !important;
  }
  .qeeshu-editor-wrap .w-e-select-button,
  .qeeshu-editor-wrap .w-e-bar-item .w-e-select-button {
    font-size: 0.26rem !important;
    padding: 0.1rem 0.12rem !important;
    min-height: 0.64rem !important;
  }
  .qeeshu-editor-wrap .w-e-text-container,
  .qeeshu-editor-wrap.is-tall .w-e-text-container {
    min-height: 5.2rem !important;
  }
  .qeeshu-editor-wrap .w-e-text-container [data-slate-editor] {
    min-height: 4.8rem !important;
    padding: 0.2rem 0.18rem !important;
    font-size: 0.3rem !important;
    line-height: 1.7 !important;
  }
  .qeeshu-editor-wrap .w-e-text-placeholder {
    font-size: 0.28rem !important;
  }
}


/* Topbar avatar profile link */
.qeeshu-auth-profile {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  text-decoration: none;
  color: inherit;
}
.qeeshu-auth-avatar {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  object-fit: cover;
}

/* Publisher chip on publish form */
.qeeshu-publisher-chip {
  display: flex;
  align-items: center;
  gap: 0.14rem;
  padding: 0.1rem 0.14rem;
  background: #f5f8fd;
  border: 1px solid #dce6f5;
  border-radius: 0.08rem;
}
.qeeshu-publisher-chip img {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.qeeshu-publisher-chip .meta {
  min-width: 0;
  flex: 1;
}
.qeeshu-publisher-chip .nick {
  display: block;
  font-size: 0.15rem;
  font-weight: 600;
  color: #023c90;
  line-height: 1.3;
}
.qeeshu-publisher-chip .company {
  display: block;
  font-size: 0.12rem;
  color: #666;
  line-height: 1.3;
}
.qeeshu-publisher-chip .edit-link {
  font-size: 0.13rem;
  color: #003b90;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
}
.qeeshu-publisher-chip .edit-link:hover {
  text-decoration: underline;
}

/* Profile page */
.qeeshu-profile-avatar-box {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0.1rem 0 0.2rem;
}
.qeeshu-profile-avatar-box img {
  width: 0.88rem;
  height: 0.88rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #dce6f5;
  background: #eef3fb;
}
.qeeshu-profile-avatar-box .actions {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

/* My published / 发布中心 — fill viewport, no blank band above footer */
body.qeeshu-pub-center-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
body.qeeshu-pub-center-body > .footer {
  margin-top: auto;
  flex-shrink: 0;
}
.qeeshu-pub-view-page {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding-top: 1.52rem;
  padding-bottom: 0;
  min-height: 0;
  background: #f3f7fd;
}
.qeeshu-pub-view-page > .container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  max-width: 12rem;
  width: 12rem;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-top: 0.2rem;
}
@media screen and (max-width: 1024px) {
  .qeeshu-pub-view-page > .container {
    width: 94%;
    max-width: none;
  }
}
.qeeshu-pub-view-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 0.1rem 0.1rem 0 0;
  box-shadow: 0 0.06rem 0.22rem rgba(0, 59, 144, 0.1);
  padding: 0.4rem 0.42rem 0.46rem;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
#pubListPanel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.qeeshu-pub-grid {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}
.qeeshu-pub-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.24rem;
  margin-bottom: 0.24rem;
}
.qeeshu-pub-head-text {
  min-width: 0;
  flex: 1;
}
.qeeshu-pub-view-card h1 {
  font-size: 0.4rem;
  color: #023c90;
  margin: 0 0 0.1rem;
  font-weight: 700;
  line-height: 1.25;
}
.qeeshu-pub-view-card .sub {
  font-size: 0.16rem;
  color: #555;
  margin: 0;
  line-height: 1.55;
}
.qeeshu-pub-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0.48rem;
  padding: 0.12rem 0.28rem;
  border-radius: 0.06rem;
  background: #003b90;
  color: #fff !important;
  font-size: 0.18rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 0.06rem 0.16rem rgba(0, 59, 144, 0.28);
  white-space: nowrap;
}
.qeeshu-pub-cta:hover {
  background: #0250c5;
}
.qeeshu-pub-profile-link {
  margin-left: auto;
  align-self: center;
  color: #003b90;
  font-size: 0.15rem;
  font-weight: 600;
  text-decoration: none;
}
.qeeshu-pub-profile-link:hover {
  text-decoration: underline;
}
.qeeshu-pub-toolbar {
  display: flex;
  gap: 0.12rem;
  flex-wrap: wrap;
  margin-bottom: 0.24rem;
  align-items: center;
}
.qeeshu-pub-toolbar button {
  border: 1px solid #c9d7ee;
  background: #fff;
  color: #003b90;
  border-radius: 0.06rem;
  padding: 0.1rem 0.22rem;
  font-size: 0.16rem;
  cursor: pointer;
  font-weight: 600;
}
.qeeshu-pub-toolbar button.active {
  background: #003b90;
  color: #fff;
  border-color: #003b90;
}
.qeeshu-pub-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9d7ee;
  background: #fff;
  color: #003b90;
  border-radius: 0.05rem;
  padding: 0.1rem 0.18rem;
  font-size: 0.15rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
  box-sizing: border-box;
}
.qeeshu-pub-act:hover {
  background: #eaf1ff;
}
.qeeshu-pub-act.view {
  background: #003b90;
  border-color: #003b90;
  color: #fff !important;
}
.qeeshu-pub-act.view:hover {
  background: #0250c5;
}
.qeeshu-pub-act.danger {
  color: #c62828;
  border-color: #f5c6c2;
}
.qeeshu-pub-act.danger:hover {
  background: #fdecea;
}
.qeeshu-pub-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.22rem;
  border: 1px solid #e4ebf6;
  border-radius: 0.1rem;
  background: #fbfcfe;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  cursor: default;
  width: 100%;
  box-sizing: border-box;
}
.qeeshu-pub-item:hover {
  border-color: #003b90;
  box-shadow: 0 0.04rem 0.14rem rgba(0, 59, 144, 0.12);
}
.qeeshu-pub-item-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}
.qeeshu-pub-item .cover {
  width: 1.36rem;
  height: 1rem;
  border-radius: 0.08rem;
  object-fit: cover;
  background: #eef3fb;
  flex-shrink: 0;
}
.qeeshu-pub-item .main {
  min-width: 0;
  flex: 1;
}
.qeeshu-pub-item .tag {
  display: inline-block;
  font-size: 0.14rem;
  color: #003b90;
  background: #eaf1ff;
  border-radius: 0.04rem;
  padding: 0.04rem 0.1rem;
  margin: 0 0.1rem 0 0;
  vertical-align: middle;
  font-weight: 600;
  flex-shrink: 0;
}
.qeeshu-pub-item .title-line {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  min-width: 0;
}
.qeeshu-pub-item .title-line h3 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.22rem;
  color: #123;
  margin: 0;
  font-weight: 700;
  min-width: 0;
}
.qeeshu-pub-item .excerpt {
  display: block;
  font-size: 0.15rem;
  color: #666;
  line-height: 1.45;
  margin: 0.06rem 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.qeeshu-pub-item .foot {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  margin-top: 0.08rem;
  font-size: 0.14rem;
  color: #777;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}
.qeeshu-pub-item .foot .nick,
.qeeshu-pub-item .foot .time {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.qeeshu-pub-item .foot .nick {
  max-width: 2.4rem;
}
.qeeshu-pub-item .foot .dot {
  flex-shrink: 0;
}
.qeeshu-pub-item .foot img {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.qeeshu-pub-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.1rem;
  margin-top: 0;
  flex-shrink: 0;
  align-self: center;
}
.qeeshu-pub-empty {
  text-align: center;
  padding: 0.5rem 0.2rem;
  color: #666;
  font-size: 0.17rem;
}
.qeeshu-pub-detail {
  display: none;
}
.qeeshu-pub-detail.is-open {
  display: block;
}
.qeeshu-pub-detail .back {
  display: inline-block;
  margin-bottom: 0.16rem;
  color: #003b90;
  font-size: 0.14rem;
  text-decoration: none;
  font-weight: 600;
}
.qeeshu-pub-detail h2 {
  font-size: 0.24rem;
  color: #023c90;
  margin: 0 0 0.12rem;
}
.qeeshu-pub-detail .meta-row {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 0.18rem;
  font-size: 0.13rem;
  color: #666;
}
.qeeshu-pub-detail .meta-row img {
  width: 0.28rem;
  height: 0.28rem;
  border-radius: 50%;
  object-fit: cover;
}
.qeeshu-pub-detail .content {
  font-size: 0.15rem;
  line-height: 1.75;
  color: #333;
}
.qeeshu-pub-detail .content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.06rem;
}
.qeeshu-pub-detail .gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
  margin: 0.16rem 0;
}
.qeeshu-pub-detail .gallery img {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: cover;
  border-radius: 0.06rem;
  border: 1px solid #e4ebf6;
}
@media screen and (max-width: 1024px) {
  body.qeeshu-pub-center-body {
    min-height: auto;
  }
  .qeeshu-pub-view-page {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    min-height: 0;
    flex: none;
  }
  .qeeshu-pub-view-page > .container {
    width: 94%;
    flex: none;
  }
  .qeeshu-pub-view-card {
    flex: none;
    padding: 0.32rem 0.24rem 0.36rem;
    border-radius: 0.1rem;
    margin-bottom: 0.2rem;
  }
  .qeeshu-pub-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.18rem;
  }
  .qeeshu-pub-cta {
    width: 100%;
    min-height: 0.72rem;
    font-size: 0.32rem;
  }
  .qeeshu-pub-view-card h1 { font-size: 0.44rem; }
  .qeeshu-pub-view-card .sub { font-size: 0.28rem !important; line-height: 1.55; }
  .qeeshu-pub-toolbar {
    gap: 0.12rem;
    margin-bottom: 0.22rem;
  }
  .qeeshu-pub-toolbar button {
    font-size: 0.28rem !important;
    padding: 0.14rem 0.24rem !important;
  }
  .qeeshu-pub-profile-link {
    margin-left: 0;
    width: 100%;
    text-align: center;
    border: 1px solid #c9d7ee;
    border-radius: 0.06rem;
    padding: 0.14rem 0.22rem;
    font-size: 0.28rem !important;
    box-sizing: border-box;
  }
  .qeeshu-pub-grid {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: none;
  }
  .qeeshu-pub-item {
    flex-direction: column;
    align-items: stretch;
    padding: 0.22rem;
    gap: 0.18rem;
  }
  .qeeshu-pub-item-top {
    width: 100%;
    align-items: flex-start;
  }
  .qeeshu-pub-item .cover {
    width: 1.6rem;
    height: 1.2rem;
  }
  .qeeshu-pub-item .title-line {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .qeeshu-pub-item .title-line h3 {
    font-size: 0.32rem;
    white-space: normal;
    line-height: 1.35;
    width: 100%;
  }
  .qeeshu-pub-item .excerpt {
    font-size: 0.24rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .qeeshu-pub-item .foot {
    flex-wrap: wrap;
    white-space: normal;
    font-size: 0.22rem;
    row-gap: 0.06rem;
  }
  .qeeshu-pub-item .foot .nick {
    max-width: 100%;
  }
  .qeeshu-pub-item .foot img {
    width: 0.34rem;
    height: 0.34rem;
  }
  .qeeshu-pub-item .tag {
    font-size: 0.22rem;
    padding: 0.04rem 0.1rem;
  }
  .qeeshu-pub-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.1rem;
    margin-top: 0;
    align-self: stretch;
  }
  .qeeshu-pub-act {
    width: 100%;
    justify-content: center;
    font-size: 0.24rem;
    padding: 0.16rem 0.08rem;
  }
  .qeeshu-pub-empty { font-size: 0.28rem; }
}
