﻿/* 领导信箱移动端样式：已按 scstjt-mobile rem 基准换算（原 flexible 37.5 → 站点 5） */
.ldxx-page {
  background: #fff;
  min-height: 40rem;
  color: #0a2542;
}
.ldxx-page a { text-decoration: none; }
:root {
  --blue: #529fc7;
  --ink: #0a2542;
  --muted: #718092;
  --line: #e8edf1;
}
/* 
body {
  background: #eef1f4;
  color: var(--ink);
}
.page {
  min-height: 100vh;
  background: #fff;
  box-shadow: 0 0 0 1px #e8e8e8;
}
.header {
  height: 3.35rem;
  padding: 0 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .logo {
  width: 9.4rem;
  height: auto;
}
.menu-trigger {
  width: 1.28rem;
  height: 0.99rem;
  border: 0;
  background: url("../img/icon-nav.png") center/contain no-repeat;
  cursor: pointer;
}
.drawer {
  display: none;
  position: absolute;
  inset: 3.35rem 0 auto;
  z-index: 9;
  padding: 0.6rem 0.82rem 0.82rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 0.28rem 0.7rem rgba(15, 43, 68, 0.14);
}
.drawer.open {
  display: block;
}
.drawer a {
  color: var(--ink);
  font-size: 0.68rem;
  margin-right: 0.68rem;
  line-height: 1.5rem;
}
.hero {
  height: 7.48rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    #06377d 0%,
    #1261a8 40%,
    #3cb6d4 72%,
    #d7e9ef 100%
  );
}
.hero::before {
  content: "";
  position: absolute;
  width: 18rem;
  height: 9rem;
  right: -4.7rem;
  bottom: -5.95rem;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 48% 34%,
    #fff 0 5%,
    #b8e3e6 25%,
    #eaf7f5 48%,
    #82c3ca 70%,
    #5089a9 100%
  );
  box-shadow: 0 0 1rem 0.25rem rgba(255, 246, 225, 0.78);
  transform: rotate(-8deg);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background: repeating-linear-gradient(
    167deg,
    transparent 0 1.7rem,
    rgba(255, 255, 255, 0.25) 1.75rem 1.8rem,
    transparent 1.85rem 3.4rem
  );
}
.hero-title {
  position: absolute;
  z-index: 1;
  left: 1.56rem;
  top: 2.6rem;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.04rem;
}
.hero-title::after {
  content: "";
  display: block;
  width: 2.1rem;
  height: 0.12rem;
  margin-top: 0.3rem;
  background: #d9edff;
}
.top-tabs {
  height: 2.62rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #fbfbfc;
  border-bottom: 1px solid var(--line);
}
.top-tabs span {
  font-size: 0.67rem;
  white-space: nowrap;
  color: #10253c;
}
.top-tabs .active {
  color: var(--blue);
} */

.letter-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.08rem;
  padding: 0.28rem 0.12rem 0;
  border-bottom: 1px solid var(--line);
}
.letter-tab {
  min-width: 0;
  height: 1.46rem;
  display: flex;
  gap: 0.22rem;
  align-items: center;
  justify-content: center;
  color: #10253c;
  font-size: 0.61rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.letter-tab:link,
.letter-tab:visited {
  color: #10253c;
}
.letter-tab:active {
  opacity: 0.72;
}
.letter-tab .tab-icon {
  width: 0.56rem;
  height: 0.56rem;
  flex: 0 0 0.56rem;
  object-fit: contain;
}
.letter-tab.active {
  color: #fff;
  background: var(--blue);
}
.letter-tab.active:link,
.letter-tab.active:visited {
  color: #fff;
}
.panel {
  display: none;
  padding: 1.1rem 0.78rem 1.35rem;
  animation: fade 0.22s ease;
}
.panel.active {
  display: block;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(0.16rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.section-title {
  margin: 0 0 0.72rem;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 600;
}
.notice-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.notice-list li, .notice-list p {
  margin-bottom: 0.3rem;
  font-size: 0.59rem;
  line-height: 1.07rem;
  color: #17293b;
  text-align: justify;
}
.field-row {
  display: grid;
  grid-template-columns: 3.05rem minmax(0, 1fr);
  column-gap: 0.26rem;
  align-items: start;
  margin: 0.43rem 0;
}
.field-row label {
  min-width: 0;
  padding-top: 0.3rem;
  font-size: 0.61rem;
  text-align: right;
  white-space: nowrap;
  color: #1b2b3c;
}
.required::before {
  content: "*";
  color: #e83846;
  margin-right: 0.1rem;
}
input,
textarea {
  width: 100%;
  border: 1px solid #d4dbe1;
  background: #fff;
  border-radius: 0;
  outline: none;
  color: var(--ink);
  font: inherit;
  font-size: 0.6rem;
  padding: 0.25rem 0.32rem;
}
input {
  height: 1.18rem;
}
textarea {
  height: 2.95rem;
  resize: vertical;
}
input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 0.07rem rgba(82, 159, 199, 0.12);
}
input.invalid,
textarea.invalid {
  border-color: #e83846;
  box-shadow: none;
}
.hint {
  display: none;
  grid-column: 2;
  color: #e83846;
  font-size: 0.51rem;
  margin-top: 0.08rem;
}
.hint.show {
  display: block;
}
.personal {
  margin-top: 1.25rem;
}
.personal p,
.query-tip {
  margin: 0 0 0.9rem;
  color: #788595;
  font-size: 0.54rem;
  line-height: 0.9rem;
}
.captcha-line {
  display: flex;
  gap: 0.22rem;
  align-items: center;
  min-width: 0;
}
.captcha-line input {
  width: 2.3rem;
  flex: 0 0 2.3rem;
}
.captcha {
  padding: 0.13rem 0.28rem;
  color: #47dbe5;
  font-family: Georgia, serif;
  font-size: 0.76rem;
  letter-spacing: 0.05rem;
  background: linear-gradient(135deg, #0a1e2e, #6d7379);
  white-space: nowrap;
}
.captcha-link {
  color: #75808b;
  font-size: 0.55rem;
  white-space: nowrap;
}
.button-row {
  display: flex;
  gap: 0.72rem;
  justify-content: flex-end;
  margin-top: 0.85rem;
}
.primary-btn,
.secondary-btn {
  height: 1.42rem;
  min-width: 4.8rem;
  border: 0;
  border-radius: 0.04rem;
  background: var(--blue);
  color: #fff;
  font-size: 0.62rem;
  cursor: pointer;
}
.secondary-btn {
  background: #7eb4d0;
}
.letter-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.53rem;
}
.letter-table th {
  padding: 0 0.08rem 0.43rem;
  color: var(--blue);
  font-weight: 400;
  text-align: center;
}
.letter-table th:nth-child(1) {
  width: 10%;
}
.letter-table th:nth-child(2) {
  width: 49%;
  text-align: left;
}
.letter-table th:nth-child(3),
.letter-table th:nth-child(4) {
  width: 20.5%;
}
.letter-table td {
  padding: 0.37rem 0.08rem;
  border-bottom: 1px solid var(--line);
  line-height: 0.8rem;
  vertical-align: middle;
  text-align: center;
  color: #1d2c3b;
}
.letter-table td:nth-child(2) {
  text-align: left;
}
.letter-table .subject {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.72rem;
  color: #536273;
  font-size: 0.55rem;
}
.pagination b {
  width: 0.78rem;
  height: 0.78rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: #4297e9;
  border-radius: 0.1rem;
  font-weight: 400;
}
.query-box {
  max-width: 16.2rem;
  margin: 0 auto;
  padding-top: 0.45rem;
}
.query-box .field-row {
  grid-template-columns: 3.05rem minmax(0, 1fr);
  margin: 0.62rem 0;
}
.query-btn {
  width: 100%;
  margin-top: 0.46rem;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 20;
  padding: 0.26rem 0.5rem;
  color: #fff;
  background: rgba(5, 30, 52, 0.85);
  border-radius: 0.1rem;
  font-size: 0.54rem;
  transform: translate(-50%, 1rem);
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@media (max-width: 380px) {
  .letter-tab {
    font-size: 0.54rem;
    gap: 0.14rem;
  }
  .letter-tab .tab-icon {
    width: 0.5rem;
    height: 0.5rem;
    flex-basis: 0.5rem;
  }
  .top-tabs span {
    font-size: 0.62rem;
  }
  .field-row,
  .query-box .field-row {
    grid-template-columns: 2.85rem minmax(0, 1fr);
  }
  .field-row label {
    font-size: 0.56rem;
  }
}

/* 详情 */

.mail-detail {
  padding: 1.36rem 0.78rem 2.5rem;
}
.mail-detail-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #162a3e;
  font-size: 0.6rem;
}
.mail-detail-table th,
.mail-detail-table td {
  border: 1px solid #e5e7e9;
}
.mail-detail-table th {
  width: 4.7rem;
  padding: 0.36rem 0.18rem;
  color: #283849;
  background: #fff;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.mail-detail-table td {
  padding: 0.28rem 0.38rem;
  line-height: 0.93rem;
  text-align: left;
  vertical-align: middle;
  word-break: break-all;
}
.mail-detail-table .message td {
  padding-top: 0.18rem;
  padding-bottom: 0.22rem;
  line-height: 0.94rem;
}
.mail-detail-table .reply td {
  padding-top: 0.18rem;
  padding-bottom: 0.22rem;
  line-height: 0.96rem;
}
.mail-detail-table p {
  margin: 0;
}
.reply-salute {
  margin-bottom: 0.08rem !important;
}
.reply-indent {
  text-indent: 1.2rem;
}
.detail-back {
  display: block;
  width: 10.8rem;
  height: 1.38rem;
  margin: 0.65rem auto 0;
  border: 0;
  border-radius: 0.04rem;
  color: #fff;
  background: #429dce;
  font-size: 0.63rem;
  cursor: pointer;
}

/*
 * 覆盖 scstjt-mobile 的 ldxx-common.css。
 * 站点 html 根字号为 5px；原稿基于 37.5px rem，以下规则还原 01 页设计尺寸。
 */
.ldxx-page {
  width: min(100%, 750px);
  min-height: 300px;
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
  color: #17293b;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  text-transform: none;
}
.ldxx-page,
.ldxx-page * {
  box-sizing: border-box;
}
.ldxx-page .letter-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: min(.4vw, 3px);
  padding: min(1.4vw, 10.5px) min(.6vw, 4.5px) 0;
  border-bottom: 1px solid #e8edf1;
  background: #fff;
}
.ldxx-page .letter-tab,
.ldxx-page .letter-tab:link,
.ldxx-page .letter-tab:visited {
  display: flex;
  min-width: 0;
  height: min(7.3vw, 54.75px);
  align-items: center;
  justify-content: center;
  gap: min(1.1vw, 8.25px);
  padding: 0;
  overflow: hidden;
  color: #10253c;
  background: transparent;
  font-family: inherit;
  font-size: min(3.05vw, 22.875px);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ldxx-page .letter-tab:hover,
.ldxx-page .letter-tab:focus-visible {
  color: #529fc7;
  outline: 0;
}
.ldxx-page .letter-tab:active { opacity: .76; }
.ldxx-page .letter-tab.active,
.ldxx-page .letter-tab.active:link,
.ldxx-page .letter-tab.active:visited,
.ldxx-page .letter-tab.active:hover,
.ldxx-page .letter-tab.active:focus-visible {
  color: #fff;
  background: #529fc7;
}
.ldxx-page .letter-tab .tab-icon {
  display: block;
  width: min(2.8vw, 21px);
  height: min(2.8vw, 21px);
  flex: 0 0 min(2.8vw, 21px);
  max-width: none;
  object-fit: contain;
  vertical-align: middle;
}
.ldxx-page .panel {
  display: block;
  padding: min(5.5vw, 41.25px) min(3.9vw, 29.25px) min(6.75vw, 50.625px);
  background: #fff;
  animation: none;
}
.ldxx-page .section-title {
  margin: 0 0 min(3.6vw, 27px);
  color: #529fc7;
  font-size: min(3.7vw, 27.75px);
  font-weight: 600;
  line-height: 1.25;
}
.ldxx-page .notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ldxx-page .notice-list li, .ldxx-page .notice-list p {
  margin: 0 0 min(1.5vw, 11.25px);
  color: #17293b;
  font-size: min(2.95vw, 22.125px);
  line-height: min(5.35vw, 40.125px);
  text-align: justify;
  text-transform: none;
}

/* 来信表单与来信查询 */
.ldxx-page .field-row {
  display: grid;
  grid-template-columns: min(15.25vw, 114.375px) minmax(0, 1fr);
  column-gap: min(1.3vw, 9.75px);
  align-items: start;
  margin: min(2.15vw, 16.125px) 0;
}
.ldxx-page .field-row label {
  min-width: 0;
  padding-top: min(1.5vw, 11.25px);
  color: #1b2b3c;
  font-family: inherit;
  font-size: min(3.05vw, 22.875px);
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}
.ldxx-page .required::before {
  margin-right: min(.5vw, 3.75px);
  color: #e83846;
}
.ldxx-page input,
.ldxx-page textarea {
  width: 100%;
  border: 1px solid #d4dbe1;
  border-radius: 0;
  outline: none;
  color: #0a2542;
  background: #fff;
  font-family: inherit;
  font-size: min(3vw, 22.5px);
  line-height: 1.3;
  padding: min(1.25vw, 9.375px) min(1.6vw, 12px);
}
.ldxx-page input { height: min(5.9vw, 44.25px); }
.ldxx-page textarea { height: min(14.75vw, 110.625px); resize: vertical; }
.ldxx-page input:focus,
.ldxx-page textarea:focus {
  border-color: #529fc7;
  box-shadow: 0 0 0 min(.35vw, 2.625px) rgba(82, 159, 199, .12);
}
.ldxx-page input.invalid,
.ldxx-page textarea.invalid { border-color: #e83846; box-shadow: none; }
.ldxx-page .hint {
  display: none;
  grid-column: 2;
  margin-top: min(.4vw, 3px);
  color: #e83846;
  font-size: min(2.55vw, 19.125px);
  line-height: 1.2;
}
.ldxx-page .hint.show { display: block; }
.ldxx-page .personal { margin-top: min(6.25vw, 46.875px); }
.ldxx-page .personal p,
.ldxx-page .query-tip {
  margin: 0 0 min(4.5vw, 33.75px);
  color: #788595;
  font-size: min(2.7vw, 20.25px);
  line-height: min(4.5vw, 33.75px);
}
.ldxx-page .captcha-line {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: min(1.1vw, 8.25px);
}
.ldxx-page .captcha-line input {
  width: min(11.5vw, 86.25px);
  flex: 0 0 min(11.5vw, 86.25px);
}
.ldxx-page .captcha {
  padding: min(.65vw, 4.875px) min(1.4vw, 10.5px);
  color: #47dbe5;
  background: linear-gradient(135deg, #0a1e2e, #6d7379);
  font-family: Georgia, serif;
  font-size: min(3.8vw, 28.5px);
  letter-spacing: min(.25vw, 1.875px);
  line-height: 1;
  white-space: nowrap;
}
/* 后台将验证码替换为图片时，避免继承文字验证码的 padding 与固有尺寸。 */
.ldxx-page img.captcha {
  display: block;
  width: min(13.5vw, 101.25px);
  height: min(5vw, 37.5px);
  flex: 0 0 min(13.5vw, 101.25px);
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  object-fit: fill;
  vertical-align: middle;
}
.ldxx-page .captcha-link,
.ldxx-page .captcha-link:link,
.ldxx-page .captcha-link:visited {
  color: #75808b;
  font-size: min(2.75vw, 20.625px);
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.ldxx-page .button-row {
  display: flex;
  justify-content: flex-end;
  gap: min(3.6vw, 27px);
  margin-top: min(4.25vw, 31.875px);
}
.ldxx-page .primary-btn,
.ldxx-page .secondary-btn {
  min-width: min(24vw, 180px);
  height: min(7.1vw, 53.25px);
  border: 0;
  border-radius: min(.2vw, 1.5px);
  color: #fff;
  background: #529fc7;
  font-family: inherit;
  font-size: min(3.1vw, 23.25px);
  cursor: pointer;
}
.ldxx-page .secondary-btn { background: #7eb4d0; }

/* 来信选登列表 */
.ldxx-page .letter-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #1d2c3b;
  font-family: inherit;
  font-size: min(2.65vw, 19.875px);
}
.ldxx-page .letter-table th {
  padding: 0 min(.4vw, 3px) min(2.15vw, 16.125px);
  color: #529fc7;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}
.ldxx-page .letter-table td {
  padding: min(1.85vw, 13.875px) min(.4vw, 3px);
  border-bottom: 1px solid #e8edf1;
  color: #1d2c3b;
  line-height: min(4vw, 30px);
  text-align: center;
  vertical-align: middle;
}
.ldxx-page .letter-table td:nth-child(2) { text-align: left; }
.ldxx-page .letter-table .subject {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.ldxx-page .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: min(1.5vw, 11.25px);
  margin-top: min(3.6vw, 27px);
  color: #536273;
  font-size: min(2.75vw, 20.625px);
  line-height: 1;
}
.ldxx-page .pagination b {
  display: grid;
  width: min(3.9vw, 29.25px);
  height: min(3.9vw, 29.25px);
  place-items: center;
  border-radius: min(.5vw, 3.75px);
  color: #fff;
  background: #4297e9;
  font-weight: 400;
}

/* 查询与详情 */
.ldxx-page .query-box {
  max-width: min(81.6vw, 612px);
  margin: 0 auto;
  padding-top: min(2.25vw, 16.875px);
}
.ldxx-page .query-box .field-row { margin: min(3.1vw, 23.25px) 0; }
.ldxx-page .query-btn { width: 100%; margin-top: min(2.3vw, 17.25px); }
.ldxx-page .mail-detail {
  padding: min(6.8vw, 51px) min(3.9vw, 29.25px) min(12.5vw, 93.75px);
}
.ldxx-page .mail-detail-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #162a3e;
  font-family: inherit;
  font-size: min(3vw, 22.5px);
}
.ldxx-page .mail-detail-table th,
.ldxx-page .mail-detail-table td { border: 1px solid #e5e7e9; }
.ldxx-page .mail-detail-table th {
  width: min(23.5vw, 176.25px);
  padding: min(1.8vw, 13.5px) min(.9vw, 6.75px);
  color: #283849;
  background: #fff;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.ldxx-page .mail-detail-table td {
  padding: min(1.4vw, 10.5px) min(1.9vw, 14.25px);
  line-height: min(4.65vw, 34.875px);
  text-align: left;
  vertical-align: middle;
  word-break: break-all;
}
.ldxx-page .mail-detail-table .message td {
  padding-top: min(.9vw, 6.75px);
  padding-bottom: min(1.1vw, 8.25px);
}
.ldxx-page .mail-detail-table .reply td {
  padding-top: min(.9vw, 6.75px);
  padding-bottom: min(1.1vw, 8.25px);
}
.ldxx-page .mail-detail-table p { margin: 0; }
.ldxx-page .reply-salute { margin-bottom: min(.4vw, 3px) !important; }
.ldxx-page .reply-indent { text-indent: min(6vw, 45px); }
.ldxx-page .detail-back,
.ldxx-page .detail-back:link,
.ldxx-page .detail-back:visited {
  display: flex;
  width: min(54vw, 405px);
  height: min(6.9vw, 51.75px);
  align-items: center;
  justify-content: center;
  margin: min(3.25vw, 24.375px) auto 0;
  border: 0;
  border-radius: min(.2vw, 1.5px);
  color: #fff;
  background: #429dce;
  font-family: inherit;
  font-size: min(3.15vw, 23.625px);
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}
.ldxx-page .detail-back:active { opacity: .76; }

/* 校验提示：toast 位于 ldxx-page 容器外，不能使用容器内的 rem 覆盖规则。 */
.ldxx-toast {
  position: fixed;
  left: 50%;
  top: clamp(72px, 16vh, 132px);
  bottom: auto;
  z-index: 100000;
  display: flex;
  min-width: min(50vw, 375px);
  max-width: min(84vw, 630px);
  min-height: min(10vw, 75px);
  align-items: center;
  justify-content: center;
  padding: min(2.1vw, 15.75px) min(3.2vw, 24px);
  border-radius: min(.65vw, 4.875px);
  color: #fff;
  background: rgba(185, 49, 53, .96);
  box-shadow: 0 min(1.1vw, 8.25px) min(3.4vw, 25.5px) rgba(126, 20, 24, .32);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: min(3.1vw, 23.25px);
  line-height: 1.4;
  text-align: center;
  transform: translate(-50%, calc(-100% - min(4vw, 30px)));
  opacity: 0;
  transition: opacity .2s ease, transform .25s ease;
  pointer-events: none;
}
.ldxx-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 380px) {
  .mail-detail {
    padding-left: 0.55rem;
    padding-right: 0.55rem;
  }
  .mail-detail-table {
    font-size: 0.56rem;
  }
  .mail-detail-table th {
    width: 4.15rem;
  }
}
