/* Compact file actions use the surrounding Desk/Work surface. */
.job-artifacts { min-width: 0; margin-block: 18px; }
.job-artifacts[hidden], .job-artifacts-help[hidden] { display: none; }
.job-artifacts-title { margin: 0 0 8px; font-size: 13px; line-height: 1.5; font-weight: 650; }
.job-artifacts-help, .job-artifacts-note, .turn-current-file-note { margin: 4px 0 8px; color: var(--desk-ink-2, #5c5c66); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.job-artifacts-note:empty { display: none; }
.job-artifacts-list { display: grid; gap: 10px; }
.job-artifact { min-width: 0; padding-block: 8px; border-top: 1px solid var(--desk-field-edge, var(--edge, #d9ded6)); }
.job-artifact-name { margin: 0 0 4px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.job-artifact-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.job-artifact-actions > button, .job-artifacts-list > button { min-height: 44px; max-width: 100%; padding: 9px 12px; border: 1px solid var(--desk-field-edge, var(--edge, #d9ded6)); border-radius: 8px; background: var(--desk-card, var(--panel, #fff)); color: var(--desk-ink, #1b241f); font: inherit; font-size: 12px; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere; }
.job-artifact-actions > button:disabled, .job-artifacts-list > button:disabled { cursor: default; opacity: .6; }
.job-artifact-actions > button:focus-visible, .job-artifacts-list > button:focus-visible { outline: 2px solid var(--desk-ink, #1b241f); outline-offset: 2px; }
.job-artifact-actions .drive-export { max-width: 100%; min-width: 0; }
@media (hover: hover) { .job-artifact-actions > button:hover:not(:disabled), .job-artifacts-list > button:hover:not(:disabled) { background: var(--desk-field, var(--panel-2, #f1f3ee)); } }
