* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary-color: #24292f;
  --secondary-color: #5f6b76;
  --accent-color: #1f4f5f;
  --line-color: #d7dee4;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
  color: var(--primary-color);
  line-height: 1.34;
  font-size: 10.4pt;
  margin: 0;
  padding: 20px;
  background-color: #f6f8fa;
}

.page {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  background: #fff;
  padding: 14mm 15mm;
  box-shadow: 0 10px 28px rgba(31,79,95,0.08);
}

.header {
  text-align: center;
  margin-bottom: 9px;
}
.header h1 {
  margin: 0 0 2px 0;
  color: var(--accent-color);
  font-size: 21pt;
  font-weight: 650;
  letter-spacing: 1px;
}
.header p {
  margin: 0;
  color: var(--secondary-color);
  font-size: 10pt;
}

.title-3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12pt;
  font-weight: 700;
  color: var(--accent-color);
  margin-top: 13px;
  margin-bottom: 7px;
}

.title-3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-color);
}

.skills-section p {
  margin: 3px 0;
  line-height: 1.35;
}

.skills-section strong {
  color: var(--accent-color);
}

.experience-header,
.experience-subheader {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.experience-header {
  font-weight: 700;
  font-size: 11pt;
  margin-top: 9px;
}
.experience-header span:last-child {
  color: var(--secondary-color);
  font-size: 10pt;
  font-weight: 500;
}
.experience-subheader {
  font-size: 10pt;
  color: var(--secondary-color);
  margin-bottom: 3px;
}
.experience-subheader em {
  font-style: normal;
}

ul {
  margin-top: 2px;
  margin-bottom: 6px;
  padding-left: 17px;
}
li {
  margin-bottom: 2.5px;
  text-align: justify;
}

@media print {
  body {
    background: none;
    padding: 0;
  }
  .page {
    width: 100%;
    min-height: 0;
    box-shadow: none;
    padding: 0;
  }
}

@page {
  size: A4;
  margin: 12mm 15mm;
}
