:root {
  color: #26332f;
  background: #edf1ef;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  padding: 32px 20px;
}

.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 52px 64px 36px;
  background: #ffffff;
  border-top: 4px solid #27705f;
  box-shadow: 0 12px 36px rgb(25 46 39 / 8%);
}

.site-controls {
  max-width: 948px;
  margin: 0 auto 8px;
  text-align: right;
}

h1,
h2 {
  color: #17231f;
  line-height: 1.25;
}

h1 {
  margin: 0 0 8px;
  font-size: 2.5rem;
  font-weight: 700;
}

.headline {
  margin: 0;
  color: #365b51;
  font-size: 1.05rem;
  font-weight: 700;
}

nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 0.92rem;
  white-space: nowrap;
}

.print-button {
  margin: 0;
}

a {
  color: #17624f;
  text-underline-offset: 3px;
}

a:hover {
  color: #103f34;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #27705f;
  outline-offset: 3px;
}

button {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid #27705f;
  border-radius: 3px;
  background: #ffffff;
  color: #17624f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #f0f6f3;
}

section {
  margin-top: 27px;
}

h2 {
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #dce4e0;
  font-size: 1.08rem;
}

h3 {
  margin: 0 0 2px;
  color: #17231f;
  font-size: 0.98rem;
  line-height: 1.35;
}

p {
  margin: 0;
}

.position + .position {
  margin-top: 18px;
}

.employer {
  font-weight: 700;
}

.dates {
  margin-bottom: 7px;
  color: #596761;
  font-size: 0.9rem;
}

.position ul {
  margin-top: 7px;
}

.expertise-list p + p {
  margin-top: 5px;
}

strong {
  color: #17231f;
}

ul {
  margin: 0;
  padding-left: 21px;
}

li + li {
  margin-top: 5px;
}

@media (max-width: 600px) {
  body {
    padding: 0;
  }

  .container {
    min-height: 100vh;
    padding: 32px 22px 28px;
    border-top-width: 3px;
    box-shadow: none;
  }

  .site-controls {
    padding: 0 22px;
  }

  h1 {
    font-size: 2rem;
  }

  nav {
    gap: 5px;
    margin-top: 18px;
    font-size: 0.72rem;
  }
}

@media print {
  @page {
    margin: 0.65in;
  }

  :root {
    background: #ffffff;
    color: #111111;
    font-size: 10.5pt;
  }

  body {
    padding: 0;
  }

  .container {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  h1,
  h2,
  strong {
    color: #111111;
  }

  h1 {
    font-size: 24pt;
  }

  h2 {
    font-size: 14pt;
  }

  h3 {
    font-size: 11pt;
  }

  .headline,
  a {
    color: #111111;
  }

  nav {
    gap: 8px;
    font-size: 10pt;
  }

  .dates {
    font-size: 10pt;
  }

  .site-controls {
    display: none;
  }

  section {
    break-inside: auto;
  }

  .position,
  li {
    break-inside: avoid;
  }
}
