/* Resume viewer: a pixel window over the page with the published Google Doc inside */
.resume-dialog{width:min(900px,calc(100vw - 32px));height:min(92dvh,1100px);max-width:none;max-height:none;padding:0;border:2px solid #F0F4EE;border-radius:4px;background:#180B38;color:#F0F4EE;overflow:visible;box-shadow:8px 8px 0 -2px #180B38,8px 8px 0 0 #F0F4EE}
.resume-dialog::backdrop{background:rgba(9,6,24,.78)}
.resume-dialog[open]{display:grid;grid-template-rows:auto 1fr}
.resume-bar{display:flex;align-items:center;gap:12px;padding:8px 10px;background:#F0F4EE;color:#180B38}
.resume-bar .sq{display:flex;gap:5px}.resume-bar .sq i{width:10px;height:10px;background:#180B38;display:block}
.resume-bar .ttl{font:400 16px/1 'Jersey 20',sans-serif;margin-right:auto}
.resume-bar a,.resume-bar button{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:2px solid #180B38;border-radius:4px;background:none;color:#180B38;font:400 14px/1 'Jersey 20',sans-serif;text-decoration:none;cursor:pointer}
.resume-bar a:hover,.resume-bar button:hover,.resume-bar a:focus-visible,.resume-bar button:focus-visible{background:#180B38;color:#F0F4EE;outline:none}
.resume-frame{width:100%;height:100%;border:0;background:#fff;border-radius:0 0 2px 2px}
html.has-resume-dialog,html.has-resume-dialog body{overflow:hidden}
html.has-resume-dialog .world-cursor{visibility:hidden}

.resume-bar .resume-x{width:30px;height:30px;padding:0;justify-content:center;font-size:16px}
.resume-bar .resume-dl[hidden]{display:none}

/* Download is the primary (filled) button; the others stay outlined */
.resume-bar .resume-dl{background:#180B38;color:#F0F4EE}
.resume-bar .resume-dl:hover,.resume-bar .resume-dl:focus-visible{background:#3A2580;border-color:#3A2580;color:#F0F4EE}
.resume-bar .resume-x svg{display:block}

/* Close: just the pixel X, no box */
.resume-bar .resume-x{border-color:transparent!important;background:none!important;color:#180B38!important}
.resume-bar .resume-x:hover,.resume-bar .resume-x:focus-visible{color:#3A2580!important;opacity:.75}
