/* Shared catalogue tokens and controls come from booking.css and site.css. */
.a2zw-jobs .a2zw-job-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin:0 0 14px}.a2zw-jobs .a2zw-job-counts button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;background:var(--paler);color:var(--brand-dark);border:1px solid var(--line);border-radius:12px;padding:12px;font:inherit;cursor:pointer}.a2zw-job-counts strong{font-size:26px;line-height:1.2}.a2zw-job-counts button[aria-pressed=true]{border:2px solid var(--brand-dark)}.a2zw-jobs form.a2zw-filter{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));align-items:end;gap:10px}.a2zw-jobs label{display:flex;flex-direction:column;gap:4px;font-size:13px}.a2zw-jobs .a2zw-filter input,.a2zw-jobs .a2zw-filter select{min-height:40px;padding:8px 10px;font-size:13px}.a2zw-jobs button:not(.a2zw-submit):not([data-count]){font:inherit;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--pale);color:var(--brand-dark);cursor:pointer}.a2zw-jobs button:disabled{opacity:.55;cursor:default}.a2zw-jobs :focus-visible{outline:3px solid var(--brand);outline-offset:3px}.a2zw-jobs-scroll{overflow:auto;max-height:65vh;border:1px solid var(--line)}.a2zw-jobs table{border-collapse:separate;border-spacing:0;width:100%;font-size:13px}.a2zw-jobs th,.a2zw-jobs td{padding:8px;border-bottom:1px solid var(--line);vertical-align:top;min-width:80px}.a2zw-jobs th{position:sticky;top:0;background:var(--brand-dark);color:#fff;text-align:left}.a2zw-jobs tbody tr:nth-child(even){background:var(--paler)}.a2zw-jobs caption{text-align:left;padding:8px;font-weight:bold}.a2zw-jobs [hidden]{display:none!important}.a2zw-jobs summary{cursor:pointer}

.a2zw-jobs .a2zw-job-timestamp{min-width:110px}.a2zw-job-timestamp span{display:block;white-space:nowrap}.a2zw-job-timestamp .a2zw-job-time{color:var(--brand-dark);font-weight:500;margin-bottom:3px}

/* Shared status palette for counts and table cells. */
.a2zw-jobs [data-count="all"] strong,.a2zw-jobs [data-job-status="all"]{color:#174b85}
.a2zw-jobs [data-count="active"] strong,.a2zw-jobs [data-job-status="active"]{color:#1769c2}
.a2zw-jobs [data-count="unassigned"] strong,.a2zw-jobs [data-job-status="unassigned"]{color:#875900}
.a2zw-jobs [data-count="assigned"] strong,.a2zw-jobs [data-job-status="assigned"]{color:#1769c2}
.a2zw-jobs [data-count="in_progress"] strong,.a2zw-jobs [data-job-status="in_progress"]{color:#6941a5}
.a2zw-jobs [data-count="completed"] strong,.a2zw-jobs [data-job-status="completed"]{color:#16803c}
.a2zw-jobs [data-count="closed"] strong,.a2zw-jobs [data-job-status="closed"]{color:#526174}
.a2zw-jobs [data-job-status]{font-weight:600}

.a2zw-jobs [data-count="payment_pending"] strong,.a2zw-jobs [data-job-status="payment_pending"]{color:#875900}
.a2zw-jobs [data-count="payment_failed"] strong,.a2zw-jobs [data-job-status="payment_failed"]{color:#a12626}
.a2zw-jobs [data-count="cancelled"] strong,.a2zw-jobs [data-job-status="cancelled"]{color:#a12626}
.a2zw-jobs [data-count="other"] strong,.a2zw-jobs [data-job-status="other"]{color:#526174}
.a2zw-jobs [data-count="test"] strong,.a2zw-jobs [data-job-status="test"]{color:#6941a5}
.a2zw-jobs [data-count="non_test"] strong,.a2zw-jobs [data-job-status="non_test"]{color:#174b85}
/* 1.2.106.68: reserve a single external gap before the Active Jobs header. */
body.a2zw-managed-theme:has(#a2zw-app.a2zw-jobs) :is(.wp-site-blocks, #page, #content, .site-content, .content-area, #primary, main, .wp-block-group, .wp-block-post-content, .entry-content, .wp-block-shortcode):has(#a2zw-app.a2zw-jobs) {
  margin-block-start:0 !important;
  padding-block-start:0 !important;
}
body.a2zw-managed-theme #a2zw-app.a2zw-jobs {
  margin-block-start:0 !important;
  padding-block-start:20px !important;
}
body.a2zw-managed-theme #a2zw-app.a2zw-jobs > .a2zw-head {
  margin-block-start:0 !important;
}
