.resume-paper {
  box-sizing: border-box;
  width: 794px;
  min-height: 1123px;
  padding: 58px 56px;
  background: #fff;
  color: #203147;
  font-family: Inter, "Noto Sans Devanagari", Arial, sans-serif;
  font-size: var(--resume-font, 11pt);
  line-height: var(--resume-leading, 1.4);
  text-align: left;
  overflow-wrap: anywhere;
}
.resume-paper * {
  box-sizing: border-box;
}
.resume-heading {
  padding-bottom: 25px;
  border-bottom: 2px solid var(--resume-accent, #2458e8);
  margin-bottom: 30px;
}
.resume-heading :is(h1, .resume-name) {
  font-size: 32px;
  letter-spacing: -0.8px;
  margin: 0 0 4px;
  line-height: 1.18;
  color: #102343;
  text-transform: uppercase;
  font-weight: 800;
}
.resume-role {
  color: var(--resume-accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 7px;
}
.resume-contact {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 15px;
  color: #586b83;
}
.resume-paper a {
  color: inherit;
  text-decoration: none;
}
.resume-section {
  margin-bottom: 26px;
}
.resume-section :is(h2, .resume-section-title) {
  font-family: inherit;
  color: var(--resume-accent);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d5deeb;
  break-after: avoid;
}
.resume-section p {
  white-space: pre-wrap;
  font: inherit;
  margin: 8px 0 0;
}
.resume-entry {
  margin-bottom: 20px;
  break-inside: avoid;
}
.resume-entry-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}
.resume-entry :is(h3, .resume-entry-title) {
  font-size: 1em;
  line-height: 1.4;
  margin: 0 0 4px;
  font-weight: 700;
  color: #192c48;
}
.resume-entry strong {
  font-size: 0.92em;
  font-weight: 500;
}
.resume-dates {
  font-size: 0.78em;
  white-space: nowrap;
  text-align: right;
  color: #66758b;
}
.resume-section ul {
  padding-left: 18px;
  margin: 8px 0 0;
}
.resume-section li {
  margin: 4px 0;
}
.resume-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.resume-skills span {
  font-size: 0.9em;
}
.template-executive .resume-heading {
  text-align: center;
  border-bottom: 3px double var(--resume-accent);
  padding-bottom: 30px;
}
.template-executive .resume-heading :is(h1, .resume-name) {
  font-family: Georgia, serif;
  font-weight: 500;
  text-transform: none;
  font-size: 38px;
}
.template-executive .resume-section :is(h2, .resume-section-title) {
  color: #203147;
}
.template-modern .resume-heading {
  background: color-mix(in srgb, var(--resume-accent) 8%, white);
  padding: 26px;
  border: 0;
  border-left: 5px solid var(--resume-accent);
  margin: -15px -10px 30px;
}
.template-modern .resume-section :is(h2, .resume-section-title) {
  border: 0;
  border-left: 3px solid var(--resume-accent);
  padding: 0 0 0 10px;
}
.template-graduate .resume-heading {
  border-top: 8px solid var(--resume-accent);
  padding-top: 26px;
}
.template-graduate .resume-heading :is(h1, .resume-name) {
  text-transform: none;
  font-size: 37px;
}
.template-graduate .resume-section :is(h2, .resume-section-title) {
  background: color-mix(in srgb, var(--resume-accent) 7%, white);
  padding: 8px 10px;
  border: 0;
}
.template-creative .resume-heading {
  background: var(--resume-accent);
  color: white;
  padding: 35px;
  margin: -58px -56px 30px;
}
.template-creative .resume-heading :is(h1, .resume-name),
.template-creative .resume-contact,
.template-creative .resume-role {
  color: white;
}
.template-creative .resume-heading :is(h1, .resume-name) {
  text-transform: none;
  font-size: 40px;
}
.template-compact {
  padding: 40px;
  font-size: calc(var(--resume-font, 11pt) - 1pt);
  line-height: 1.3;
}
.template-compact .resume-heading {
  margin-bottom: 20px;
  padding-bottom: 18px;
}
.template-compact .resume-section {
  margin-bottom: 20px;
}
.template-compact .resume-entry {
  margin-bottom: 14px;
}
.template-compact .resume-section :is(h2, .resume-section-title) {
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.resume-empty {
  color: #8b98a9;
  font-style: italic;
}
/* The designer collection uses the same HTML and type as its PDF export. */
.resume-paper.is-designer {
  padding: 40px;
  color: #343735;
  font-size: calc(var(--resume-font, 11pt) - 0.5pt);
  --resume-ink: color-mix(in srgb, var(--resume-accent) 55%, #172029);
  --resume-wash: color-mix(in srgb, var(--resume-accent) 13%, white);
}
.is-designer .resume-heading :is(h1, .resume-name) {
  color: var(--resume-ink);
  font-weight: 600;
  letter-spacing: -1.5px;
  text-transform: none;
}
.is-designer .resume-role {
  font-size: 11px;
  letter-spacing: 2.5px;
  line-height: 1.8;
}
.is-designer .resume-section {
  margin-bottom: 28px;
}
.is-designer .resume-section :is(h2, .resume-section-title) {
  color: var(--resume-ink);
  font-size: 10px;
  letter-spacing: 2.4px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-color: color-mix(in srgb, var(--resume-accent) 28%, white);
}
.is-designer .resume-entry :is(h3, .resume-entry-title) {
  color: var(--resume-ink);
}
.is-designer .resume-entry-top {
  gap: 14px;
}
.is-designer .resume-dates {
  white-space: normal;
  min-width: 98px;
  font-size: 0.75em;
  color: #636967;
}
.is-designer .resume-entry strong {
  font-size: 0.87em;
  color: #626760;
  font-weight: 500;
}
.is-designer .resume-entry {
  margin-bottom: 22px;
}
.is-designer .resume-contact {
  color: #626760;
  font-size: 10px;
}
.resume-columns {
  display: grid;
  align-items: stretch;
  gap: 32px;
}
.rail-left {
  grid-template-columns: 216px minmax(0, 1fr);
}
.rail-right {
  grid-template-columns: minmax(0, 1fr) 202px;
}
.resume-main,
.resume-rail {
  min-width: 0;
}
.resume-rail {
  padding: 29px 23px;
  background: var(--resume-wash);
  font-size: 0.91em;
}
.resume-rail .resume-section {
  margin-bottom: 35px;
}
.resume-rail .resume-section:last-child {
  margin-bottom: 0;
}
.resume-rail .resume-entry-top {
  display: block;
}
.resume-rail .resume-dates {
  display: block;
  text-align: left;
  margin-top: 8px;
}
.resume-rail .resume-entry :is(h3, .resume-entry-title) {
  font-size: 1.05em;
}
.resume-rail .resume-skills {
  display: grid;
  gap: 10px;
}
.resume-rail .resume-skills span {
  font-size: 1em;
}
.resume-rail .resume-section :is(h2, .resume-section-title) {
  font-size: 9px;
  letter-spacing: 2px;
}
.resume-rail-contact > div {
  margin-bottom: 17px;
  font-size: 0.95em;
}
.resume-contact-label {
  display: block;
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 5px;
  opacity: 0.7;
}
.resume-monogram {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 2px auto 36px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font:
    500 37px/1 "Cormorant Garamond",
    Georgia,
    serif;
  letter-spacing: 4px;
}
.template-atelier .resume-columns,
.template-monogram .resume-columns {
  min-height: 1043px;
}
.template-atelier .resume-rail {
  padding-top: 42px;
}
.template-atelier .resume-main {
  padding-top: 28px;
}
.template-atelier .resume-heading {
  padding-bottom: 24px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--resume-accent);
}
.template-atelier .resume-heading :is(h1, .resume-name) {
  font:
    500 67px/0.96 "Cormorant Garamond",
    "Noto Sans Devanagari",
    Georgia,
    serif;
  letter-spacing: -1.5px;
}
.template-atelier .resume-role {
  margin-top: 22px;
}
.template-monogram .resume-columns {
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 32px;
}
.template-monogram .resume-rail {
  color: #f4f6f7;
  background: var(--resume-ink);
  padding: 38px 25px;
}
.template-monogram
  .resume-rail
  :is(
    h2,
    .resume-section-title,
    h3,
    .resume-entry-title,
    strong,
    .resume-dates
  ) {
  color: #f4f6f7;
}
.template-monogram .resume-rail :is(h2, .resume-section-title) {
  border-color: #ffffff45;
}
.template-monogram .resume-main {
  padding-top: 29px;
}
.template-monogram .resume-heading {
  border: 0;
  padding-bottom: 22px;
  margin-bottom: 12px;
}
.template-monogram .resume-heading :is(h1, .resume-name) {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
}
.template-monogram .resume-role {
  border-top: 3px solid var(--resume-accent);
  padding-top: 19px;
  margin-top: 22px;
}
.template-monogram .resume-main .resume-section :is(h2, .resume-section-title) {
  border-bottom: 2px solid var(--resume-accent);
}
.template-editorial {
  padding: 52px 50px !important;
}
.template-editorial .resume-heading {
  border-top: 1px solid var(--resume-accent);
  border-bottom: 3px double var(--resume-accent);
  padding: 29px 0 24px;
  margin-bottom: 36px;
}
.template-editorial .resume-heading :is(h1, .resume-name) {
  font:
    500 70px/1 "Cormorant Garamond",
    "Noto Sans Devanagari",
    Georgia,
    serif;
}
.template-editorial .resume-role {
  margin-top: 14px;
}
.template-editorial .resume-section {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  column-gap: 30px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e1dd;
}
.template-editorial .resume-section :is(h2, .resume-section-title) {
  border: 0;
  padding-top: 6px;
  font-size: 9px;
  letter-spacing: 1.5px;
  break-after: auto;
}
.template-editorial .resume-section > :not(h2):not(.resume-section-title) {
  grid-column: 2;
}
.template-editorial .resume-section > p {
  margin-top: 0;
}
.template-editorial .resume-skills {
  padding: 5px 0 16px;
}
.template-editorial .resume-section {
  margin-bottom: 20px;
}
.template-editorial .resume-entry {
  margin-bottom: 16px;
}
.template-editorial .resume-heading {
  margin-bottom: 28px;
  padding-top: 24px;
  padding-bottom: 20px;
}
.template-nordic .resume-heading {
  padding: 18px 0 33px;
  border-bottom: 1px solid var(--resume-accent);
  margin-bottom: 30px;
}
.template-nordic .resume-heading :is(h1, .resume-name) {
  font-size: 53px;
  font-weight: 500;
}
.template-nordic .resume-role {
  margin-top: 15px;
}
.template-nordic .resume-rail {
  border-top: 5px solid var(--resume-accent);
  padding-top: 28px;
}
.template-nordic .resume-main {
  padding-top: 4px;
}
.template-nordic .resume-main .resume-entry {
  padding-left: 18px;
  border-left: 2px solid var(--resume-wash);
}
.template-luxe {
  padding: 45px 54px !important;
}
.template-luxe .resume-heading {
  text-align: center;
  border: 0;
  margin-bottom: 27px;
  padding-bottom: 0;
}
.template-luxe .resume-monogram {
  border-radius: 0;
  width: 66px;
  height: 66px;
  margin-bottom: 21px;
  color: var(--resume-accent);
  font-size: 27px;
}
.template-luxe .resume-heading :is(h1, .resume-name) {
  font:
    500 54px/1.05 "Cormorant Garamond",
    "Noto Sans Devanagari",
    Georgia,
    serif;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.template-luxe .resume-role {
  margin-top: 14px;
  letter-spacing: 3px;
}
.template-luxe .resume-contact {
  border-top: 1px solid var(--resume-accent);
  border-bottom: 1px solid var(--resume-accent);
  padding: 12px 0;
  margin-top: 24px;
}
.template-luxe .resume-section :is(h2, .resume-section-title) {
  text-align: center;
  border: 0;
  color: var(--resume-accent);
  padding: 0;
  letter-spacing: 3px;
}
.template-luxe .resume-section {
  margin-bottom: 18px;
}
.template-luxe .resume-section :is(h2, .resume-section-title) {
  margin-bottom: 10px;
}
.template-luxe .resume-entry {
  margin-bottom: 15px;
}
.template-luxe .resume-monogram {
  width: 54px;
  height: 54px;
  margin-bottom: 17px;
}
.template-luxe .section-summary p {
  text-align: center;
}
.template-luxe .resume-skills {
  justify-content: center;
}
.template-studio .resume-heading {
  background: var(--resume-ink);
  padding: 38px 37px;
  margin-bottom: 29px;
  border: 0;
}
.template-studio .resume-heading :is(h1, .resume-name) {
  color: white;
  font-size: 54px;
  line-height: 1.08;
  font-weight: 500;
  max-width: 520px;
}
.template-studio .resume-role {
  color: #fff;
  margin-top: 18px;
}
.template-studio .resume-rail {
  background: transparent;
  border-right: 1px solid var(--resume-accent);
  padding: 5px 27px 0 5px;
}
.template-studio .resume-main {
  padding-top: 5px;
}
.template-studio .resume-section :is(h2, .resume-section-title) {
  color: var(--resume-accent);
  border: 0;
}
.template-slate .resume-heading {
  border-top: 10px solid var(--resume-ink);
  border-bottom: 1px solid #c8ced1;
  padding-top: 29px;
  padding-bottom: 28px;
}
.template-slate .resume-heading :is(h1, .resume-name) {
  font-size: 51px;
  font-weight: 700;
  letter-spacing: -2px;
}
.template-slate .resume-rail {
  background: #f2f3f3;
  border-left: 1px solid #d4d8db;
  padding: 24px;
}
.template-slate .resume-role {
  letter-spacing: 1px;
}
.template-slate .resume-main .resume-section :is(h2, .resume-section-title) {
  padding: 8px 12px;
  background: var(--resume-ink);
  color: white;
  border: 0;
}
.template-folio .resume-heading {
  padding: 32px;
  margin-bottom: 31px;
  border: 0;
  border-radius: 0 65px 0 0;
  background: var(--resume-wash);
}
.template-folio .resume-heading :is(h1, .resume-name) {
  font-size: 66px;
  font-weight: 700;
  letter-spacing: -3px;
}
.template-folio .resume-role {
  margin-top: 13px;
  letter-spacing: 1px;
}
.template-folio .resume-rail {
  border-top: 4px solid var(--resume-accent);
  background: transparent;
  padding: 22px 0 0 18px;
}
.template-folio .resume-main .resume-section :is(h2, .resume-section-title) {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--resume-accent);
  border-color: var(--resume-wash);
}
.template-folio .resume-entry {
  border-bottom: 1px solid var(--resume-wash);
  padding-bottom: 18px;
}
.resume-paper.is-designer.paper-letter {
  min-height: 1027px;
}
.paper-letter.template-atelier .resume-columns,
.paper-letter.template-monogram .resume-columns {
  min-height: 947px;
}
.paper-letter.is-designer .resume-section {
  margin-bottom: 19px;
}
.paper-letter.is-designer .resume-entry {
  margin-bottom: 15px;
}
.paper-letter.is-designer .resume-rail .resume-section {
  margin-bottom: 23px;
}
.paper-letter.is-designer .resume-rail-contact > div {
  margin-bottom: 12px;
}
.paper-letter.template-editorial .resume-section,
.paper-letter.template-luxe .resume-section {
  margin-bottom: 13px;
}
.paper-letter.template-editorial .resume-skills {
  padding-bottom: 6px;
}
.paper-letter.template-luxe .resume-monogram {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
}
.paper-letter.template-luxe .resume-contact {
  margin-top: 16px;
  padding: 9px 0;
}
.paper-letter.is-designer .resume-rail .resume-section:last-child {
  margin-bottom: 0;
}
.paper-letter.is-designer .resume-rail .resume-skills {
  gap: 8px;
}
.paper-letter.template-nordic .resume-rail {
  padding-top: 20px;
  padding-bottom: 16px;
}
@media print {
  .resume-paper {
    width: auto;
    min-height: 0;
    padding: 0;
    box-shadow: none;
  }
  .resume-heading {
    break-inside: avoid;
  }
  .resume-entry {
    break-inside: avoid;
  }
  .resume-section :is(h2, .resume-section-title) {
    break-after: avoid;
  }
  .resume-section p {
    orphans: 3;
    widows: 3;
  }
  .template-creative .resume-heading {
    margin: 0 0 28px;
  }
  .template-compact {
    padding: 0;
  }
  .resume-paper.is-designer,
  .resume-paper.is-designer.paper-letter {
    padding: 0 !important;
    min-height: 0;
  }
  .resume-paper.template-atelier .resume-columns,
  .resume-paper.template-monogram .resume-columns {
    min-height: calc(var(--resume-page-height, 297mm) - 25mm);
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
