/* =======================================================
 * 閸忋劌鐪€涙ぞ缍嬬拋鍓х枂閿涙矮鑵戦弬鍥︾喘閸忓牐瀚婚弸婊嗗閺?(PingFang SC)閿涘矁瀚抽弬鍥︾瑢閺佹澘鐡у▽璺ㄦ暏缁崵绮洪弮鐘衡€栫痪? * ======================================================= */
html, body, button, input, textarea, select, h1, h2, h3, h4, h5, h6, p, span, a, label, mark, time, li:not(.fa):not([class*="fa-"]) {
  font-family: "PingFang SC", "PingFang SC Medium", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-rendering: optimizeLegibility !important;
}

body {
  font-weight: 500 !important;
  color: #0f172a !important; /* 濞ｅ崬瀹抽惌铏緲姒涙埊绱濇妯侯嚠濮ｆ梹绔婚弲鏉垮 */
  font-size: 13.8px !important;
  line-height: 1.65 !important;
}

/* 閼昏鐏?iOS 缁ぞ缍嬪Ο鈥崇础鐠愩劍鍔呭鍝勫閿涙碍鐖ｆ０妯糕偓浣虹病閸樺棎鈧焦妞傞梻缈犵瑢鐟曚胶鍋ｅ鍝勫閸旂姷鐭?*/
h1, h2, h3, h4 {
  color: #0f172a !important;
  font-weight: 600 !important;
}

.container .main .info-unit ul li h3 {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  margin-bottom: 5px !important;
}

.container .main .info-unit ul li h3 time {
  font-weight: 600 !important;
  color: #1e293b !important;
  font-size: 14px !important;
}

.container .main .info-unit ul li {
  color: #1e293b !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  font-size: 13.5px !important;
}

.container .main .info-unit ul li p {
  color: #334155 !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  font-size: 13.5px !important;
}

/* 閺佹瑨鍋涚紒蹇撳坊婢舵俺顢戦幓蹇氬牚閿涙碍鐦＄悰宀€瀚粩瀣灇濞堢绱濈€瑰本鏆ｆ穱婵堟殌閸︺劌鎮楅崣鎷岀翻閸忋儳娈戦幑銏ｎ攽 */
.container .main .info-unit ul li p.edu-line {
  margin: 0 0 1px 0 !important;
  padding: 0 !important;
  display: block !important;
  white-space: normal !important;
  word-break: break-word !important;
}

.container .main .info-unit ul li p.edu-line:last-child {
  margin-bottom: 0 !important;
}

.container .main .info-unit ul li .info-content li {
  color: #1e293b !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
  font-size: 13.5px !important;
  margin-bottom: 5px !important;
}

/* 妞ゅ湱娲扮紒蹇撳坊婢舵俺顢戠拠锔藉剰鐎靛綊缍堥幒鎺斿 (鐟欙絽鍠呴幑銏ｎ攽閸氬簼绔寸悰灞肩閺夆€茬瑬瀹革箑顕鎰版６妫? */
.project-detail-block {
  display: flex !important;
  align-items: flex-start !important;
  gap: 6px !important;
  margin-bottom: 5px !important;
}

.project-detail-block .detail-label {
  flex-shrink: 0 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  line-height: 1.65 !important;
  color: #334155;
}

.project-detail-block .detail-lines {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.project-detail-block .detail-line {
  line-height: 1.65 !important;
  word-break: break-word !important;
  white-space: normal !important;
}

.header-side-by-side-card .header-name {
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

.header-side-by-side-card .header-job {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #334155 !important;
}

.header-profile-tag {
  font-weight: 600 !important;
  font-size: 12.5px !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

.header-profile-tag .tag-val {
  font-weight: 700 !important;
  color: #0f172a !important;
}

.header-contact-item {
  font-weight: 500 !important;
  font-size: 13px !important;
  color: #1e293b !important;
}

.header-contact-item a {
  font-weight: 600 !important;
  color: #2563eb !important;
}

.skill-badge-tag {
  font-weight: 600 !important;
  font-size: 13px !important;
  padding: 5px 14px !important;
  color: #0f172a !important;
}

/* 閹垛偓閼宠棄绐樼粩鐘插敶閻ㄥ嫬鎼ч悧?Logo 閸ュ墽澧栭敍鍫濈暭閺傜懓鍍甸懝鎻掑斧閼规彃鐫嶇粈鐚寸礆 */
.skill-badge-tag .skill-logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: -4px;
  margin-right: 7px;
  display: inline-block;
}

/* 鏉╂稑瀹抽弶鈩兡佸蹇庣瑓閻ㄥ嫭濡ч懗?Logo 閸ュ墽澧?*/
.container .main .info-unit ul li label .skill-logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: -4px;
  margin-right: 7px;
  display: inline-block;
}

/* 瀵扮晫鐝烽崘鍛畱鐎涙ぞ缍嬮崶鐐垼闂傜绐?*/
.skill-badge-tag i {
  margin-right: 6px;
}

/* 婢舵挳鍎撮崡锛勫閸愬懐娈戞稉鎾茬瑹閹垛偓閼冲€燁攽 (閹绘劕宕岄崚浼淬€婇柈銊ょ瑢婢舵潙鍎氶獮璺哄灙閿涘矂鐝惔锕佸殰闁倸绨查懛顏嗗姧閹广垼顢? */
.header-side-by-side-card .header-skills-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  flex-shrink: 0;
}

.header-side-by-side-card .header-skills-row .header-skills-label {
  flex-shrink: 0;
  font-weight: 600 !important;
  font-size: 12.5px;
  color: #0f172a;
  padding-top: 3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.header-side-by-side-card .header-skills-row .header-skills-label i {
  color: var(--primary-color);
}

.header-side-by-side-card .header-skills-row .header-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  flex: 1;
  min-width: 0;
}

/* 婢舵挳鍎撮幎鈧懗钘夌獦缁旂娀鍣伴悽銊ょ瑢娑撹鍞寸€圭懓灏稉鈧懛瀵告畱娴兼﹢娉ら懜鎺椻偓鍌氭槀鐎?*/
.header-side-by-side-card .header-skills-row .skill-badge-tag {
  font-size: 12.5px !important;
  padding: 3px 12px !important;
  border-radius: 14px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

:root {
  --primary-color: #1abc9c;
  --primary-light: rgba(26, 188, 156, 0.12);
  --primary-hover: #16a085;

  /* 鐎电厧鍤懛顏堚偓鍌氱安鏉堢绐涢敍鍦漇 autoFitForPrint 閸斻劍鈧焦娲块弬甯礆 */
  --page-pad-x: 10mm;
  --page-pad-y: 8mm;
}

/* =======================================================
 * 1. 婢舵潙鍎氶弽宄扮础閿涙矮绻氶悾娆忓斧閸ョ偓鐦笟瀣╃瑢瑜般垻濮搁敍灞戒氦鎼存洜些闂勩倕娓捐ぐ銏ｎ梿閸? * ======================================================= */
.container .side .me .portrait {
  width: auto !important;
  height: auto !important;
  max-width: 140px !important;
  max-height: 180px !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f8fafc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
}

.container .side .me .portrait img {
  border-radius: 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: 140px !important;
  max-height: 180px !important;
  object-fit: contain !important;
  display: block !important;
}

/* 婢舵挳鍎撮崡锛勫婢舵潙鍎氬鍡窗缁毖冪槕鐠愭潙鎮庨崶鍓у閺堫剝闊╅敍灞芥禈閻楀洣绻氶幐浣稿斧婵鐦笟瀣湷娑擃叏绱濈紒婵呯瑝閹峰鍑犻悾娆戞 */
.header-side-by-side-card .header-avatar-box {
  flex-shrink: 0;
  align-self: flex-start !important;
  width: auto !important;
  min-width: 100px;
  max-width: 125px;
  height: auto !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin-right: 14px;
}

.header-side-by-side-card .header-avatar-box img {
  border-radius: 4px !important;
  width: 110px !important;
  height: 145px !important;
  max-width: 110px !important;
  max-height: 145px !important;
  object-fit: cover !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  display: block !important;
}

/* =======================================================
 * 2. 閸╃儤婀版穱鈩冧紖閸滃矁浠堢化缁樻煙瀵繑鏂侀崷銊ャ仈閸嶅繐褰告笟褏娈戠粚铏规閿涘牊铆閸氭垵銇旈柈銊ユ倳閻楀浄绱? * ======================================================= */
.header-side-by-side-card {
  display: flex;
  gap: 22px;
  align-items: stretch; /* 瀹革箑褰哥粵澶愮彯鐎靛綊缍堥敍宀勭彯鎼达妇鏁辩€圭偤妾崘鍛啇閼奉亪鈧倸绨查崘鍐茬暰 */
  background: #ffffff;
  border-radius: 6px;
  padding: 16px 22px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  border: 1px solid #edf2f7;
  box-sizing: border-box;
  min-height: 150px;
}

/* 閸愬懎顔愰崠娲彯鎼达箑鐣崗銊ф暠鐎圭偤妾崘鍛啇閼奉亪鈧倸绨查敍灞肩喘闂嗗懎鎳犻崥鍛婂笓閻楀牞绱濇稉宥呭繁鐞涘苯甯囩紓?*/
.header-side-by-side-card .header-content-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 閺傚洤鐡ч弫缈犵秼閸︺劌銇旈崓蹇涚彯鎼达箑鍞撮崹鍌滄纯鐏炲懍鑵戦敍宀冾潒鐟欏娓舵导?*/
  gap: 0;
  min-width: 0;
}

/* 閸欏厖鏅舵禍宀€娣惍浣烘磪鐎涙劕鎮撻弽椋庣搼妤傛鍤滈柅鍌氱安 */
.header-side-by-side-card .header-qrcode-box {
  align-self: stretch;
  justify-content: center;
}

.header-side-by-side-card .header-title-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 5px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.header-side-by-side-card .header-name {
  font-size: 27px;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.5px;
  line-height: 1.25;
}

.header-side-by-side-card .header-job {
  font-size: 15px;
  color: #4b5563;
  font-weight: 500;
}

.header-side-by-side-card .header-signature {
  font-size: 12.5px;
  color: #6b7280;
  margin-bottom: 8px;
  font-style: italic;
  flex-shrink: 0;
}

/* 婢舵潙鍎氶崣鍏呮櫠閻ㄥ嫭銆傚鍫滀繆閹垵宓傛稉鍛婄垼缁涙儳鍨悰?*/
.header-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 9px;
  flex-shrink: 0;
}

.header-profile-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12.5px;
  color: #334155;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.header-profile-tag .tag-label {
  color: #64748b;
}

.header-profile-tag .tag-val {
  font-weight: 600;
  color: #0f172a;
}

/* 婢舵潙鍎氶崣鍏呮櫠閻ㄥ嫯浠堢化缁樻煙瀵繑铆閸氭垶甯撶敮?*/
.header-contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 8px;
  border-top: 1px dashed #e2e8f0;
  flex-shrink: 0;
}

.header-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: #334155;
  white-space: nowrap;
}

.header-contact-item i {
  color: var(--primary-color);
  font-size: 13px;
}

.header-contact-item a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.header-contact-item a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

/* 婢舵挳鍎撮張鈧崣鍏呮櫠娴滃瞼娣惍浣烘磪鐎?*/
.header-side-by-side-card .header-qrcode-box {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.header-side-by-side-card .header-qrcode-box img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  display: block;
}

.header-side-by-side-card .header-qrcode-box .header-qrcode-text {
  font-size: 11px;
  color: #64748b;
  margin-top: 5px;
  max-width: 96px;
  line-height: 1.3;
}

/* =======================================================
 * 3. 閹垛偓閼宠棄鐫嶇粈鐚寸窗閺€顖涘瘮缁夊娅庢潻娑樺閺夆槄绱欓悳棰佸敩閺嶅洨顒峰鐣岀彿濡€崇础閿? * ======================================================= */
.skills-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 4px 0;
}

.skill-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--primary-light);
  color: #1e293b;
  border: 1px solid var(--primary-color);
  border-radius: 18px;
  font-size: 12.5px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.skill-badge-tag:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-1px);
}

/* =======================================================
 * 4. 閺嶅嘲绱＄紒鍡氬Ν娑撳簼瀵屾０妯垮缂佹垵鐣? * ======================================================= */
.container .info-unit h2 i {
  color: var(--primary-color) !important;
}

.container .info-unit h2 {
  border-left: 3px solid var(--primary-color);
  padding-left: 8px;
  color: #1e293b;
  font-size: 15px;
}

progress::-webkit-progress-value {
  background-color: var(--primary-color) !important;
}
progress::-moz-progress-bar {
  background-color: var(--primary-color) !important;
}

mark, .mark-txt, .hl-tag {
  background: var(--primary-light) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 3px;
}

.container .main .info-unit ul li h3 .link {
  border: 1px solid var(--primary-color) !important;
}
.container .main .info-unit ul li h3 .link a {
  color: var(--primary-color) !important;
}

/* =======================================================
 * 5. 娑撯偓閺嶅繐宕熼崚妤佸笓閻?(One-Column Layout) - 缁绢垱顒滈崡鏇€夐弮鐘电闯鏉╃偠鐤幒鎺斿
 * ======================================================= */
.container.layout-one-column {
  max-width: 900px;
  margin: 1.5rem auto 3rem auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  padding: 2.2rem 2.8rem;
  box-sizing: border-box;
}

.container.layout-one-column .header-side-by-side-card {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 0 1.2rem 0 !important;
  margin: 0 0 1.2rem 0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.container.layout-one-column .side {
  position: static !important;
  width: 100% !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
}

.container.layout-one-column .main {
  position: static !important;
  margin-left: 0 !important;
  width: 100% !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
}

.container.layout-one-column #section-qrcode {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 1px dashed #e2e8f0;
}

.container.layout-one-column #section-qrcode .qrcode-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.container.layout-one-column #section-qrcode img {
  width: 68px !important;
  height: 68px !important;
  margin: 0 !important;
}

.container.layout-two-column.side-fixed .side {
  position: fixed !important;
}

/* =======================================================
 * 6. 妞ゅ爼鍎撮幃顒佽癁鐎佃壈鍩呴弽蹇ョ礄閸撳秴褰?/ 閸氬骸褰?/ 閹舵洟鈧帟顔囪ぐ?娴滄帞娴夌捄瀹犳祮閿? * ======================================================= */
.resume-quick-bar {
  position: fixed;
  top: 14px;
  right: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 5px 10px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.13);
  border: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 12.5px;
}

.resume-quick-bar .bar-nav-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
  padding: 0 6px 0 4px;
  letter-spacing: .5px;
  user-select: none;
}

.resume-quick-bar .bar-divider {
  width: 1px;
  height: 16px;
  background: #e2e8f0;
  margin: 0 4px;
  flex-shrink: 0;
}

.resume-quick-bar .bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #374151;
  transition: all 0.18s;
  font-size: 12px;
  white-space: nowrap;
  font-family: inherit;
}

.resume-quick-bar .bar-btn:hover {
  background: #f1f5f9;
  color: var(--primary-color);
}

/* 瑜版挸澧犻幍鈧崷銊┿€夋妯瑰瘨 */
.resume-quick-bar .bar-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.resume-quick-bar .bar-btn.active:hover {
  background: var(--primary-hover);
  color: #ffffff;
}

/* 鐏忓繐鐫嗛柅鍌炲帳閿涙岸娈ｉ挊蹇旀瀮鐎涙褰ч悾娆忔禈閺?*/
@media (max-width: 900px) {
  .resume-quick-bar {
    top: auto;
    bottom: 16px;
    right: 50%;
    transform: translateX(50%);
    padding: 5px 8px;
  }
  .resume-quick-bar .bar-nav-label,
  .resume-quick-bar .bar-divider {
    display: none;
  }
  .resume-quick-bar .bar-btn {
    padding: 6px 9px;
    font-size: 0;
    gap: 0;
  }
  .resume-quick-bar .bar-btn i {
    font-size: 14px;
  }
}

/* =======================================================
 * 7. 閹垫挸宓冩稉搴☆嚤閸?PDF 娑撱儲鐗搁崡鏇€?(One Single A4 Page) 缂佸牊鐎穱婵嬫
 * 閸欏奔缍旈悽銊ョ厵閿涙media print閿涘牊绁荤憴鍫濇珤閹垫挸宓冮敍? .pdf-mode閿涘潝tml2canvas 閹搭亜娴樼€电厧鍤敍? * JS 鐎电厧鍤弮鍓佺舶 body 閹?.pdf-mode閿涘tml2canvas 閸忓娈曢弬鍥ㄣ€傞崡鍐插讲婵傛鏁ら崗銊╁劥缁毖冨櫨鐟欏嫬鍨? * ======================================================= */

@page {
  size: A4 portrait;
  margin: 10mm;  /* 四边统一 10mm */
}

/* ==========================================================
 * 导出排版（.pdf-mode 屏幕预览 / html2canvas 截图）
 * 页面盒、隐藏元素、排版紧凑基线 —— 全部规则在此定义
 * zoom 由 JS autoFitForPrint 动态计算填满页面
 * ========================================================== */
body.pdf-mode {
  width: 210mm !important;
  min-height: 297mm !important;
  margin: 0 !important;
  padding: 10mm !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  background-image: none !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

/* 隐藏导出时不需要的浮动元素 */
body.pdf-mode .resume-quick-bar,
body.pdf-mode .resume-toast-box,
body.pdf-mode .site-nav,
body.pdf-mode .seirin-quick-nav,
body.pdf-mode footer.footer,
body.pdf-mode aside,
body.pdf-mode #nav-m,
body.pdf-mode .switch,
body.pdf-mode .loading,
body.pdf-mode .drawer-backdrop,
body.pdf-mode .preview-drawer,
body.pdf-mode .toast-container,
body.pdf-mode .icon-modal-backdrop,
body.pdf-mode #preview-backdrop {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.pdf-mode .container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

body.pdf-mode .container .side {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body.pdf-mode .container .main {
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

body.pdf-mode .header-side-by-side-card {
  box-shadow: none !important;
  border: none !important;
  border-bottom: 1.5px solid #0f172a !important;
  padding: 0 0 4px 0 !important;
  margin: 0 0 4px 0 !important;
}

body.pdf-mode .header-side-by-side-card .header-avatar-box {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-right: 12px !important;
  align-self: flex-start !important;
  width: auto !important;
  height: auto !important;
}

body.pdf-mode .header-side-by-side-card .header-avatar-box img {
  width: 78px !important;
  height: 102px !important;
  object-fit: cover !important;
  border-radius: 3px !important;
  border: 1px solid #cbd5e1 !important;
  display: block !important;
}

body.pdf-mode .skill-badge-tag {
  font-size: 11px !important;
  padding: 2px 9px !important;
}

body.pdf-mode .skill-badge-tag .skill-logo-img,
body.pdf-mode .skill-badge-tag img {
  width: 16px !important;
  height: 16px !important;
}

body.pdf-mode .info-unit {
  margin-bottom: 6px !important;
}

body.pdf-mode .info-unit h2 {
  font-size: 14px !important;
  margin-bottom: 4px !important;
  padding-left: 6px !important;
}

body.pdf-mode .info-unit hr {
  margin: 2px 0 4px 0 !important;
}

body.pdf-mode .info-unit ul {
  padding-left: 14px !important;
  margin: 0 !important;
}

/* 项目之间加间距 */
body.pdf-mode .info-unit ul > li {
  padding-bottom: 4px !important;
  margin-bottom: 6px !important;
}

body.pdf-mode .info-unit ul > li:last-child {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.pdf-mode .container .main .info-unit ul li h3 {
  font-size: 13.5px !important;
  margin-bottom: 3px !important;
  line-height: 1.4 !important;
}

body.pdf-mode .container .main .info-unit ul li .info-content li {
  margin-bottom: 2px !important;
  line-height: 1.45 !important;
  font-size: 12px !important;
}

body.pdf-mode .project-detail-block {
  margin-bottom: 4px !important;
  gap: 4px !important;
}

body.pdf-mode .project-detail-block .detail-label {
  font-weight: 600 !important;
  line-height: 1.48 !important;
}

body.pdf-mode .project-detail-block .detail-lines {
  gap: 2px !important;
}

body.pdf-mode .project-detail-block .detail-line {
  line-height: 1.48 !important;
  font-size: 12.5px !important;
}

body.pdf-mode .edu-line {
  margin: 0 0 3px 0 !important;
  line-height: 1.48 !important;
  font-size: 12.5px !important;
}

body.pdf-mode #section-evaluation p {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  margin: 2px 0 !important;
}

body.pdf-mode .header-profile-tag {
  font-size: 11.5px !important;
  padding: 2px 8px !important;
}

body.pdf-mode .header-contact-list {
  font-size: 12px !important;
  gap: 3px 12px !important;
}

body.pdf-mode * {
  page-break-inside: avoid !important;
  break-inside: avoid !important;
}

/* 导出时全局字体改为苹方 */
body.pdf-mode,
body.pdf-mode * {
  font-family: "PingFang SC", "PingFang SC Medium", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}


/* 浏览器打印时的覆盖（@page 承担边距，body padding 归零）*/
@media print {
  body.pdf-mode {
    padding: 0 !important;
    margin: 0 !important;
  }
}


/* ==========================================================================
 * 鐎电厧鍤幒鎺斿 閳ユ柡鈧?閸╄櫣顢呯紒鎾寸€憴鍕灟閿?pdf-mode閿? * 鐞涘矁绐?鐎涙褰?鏉堢绐涙稉宥呭晙閸愭瑦顒撮敍宀€鏁?JS 娓氭繃宓侀崘鍛啇妤傛ê瀹抽崝銊︹偓浣规暈閸?CSS 閸欐﹢鍣洪敍? *   --export-scale       閺佺繝缍嬬紓鈺傛杹閿涘澓oom閿? *   --export-line-height 閸忋劌鐪悰宀冪獩閸婂秶宸? *   --export-font-scale  鐎涙褰块崐宥囧芳
 * ========================================================================== */

/* ==========================================================================
 * 鐎电厧鍤幒鎺斿缁毖冨櫨閸╄櫣鍤庨敍?pdf-mode閿? *
 * autoFitForPrint 閻?zoom 鐠愮喕鐭楅妴灞炬殻娴ｆ挾缂夐弨鎯у煂婵夘偅寮ф稉鈧い鐐光偓宥忕幢
 * 鏉╂瑩鍣烽惃鍕彛閸戞垵鐔€缁捐儻绀嬬拹锝冣偓宀冾唨閸愬懎顔愰懛顏嗗姧妤傛ê瀹抽幒銉ㄧ箮娑撯偓妞ょ偣鈧稄绱濇稉銈堚偓鍛村帳閸氬牞绱? *   閸╄櫣鍤庢径顏呮緱 閳?zoom 鐞氼偉鎻╃紓鈺佺繁瀵板牆鐨敍灞界摟閸欐ê绶辨稉宥呭讲鐠? *   閸╄櫣鍤庨崚姘偨 閳?zoom 閹恒儴绻?1閿涘苯鐡ф担鎾寸閺呴绗栨繅顐ｅ姬妞ょ敻娼? *
 * 鏉╂瑤绨洪崐鍏兼Ц閵嗗苯顕遍崙鐑樻閻ㄥ嫬鎮庨悶鍡樺笓閻楀牆鐔€缁捐￥鈧稄绱濇稉宥嗘Ц閸愭瑦顒撮惃鍕€傛担?閳ユ柡鈧? * zoom 娴犲秳绱伴崷銊︻劃閸╄櫣鍤庢稉濠備粵閺堚偓缂佸牏娈戞潻鐐电敾瀵邦喛鐨熼妴? * ========================================================================== */

/* 鐎电厧鍤弮璺哄弿鐏炩偓鐞涘矁绐涙稉搴＄摟閸欏嘲鐔€缁惧尅绱板В鏂跨潌楠炴洘妯夌粈铏规彛閸戞垳绲炬稉宥嗗閹?*/
/* 妞ょ敻娼伴惄鎺戝敶鏉堢绐涢敍姘辨暠 JS autoFitForPrint 閸斻劍鈧浇顓哥粻妤€鑻熷▔銊ュ弳 --page-pad-* 閸欐﹢鍣?*/

/* 鐎电厧鍤弮璺轰氦鎼存洜顩﹀銏犲瀻妞ゅ灚濯堕弬?*/

 * 鐎电厧鍤崣宥夘洯 toast閿涘牆澧犻崣鏉垮礁娑撳﹨顫楁潪缁樺絹缁€鐚寸礆
 * ======================================================= */
.resume-toast-box {
  position: fixed;
  top: 64px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
.resume-toast-item {
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  animation: toastSlide 0.25s ease;
  max-width: 380px;
  line-height: 1.5;
  transition: opacity 0.4s;
}
.resume-toast-item.success { background: rgba(5, 150, 105, 0.95); }
.resume-toast-item.info { background: rgba(15, 23, 42, 0.92); }
@keyframes toastSlide {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: none; }
}

/* ---- 瀵煎嚭鏃堕」鐩箣闂村姞鍒嗛殧闂磋窛锛岃姣忎釜椤圭洰鏈夋竻鏅扮殑瑙嗚杈圭晫 ---- */

/* 椤圭洰 h3锛堟爣棰樿锛変笌涓嬫柟鍐呭鐨勯棿璺?*/


/* FA 图标的 Unicode 替代符号（导出时 JS 自动替换） */
body.pdf-mode .fa-unicode-fallback {
  display: inline-block;
  font-style: normal;
  margin-right: 3px;
  color: inherit;
}

/* ==========================================================================
 * Font Awesome 图标字体保护
 * 全局字体规则（苹方等）绝不能作用于 i.fa —— FA 图标使用私有区 Unicode
 * 字符（\f002 等），苹方/微软雅黑没有这些字形，会渲染为方框 □
 * ========================================================================== */
i.fa, i.fas, i.far, i.fab, span.fa, em.fa,
[class^="fa-"], [class*=" fa-"] {
  font-family: "FontAwesome" !important;
  font-weight: normal !important;
  font-style: normal !important;
}
