.einvoice-jobs-panel { border:1px solid #d5e3da; border-radius:16px; background:#fff; padding:22px; min-width:0; box-shadow:0 2px 5px #173d2410; }
.einvoice-jobs-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.einvoice-jobs-heading h3 { color:#184d35; margin:0 0 7px; font-size:1.1rem; font-weight:800; }
.einvoice-jobs-heading p { color:#627367; max-width:650px; margin:0; font-size:.83rem; line-height:1.6; }
.einvoice-jobs-tools { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.einvoice-jobs-tools label { color:#5b6f60; font-size:.78rem; font-weight:700; display:grid; gap:5px; }
.einvoice-jobs-tools select { min-height:40px; border:1px solid #cddcd1; border-radius:8px; padding:7px 10px; background:#f6f9f5; color:#23452f; font:inherit; font-size:.82rem; }
.einvoice-jobs-panel button { min-height:36px; padding:7px 11px; border:1px solid #bfd3c4; border-radius:8px; background:#f6faf6; color:#1d603b; font:inherit; font-size:.78rem; font-weight:700; cursor:pointer; }
.einvoice-jobs-panel button:hover { background:#e9f4e9; }
.einvoice-jobs-panel button.is-primary { background:#1c6542; color:white; border-color:#1c6542; }
.einvoice-jobs-panel button:disabled { opacity:.5; cursor:wait; }
.einvoice-jobs-panel :focus-visible { outline:3px solid #64a376; outline-offset:3px; }
.einvoice-jobs-table-scroll { overflow:auto; margin-top:18px; border:1px solid #e0e9e0; border-radius:10px; }
.einvoice-jobs-table { width:100%; min-width:850px; border-collapse:collapse; font-size:.8rem; }
.einvoice-jobs-table th { text-align:left; color:#597161; background:#f2f6ef; font-size:.72rem; letter-spacing:.02em; font-weight:800; padding:12px; white-space:nowrap; }
.einvoice-jobs-table td { padding:14px 12px; border-top:1px solid #e8eee6; color:#294435; vertical-align:top; line-height:1.6; }
.einvoice-job-code { font-weight:800; white-space:nowrap; }
.einvoice-jobs-table small { display:block; font-size:.71rem; color:#79877b; font-weight:500; margin-top:4px; }
.einvoice-job-money { white-space:nowrap; font-weight:800; font-variant-numeric:tabular-nums; }
.einvoice-job-attempts { text-align:center; font-variant-numeric:tabular-nums; }
.einvoice-job-state { display:inline-block; white-space:nowrap; font-size:.7rem; font-weight:800; border-radius:5px; padding:3px 7px; color:#406450; background:#eff5ef; }
.state-waiting_reconciliation { color:#8d640e; background:#fff4ce; }
.state-needs_attention { color:#9e4431; background:#fdefe6; }
.state-processing { color:#316a8d; background:#eaf4f9; }
.state-issued { color:#1f6a3f; background:#e7f5e8; }
.einvoice-job-reason { max-width:270px; min-width:170px; overflow-wrap:anywhere; }
.einvoice-job-actions { min-width:90px; }
.einvoice-job-actions button { display:block; width:100%; margin-bottom:6px; white-space:nowrap; }
.einvoice-jobs-empty { text-align:center; padding:26px 14px; color:#637768; font-size:.84rem; line-height:1.7; }
.einvoice-jobs-empty strong { display:block; color:#24583a; font-size:.96rem; }
.einvoice-jobs-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:12px; }
.einvoice-jobs-feedback { color:#6c7e71; margin:0; font-size:.78rem; }
.einvoice-jobs-feedback.is-error { color:#a03e28; }
@media(max-width:600px) {
  .einvoice-jobs-panel { padding:16px; }
  .einvoice-jobs-tools { width:100%; }
  .einvoice-jobs-tools label { flex:1; }
  .einvoice-jobs-tools select { width:100%; }
  .einvoice-jobs-panel button { min-height:44px; }
  .einvoice-jobs-table { display:block; min-width:0; }
  .einvoice-jobs-table thead { display:none; }
  .einvoice-jobs-table tbody { display:grid; }
  .einvoice-jobs-table tr { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding:12px; gap:12px; border-top:1px solid #e0e9e0; }
  .einvoice-jobs-table tr:first-child { border-top:0; }
  .einvoice-jobs-table td { display:block; border:0; padding:0; min-width:0; text-align:left; }
  .einvoice-jobs-table td::before { content:attr(data-label); display:block; font-size:.7rem; font-weight:600; color:#718273; margin-bottom:4px; }
  .einvoice-jobs-table .einvoice-job-code { grid-column:1/-1; padding-bottom:10px; border-bottom:1px solid #e8eee6; }
  .einvoice-job-code::before { display:none !important; }
  .einvoice-jobs-table td:nth-child(5), .einvoice-job-reason { grid-column:1/-1; }
  .einvoice-jobs-table .einvoice-job-reason { max-width:none; min-width:0; }
  .einvoice-jobs-table .einvoice-job-actions { display:flex; gap:8px; grid-column:1/-1; }
  .einvoice-job-actions::before { display:none !important; }
  .einvoice-job-actions button { flex:1; margin:0; }
}
