.job-actions { justify-content: flex-start; gap: 2px 14px; flex-wrap: wrap; }
.job-actions button, .job-actions a { min-height: 36px; text-align: left; }
.job-actions .delete-job { margin-inline-start: auto; }
#prompt-dialog { width: 660px; max-width: calc(100vw - 28px); max-height: calc(100dvh - 30px); padding: 28px; overflow-y: auto; }
#prompt-dialog .dialog-close { position: sticky; top: 0; float: right; margin: -8px -8px 0 12px; border-radius: 50%; background: var(--soft); }
#prompt-dialog h2 { margin: 12px 0 8px; }
#prompt-job-title { color: var(--theme-secondary); overflow-wrap: anywhere; font-size: 13px; line-height: 1.7; margin: 0 0 18px; }
#history-prompt { height: 300px; min-height: 160px; max-height: 50dvh; padding: 14px 16px; resize: vertical; border: 1px solid var(--line); border-radius: 9px; background: var(--theme-input); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.8; }
#history-prompt:focus-visible { outline: 2px solid var(--accent) !important; outline-offset: 2px; }
#history-prompt-hint { font-size: 12px; line-height: 1.8; color: var(--theme-secondary); margin: 12px 0 18px; }
.prompt-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.prompt-dialog-actions button { min-height: 42px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 13px; }
.prompt-dialog-actions button:last-child { background: var(--theme-gradient); border-color: transparent; }
@media (max-width: 650px) {
  #prompt-dialog { padding: 22px 18px; }
  #history-prompt { font-size: 16px; }
  .prompt-dialog-actions button { flex: 1 1 120px; }
  .job-actions { column-gap: 16px; }
}
