.resume-doc {
    --resume-ink: #1b1e21;
    --resume-muted: #555c63;
    --resume-accent: #164e7a;
    --resume-line: #c9cdd2;
    color: var(--resume-ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9.35pt;
    line-height: 1.31;
}

.resume-doc, .resume-doc * { box-sizing: border-box; }
.resume-doc a { color: inherit; text-decoration: none; }
.resume-doc a:hover { text-decoration: underline; }
.resume-doc .resume-header { margin-bottom: 1.6em; text-align: center; }
.resume-doc .resume-header h1 { margin: 0 0 0.2em; font-family: inherit; font-size: 2.3em; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; color: var(--resume-ink); }
.resume-doc .resume-contact { margin: 0; color: var(--resume-muted); font-size: 0.9em; }
.resume-doc .resume-contact a { color: var(--resume-accent); }
.resume-doc .resume-section { margin-top: 1.4em; }
.resume-doc .resume-section h2 { margin: 0 0 0.75em; padding-bottom: 0.3em; border-bottom: 1px solid var(--resume-line); font-family: inherit; font-size: 1em; font-weight: 700; letter-spacing: 0; line-height: 1.3; color: var(--resume-ink); }
.resume-doc .resume-entry { margin-top: 0.85em; break-inside: avoid; }
.resume-doc .resume-entry:first-of-type { margin-top: 0; }
.resume-doc .entry-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.resume-doc .entry-heading strong { font-size: 1em; }
.resume-doc .entry-heading time { flex: 0 0 auto; color: var(--resume-muted); font-size: 0.9em; }
.resume-doc .entry-subheading { display: flex; justify-content: space-between; gap: 16px; margin-top: 1px; color: var(--resume-muted); }
.resume-doc .entry-subheading span:last-child { flex: 0 0 auto; }
.resume-doc .resume-entry ul { margin: 0.3em 0 0; padding-left: 1.2em; }
.resume-doc .resume-entry li { margin: 0.15em 0; padding-left: 1px; }
.resume-doc .resume-entry p { margin: 0.3em 0 0; }
.resume-doc .resume-entry.compact { margin-top: 0.5em; }
.resume-doc .resume-entry.compact p { margin-top: 1px; }
.resume-doc .skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 18px; }
.resume-doc .skills-grid p { margin: 0; }
.resume-doc .honors-list { columns: 2; column-gap: 28px; margin: 0; padding-left: 1.2em; }
.resume-doc .honors-list li { margin-bottom: 2px; break-inside: avoid; }
.resume-doc.short-resume { font-size: 8.95pt; line-height: 1.23; }
.resume-doc.short-resume .resume-header { margin-bottom: 1.1em; }
.resume-doc.short-resume .resume-section { margin-top: 1em; }
.resume-doc.short-resume .resume-section h2 { margin-bottom: 0.55em; }
.resume-doc.short-resume .resume-entry { margin-top: 0.55em; }
.resume-doc.short-resume .resume-entry li { margin: 1px 0; }

.resume-sheet.resume-doc { font-size: 15px; line-height: 1.5; }
.resume-sheet.resume-doc.short-resume { font-size: 15px; line-height: 1.45; }

body.resume-standalone {
    margin: 0;
    padding: 36px 0;
    background: #f3f4f6;
}

.resume-standalone .resume-page {
    width: 8.5in;
    min-height: 11in;
    margin: 0 auto;
    padding: 0.45in 0.58in 0.48in;
    background: #ffffff;
    border: 1px solid #e2e4e7;
}

.resume-standalone .resume-page.short-resume { padding-top: 0.38in; }

.document-tools { box-sizing: border-box; display: flex; justify-content: flex-end; gap: 20px; width: 8.5in; margin: 0 auto 14px; font: 14px -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif; }
.document-tools a, .document-tools button { padding: 0; border: 0; background: none; color: #164e7a; font: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(22, 78, 122, 0.35); text-underline-offset: 0.18em; }
@media (max-width: 760px), (pointer: coarse) {
    .document-tools a, .document-tools button { position: relative; }
    .document-tools a::before, .document-tools button::before { content: ""; position: absolute; top: 50%; left: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
}
.document-tools a:hover, .document-tools button:hover { color: #155182; text-decoration-color: currentColor; }

@page { size: Letter; margin: 0; }

@media print {
    body.resume-standalone { padding: 0; background: #ffffff; }
    .resume-standalone .resume-page { border: 0; margin: 0; }
    .document-tools { display: none; }
    .resume-sheet.resume-doc { font-size: 9.35pt; line-height: 1.31; }
    .resume-sheet.resume-doc.short-resume { font-size: 8.95pt; line-height: 1.23; }
}

@media screen {
    .resume-standalone .resume-doc, .resume-standalone .resume-doc.short-resume { font-size: 15px; line-height: 1.45; }
}

@media screen and (max-width: 880px) {
    body.resume-standalone { padding: 0; background: #ffffff; }
    .resume-standalone .resume-page { width: 100%; min-height: 0; padding: 20px 22px 54px; border: 0; }
    .document-tools { width: auto; padding: 20px 22px 0; margin: 0; }
}

@media screen and (max-width: 600px) {
    .resume-doc .entry-heading, .resume-doc .entry-subheading { flex-direction: column; gap: 0; }
    .resume-doc .skills-grid { grid-template-columns: 1fr; }
    .resume-doc .honors-list { columns: 1; }
}
