.background-jobs-page{max-width:1500px;margin:0 auto;padding:24px 30px 44px}
.background-jobs-heading{margin:4px 0 16px}
.background-jobs-heading h1{margin:0 0 6px;font-size:28px;color:var(--text-primary,#243247)}
.background-jobs-heading p{margin:0;color:var(--text-muted,#8390a3);line-height:1.5}
.background-jobs-notice{margin:0 0 12px;color:var(--text-muted,#8390a3);font-size:13px;overflow-wrap:anywhere}
.background-jobs-notice:empty{display:none}
.background-jobs-notice[data-state=error],.background-jobs-notice[data-state=success]{padding:8px 11px;border-radius:8px}
.background-jobs-notice[data-state=error]{max-height:6rem;overflow:auto;color:#a13939;background:#fff0ef}
.background-jobs-notice[data-state=success]{color:#24734f;background:#eaf7ef}
.background-job-table-wrap{container-type:inline-size;width:100%;overflow:hidden;background:var(--surface,#fff);border:1px solid var(--border,#e5eaf1);border-radius:14px}
.background-job-table{width:100%;min-width:0;table-layout:fixed;border-collapse:separate;border-spacing:0;text-align:left}
.background-job-table th{position:static;padding:11px 12px;background:#f4f6fa;border-bottom:1px solid #e6eaf0;color:#657287;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.background-job-table th:first-child{width:32%}
.background-job-table th:nth-child(2){width:12%}
.background-job-table th:nth-child(3){width:14%}
.background-job-table th:nth-child(4){width:16%}
.background-job-table th:nth-child(5){width:16%}
.background-job-table th:last-child{width:10%;text-align:right}
.background-job-table td{padding:12px;border-bottom:1px solid var(--border,#edf0f4);color:var(--text-primary,#344054);font-size:13px;vertical-align:middle;line-height:1.4;overflow-wrap:anywhere}
.background-job-table tbody tr:last-child td{border-bottom:0}
.background-job-table tbody tr:hover{background:#fafbfe}
.background-job-name>strong,.background-job-name>small{display:block}
.background-job-name>strong{color:var(--text-primary,#243247);font-size:14px}
.background-job-name>small{margin-top:4px;color:var(--text-muted,#8390a3);font-size:11px}
.background-job-state,.background-job-result{display:inline-block;padding:4px 8px;border-radius:999px;background:var(--subtle,#f1f3f6);font-size:11px;font-weight:650;white-space:nowrap}
.background-job-state.is-enabled,.background-job-result.is-success{color:#24734f;background:#eaf7ef}
.background-job-state.is-disabled,.background-job-result.is-skipped{color:#52647a;background:#eef2f7}
.background-job-result.is-failed{color:#a13939;background:#fff0ef}
.background-job-result.is-running{color:#8a5b00;background:#fff6dc}
.background-job-result.is-already-exists{color:#315a8a;background:#eaf2fc}
.background-job-result-line{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px}
.background-job-details-button{min-height:28px;padding:3px 4px;border:0;background:transparent;color:var(--dialog-accent,#315cf5);font:inherit;font-size:12px;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.background-job-actions{text-align:right}
.background-job-edit{min-height:34px;padding:0 10px;border-radius:8px;white-space:nowrap}
.background-job-empty{text-align:center!important;padding:24px!important;color:var(--text-muted,#8390a3)!important}
.background-job-retry{margin-left:8px;padding:4px 9px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer}
#background-job-result-dialog{width:min(580px,calc(100vw - 24px));max-height:min(75dvh,640px);padding:0;overflow:auto;overflow-wrap:anywhere}
.background-job-result-heading{position:sticky;top:0;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px 18px;border-bottom:1px solid var(--dialog-border,#e5eaf1);background:var(--dialog-header,#fff)}
.background-job-result-heading h2{margin:0 0 4px;font-size:18px;color:var(--dialog-text,#243247)}
.background-job-result-heading p{margin:0;font-size:12px;color:var(--dialog-muted,#66758a)}
.background-job-result-body{padding:16px 18px;background:var(--dialog-body,#fff)}
.background-job-result-body pre{margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#fff0ef;color:#a13939;font-family:inherit;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.background-job-result-body dl{display:grid;grid-template-columns:minmax(75px,1fr) minmax(0,2fr);gap:8px 12px;margin:0;font-size:12px;color:var(--dialog-text,#243247)}
.background-job-result-body [hidden]{display:none}
.background-job-result-body dt{font-weight:650;text-transform:capitalize}
.background-job-result-body dd{margin:0;white-space:pre-wrap}
@container (max-width:720px){
 .background-job-table,.background-job-table tbody{display:block}
 .background-job-table thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
 .background-job-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:start;gap:10px;padding:12px;border-bottom:1px solid var(--border,#edf0f4)}
 .background-job-table tbody tr:last-child{border-bottom:0}
 .background-job-table tbody td{min-width:0;padding:0;border:0}
 .background-job-table tbody td[data-label]::before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--text-muted,#657287);font-size:10px;font-weight:650}
 .background-job-name,.background-job-empty{grid-column:1/-1}
 .background-job-table td:nth-child(5){grid-column:1/3}
 .background-job-actions{grid-column:3;align-self:end;justify-self:end}
}
#background-job-dialog.account-dialog{width:min(600px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:min(90dvh,820px);padding:0;border-radius:18px}
#background-job-dialog.account-dialog>form{display:flex;min-height:0;max-height:min(90dvh,820px);flex-direction:column}
#background-job-dialog .dialog-heading{flex:none;min-height:72px;margin:0;padding:18px 22px;border-bottom:1px solid var(--dialog-border);background:var(--dialog-header)}
#background-job-dialog .background-job-modal-heading{align-items:center}
#background-job-dialog .background-job-heading-copy{display:grid;min-width:0;gap:3px}
#background-job-dialog .background-job-heading-copy h2{margin:0;font-size:19px;line-height:1.35;color:var(--dialog-text)}
#background-job-dialog .background-job-heading-copy p{margin:0;color:var(--dialog-muted);font-size:12px;line-height:1.45}
#background-job-dialog .background-job-modal-icon{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:11px;background:var(--dialog-secondary);color:var(--dialog-accent)}
#background-job-dialog .background-job-modal-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#background-job-dialog .background-job-dialog-body{display:grid;flex:1 1 auto;min-height:0;gap:14px;overflow:auto;padding:20px 22px;background:var(--dialog-body)}
#background-job-dialog .background-job-toggle{display:flex;align-items:center;gap:10px;min-height:54px;margin:0;padding:12px 14px;border:1px solid var(--dialog-border);border-radius:10px;background:var(--dialog-secondary);color:var(--dialog-text);font-size:13px;font-weight:650;cursor:pointer}
#background-job-dialog .background-job-toggle input{width:18px;height:18px;margin:0;accent-color:var(--dialog-accent)}
#background-job-dialog .background-job-interval{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
#background-job-dialog .background-job-interval label,.background-job-field{display:grid;min-width:0;gap:6px;margin:0;color:var(--dialog-text);font-size:13px;font-weight:600}
#background-job-dialog .background-job-interval input,#background-job-dialog .background-job-field input{box-sizing:border-box;width:100%;min-height:42px;padding:9px 11px;border:1px solid var(--dialog-border);border-radius:9px;background:var(--dialog-field);color:var(--dialog-text);font:inherit}
#background-job-dialog .background-job-interval>span{padding:0 0 12px;color:var(--dialog-muted);font-size:12px}
#background-job-dialog .background-job-field small{color:var(--dialog-muted);font-size:11px;font-weight:400;line-height:1.45}
#background-job-dialog #background-job-extra-fields{display:grid;gap:14px}
#background-job-dialog .background-job-form-status{min-height:0;margin:0;color:var(--dialog-muted);font-size:12px;line-height:1.4}
#background-job-dialog .background-job-form-status:empty{display:none}
#background-job-dialog .background-job-form-status[data-state=error]{color:#b42318}
#background-job-dialog .background-job-form-status[data-state=success]{color:#24734f}
#background-job-dialog .background-job-dialog-actions{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;margin:0;padding:14px 22px 18px;border-top:1px solid var(--dialog-border);background:var(--dialog-footer)}
#background-job-dialog .background-job-dialog-actions .background-job-form-status{grid-column:1/-1}
#background-job-dialog .background-job-dialog-actions button{box-sizing:border-box;height:44px;min-height:44px;margin:0;border-radius:9px;font-size:13px;font-weight:600;line-height:1.2}
#background-job-dialog .background-job-dialog-actions .outline{grid-column:1;min-width:100px;padding:0 18px;background:var(--dialog-secondary);border:1px solid var(--dialog-border);color:var(--dialog-secondary-text)}
#background-job-dialog .background-job-dialog-actions .primary{grid-column:2;width:100%;padding:0 18px;background:var(--dialog-accent);border:1px solid var(--dialog-accent);color:var(--dialog-accent-text)}
#background-job-dialog .background-job-dialog-actions .primary:hover:not(:disabled){background:#254ddd;border-color:#254ddd}
@media(max-width:1100px){.background-jobs-page{padding:22px 20px 40px}}
@media(max-width:650px){.background-jobs-page{padding:18px 12px 32px}.background-jobs-heading h1{font-size:23px}#background-job-dialog.account-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:14px}#background-job-dialog .dialog-heading{padding:15px 16px}#background-job-dialog .background-job-dialog-body{gap:12px;padding:16px}#background-job-dialog .background-job-dialog-actions{padding:12px 16px 14px}#background-job-dialog .background-job-dialog-actions .outline{min-width:0;padding:0 14px}}
body.dark .background-job-table-wrap{background:#262626;border-color:#454545;box-shadow:none}body.dark .background-job-table th{background:#303030;border-color:#484848;color:#c0c6d0}body.dark .background-job-table td{border-color:#414141;color:#e1e4e8}body.dark .background-job-table td strong{color:#f4f4f4}body.dark .background-job-table td small{color:#aeb4be}body.dark .background-job-table tbody tr:hover{background:#303030}body.dark .background-job-state.is-enabled,body.dark .background-job-result.is-success{color:#69d19b;background:#17382b}body.dark .background-job-state.is-disabled{color:#c0c6d0;background:#393939}body.dark .background-job-result.is-failed{color:#ff9a92;background:#442626}body.dark .background-job-result.is-running{color:#ffd36c;background:#473815}body.dark .background-job-result.is-skipped{color:#c2cedd;background:#303945}body.dark .background-job-result.is-already-exists{color:#a9caff;background:#253a55}body.dark .background-job-result-body pre,body.dark .background-jobs-notice[data-state=error]{color:#ff9a92;background:#442626}body.dark .background-jobs-notice[data-state=success]{color:#69d19b;background:#17382b}body.dark .background-jobs-heading h1{color:#f4f4f4}
#background-job-dialog .background-job-form-status{max-height:6rem;overflow:auto;overflow-wrap:anywhere}
