.my-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}
.my-stats .card{display:grid;gap:12px;margin:0}.my-stats strong{font-size:30px;color:var(--blue)}
.my-toolbar{display:flex;gap:12px;margin-bottom:20px}.my-toolbar input{flex:1;min-width:0}
.my-record{margin-bottom:18px;overflow-wrap:anywhere}.my-record-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.my-record-heading h2{margin:0;font-size:20px;line-height:1.65}.my-record-heading .reward{white-space:nowrap}
.my-record-info{display:grid;grid-template-columns:2fr 1.4fr 1.6fr 1fr;gap:20px;margin:24px 0}
.my-record-info div{min-width:0;display:grid;align-content:start;gap:8px}.my-record-info small{color:var(--muted)}
.my-record-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;border-top:1px solid var(--border);padding-top:18px}
.my-record-footer .actions{flex-wrap:wrap}.my-retention{margin:14px 0 0}
.citation-panel{overflow-wrap:anywhere}.citation-controls{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin:24px 0}
.citation-controls label{display:flex;align-items:center;gap:10px}.citation-controls input{width:auto}.citation-controls select{max-width:100%}
.citation-text{padding:20px;border:1px solid var(--border);border-radius:10px;line-height:2;font-family:Georgia,'Noto Sans SC',serif;white-space:pre-wrap;user-select:text}
@media(max-width:700px){.my-stats{gap:8px}.my-stats .card{padding:14px}.my-stats strong{font-size:24px}.my-record-heading{flex-direction:column;gap:8px}.my-record-info{grid-template-columns:1fr;gap:14px}.my-toolbar{flex-wrap:wrap}.my-toolbar input{flex-basis:100%}.my-record-footer{align-items:flex-start}.citation-controls{align-items:flex-start;flex-direction:column}}

/* Scope the compact layout to My Requests; sponsorship also uses .my-stats. */
.my-requests-page{margin-top:-8px}
.my-requests-page>.section-title{margin-bottom:12px;gap:10px}
.my-requests-page>.section-title .eyebrow{display:none}
.my-requests-page>.section-title h1{margin:0;line-height:1.25}
.my-requests-page>.section-title p{margin:4px 0 0;font-size:13px;line-height:1.5}
.my-requests-page .my-stats{gap:10px;margin-bottom:12px}
.my-requests-page .my-stats .card{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 14px;min-width:0}
.my-requests-page .my-stats strong{font-size:26px;line-height:1.2}
.my-requests-page .my-toolbar{padding:10px 12px;gap:10px;margin-bottom:12px}
.my-requests-page .my-toolbar input,.my-requests-page .my-toolbar select{min-height:40px;padding:8px 10px}
.my-requests-page .my-record{padding:14px;margin-bottom:10px}
.my-requests-page .my-record-number{margin:0 0 8px;line-height:1.5}
.my-requests-page .my-record-heading{gap:10px}
.my-requests-page .my-record-heading h2{line-height:1.5}
.my-requests-page .my-record-info{gap:12px;margin:12px 0}
.my-requests-page .my-record-info div{gap:4px;line-height:1.5}
.my-requests-page .my-record-footer{gap:10px;padding-top:10px}
.my-requests-page .my-record-footer .actions{gap:8px}
.my-requests-page .my-retention{margin:8px 0 0;line-height:1.5}
@media(max-width:700px){
 .my-requests-page .my-stats{gap:6px}
 .my-requests-page .my-stats .card{padding:8px;gap:4px;flex-wrap:wrap}
 .my-requests-page .my-stats .tiny{font-size:11px;line-height:1.3}
 .my-requests-page .my-stats strong{font-size:20px}
 .my-requests-page .my-toolbar{gap:8px}
 .my-requests-page .my-record{padding:12px}
 .my-requests-page .my-record-info{gap:8px}
 .my-requests-page .my-record-info div{grid-template-columns:64px minmax(0,1fr);gap:8px}
}
.my-requests-page .my-record .document-email-sent{background:#c92c45;border-color:#c92c45;color:#fff}
.my-requests-page .my-record .document-email-sent:hover{background:#a92238;border-color:#a92238;color:#fff}
.document-email-panel{clear:both;padding-top:6px;overflow-wrap:anywhere}
.document-email-panel h2{font-size:23px;margin:0 0 14px;line-height:1.5}
.document-email-title{font-size:14px;line-height:1.6;margin:0 0 18px;color:var(--text);max-height:100px;overflow:auto}
.document-email-pricing{font-size:13px;margin-bottom:20px;color:var(--text)}.document-email-pricing strong{font-size:15px}
.document-email-form{display:grid;gap:9px}.document-email-form label{font-size:14px;font-weight:600}
.document-email-form input{min-width:0;width:100%;font-size:16px}.document-email-form .tiny{margin:0;line-height:1.7}
.document-email-error{margin:0;color:var(--danger,#c63343);font-size:13px;line-height:1.6}
.document-email-actions{display:flex;gap:12px;margin-top:16px}.document-email-actions button{flex:1;min-width:0;padding:12px 10px;font-size:15px}
.document-email-status{margin:12px 0 24px;font-size:14px;line-height:1.8}
.document-email-progress{height:8px;border-radius:8px;background:var(--soft);overflow:hidden;margin:24px 0 12px}
.document-email-progress span{display:block;height:100%;width:32%;border-radius:8px;background:var(--blue);animation:document-email-wait 1.4s ease-in-out infinite alternate}
.document-email-progress.is-complete{background:#10956c}
@keyframes document-email-wait{from{transform:translateX(-10%)}to{transform:translateX(220%)}}
@media(prefers-reduced-motion:reduce){.document-email-progress span{animation:none;width:100%;opacity:.6}}
@media(max-width:480px){.document-email-panel h2{font-size:21px}.document-email-actions{gap:8px}.document-email-actions button{font-size:14px}}
.my-pending-file{border:1px solid var(--blue);background:var(--soft);padding:14px;border-radius:12px;margin:12px 0}.my-pending-file h3{font-size:16px;margin:0 0 8px}.my-pending-name{margin:0;font-size:14px;overflow-wrap:anywhere}.my-pending-file .actions{display:flex;gap:8px;flex-wrap:wrap}.my-toolbar{flex-wrap:wrap}#my-refresh-status{align-self:center}
