/* The Request résumé form: a dialog on /resume, and in place of the résumé on /resume-image (public/js/resume-request.js) */
.rr-form { position: relative; display: grid; gap: 16px; }
.rr-form :is(h1, h2, p), .rr-done :is(h2, p) { margin: 0; }
.rr-form .field input { min-height: 50px; font-size: 1.05rem; } /* at least 16px, so iOS doesn't zoom in */
.rr-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rr-status { font-weight: 600; }
.rr-status:empty { display: none; }
.rr-status.is-error { color: var(--link); }
.rr-small { font-size: .88rem; color: var(--text-muted); }
.rr-done { display: grid; gap: 12px; outline: none; }
.rr-locked { max-width: 620px; margin-inline: auto; }
.rr-dialog { width: min(520px, calc(100vw - 2 * var(--gutter))); max-height: calc(100dvh - 32px); margin: auto; padding: clamp(22px, 4vw, 34px); overflow-y: auto; border: 1px solid var(--glass-border); border-radius: var(--radius-lg); background: var(--bg); color: var(--text); box-shadow: var(--shadow-glass); }
.rr-dialog::backdrop { background: rgba(4, 14, 34, .6); }
.rr-dialog h2 { font-size: clamp(1.6rem, 5vw, 2rem); }
.rr-close { position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--text); font: 400 1.6rem/1 var(--font-body); cursor: pointer; }
.rr-close:hover { background: var(--glass-bg-hover); }
.rr-dialog .rr-form h2 { padding-right: 40px; }
@media print { .rr-dialog { display: none; } }
