/* ============================================================
   edunet Member Center v4 (2026-11-14)
   Register / Login / Personal center / Honor folder
   Scoped to <body class="mcv4"> so the public site is untouched.
   ============================================================ */
body.mcv4 {
  --mc-bg: #f4f6fa;
  --mc-card: #fff;
  --mc-line: #e5eaf2;
  --mc-line2: #dbe3ee;
  --mc-primary: #2563eb;
  --mc-primary-dark: #1d4ed8;
  --mc-navy: #0d3b73;
  --mc-text: #1b2a41;
  --mc-text2: #5b6b84;
  --mc-text3: #8b98ad;
  --mc-gold: #b7791f;
  --mc-radius: 14px;
  background: var(--mc-bg) !important;
  color: var(--mc-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  font-size: 14px; line-height: 1.6; margin: 0;
  -webkit-font-smoothing: antialiased;
}
body.mcv4 * { box-sizing: border-box; }
body.mcv4 a { color: var(--mc-primary); text-decoration: none; }
body.mcv4 button { font-family: inherit; }

/* ============ Shared controls ============ */
body.mcv4 .mc-input {
  width: 100% !important; height: 40px !important; padding: 0 13px !important;
  border: 1px solid var(--mc-line2) !important; border-radius: 9px !important;
  background: #fff !important; color: var(--mc-text) !important;
  font-size: 14px !important; line-height: 38px !important;
  outline: none !important; box-shadow: 0 1px 1px rgba(16,42,84,.02) !important;
  transition: border-color .15s, box-shadow .15s;
}
body.mcv4 .mc-input:focus {
  border-color: var(--mc-primary) !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,.12) !important;
}
body.mcv4 .mc-input::placeholder { color: #a9b4c4 !important; }
body.mcv4 select.mc-input { padding-right: 30px !important; }
body.mcv4 .mc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 20px; border: 1px solid var(--mc-primary);
  border-radius: 9px; background: var(--mc-primary); color: #fff;
  font-size: 14px; font-weight: 600; cursor: pointer;
  box-shadow: 0 2px 8px rgba(37,99,235,.18); transition: .15s;
}
body.mcv4 .mc-btn:hover { background: var(--mc-primary-dark); border-color: var(--mc-primary-dark); }
body.mcv4 .mc-btn.ghost { background: #fff; color: var(--mc-text2); border-color: var(--mc-line2); box-shadow: none; }
body.mcv4 .mc-btn.ghost:hover { background: #f3f6fb; color: var(--mc-text); }
body.mcv4 .mc-btn.soft { background: #eaf1ff; color: var(--mc-primary); border-color: #d4e2ff; box-shadow: none; }
body.mcv4 .mc-btn.soft:hover { background: #dbe9ff; }
body.mcv4 .mc-btn.wide { width: 100%; }
body.mcv4 .mc-btn:disabled { opacity: .6; cursor: default; }
body.mcv4 .mc-mini {
  height: 38px; padding: 0 14px; border: 1px solid var(--mc-line2);
  border-radius: 9px; background: #fff; color: var(--mc-primary);
  font-size: 13px; cursor: pointer; white-space: nowrap;
}
body.mcv4 .mc-mini:hover { background: #eaf1ff; border-color: #c6d9fb; }
body.mcv4 .mc-tip { font-size: 12px; color: var(--mc-text3); line-height: 1.6; }
body.mcv4 .mc-err { color: #dc2626 !important; font-size: 13px; margin: 0; min-height: 18px; }

/* ============ Register ============ */
body.mcv4.reg-page { background: linear-gradient(180deg,#eef3fb 0%,#f4f6fa 42%) !important; }
body.mcv4 .reg-wrap { max-width: 760px; margin: 0 auto; padding: 34px 16px 60px; }
body.mcv4 .reg-brand { text-align: center; margin-bottom: 18px; }
body.mcv4 .reg-brand img { max-width: 300px; width: 62%; height: auto; }
body.mcv4 .reg-brand p { margin: 4px 0 0; font-size: 12.5px; letter-spacing: 2px; color: var(--mc-text3); }
body.mcv4 .reg-card {
  background: #fff; border: 1px solid var(--mc-line); border-radius: 18px;
  box-shadow: 0 10px 40px rgba(16,42,84,.09); padding: 28px 36px 32px;
}
body.mcv4 .reg-title { text-align: center; font-size: 24px; font-weight: 700; margin: 0 0 6px; letter-spacing: 1px; }
body.mcv4 .reg-sub { text-align: center; color: var(--mc-text3); font-size: 13px; margin: 0 0 20px; }
body.mcv4 .reg-tabs { display: flex; gap: 10px; margin: 0 0 22px; }
body.mcv4 .reg-tabs > div {
  flex: 1; text-align: center; height: 42px; line-height: 42px;
  border-radius: 10px; cursor: pointer; font-size: 14.5px;
  border: 1px solid var(--mc-line2); background: #f7f9fc; color: var(--mc-text2);
  transition: .15s;
}
body.mcv4 .reg-tabs > div.itemmenudivsel {
  background: var(--mc-primary); border-color: var(--mc-primary); color: #fff;
  font-weight: 600; box-shadow: 0 4px 12px rgba(37,99,235,.22);
}
body.mcv4 .reg-tabs > div.itemmenudiv:hover { background: #eaf1ff; }
body.mcv4 .reg-form table { width: 100%; border-collapse: separate; border-spacing: 0 13px; table-layout: auto; }
body.mcv4 .reg-form td { padding: 0; vertical-align: middle; border: 0 !important; }
body.mcv4 .reg-form td.rl {
  width: 112px; text-align: right; padding-right: 16px !important;
  font-size: 13.5px; font-weight: 600; color: #3d4d67; white-space: nowrap;
}
body.mcv4 .reg-form td.rc { width: 100%; min-width: 320px; }
body.mcv4 .reg-form td.rx { width: 132px; padding-left: 10px !important; white-space: nowrap; }
body.mcv4 .reg-form td.rc .mc-tip { display: block; margin-top: 5px; white-space: normal; }
body.mcv4 .reg-form td.rc .mc-err { margin-top: 5px; }
body.mcv4 .reg-form tr.reg-group td {
  padding: 12px 0 0 !important; text-align: left !important;
  font-size: 12.5px !important; font-weight: 700 !important; color: var(--mc-primary) !important;
  letter-spacing: 1px; border-bottom: 1px solid var(--mc-line) !important;
}
body.mcv4 .reg-form tr.reg-group + tr td { padding-top: 4px !important; }
body.mcv4 .reg-form .inputgray { width: 100% !important; }
body.mcv4 .reg-foot { margin-top: 22px; text-align: center; }
body.mcv4 .reg-foot .mc-btn.wide { height: 44px; font-size: 15px; letter-spacing: 4px; }
body.mcv4 .reg-foot .reg-login { display: block; margin-top: 14px; font-size: 13px; color: var(--mc-text3); }
body.mcv4 .reg-foot .reg-login a { font-weight: 600; }
body.mcv4 .reg-note {
  margin: 16px 0 0; padding: 10px 14px; border-radius: 9px;
  background: #f7f9fc; border: 1px solid var(--mc-line);
  font-size: 12.5px; color: var(--mc-text2); line-height: 1.8;
}
/* legacy tab class names used by js/Login.js */
body.mcv4 .itemmenudivsel, body.mcv4 .itemmenudiv { }
/* education bureau dialog */
body.mcv4 .jyjsertchdiv {
  display: none; position: fixed; z-index: 999; left: 50%; top: 50%;
  transform: translate(-50%,-50%); width: min(560px, calc(100% - 32px));
  max-height: 80vh; overflow: auto; background: #fff;
  border: 1px solid var(--mc-line); border-radius: 14px;
  box-shadow: 0 20px 60px rgba(16,42,84,.28); padding: 22px 24px;
}
body.mcv4 .jyjsertchdiv > img { position: absolute; right: 14px; top: 12px; cursor: pointer; }
body.mcv4 .jyjsertchdiv > p { margin: 0 0 10px; font-size: 17px; font-weight: 700; }
body.mcv4 .jyjsertchdiv .linediv { height: 1px; background: var(--mc-line); margin-bottom: 14px; }
body.mcv4 .jyjsertchdiv table { width: 100%; }
body.mcv4 .jyjsertchdiv #fileloglisttable td { padding: 9px 10px; border-bottom: 1px solid #eef2f7; font-size: 13px; }
body.mcv4 .jyjsertchdiv #fileloglisttable .fileloglisttable_head td { background: #f7f9fc; font-weight: 600; }

/* ============ Login ============ */
body.mcv4.login-page {
  background: linear-gradient(135deg,#0d3b73 0%,#1159a8 55%,#1e73d2 100%) !important;
  min-height: 100vh; position: relative; overflow-x: hidden;
}
body.mcv4 .lg-deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); pointer-events: none; }
body.mcv4 .lg-c1 { width: 520px; height: 520px; top: -180px; right: -120px; }
body.mcv4 .lg-c2 { width: 320px; height: 320px; bottom: -100px; left: -80px; }
body.mcv4 .lg-c3 { width: 160px; height: 160px; top: 30%; left: 12%; background: rgba(255,255,255,.04); }
body.mcv4 .lg-card {
  width: calc(100% - 32px); max-width: 430px; margin: 8vh auto 0;
  background: #fff; border-radius: 18px; padding: 36px 40px 32px;
  box-shadow: 0 24px 70px rgba(6,30,66,.45); position: relative; z-index: 2;
}
body.mcv4 .lg-card img.card-logo { display: block; margin: 0 auto 8px; max-width: 280px; width: 76%; }
body.mcv4 .lg-card .card-sub { text-align: center; color: var(--mc-text3); font-size: 12.5px; letter-spacing: 2px; margin: 0 0 26px; }
body.mcv4 .lg-field { margin-bottom: 18px; }
body.mcv4 .lg-field label { display: block; font-size: 13px; color: #3d4d67; font-weight: 600; margin-bottom: 7px; }
body.mcv4 .lg-btn {
  width: 100%; height: 46px; border: none; border-radius: 10px;
  background: linear-gradient(135deg,#1a69c4,#1159a8); color: #fff;
  font-size: 16px; font-weight: 600; letter-spacing: 6px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(17,89,168,.35); margin-top: 6px;
}
body.mcv4 .lg-btn:hover { filter: brightness(1.08); }
body.mcv4 .lg-links { margin-top: 18px; text-align: center; font-size: 13px; color: var(--mc-text3); }
body.mcv4 .lg-links a { margin: 0 6px; font-weight: 600; }
body.mcv4 .lg-hint {
  margin-top: 20px; padding: 11px 14px; border-radius: 9px;
  background: #f2f7ff; border: 1px solid #dce9ff; color: #3b5b96;
  font-size: 12.5px; line-height: 1.7;
}
body.mcv4 .lg-bottom { position: relative; text-align: center; color: rgba(255,255,255,.5); font-size: 12px; padding: 26px 0 20px; }

/* ============ Personal center ============ */
body.mcv4.uc-page { background: var(--mc-bg) !important; }
body.mcv4 .uc-wrap { max-width: 1180px; margin: 0 auto; padding: 22px 20px 56px; }
body.mcv4 .uc-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg,#0d3b73 0%,#1756a8 58%,#2f7ae5 100%);
  border-radius: 18px; padding: 28px 32px; color: #fff;
  box-shadow: 0 10px 32px rgba(13,59,115,.18);
}
body.mcv4 .uc-hero::after {
  content: ''; position: absolute; width: 320px; height: 320px; right: -70px; top: -170px;
  border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none;
}
body.mcv4 .uc-hero-in { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; position: relative; z-index: 1; }
body.mcv4 .uc-avatar {
  width: 82px; height: 82px; border-radius: 50%; object-fit: cover;
  border: 3px solid rgba(255,255,255,.85); background: #eaf1ff; flex: 0 0 82px;
}
body.mcv4 .uc-who { min-width: 220px; flex: 1 1 260px; }
body.mcv4 .uc-who h1 { margin: 0 0 4px; font-size: 23px; font-weight: 700; letter-spacing: .5px; }
body.mcv4 .uc-who p { margin: 0; font-size: 13px; color: rgba(255,255,255,.78); }
body.mcv4 .uc-badge {
  display: inline-block; margin-top: 9px; padding: 3px 10px; border-radius: 20px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.26);
  font-size: 12px; color: #fff;
}
body.mcv4 .uc-stats { display: flex; gap: 12px; flex-wrap: wrap; }
body.mcv4 .uc-stat {
  min-width: 112px; padding: 12px 18px; border-radius: 12px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
  text-align: center;
}
body.mcv4 .uc-stat b { display: block; font-size: 24px; line-height: 1.2; }
body.mcv4 .uc-stat span { font-size: 12px; color: rgba(255,255,255,.78); }
body.mcv4 .uc-quick { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin: 16px 0 18px; }
body.mcv4 .uc-qcard {
  display: flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--mc-line); border-radius: 12px; padding: 14px 16px;
  cursor: pointer; box-shadow: 0 1px 2px rgba(16,42,84,.04); transition: .15s;
}
body.mcv4 .uc-qcard:hover { border-color: #bcd3fa; box-shadow: 0 6px 18px rgba(37,99,235,.10); transform: translateY(-1px); }
body.mcv4 .uc-qicon {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: #eaf1ff; color: var(--mc-primary); font-size: 18px;
}
body.mcv4 .uc-qcard b { display: block; font-size: 14px; }
body.mcv4 .uc-qcard small { color: var(--mc-text3); font-size: 12px; }
body.mcv4 .uc-tabs {
  display: flex; gap: 6px; overflow-x: auto; padding: 0 0 2px; margin-bottom: 14px;
  border-bottom: 1px solid var(--mc-line);
}
body.mcv4 .uc-tabs li {
  list-style: none; flex: 0 0 auto; padding: 11px 18px; cursor: pointer;
  font-size: 14px; color: var(--mc-text2); border-bottom: 2px solid transparent;
  white-space: nowrap; transition: .15s;
}
body.mcv4 .uc-tabs li:hover { color: var(--mc-primary); }
body.mcv4 .uc-tabs li.spanitemsel {
  color: var(--mc-primary) !important; font-weight: 700 !important;
  border-bottom-color: var(--mc-primary) !important;
}
body.mcv4 .uc-tabs li.spanitem { color: var(--mc-text2) !important; }
body.mcv4 .uc-panel {
  background: #fff; border: 1px solid var(--mc-line); border-radius: var(--mc-radius);
  box-shadow: 0 1px 2px rgba(16,42,84,.04), 0 8px 24px rgba(16,42,84,.035);
  padding: 6px; min-height: 420px;
}
body.mcv4 #pageshow { width: 100%; border: 0; display: block; min-height: 420px; }

/* ============ Inner pages (home / honor) ============ */
body.mcv4 .mc-inner { background: #fff; padding: 22px 24px 30px; }
body.mcv4 .mc-hd { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
body.mcv4 .mc-hd h2 { margin: 0; font-size: 18px; font-weight: 700; padding-left: 11px; border-left: 3px solid var(--mc-primary); }
body.mcv4 .mc-hd small { color: var(--mc-text3); font-size: 12.5px; }
body.mcv4 .mc-hd .mc-count { margin-left: auto; font-size: 12.5px; color: var(--mc-text3); }
body.mcv4 .mc-hero-note {
  padding: 16px 18px; border-radius: 12px; margin-bottom: 20px;
  background: linear-gradient(100deg,#f2f7ff,#fbfcff); border: 1px solid #e0ebff;
}
body.mcv4 .mc-hero-note b { font-size: 15px; }
body.mcv4 .mc-hero-note p { margin: 5px 0 0; color: var(--mc-text2); font-size: 13px; line-height: 1.8; }
body.mcv4 .mc-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
body.mcv4 .hz-grid { grid-template-columns: repeat(auto-fit,minmax(340px,1fr)) !important; }
body.mcv4 .mc-tile {
  border: 1px solid var(--mc-line); border-radius: 12px; padding: 16px 18px;
  background: #fff; transition: .15s;
}
body.mcv4 .mc-tile:hover { border-color: #bcd3fa; box-shadow: 0 6px 18px rgba(37,99,235,.09); }
body.mcv4 .mc-tile h3 { margin: 0 0 6px; font-size: 14.5px; }
body.mcv4 .mc-tile p { margin: 0; font-size: 12.5px; color: var(--mc-text3); line-height: 1.75; }
body.mcv4 .mc-tile .mc-go { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 600; }

/* honor cards */
body.mcv4 .hz-card {
  position: relative; overflow: hidden; border: 1px solid var(--mc-line);
  border-radius: 12px; background: #fff; padding: 18px 20px 18px 24px;
  box-shadow: 0 1px 2px rgba(16,42,84,.04); transition: .15s;
}
body.mcv4 .hz-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg,#e8b64c,#b7791f); }
body.mcv4 .hz-card:hover { border-color: #e5cd97; box-shadow: 0 8px 24px rgba(183,121,31,.12); transform: translateY(-1px); }
body.mcv4 .hz-top { display: flex; align-items: flex-start; gap: 12px; }
body.mcv4 .hz-seal {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%;
  background: linear-gradient(135deg,#fdf3dd,#f6dfae); color: var(--mc-gold);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
  border: 1px solid #eed6a4;
}
body.mcv4 .hz-title { flex: 1; min-width: 0; }
body.mcv4 .hz-title h3 { margin: 0 0 3px; font-size: 16px; font-weight: 700; }
body.mcv4 .hz-title p { margin: 0; font-size: 12.5px; color: var(--mc-text3); }
body.mcv4 .hz-status {
  flex: 0 0 auto; font-size: 12px; padding: 3px 10px; border-radius: 20px;
  background: #e8f8ef; color: #177a3c; border: 1px solid #bfe8cf;
}
body.mcv4 .hz-status.warn { background: #fff5e6; color: #b45309; border-color: #f3d9a8; }
body.mcv4 .hz-kv { margin: 14px 0 0; display: grid; grid-template-columns: 76px minmax(0,1fr); row-gap: 6px; column-gap: 10px; font-size: 13px; }
body.mcv4 .hz-kv dt { color: var(--mc-text3); }
body.mcv4 .hz-kv dd { margin: 0; color: var(--mc-text); word-break: break-all; }
body.mcv4 .hz-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--mc-line); }
body.mcv4 .hz-acts .mc-btn { height: 34px; padding: 0 14px; font-size: 13px; }
body.mcv4 .hz-empty { text-align: center; padding: 54px 20px; color: var(--mc-text3); }
body.mcv4 .hz-empty .ico { font-size: 46px; margin-bottom: 10px; }
body.mcv4 .hz-empty b { display: block; font-size: 16px; color: var(--mc-text2); margin-bottom: 6px; }
body.mcv4 .hz-empty p { margin: 0; font-size: 13px; line-height: 1.8; }
body.mcv4 .hz-note {
  margin-top: 18px; padding: 12px 16px; border-radius: 10px;
  background: #f7f9fc; border: 1px solid var(--mc-line);
  color: var(--mc-text2); font-size: 12.5px; line-height: 1.8;
}

/* honor detail */
body.mcv4 .hv-card { border: 1px solid var(--mc-line); border-radius: 14px; overflow: hidden; background: #fff; }
body.mcv4 .hv-head {
  background: linear-gradient(120deg,#0d3b73,#2f7ae5); color: #fff;
  padding: 22px 26px; display: flex; align-items: center; gap: 14px;
}
body.mcv4 .hv-head .hz-seal { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #ffe6ac; }
body.mcv4 .hv-head h2 { margin: 0; font-size: 20px; }
body.mcv4 .hv-head p { margin: 3px 0 0; font-size: 12.5px; color: rgba(255,255,255,.78); }
body.mcv4 .hv-body { padding: 22px 26px 26px; }
body.mcv4 .hv-kv { width: 100%; border-collapse: collapse; font-size: 14px; }
body.mcv4 .hv-kv td { padding: 11px 0; border-bottom: 1px dashed #eef2f7; }
body.mcv4 .hv-kv td.k { width: 110px; color: var(--mc-text3); }
body.mcv4 .hv-qr { text-align: center; margin: 22px 0 6px; }
body.mcv4 .hv-qr img { width: 132px; height: 132px; border: 1px solid var(--mc-line); border-radius: 10px; background: #fff; }
body.mcv4 .hv-qr p { margin: 8px 0 0; font-size: 12px; color: var(--mc-text3); }
body.mcv4 .hv-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  body.mcv4 .uc-quick { grid-template-columns: repeat(2,1fr); }
  body.mcv4 .mc-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  body.mcv4 .reg-wrap { padding: 18px 10px 40px; }
  body.mcv4 .reg-card { padding: 20px 16px 24px; border-radius: 14px; }
  body.mcv4 .reg-form td.rl { width: 88px; padding-right: 10px !important; font-size: 13px; }
  body.mcv4 .reg-form td.rx { padding-left: 6px !important; }
  body.mcv4 .reg-form table { border-spacing: 0 10px; }
  body.mcv4 .reg-title { font-size: 20px; }
  body.mcv4 .lg-card { padding: 26px 22px; margin-top: 5vh; }
  body.mcv4 .uc-wrap { padding: 14px 10px 40px; }
  body.mcv4 .uc-hero { padding: 20px 18px; }
  body.mcv4 .uc-stats { width: 100%; }
  body.mcv4 .uc-stat { flex: 1 1 90px; min-width: 90px; padding: 10px; }
  body.mcv4 .uc-quick { grid-template-columns: repeat(2,1fr); gap: 8px; }
  body.mcv4 .uc-qcard { padding: 11px; gap: 8px; }
  body.mcv4 .uc-qicon { width: 32px; height: 32px; flex-basis: 32px; font-size: 16px; }
  body.mcv4 .uc-tabs li { padding: 10px 13px; font-size: 13px; }
  body.mcv4 .mc-inner { padding: 16px 14px 24px; }
  body.mcv4 .uc-panel { padding: 2px; }
}
/* ---- override legacy css/left.css (.topul / #leftmenu) on the tab bar ----
   left.css uses #leftmenu li (ID specificity), so the override must include
   the same ID plus the scope class, otherwise the tabs turn navy blue. */
body.mcv4 #leftmenu.uc-nav {
  float: none !important; position: static !important;
  width: 100% !important; height: auto !important; min-height: 0 !important;
  background: transparent !important; border: 0 !important;
  overflow: visible !important; margin: 0 !important; padding: 0 !important;
}
body.mcv4 #leftmenu.uc-nav .uc-tabs {
  display: flex !important; flex-wrap: nowrap !important;
  width: 100% !important; height: auto !important; min-height: 0 !important;
  margin: 0 0 14px !important; padding: 0 !important;
  background: transparent !important; border: 0 !important;
  border-bottom: 1px solid var(--mc-line) !important;
  list-style: none !important; overflow-x: auto !important; overflow-y: hidden !important;
  scrollbar-width: thin; scrollbar-color: #c8d4e6 transparent;
}
body.mcv4 #leftmenu.uc-nav .uc-tabs::-webkit-scrollbar { height: 4px; }
body.mcv4 #leftmenu.uc-nav .uc-tabs::-webkit-scrollbar-thumb { background: #c8d4e6; border-radius: 4px; }
body.mcv4 #leftmenu.uc-nav .uc-tabs li {
  float: none !important; display: block !important;
  width: auto !important; height: auto !important; min-height: 0 !important;
  line-height: 1.6 !important; margin: 0 !important; padding: 11px 18px !important;
  text-align: center !important; list-style: none !important;
  background: transparent !important; border: 0 !important;
  border-bottom: 2px solid transparent !important;
  color: var(--mc-text2) !important; font-size: 14px !important;
}
body.mcv4 #leftmenu.uc-nav .uc-tabs li.spanitemsel {
  background: transparent !important; color: var(--mc-primary) !important;
  border-bottom-color: var(--mc-primary) !important; font-weight: 700 !important;
}
body.mcv4 #leftmenu.uc-nav .uc-tabs li.spanitem {
  background: transparent !important; color: var(--mc-text2) !important;
  border-bottom-color: transparent !important;
}

@media print {
  body.mcv4 .mc-noprint, body.mcv4 .uc-wrap > .uc-hero, body.mcv4 .uc-quick { display: none !important; }
}

/* ============ v4.1 (2026-11-14 个人中心四项调整) ============ */
/* 中心内页表单（证书提交 / 个人资料 / 证书查询） */
body.mcv4 .mc-form table { width:100%; border-collapse:separate; border-spacing:0 13px; table-layout:auto; }
body.mcv4 .mc-form td { padding:0; vertical-align:middle; border:0 !important; }
body.mcv4 .mc-form td.rl { width:112px; text-align:right; padding-right:16px !important; font-size:13.5px; font-weight:600; color:#3d4d67; white-space:nowrap; }
body.mcv4 .mc-form td.rc { width:100%; min-width:260px; }
body.mcv4 .mc-form td.rx { padding-left:10px !important; white-space:nowrap; }
body.mcv4 .mc-form tr.reg-group td { padding:12px 0 0 !important; text-align:left !important; font-size:12.5px !important; font-weight:700 !important; color:var(--mc-primary) !important; letter-spacing:1px; border-bottom:1px solid var(--mc-line) !important; }
body.mcv4 .mc-form .inputgray {
  width:100% !important; height:40px !important; padding:0 13px !important;
  border:1px solid var(--mc-line2) !important; border-radius:9px !important;
  background:#fff !important; color:var(--mc-text) !important; font-size:14px !important; line-height:38px !important;
  outline:none !important; box-sizing:border-box !important;
}
body.mcv4 .mc-form .inputgray:focus { border-color:var(--mc-primary) !important; box-shadow:0 0 0 3px rgba(37,99,235,.12) !important; }
body.mcv4 .mc-form textarea.mc-area {
  width:100% !important; height:auto !important; min-height:88px; line-height:1.7 !important;
  padding:11px 13px !important; border:1px solid var(--mc-line2) !important; border-radius:9px !important;
  background:#fff !important; color:var(--mc-text) !important; font-size:14px !important; outline:none !important; resize:vertical;
}
body.mcv4 .mc-form .mc-tip { display:block; margin-top:5px; white-space:normal; }
body.mcv4 .mc-form-foot { margin-top:20px; display:flex; gap:10px; flex-wrap:wrap; }
/* 只读资料列表（个人信息 · 注册资料） */
body.mcv4 .mc-kv { margin:0; display:grid; grid-template-columns:110px minmax(0,1fr); row-gap:10px; column-gap:12px; font-size:13.5px; }
body.mcv4 .mc-kv dt { color:var(--mc-text3); }
body.mcv4 .mc-kv dd { margin:0; color:var(--mc-text); word-break:break-all; }
/* 查询/提交模式切换 */
body.mcv4 .mc-segtabs { display:flex; gap:10px; margin-bottom:16px; }
body.mcv4 .mc-segtabs > div { flex:1; text-align:center; height:42px; line-height:42px; border-radius:10px; cursor:pointer; font-size:14.5px; border:1px solid var(--mc-line2); background:#f7f9fc; color:var(--mc-text2); transition:.15s; }
body.mcv4 .mc-segtabs > div.on { background:var(--mc-primary); border-color:var(--mc-primary); color:#fff; font-weight:600; box-shadow:0 4px 12px rgba(37,99,235,.22); }
/* 成功 / 错误提示条 */
body.mcv4 .mc-ok { margin:0 0 18px; padding:13px 16px; border-radius:10px; background:#e8f8ef; border:1px solid #bfe8cf; color:#177a3c; font-size:13.5px; line-height:1.8; }
body.mcv4 .mc-alert { margin:0 0 18px; padding:13px 16px; border-radius:10px; background:#fdeaea; border:1px solid #f5c6cb; color:#c0392b; font-size:13.5px; line-height:1.8; }
/* 登录页找回密码面板标题 */
body.mcv4 .fp-title { text-align:center; font-size:19px; font-weight:700; margin:0 0 20px; letter-spacing:1px; }
@media (max-width:640px){
  body.mcv4 .mc-form td.rl { width:88px; padding-right:10px !important; font-size:13px; }
  body.mcv4 .mc-form table { border-spacing:0 10px; }
  body.mcv4 .mc-kv { grid-template-columns:92px minmax(0,1fr); }
}
