.job-documents{min-width:0;margin:22px 0;padding:22px;border:1px solid #d8c7d4;border-radius:12px;background:#f8f1f6}
.admin-site .job-documents h3{font-size:17px;font-weight:500;margin:0 0 18px}
.jobdoc-select{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:16px}
.jobdoc-select>span{font-size:12px;color:#755f70}
.jobdoc-choose{position:relative;overflow:hidden;cursor:pointer;display:inline-flex;align-items:center;margin:0;min-height:44px}
.admin-site .jobdoc-choose input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.jobdoc-choose:has(input:focus-visible){outline:2px solid #715368;outline-offset:3px}
.jobdoc-choose:has(input:disabled){opacity:.5;cursor:wait}
.jobdoc-list{list-style:none;padding:0;margin:0;display:grid;gap:0}
.jobdoc-row{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px solid #d8c7d4}
.jobdoc-row:last-child{border-bottom:0;padding-bottom:0}
.jobdoc-file{min-width:0;flex:1;display:grid;gap:6px}
.jobdoc-file strong{font-size:14px;font-weight:500;overflow-wrap:anywhere}
.jobdoc-file small{font-size:12px;line-height:1.6;color:#755f70;overflow-wrap:anywhere}
.jobdoc-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.jobdoc-actions .text-btn{font-size:12px;min-height:40px;white-space:nowrap;padding:5px 0}
.jobdoc-trash{display:inline-grid;place-items:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:#854b55;cursor:pointer}
.jobdoc-trash:hover:not(:disabled){background:#f0dfe4}
.jobdoc-trash:focus-visible{outline:2px solid currentColor;outline-offset:1px}
.jobdoc-trash:disabled{opacity:.5;cursor:wait}
.jobdoc-empty{font-size:13px;line-height:1.6;color:#755f70;margin:4px 0}
.jobdoc-error{color:#854b55;font-size:13px;line-height:1.6;margin:12px 0 0;overflow-wrap:anywhere}
.jobdoc-error[hidden]{display:none!important}
.job-step .job-documents{border:0;background:none;padding:0;margin:0;grid-column:1/-1}
.job-step .job-documents>h3{display:none}
.jobdoc-status-dialog{width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:32px 26px;border:1px solid #cab4c3;border-radius:16px;background:#faf5f8;color:#594653;font:inherit;text-align:center;box-shadow:0 24px 80px #39214233}
.jobdoc-status-dialog::backdrop{background:#30233275;backdrop-filter:blur(3px)}
.jobdoc-status-dialog h2{font-weight:400;font-size:24px;line-height:1.4;margin:20px 0 12px}
.jobdoc-status-dialog p{font-size:14px;font-weight:300;line-height:1.7;margin:10px 0}
.jobdoc-status-dialog .jobdoc-status-name{overflow-wrap:anywhere;color:#755f70;font-size:12px;margin:20px 0 14px}
.jobdoc-status-dialog progress{display:block;width:100%;height:6px;border:0;border-radius:4px;overflow:hidden;margin:12px 0;background:#e8dce5;accent-color:#8d6a83}
.jobdoc-status-dialog progress::-webkit-progress-bar{background:#e8dce5}
.jobdoc-status-dialog progress::-webkit-progress-value{background:#8d6a83;transition:width .15s linear}
.jobdoc-status-dialog [data-jobdoc-progress-text]{font-size:12px;color:#755f70;font-variant-numeric:tabular-nums}
.jobdoc-status-actions{margin-top:24px;display:flex;justify-content:center;gap:14px}
.jobdoc-status-actions .btn{flex:1;min-height:44px}
.jobdoc-status-actions .text-btn{font-size:13px;min-height:44px}
.jobdoc-spinner{margin:0 auto;width:42px;height:42px;border:1.5px solid #e2d4de;border-top-color:#8d6a83;border-radius:50%;animation:jobdoc-spin .9s linear infinite}
.jobdoc-check{display:block;width:70px;height:70px;margin:0 auto;color:#826179;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.jobdoc-check circle{stroke-dasharray:170;stroke-dashoffset:170;animation:jobdoc-draw .38s ease-out forwards}
.jobdoc-check path{stroke-dasharray:45;stroke-dashoffset:45;animation:jobdoc-draw .3s .2s ease-out forwards}
.jobdoc-status-dialog.is-success{animation:jobdoc-success .3s ease-out}
@keyframes jobdoc-spin{to{transform:rotate(360deg)}}
@keyframes jobdoc-draw{to{stroke-dashoffset:0}}
@keyframes jobdoc-success{from{transform:translateY(5px);opacity:.7}to{transform:translateY(0);opacity:1}}
@media(max-width:600px){.job-documents{padding:18px 16px}.jobdoc-row{align-items:flex-start;flex-direction:column;gap:7px}.jobdoc-actions{width:100%;gap:20px}.jobdoc-status-dialog{padding:28px 22px}}
@media(prefers-reduced-motion:reduce){.jobdoc-spinner,.jobdoc-status-dialog.is-success,.jobdoc-check circle,.jobdoc-check path{animation:none}.jobdoc-check circle,.jobdoc-check path{stroke-dashoffset:0}.jobdoc-status-dialog progress::-webkit-progress-value{transition:none}}
