/**
 * 要闻版 · 二级页皮肤覆盖（最后加载）
 *
 * 产品要求文章行高 45 → 整页同一尺子 45（勿再拆开改）：
 *   --baseline = heightStr = .news li = 45
 *   .h* / .y* / .box_cm 全部按 baseline 算（见 second-page-base.css）
 *
 * 空白根因（已在 base 修）：
 *   legacy .box_cm 按 25px 步进，外壳 .h* 按 baseline 放大 → 模块内部大块空洞
 *
 * 本文件只做：去置灰、主题色、1400%、TAB 截断、视频标题可读。
 */

body.pt-platform.pt-second-page-active,
body.pt-platform.pt-second-page-active .pt-second-page-body {
  --baseline: 45px;
}

html {
  filter: none !important;
  -webkit-filter: none !important;
}

body.pt-platform.pt-second-page-active {
  min-width: 0 !important;
  max-width: none !important;
  background: #f3f4f6 !important;
  background-image: none !important;
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #1f2937 !important;
  filter: none !important;
  -webkit-filter: none !important;
}

body.pt-platform.pt-second-page-active .page {
  min-width: 0 !important;
  width: 100% !important;
  padding-top: 0 !important;
}

body.pt-platform.pt-second-page-active img,
body.pt-platform.pt-second-page-active video {
  filter: none !important;
  -webkit-filter: none !important;
}

body.pt-second-page-active .pt-header {
  background: var(--pt-brand-blue, #164082) !important;
  color: #fff !important;
}

/* 仅顶栏一级链接白字；勿命中 .pt-nav-sub（白底会看不见） */
body.pt-second-page-active .pt-header-brand a,
body.pt-second-page-active .pt-nav-list > li > a {
  color: #fff !important;
}

body.pt-second-page-active .pt-nav-sub a {
  color: #333 !important;
}

body.pt-second-page-active .pt-nav-sub a:hover {
  color: var(--pt-brand-blue, #164082) !important;
}

body.pt-second-page-active .pt-footer {
  background: var(--pt-footer-bg, #1a1a1a) !important;
  color: #d1d5db !important;
}

body.pt-second-page-active .pt-footer a {
  color: #d1d5db !important;
}

.pt-second-page {
  padding: 20px 0 40px;
  background: transparent;
}

body.pt-second-page-active .pt-second-page-wrap.pt-container {
  max-width: var(--pt-container, 1400px);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 1400px) {
  body.pt-second-page-active .pt-second-page-wrap.pt-container {
    padding-left: 0;
    padding-right: 0;
  }
}

.pt-second-page-title {
  margin: 0 0 16px;
  padding: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left !important;
  color: var(--pt-brand-blue, #164082) !important;
  border-bottom: 3px solid var(--pt-brand-blue, #164082) !important;
  background: none !important;
}

.pt-second-page-body {
  position: relative;
  background: #fff;
  border-radius: 4px;
  padding: 16px 8px 20px;
  box-shadow: 0 2px 8px rgba(var(--pt-brand-shadow-rgb, 22, 64, 130), 0.08);
  overflow: visible;
}

.pt-second-page-body .cont,
.pt-second-page-body .row_area {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  background: transparent !important;
}

.pt-second-page-body .cont {
  position: relative !important;
}

/* 二级页 WebPart 绝对定位布局；sub_page（网校动态等）保持流式 float，否则 crust 叠在一起 */
.pt-second-page-body .cont:not(.sub_page) .crust {
  position: absolute;
  box-sizing: border-box;
}
/* wrap：班级页有顶栏 w12，需单独占一行；网校动态仅 w9+w3 仍同一行 */
.pt-second-page-body .cont.sub_page {
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 20px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.pt-second-page-body .cont.sub_page::after {
  content: none !important;
  display: none !important;
}
.pt-second-page-body .cont.sub_page > .crust {
  position: relative !important;
  float: none !important;
  left: auto !important;
  top: auto !important;
  height: auto !important;
  margin: 0 !important;
  box-sizing: border-box;
}
/* 左主栏 + 右侧栏 */
.pt-second-page-body .cont.sub_page > .crust.w9 {
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}
.pt-second-page-body .cont.sub_page > .crust.w3 {
  flex: 0 0 300px !important;
  width: 300px !important;
  max-width: 300px !important;
}
.pt-second-page-body .cont.sub_page > .crust.w12 {
  float: none !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}
/* 网校动态 iframe */
.pt-second-page-body .pt-feed-dynamic-cm {
  height: auto !important;
  min-height: 420px !important;
  overflow: hidden !important;
  position: relative !important;
}
.pt-second-page-body .pt-feed-dynamic-cm .pt-feed-iframe {
  display: block !important;
  width: 100% !important;
  min-height: 420px !important;
  height: 420px !important;
  border: 0 !important;
  background: #fff !important;
}
.pt-second-page-body .pt-feed-dynamic-cm .pt-feed-empty {
  display: none;
  text-align: center !important;
  min-height: 120px !important;
  line-height: 120px !important;
  font-size: 16px !important;
  color: #aaa !important;
}

/* 横向铺满 1400（相对原 1200 百分比）；纵向交给 baseline=45 */
.pt-second-page-body .w1 { width: 7.5% !important; }
.pt-second-page-body .w2 { width: 15.8333% !important; }
.pt-second-page-body .w3 { width: 24.1667% !important; }
.pt-second-page-body .w4 { width: 32.5% !important; }
.pt-second-page-body .w5 { width: 40.8333% !important; }
.pt-second-page-body .w6 { width: 49.1667% !important; }
.pt-second-page-body .w7 { width: 57.5% !important; }
.pt-second-page-body .w8 { width: 65.8333% !important; }
.pt-second-page-body .w9 { width: 74.1667% !important; }
.pt-second-page-body .w10 { width: 82.5% !important; }
.pt-second-page-body .w11 { width: 90.8333% !important; }
.pt-second-page-body .w12 { width: 99.1667% !important; }
.pt-second-page-body .gap { width: 0.8333% !important; }

.pt-second-page-body .x1 { left: 0.4167% !important; }
.pt-second-page-body .x2 { left: 8.75% !important; }
.pt-second-page-body .x3 { left: 17.0833% !important; }
.pt-second-page-body .x4 { left: 25.4167% !important; }
.pt-second-page-body .x5 { left: 33.75% !important; }
.pt-second-page-body .x6 { left: 42.0833% !important; }
.pt-second-page-body .x7 { left: 50.4167% !important; }
.pt-second-page-body .x8 { left: 58.75% !important; }
.pt-second-page-body .x9 { left: 67.0833% !important; }
.pt-second-page-body .x10 { left: 75.4167% !important; }
.pt-second-page-body .x11 { left: 83.75% !important; }
.pt-second-page-body .x12 { left: 92.0833% !important; }

/* 主题色 */
.pt-second-page-body .box .box_top {
  border-bottom-color: var(--pt-brand-blue, #164082) !important;
}

.pt-second-page-body .box .box_lt,
.pt-second-page-body .box .box_lt span {
  color: var(--pt-brand-blue, #164082) !important;
}

.pt-second-page-body .box .box_rt a:hover,
.pt-second-page-body .box .box_cm a:hover {
  color: var(--pt-brand-red, #164082) !important;
}

/* TAB 新闻：去掉留给已隐藏标题的 50px 空白；贴齐底边线；标签之间留缝 */
.pt-second-page-body .box .tab_in_Box {
  margin-bottom: 0 !important;
}

.pt-second-page-body .box .tab_in_Box .box_ct {
  height: 100% !important;
  padding-top: 0 !important;
}

.pt-second-page-body .box .tab_in_Box .tab_list {
  padding-left: 0 !important;
  padding-right: 0 !important;
  height: 100% !important;
  box-sizing: border-box;
}

.pt-second-page-body .box .tab_in_Box .tab_list li {
  width: auto !important;
  height: 100% !important;
  padding: 0 !important;
  margin-right: 4px;
  vertical-align: top;
}

.pt-second-page-body .box .tab_in_Box .tab_list li a {
  position: relative;
  display: block !important;
  width: auto !important;
  min-width: 56px;
  height: 100% !important;
  line-height: calc(var(--baseline) - 3px) !important;
  padding: 0 14px !important;
  box-sizing: border-box;
  text-align: center;
}

/* 未选中：固定灰底深字，不依赖主题蓝/红是否撞色 */
.pt-second-page-body .box .tab_in_Box .tab_list > li > a,
.pt-second-page-body .box .tab_in_Box .tab_list > li:not(.on):not(.current) > a {
  background: #f0f0f0 !important;
  background-color: #f0f0f0 !important;
  color: #333 !important;
  border: 1px solid #cfcfcf !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}

/* 选中：主题色实心，任意主题都清晰 */
.pt-second-page-body .box .tab_in_Box .tab_list > li.on > a,
.pt-second-page-body .box .tab_in_Box .tab_list > li.current > a {
  background: var(--pt-brand-blue, #164082) !important;
  background-color: var(--pt-brand-blue, #164082) !important;
  color: #fff !important;
  border: 1px solid var(--pt-brand-blue, #164082) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.pt-second-page-body .box .box_cm .subjectNav,
.pt-second-page-body .resourceTab,
.pt-second-page-body .tabBar,
.pt-second-page-body .shell .tabBar {
  background: var(--pt-brand-blue, #164082) !important;
  color: #fff !important;
}

.pt-second-page-body .subjectNav a,
.pt-second-page-body .resourceTab a {
  color: #fff !important;
}

/* 文章行高 = baseline=45；标题+日期用 flex，避免缩窄后 float 把标题挤到第二行被裁掉 */
.pt-second-page-body .news li,
.pt-second-page-body ul.news li {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: center;
  height: var(--baseline) !important;
  line-height: var(--baseline) !important;
  overflow: hidden;
  box-sizing: border-box;
}

.pt-second-page-body .news li::before,
.pt-second-page-body ul.news li::before {
  content: "" !important;
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  margin: 0 10px 0 2px;
  background: #555;
  border-radius: 1px;
}

.pt-second-page-body .news li > p,
.pt-second-page-body ul.news li > p {
  display: flex !important;
  align-items: center;
  flex: 1 1 0% !important;
  width: auto !important;
  min-width: 0;
  height: var(--baseline) !important;
  line-height: var(--baseline) !important;
  margin: 0;
  box-sizing: border-box;
}

.pt-second-page-body .news li p a,
.pt-second-page-body ul.news li p a {
  float: none !important;
  order: 1;
  flex: 1 1 auto;
  min-width: 0;
  max-width: none !important;
  overflow: hidden !important;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: var(--baseline) !important;
  background-image: none !important;
  padding-left: 0 !important;
}

.pt-second-page-body .news li p .iconNew,
.pt-second-page-body ul.news li p .iconNew {
  order: 2;
  flex: 0 0 auto;
}

.pt-second-page-body .news li p span.time,
.pt-second-page-body ul.news li p span.time {
  float: none !important;
  order: 3;
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 8px;
  line-height: var(--baseline) !important;
}

/* 文章列表单列铺满，去掉 w8+ 半宽双列造成的右侧大空隙 */
.pt-second-page-body .w8 ul.news li,
.pt-second-page-body .w9 ul.news li,
.pt-second-page-body .w10 ul.news li,
.pt-second-page-body .w11 ul.news li,
.pt-second-page-body .w12 ul.news li {
  float: none !important;
  width: 100% !important;
  margin-right: 0 !important;
}

.pt-second-page-body .news li a,
.pt-second-page-body ul.news li a,
.pt-second-page-body .news li.new a,
.pt-second-page-body ul.news li.new a {
  max-width: none !important;
}

/* 视频：不改 shell 高度模型；标题可读 */
.pt-second-page-body .video_wall .shell {
  overflow: hidden;
}

.pt-second-page-body .video_wall .shell .video_list li .view a {
  background: #333;
}

.pt-second-page-body .video_wall .shell .video_list li .view img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.pt-second-page-body .video_wall .shell .video_list li .view .title {
  bottom: 0 !important;
  background: rgba(0, 0, 0, 0.65) !important;
}

.pt-second-page-body .video_wall .shell .video_list li .view .title span {
  color: #fff !important;
}

@media (max-width: 992px) {
  .pt-second-page {
    padding: 12px 0 24px;
  }

  .pt-second-page-title {
    font-size: 18px;
  }
}

/* 网校动态 / 班级：左右栏；wrap 以支持班级顶栏 w12 通栏 */
body.pt-platform.pt-second-page-active .pt-second-page-body .cont.sub_page {
  position: relative !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
body.pt-platform.pt-second-page-active .pt-second-page-body .cont.sub_page::after {
  content: none !important;
  display: none !important;
}
body.pt-platform.pt-second-page-active .pt-second-page-body .cont.sub_page > .crust {
  position: relative !important;
  float: none !important;
  left: auto !important;
  top: auto !important;
  height: auto !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
body.pt-platform.pt-second-page-active .pt-second-page-body .cont.sub_page > .crust.w9 {
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
}
body.pt-platform.pt-second-page-active .pt-second-page-body .cont.sub_page > .crust.w3 {
  flex: 0 0 300px !important;
  width: 300px !important;
  max-width: 300px !important;
  min-width: 280px !important;
}
body.pt-platform.pt-second-page-active .pt-second-page-body .cont.sub_page > .crust.w12 {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
}
body.pt-platform.pt-second-page-active .pt-second-page-body .pt-feed-dynamic-cm {
  height: auto !important;
  min-height: 420px !important;
  overflow: hidden !important;
  position: relative !important;
}
body.pt-platform.pt-second-page-active .pt-second-page-body .pt-feed-dynamic-cm .pt-feed-iframe {
  display: block !important;
  width: 100% !important;
  min-height: 420px !important;
  height: 420px !important;
  border: 0 !important;
  background: #fff !important;
}
body.pt-platform.pt-second-page-active .pt-second-page-body .pt-feed-dynamic-cm .pt-feed-empty {
  display: none;
  text-align: center !important;
  min-height: 120px !important;
  line-height: 120px !important;
  font-size: 16px !important;
  color: #aaa !important;
}
/* 班级页：标题区与主题色对齐；顶栏 w12 通栏后左右栏正常 */
body.pt-platform.pt-second-page-active .pt-second-page-body .classPlate h1 {
  color: var(--pt-brand-blue, #164082) !important;
}
body.pt-platform.pt-second-page-active .pt-second-page-body .classPlate h1 a {
  color: var(--pt-brand-blue, #164082) !important;
}
body.pt-platform.pt-second-page-active .pt-second-page-body .classPlate span a {
  color: var(--pt-brand-blue, #164082) !important;
}
body.pt-platform.pt-second-page-active .pt-second-page-body .PCue {
  padding: 24px 16px !important;
  text-align: center !important;
  color: #666 !important;
  font-size: 15px !important;
}
/* 文件下载：栏目分类多列自适应（勿被 .news li 单列规则盖掉） */
body.pt-platform.pt-second-page-active .pt-second-page-body ul.news.tktj,
body.pt-platform.pt-second-page-active .pt-second-page-body ul.tktj {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  height: auto !important;
  overflow: visible !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  border: none !important;
  list-style: none !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body ul.news.tktj > li,
body.pt-platform.pt-second-page-active .pt-second-page-body .w8 ul.news.tktj > li,
body.pt-platform.pt-second-page-active .pt-second-page-body .w9 ul.news.tktj > li,
body.pt-platform.pt-second-page-active .pt-second-page-body .w10 ul.news.tktj > li,
body.pt-platform.pt-second-page-active .pt-second-page-body .w11 ul.news.tktj > li,
body.pt-platform.pt-second-page-active .pt-second-page-body .w12 ul.news.tktj > li,
body.pt-platform.pt-second-page-active .pt-second-page-body ul.tktj > li {
  display: block !important;
  float: none !important;
  flex: 0 0 20% !important;
  width: 20% !important;
  max-width: 20% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 6px 12px 6px 0 !important;
  border: none !important;
  border-bottom: none !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body ul.news.tktj > li::before,
body.pt-platform.pt-second-page-active .pt-second-page-body ul.tktj > li::before {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  flex: none !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body ul.news.tktj > li > a,
body.pt-platform.pt-second-page-active .pt-second-page-body ul.tktj > li > a {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  line-height: 1.5 !important;
  padding: 0 !important;
  background: none !important;
  background-image: none !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body ul.news.tktj > li.on > a,
body.pt-platform.pt-second-page-active .pt-second-page-body ul.tktj > li.on > a {
  color: var(--pt-brand-blue, #c00) !important;
  font-weight: 600 !important;
}

/* 文件列表：统一字体/字号/行距；分类列加宽 */
body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab {
  font-family: "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif !important;
  font-size: 14px !important;
  border-collapse: collapse !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab th {
  height: 44px !important;
  line-height: 44px !important;
  padding: 0 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  color: #333 !important;
  background: #f3f4f6 !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab td {
  height: 48px !important;
  line-height: 48px !important;
  padding: 0 10px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  font-family: inherit !important;
  color: #333 !important;
  vertical-align: middle !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab td a,
body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab td.li_tit a {
  font-size: 14px !important;
  font-weight: 400 !important;
  font-family: inherit !important;
  color: #333 !important;
  line-height: inherit !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab td.li_tit a:hover {
  color: var(--pt-brand-blue, #c00) !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab th:nth-child(5),
body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab td:nth-child(5) {
  width: 120px !important;
  min-width: 120px !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab th:nth-child(3),
body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab td:nth-child(3) {
  width: 100px !important;
  min-width: 90px !important;
  white-space: nowrap !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab th:nth-child(4),
body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab td:nth-child(4) {
  width: 110px !important;
  min-width: 100px !important;
  white-space: nowrap !important;
}

/* 文件类型图标：取消旧 top 偏移，在单元格内垂直居中 */
body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab th:first-child,
body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab td:first-child {
  width: 32px !important;
  text-align: center !important;
  vertical-align: middle !important;
  line-height: 48px !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body table.club_tab td:first-child > span {
  float: none !important;
  position: static !important;
  top: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 !important;
}

@media (max-width: 1100px) {
  body.pt-platform.pt-second-page-active .pt-second-page-body ul.news.tktj > li,
  body.pt-platform.pt-second-page-active .pt-second-page-body .w9 ul.news.tktj > li,
  body.pt-platform.pt-second-page-active .pt-second-page-body ul.tktj > li {
    flex: 0 0 25% !important;
    width: 25% !important;
    max-width: 25% !important;
  }
}

@media (max-width: 768px) {
  body.pt-platform.pt-second-page-active .pt-second-page-body ul.news.tktj > li,
  body.pt-platform.pt-second-page-active .pt-second-page-body .w9 ul.news.tktj > li,
  body.pt-platform.pt-second-page-active .pt-second-page-body ul.tktj > li {
    flex: 0 0 33.333% !important;
    width: 33.333% !important;
    max-width: 33.333% !important;
  }
}

@media (max-width: 520px) {
  body.pt-platform.pt-second-page-active .pt-second-page-body ul.news.tktj > li,
  body.pt-platform.pt-second-page-active .pt-second-page-body .w9 ul.news.tktj > li,
  body.pt-platform.pt-second-page-active .pt-second-page-body ul.tktj > li {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
  }
}

/* 信箱留言（二级页）：与专题页 GuestBook 统一文字/输入框/行距 */
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 4px 0 8px !important;
  box-sizing: border-box !important;
  font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif !important;
  font-size: 14px !important;
  color: #333 !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb table {
  width: 100% !important;
  table-layout: fixed !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb td {
  font-size: 14px !important;
  font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif !important;
  color: #333 !important;
  line-height: 30px !important;
  vertical-align: top !important;
  padding: 0 0 14px !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb td.itemName,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb td.txtBox {
  width: 64px !important;
  text-align: right !important;
  white-space: nowrap !important;
  padding-right: 8px !important;
  line-height: 30px !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb td.compart {
  width: 24px !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb span,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb span.must {
  float: none !important;
  display: inline-block !important;
  font-size: 14px !important;
  font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif !important;
  color: #333 !important;
  line-height: 30px !important;
  vertical-align: top !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb .inputWrap,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb .textWrap {
  height: auto !important;
  min-height: 0 !important;
  border: none !important;
  background: none !important;
  overflow: visible !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb .inputWrap p,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb .textWrap p {
  margin: 0 !important;
  overflow: visible !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb input.txtBox,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb select,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb textarea,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb .inputWrap input,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb .inputWrap p input {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  border: 1px solid #c8ced6 !important;
  border-radius: 4px !important;
  background: #fff !important;
  background-image: none !important;
  font-size: 14px !important;
  font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif !important;
  color: #333 !important;
  outline: none !important;
  float: none !important;
  margin: 0 !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb input.txtBox,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb select,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb .inputWrap input,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb .inputWrap p input {
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  line-height: 30px !important;
  padding: 0 12px !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb textarea {
  min-height: 90px !important;
  height: 90px !important;
  padding: 8px 12px !important;
  line-height: 1.6 !important;
  resize: vertical !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb .mailbox_notice textarea {
  min-height: 110px !important;
  height: 110px !important;
  color: #555 !important;
  background: #f8f9fb !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb input.txtBox:focus,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb select:focus,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb textarea:focus {
  border-color: var(--pt-brand-blue, #164082) !important;
}

/* 验证码：输入框与图形码同一行 */
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb td.short {
  white-space: nowrap !important;
  line-height: 30px !important;
  vertical-align: middle !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb td.short .inputWrap {
  display: inline-block !important;
  width: 140px !important;
  max-width: 140px !important;
  vertical-align: middle !important;
  margin: 0 !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb td.short input.txtBox,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb td.short .inputWrap p input {
  display: block !important;
  width: 140px !important;
  max-width: 140px !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb input.mailbox_btn,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb .mailbox_btn,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb button,
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb .button {
  display: inline-block !important;
  min-width: 100px !important;
  height: 30px !important;
  line-height: 30px !important;
  padding: 0 24px !important;
  margin: 8px 0 0 !important;
  border: none !important;
  border-radius: 4px !important;
  background: var(--pt-brand-blue, #164082) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  box-shadow: none !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox_tb img.VerifyCode {
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 0 0 10px !important;
  height: 30px !important;
  width: auto !important;
  float: none !important;
}

/* 来信列表：恢复经典浮动布局 + 单帧信封图标（自适应） */
body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_th,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_tit,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_time,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_search,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dl,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dt,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dd {
  font-family: Arial, "Microsoft YaHei", "微软雅黑", sans-serif !important;
  font-size: 14px !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_search {
  float: right !important;
  height: auto !important;
  padding: 8px 0 !important;
  color: #333 !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_search span {
  float: left !important;
  line-height: 30px !important;
  font-size: 14px !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_txt,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_search input {
  float: left !important;
  height: 30px !important;
  line-height: 30px !important;
  padding: 0 12px !important;
  border: 1px solid #c8ced6 !important;
  border-radius: 4px !important;
  background: #fff !important;
  font-size: 14px !important;
  color: #333 !important;
  box-sizing: border-box !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_search .button {
  float: left !important;
  height: 30px !important;
  line-height: 30px !important;
  font-size: 14px !important;
  border-radius: 4px !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_th {
  clear: both !important;
  width: 100% !important;
  box-sizing: border-box !important;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 12px 0 36px !important;
  background: #f3f4f6 !important;
  color: #333 !important;
  border-top: none !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_times {
  float: right !important;
  width: auto !important;
  min-width: 100px !important;
  text-align: right !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 8px !important;
  border-top: 1px dashed #e5e7eb !important;
  background: transparent !important;
  overflow: hidden !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mailbox:hover {
  background: #fafafa !important;
}

/* 标题行：去掉整行雪碧背景，改用 ::before 裁切单帧信封；右侧展开箭头 */
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_tit {
  display: block !important;
  position: relative !important;
  height: 48px !important;
  line-height: 48px !important;
  padding: 0 8px 0 36px !important;
  overflow: hidden !important;
  color: #333 !important;
  background: none !important;
  background-image: none !important;
  box-sizing: border-box !important;
  cursor: pointer !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_tit::before {
  content: "" !important;
  position: absolute !important;
  left: 5px !important;
  top: 50% !important;
  width: 30px !important;
  height: 20px !important;
  margin-top: -14px !important;
  background: url(/SystemThemesWide/public/images/mbx_ico.png) no-repeat 0 2px !important;
  background-size: auto !important;
  pointer-events: none !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_tit > span:last-child {
  display: block !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  float: none !important;
  order: unset !important;
  flex: unset !important;
  padding-right: 8px !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_time {
  float: right !important;
  order: unset !important;
  flex: unset !important;
  line-height: 48px !important;
  color: #888 !important;
  padding-right: 6px !important;
  margin: 0 !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_open,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_close {
  float: right !important;
  order: unset !important;
  flex: none !important;
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  margin: 14px 0 0 4px !important;
  position: static !important;
  top: auto !important;
  background: url(/SystemThemesWide/public/images/mbx_ico.png) no-repeat -5px -58px !important;
  background-size: auto !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_close,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_open.mbx_close {
  background-position: -5px -86px !important;
}

/* 展开区：一行三列（标签 | 正文 | 操作），左右基线对齐 */
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide {
  /* 勿写 display:!important，否则盖掉内联 display:none / JS 展开收起 */
  clear: both !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 8px 14px 36px !important;
  overflow: hidden !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dl,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dl.mbx_re {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  clear: both !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 0 10px !important;
  padding: 6px 0 !important;
  overflow: visible !important;
  line-height: 1.7 !important;
  box-sizing: border-box !important;
  gap: 0 12px !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dt {
  order: 1 !important;
  float: none !important;
  flex: 0 0 5.5em !important;
  width: 5.5em !important;
  max-width: 5.5em !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;
  color: #c0392b !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dd {
  order: 2 !important;
  float: none !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.7 !important;
  color: #333 !important;
  word-break: break-word !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dd.mbx_t,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide .mbx_re dd.mbx_t {
  order: 3 !important;
  float: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  line-height: 1.7 !important;
  color: #888 !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dd.mbx_ac,
body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide .mbx_re dd.mbx_ac {
  order: 4 !important;
  float: none !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  line-height: 1.7 !important;
  color: #888 !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dd.mbx_ac a {
  display: inline !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  color: var(--pt-brand-blue, #164082) !important;
}

body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide .mbx_re dd {
  margin: 0 !important;
  width: auto !important;
}

@media (max-width: 768px) {
  body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide {
    padding-left: 12px !important;
  }
  body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dl,
  body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dl.mbx_re {
    flex-wrap: wrap !important;
  }
  body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dd.mbx_t,
  body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide dd.mbx_ac,
  body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide .mbx_re dd.mbx_t,
  body.pt-platform.pt-second-page-active .pt-second-page-body .mbx_hide .mbx_re dd.mbx_ac {
    flex: 1 1 100% !important;
    margin-left: 5.5em !important;
    text-align: left !important;
  }
}
