.work-drafts-dialog{width:min(760px,calc(100vw - 32px));max-height:90vh;overflow-y:auto;padding:30px;border:1px solid #d9e2d2;border-radius:18px;background:#fbfcf8;color:#223f35;box-shadow:0 24px 90px #18332830}
.work-drafts-dialog::backdrop{background:#122b256b;backdrop-filter:blur(3px)}
.work-drafts-heading{display:flex;align-items:start;justify-content:space-between;gap:20px;margin-bottom:12px}
.work-drafts-heading h2{margin:5px 0;font-size:25px;line-height:1.4}
.work-drafts-dialog label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600}
.work-drafts-dialog input:not([type=checkbox]){width:100%;box-sizing:border-box;padding:11px 13px;border:1px solid #cdd8c6;border-radius:8px;background:#fff;color:#233e35;font:inherit;outline-offset:3px}
.work-draft-save{margin:22px 0;padding:18px;background:#eef3e8;border:1px solid #d4e0ca;border-radius:12px}
.work-draft-save[hidden]{display:none}
.work-drafts-tools{display:flex;align-items:end;gap:22px;margin:22px 0 12px}
.work-drafts-tools>label:first-child{flex:1}
.work-drafts-dialog .work-drafts-archive{display:flex;flex-direction:row;align-items:center;gap:7px;white-space:nowrap;padding-bottom:12px;font-weight:400}
.work-drafts-archive input{width:auto;accent-color:#305744}
.work-drafts-status{margin:12px 0;line-height:1.7;font-size:13px;color:#375b43;white-space:pre-wrap;overflow-wrap:anywhere}
.work-drafts-status:empty{display:none}.work-drafts-status.is-error{color:#9c422f}
.work-drafts-list{display:grid;gap:12px;margin-top:16px}
.work-draft-card{padding:18px;border:1px solid #dce3d6;border-radius:12px;background:#fff}
.work-draft-card-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}
.work-draft-card h3{margin:0;line-height:1.5;font-size:16px;overflow-wrap:anywhere}
.work-draft-mode{flex-shrink:0;padding:3px 8px;border-radius:6px;background:#eef2e9;color:#607653;font-size:11px;line-height:1.7}
.work-draft-description{margin:10px 0;font-size:13px;line-height:1.7;color:#536456;white-space:pre-wrap;overflow-wrap:anywhere}
.work-draft-card .help{font-size:11px;line-height:1.6}
.work-draft-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.work-draft-actions .button{font-size:12px;padding:9px 14px}
.work-drafts-empty{padding:26px 18px;border:1px dashed #d4decc;border-radius:12px;text-align:center;font-size:14px;line-height:1.8;color:#64745c}
@media(max-width:600px){.work-drafts-dialog{padding:20px}.work-drafts-tools{flex-wrap:wrap;gap:12px}.work-drafts-tools>label:first-child{flex-basis:100%}.work-drafts-dialog .work-drafts-archive{padding-bottom:0}.work-draft-card-heading{flex-direction:column;gap:6px}.work-draft-actions .button{flex:1}}
