:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", Arial, sans-serif;
  color: #17191b;
  background: #e9edef;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  padding: 64px 20px 36px;
  background: #e9edef;
}

a {
  color: inherit;
  text-decoration: none;
}

.screen-toolbar {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 7px max(20px, calc((100vw - 210mm) / 2));
  border-bottom: 1px solid #c7ced1;
  background: rgba(247, 249, 250, 0.96);
  color: #30363a;
}

.document-status {
  font-size: 13px;
  font-weight: 600;
}

.screen-toolbar button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid #8e989d;
  border-radius: 4px;
  background: #ffffff;
  color: #202528;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.screen-toolbar button:hover {
  border-color: #313a3f;
  background: #f4f6f7;
}

.screen-toolbar button:focus-visible {
  outline: 2px solid #116e72;
  outline-offset: 2px;
}

.resume {
  width: 210mm;
  min-height: 297mm;
  margin: 0 auto;
  padding: 14mm 15mm 15mm;
  overflow: visible;
  background: #ffffff;
  box-shadow: 0 10px 32px rgba(35, 44, 48, 0.14);
  font-size: 10.5pt;
  line-height: 1.52;
  letter-spacing: 0;
}

strong,
b {
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
  font-synthesis: none;
  vertical-align: baseline;
}

.identity {
  text-align: center;
}

.identity-name {
  margin: 0;
  font-size: 17.28pt;
  line-height: 1.2;
  font-weight: 700;
}

.identity-target,
.identity-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 0.65em;
}

.identity-target {
  margin-top: 4pt;
  font-size: 11pt;
}

.identity-contact {
  margin-top: 5pt;
  font-size: 11pt;
}

.meta-divider {
  color: #757d81;
}

.contact-link {
  color: #245b78;
  text-decoration: underline;
  text-decoration-thickness: 0.5px;
  text-underline-offset: 1px;
}

.contact-link:hover {
  color: #16465e;
}

.contact-note {
  margin-left: -0.45em;
}

.resume-section {
  margin-top: 8pt;
}

.section-title {
  margin: 0 0 7pt;
  padding-bottom: 3pt;
  border-bottom: 0.65pt solid #5f666a;
  font-size: 12pt;
  line-height: 1.2;
  font-weight: 700;
}

.education-table {
  width: auto;
  border-collapse: collapse;
  border-spacing: 0;
}

.education-table td {
  padding: 0 4mm 0 0;
  white-space: nowrap;
}

.education-table td:last-child {
  padding-right: 0;
}

.education-table tr + tr td {
  padding-top: 2pt;
}

.education-school {
  font-weight: 600;
}

.education-detail {
  text-align: right;
}

.skill-list {
  display: grid;
  gap: 2pt;
}

.skill-row {
  margin: 0;
  text-align: left;
}

.skill-label,
.bullet-label {
  font-weight: 700;
  white-space: nowrap;
}

.experience-list {
  display: grid;
  gap: 6pt;
}

.experience-entry {
  break-inside: avoid;
}

.experience-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6mm;
  align-items: baseline;
  margin-bottom: 2pt;
}

.experience-heading--module {
  grid-template-columns: 1fr;
  margin-bottom: 1pt;
}

.experience-subprojects {
  display: grid;
  gap: 1pt;
  margin-bottom: 2pt;
}

.experience-subproject {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6mm;
  align-items: baseline;
}

.experience-title {
  min-width: 0;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
}

.experience-role {
  font-weight: 700;
}

.experience-date {
  white-space: nowrap;
  font-size: inherit;
  line-height: inherit;
  font-variant-numeric: tabular-nums;
}

.experience-bullets {
  display: grid;
  gap: 2pt;
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience-summary {
  margin: 0 0 2pt;
  color: #343a3e;
}

.experience-bullet {
  position: relative;
  padding-left: 3.4mm;
  text-align: left;
}

.experience-bullet::before {
  content: "•";
  position: absolute;
  left: 0.5mm;
  top: 0;
  font-weight: 700;
}

.inline-emphasis {
  font-weight: 700;
}

@page {
  size: A4;
  margin: 10mm;
}

@media print {
  :root,
  html,
  body {
    width: auto;
    height: auto;
    background: #ffffff;
  }

  body {
    padding: 0;
  }

  .screen-toolbar {
    display: none;
  }

  .resume {
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    box-shadow: none;
  }
}
