.admin-drafts-dialog{width:min(760px,calc(100vw - 32px));height:fit-content;max-height:calc(100dvh - 40px);inset:0;margin:auto;padding:26px;overflow-y:auto;text-align:start}
.admin-drafts-dialog .dialog-header{display:flex;align-items:start;gap:18px;justify-content:space-between}
.admin-drafts-dialog h2{font-size:24px;margin:0}
.admin-drafts-dialog .dialog-header>.button{padding:7px 13px;font-size:22px;line-height:1}
.admin-drafts-dialog .small-note{margin:0;line-height:1.6}
.admin-drafts-dialog .error:empty,.admin-drafts-dialog .admin-drafts-status:empty{display:none}
.admin-drafts-dialog .admin-drafts-status{font-size:14px;color:var(--muted);margin:18px 0 0}
.admin-drafts-dialog .admin-draft-list{display:grid;gap:0;margin-top:20px}
.admin-drafts-dialog .admin-draft-list-item{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 0;border-top:1px solid var(--line)}
.admin-drafts-dialog .admin-draft-list-item>div:first-child{flex:1;min-width:0}
.admin-drafts-dialog .admin-draft-list-item h3{font-size:18px;margin:0 0 8px;overflow-wrap:anywhere}
.admin-drafts-dialog .admin-draft-list-item p,.admin-drafts-dialog .admin-draft-delete-preview p{font-size:13px;margin:0 0 6px}
.admin-drafts-dialog .admin-draft-list-item small{display:block;color:var(--muted);font-size:12px;line-height:1.6}
.admin-drafts-dialog .admin-draft-item-actions{display:flex;gap:8px;flex-wrap:wrap}
.admin-drafts-dialog .admin-draft-item-actions .button{font-size:13px;padding:10px 13px}
.admin-drafts-dialog .admin-draft-delete-preview{padding:16px;background:#fff;border:1px solid var(--line);border-radius:4px;margin:20px 0}
.admin-drafts-dialog .admin-draft-delete-preview strong{display:block;overflow-wrap:anywhere;margin-bottom:8px}
.admin-drafts-dialog .client-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:20px}
@media(max-width:600px){.admin-drafts-dialog{padding:18px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.admin-drafts-dialog h2{font-size:22px}.admin-drafts-dialog .admin-draft-list-item{align-items:stretch;flex-direction:column;gap:12px}.admin-drafts-dialog .admin-draft-item-actions>.button{flex:1}}
