:root {
  --ink: #292b2d;
  --muted: #63676c;
  --rule: #e1e2e3;
  --paper: #fff;
  --canvas: #f5f5f4;
  --serif: "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  --sans: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: auto; }
body { margin: 0; padding: 40px 24px; background: var(--canvas); color: var(--ink); font-family: var(--sans); font-weight: 400; line-height: 1.8; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
.box { max-width: 870px; margin: 0 auto; background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; }
.wrap { padding: 48px 54px 54px; }
header { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px 32px; padding-bottom: 35px; border-bottom: 1px solid #b9bdc0; }
h1,h2,h3,p { margin: 0; }
h1 { font-family: var(--serif); font-size: 2.35rem; font-weight: 600; line-height: 1.4; letter-spacing: -.045em; }
.occupation { margin-top: 8px; font-size: 1rem; color: var(--muted); }
.contact { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: .875rem; color: var(--muted); }
.contact-details { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.contact-text { max-width: 100%; }
.contact-socials { display: flex; align-items: center; gap: 8px; }
a { color: inherit; text-decoration-color: #bdc2c6; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #111; text-decoration-color: #111; }
a:focus-visible { outline: 2px solid #525a65; outline-offset: 4px; border-radius: 1px; }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; }
.contact .contact-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid #e8e9ea; border-radius: 50%; background: #f6f6f5; color: var(--muted); }
.contact .contact-icon:hover, .contact .contact-icon:focus-visible { border-color: #c9cdd0; border-radius: 50%; background: #eceeed; color: var(--ink); text-decoration: none; }
.contact-icon-glyph { display: flex; }
.contact-icon-glyph svg { display: block; width: 17px; height: 17px; }
.contact-icon-glyph svg, .contact-icon-glyph path { fill: currentColor; }
.contact-tooltip { position: absolute; top: calc(100% + 5px); left: 50%; transform: translateX(-50%); padding: 3px 8px; border-radius: 4px; background: var(--ink); color: #fff; font-size: .75rem; line-height: 1.6; white-space: nowrap; visibility: hidden; opacity: 0; pointer-events: none; }
.contact-icon:hover .contact-tooltip, .contact-icon:focus-visible .contact-tooltip { visibility: visible; opacity: 1; }
section { margin-top: 29px; }
section + section { border-top: 1px solid var(--rule); padding-top: 28px; margin-top: 30px; }
h2 { margin-bottom: 17px; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; letter-spacing: -.04em; line-height: 1.5; }
.summary { line-height: 1.9; }
.entry { margin-top: 26px; }
h2 + .entry { margin-top: 0; }
.entry + .entry:not(.continuation) { margin-top: 31px; }
.company { font-size: 1.075rem; font-weight: 700; letter-spacing: -.025em; line-height: 1.55; }
.entry-logo { display: inline-block; width: 1em; height: 1em; margin-right: .4em; object-fit: contain; vertical-align: -.12em; }
.company-note { color: var(--muted); font-size: .875rem; margin-top: 2px; }
.heading-line { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 20px; margin-top: 9px; }
.role { font-size: 1rem; font-weight: 600; line-height: 1.7; }
.period { color: var(--muted); font-size: .875rem; white-space: nowrap; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.entry-note { color: var(--muted); font-size: .875rem; margin: 1px 0 6px; }
ul { padding-left: 1.15em; margin: 9px 0 0; }
li { padding-left: .15em; margin-top: 5px; }
li::marker { color: #888c90; font-size: .75em; }
ul ul { margin-top: 3px; color: #55595d; }
ul ul li { margin-top: 2px; font-size: .9375rem; }
.entry-links { display: flex; flex-wrap: wrap; gap: 5px 19px; margin-top: 6px; font-size: .875rem; color: var(--muted); }
@media (max-width: 640px) {
  body { padding: 0; background: #fff; }
  .box { border: 0; border-radius: 0; }
  .wrap { padding: 31px 23px 40px; }
  header { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  h1 { font-size: 2rem; }
  .heading-line { flex-direction: column; gap: 0; }
  .period { white-space: normal; }
  .contact, .contact-details { align-items: flex-start; }
  .contact-socials { gap: 10px; }
  .contact .contact-icon { width: 38px; height: 38px; }
}
@media print {
  @page { size: A4; margin: 15mm 16mm; }
  html { font-size: 10pt; }
  body { padding: 0; background: #fff; color: #111; }
  .box { max-width: none; border: none; }
  .wrap { padding: 0; }
  header { grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding-bottom: 16px; }
  h1 { font-size: 25pt; }
  section, section + section { margin-top: 19px; padding-top: 16px; }
  h2, h3, .heading-line, .entry-note { break-after: avoid; }
  li { break-inside: avoid; }
  p { orphans: 3; widows: 3; }
  a { text-decoration: none; }
  .contact, .contact-details { align-items: flex-end; }
  .contact-socials { gap: 12px; }
  .contact .contact-icon { gap: 5px; width: auto; height: auto; border: 0; background: none; color: inherit; }
  .contact-tooltip { position: static; transform: none; padding: 0; background: none; color: inherit; font-size: inherit; visibility: visible; opacity: 1; }
}
