
/* BigOpsJobs components. Prefix: bo-. Every value is a token. */
/* Ported from design-system/project/components/bundle.css. Fonts: fonts/fonts.css. Tokens: tokens.css. */

body { margin: 0; font-family: var(--font-sans); font-size: 14px; line-height: 20px; background: var(--paper-000); color: var(--ink); -webkit-font-smoothing: antialiased; }
.bo-stage { padding: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.bo-stage-col { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.bo-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Button */
.bo-btn { font: inherit; font-weight: 500; font-size: 14px; line-height: 20px; height: 36px; padding: 0 var(--space-4); display: inline-flex; align-items: center; gap: var(--space-2); border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--paper-200); color: var(--ink); cursor: pointer; text-decoration: none; transition: background-color 140ms cubic-bezier(0.22,1,0.36,1), border-color 140ms cubic-bezier(0.22,1,0.36,1); }
.bo-btn:hover { background: var(--paper-100); border-color: var(--ink-3); }
.bo-btn:active { transform: scale(0.98); }
.bo-btn:focus-visible, .bo-input:focus-visible, .bo-chip:focus-visible, .bo-row:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.bo-btn-primary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.bo-btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); }
.bo-btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.bo-btn-ghost:hover { background: var(--paper-200); border-color: transparent; color: var(--ink); }
.bo-btn-lg { height: 48px; padding: 0 var(--space-6); font-size: 16px; }
.bo-btn-sm { height: 32px; padding: 0 var(--space-3); font-size: 13px; }
.bo-btn svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.bo-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* Input */
.bo-field { display: flex; flex-direction: column; gap: 6px; min-width: 240px; }
.bo-label { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink); }
.bo-help { font-size: 13px; line-height: 18px; color: var(--ink-3); }
.bo-help-error { color: var(--negative); }
.bo-input { font: inherit; font-size: 14px; height: 40px; padding: 0 var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--paper-100); color: var(--ink); }
.bo-input::placeholder { color: var(--ink-3); }
.bo-input-error { border-color: var(--negative); }

/* Domain tag */
.bo-tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 6px; border-radius: var(--radius-sm); background: var(--paper-200); color: var(--ink); font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; }
.bo-tag-quiet { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink-2); }

/* Convergence strip: the signature */
.bo-strip { display: inline-grid; grid-template-columns: repeat(4, 8px); gap: 2px; vertical-align: middle; }
.bo-strip i { width: 8px; height: 8px; box-shadow: inset 0 0 0 1px var(--line-strong); }
.bo-strip i.on { background: var(--ink); box-shadow: none; }
.bo-strip-lg { grid-template-columns: repeat(4, 14px); gap: 3px; }
.bo-strip-lg i { width: 14px; height: 14px; }
.bo-strip-legend { display: grid; grid-template-columns: repeat(4, auto); gap: var(--space-1) var(--space-4); font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ink-2); }
.bo-strip-legend b { font-weight: 500; color: var(--ink); }

/* Filter chip */
.bo-chip { font: inherit; font-size: 13px; line-height: 18px; height: 32px; padding: 0 var(--space-3); display: inline-flex; align-items: center; gap: var(--space-2); border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--paper-200); color: var(--ink); cursor: pointer; }
.bo-chip:hover { border-color: var(--line-strong); }
.bo-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.bo-chip .bo-num { color: var(--ink-3); font-size: 12px; }
.bo-chip[aria-pressed="true"] .bo-num { color: var(--on-ink); opacity: .7; }

/* Marker highlight */
.bo-mark { background: var(--marker); color: var(--marker-ink); border-radius: var(--radius-sm); padding: 0 .08em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.bo-match { background: var(--marker-soft); color: var(--ink); border-radius: 2px; }
.bo-new { display: inline-block; width: 6px; height: 14px; background: var(--marker); border-radius: 1px; vertical-align: -2px; }

/* Search panel */
.bo-search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-xl); background: var(--paper-100); padding: var(--space-1); max-width: 760px; }
.bo-search label { display: flex; flex-direction: column; justify-content: center; padding: 6px var(--space-4); border-radius: var(--radius-lg); }
.bo-search label + label { border-left: 1px solid var(--line); border-radius: 0; }
.bo-search span { font-size: 12px; line-height: 16px; color: var(--ink-3); }
.bo-search input { font: inherit; font-size: 16px; line-height: 24px; border: 0; padding: 0; background: transparent; color: var(--ink); outline: none; }
.bo-search input::placeholder { color: var(--ink-3); }
.bo-search .bo-btn { height: 52px; border-radius: var(--radius-lg); align-self: stretch; }

/* Listing table */
.bo-list { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); overflow: hidden; }
.bo-list-head { display: grid; grid-template-columns: 1fr 168px 120px 48px; gap: var(--space-4); padding: var(--space-2) var(--space-4); border-bottom: 1px solid var(--line); font-size: 12px; line-height: 16px; color: var(--ink-3); }
.bo-row { display: grid; grid-template-columns: 1fr 168px 120px 48px; gap: var(--space-4); align-items: center; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: background-color 140ms cubic-bezier(0.22,1,0.36,1); }
.bo-row:last-child { border-bottom: 0; }
.bo-row:hover { background: var(--paper-200); }
.bo-row-title { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink); }
.bo-row-co { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.bo-row-tags { display: flex; gap: var(--space-1); flex-wrap: wrap; margin-top: 6px; }
.bo-row-meta { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.bo-row-pay { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13px; line-height: 20px; color: var(--ink); text-align: right; }
.bo-row-pay.none { color: var(--ink-3); }
.bo-row-age { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13px; color: var(--ink-3); text-align: right; }
.bo-r { text-align: right; }

/* Header */
.bo-header { display: flex; align-items: center; gap: var(--space-8); height: 64px; padding: 0 var(--space-12); border-bottom: 1px solid var(--line); background: var(--paper-000); }
.bo-wordmark { display: inline-flex; align-items: center; gap: var(--space-2); font-family: var(--font-sans); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.bo-nav { display: flex; gap: var(--space-6); font-size: 14px; color: var(--ink-2); }
.bo-nav a { color: inherit; text-decoration: none; }
.bo-nav a:hover, .bo-nav a[aria-current="page"] { color: var(--ink); }
.bo-header-end { margin-left: auto; display: flex; gap: var(--space-2); }

/* Domain card */
.bo-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); color: inherit; text-decoration: none; transition: border-color 140ms cubic-bezier(0.22,1,0.36,1); }
.bo-card:hover { border-color: var(--line-strong); }
.bo-card h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.bo-card p { margin: 0; color: var(--ink-2); }
.bo-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-2); padding-top: var(--space-3); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .bo-btn:active { transform: none; } }

/* Keycap */
.bo-kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--radius-sm); border: 1px solid var(--line-strong); border-bottom-width: 2px; background: var(--paper-100); color: var(--ink-2); font-family: var(--font-mono); font-size: 11px; line-height: 1; font-weight: 500; }
.bo-hints { display: flex; gap: var(--space-4); flex-wrap: wrap; font-size: 12px; line-height: 16px; color: var(--ink-3); }
.bo-hints span { display: inline-flex; align-items: center; gap: 6px; }
.bo-row[aria-selected="true"] { background: var(--paper-200); box-shadow: inset 2px 0 0 var(--ink); }

/* Density: compact listing for people who scan 200 rows */
.bo-list.is-compact .bo-row, .boj-compact .bo-list .bo-row { padding-top: 6px; padding-bottom: 6px; }
.bo-list.is-compact .bo-row-tags, .boj-compact .bo-list .bo-row-tags { display: none; }
.bo-list.is-compact .bo-row-co, .boj-compact .bo-list .bo-row-co { display: inline; margin-left: var(--space-2); }
.bo-list.is-compact .bo-row-title, .boj-compact .bo-list .bo-row-title { display: inline; }
.bo-row:hover .bo-tag, .bo-row[aria-selected="true"] .bo-tag { background: var(--paper-100); }

/* Company logo: square frame, never cropped or recoloured */
.bo-logo { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: var(--radius-sm); background: var(--paper-100); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; font-family: var(--font-mono); font-size: 11px; line-height: 1; font-weight: 500; color: var(--ink-2); }
.bo-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bo-logo-lg { width: 32px; height: 32px; font-size: 14px; }
.bo-row-co { display: flex; align-items: center; gap: var(--space-2); }
.bo-list.is-compact .bo-row-co, .boj-compact .bo-list .bo-row-co { display: inline-flex; }

/* Stack tag: technology named in the role (quiet, mono) */
.bo-tag-stack { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font-weight: 400; }

/* Category header: the top of /jobs/<category>/ */
.bo-crumbs { display: flex; gap: var(--space-2); font-size: 13px; line-height: 18px; color: var(--ink-3); }
.bo-crumbs a { color: var(--ink-2); text-decoration: none; }
.bo-crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bo-cat-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-6); align-items: end; padding-bottom: var(--space-8); border-bottom: 1px solid var(--line); }
.bo-cat-head h1 { margin: var(--space-4) 0 0; font-family: var(--font-display); font-weight: 400; font-size: 48px; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
.bo-cat-intro { margin: var(--space-4) 0 0; max-width: 62ch; font-size: 16px; line-height: 24px; color: var(--ink-2); }
.bo-cat-count { margin-top: var(--space-3); font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 13px; line-height: 20px; color: var(--ink-2); }
.bo-cat-family { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-2); font-family: var(--font-mono); font-size: 12px; line-height: 16px; color: var(--ink-3); }
.bo-cat-family b { font-weight: 500; color: var(--ink); }
.bo-subcats { display: flex; gap: var(--space-2); flex-wrap: wrap; margin: var(--space-6) 0 var(--space-4); }

/* Job page */
.bo-job { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-12); align-items: start; }
.bo-job-co { display: flex; align-items: center; gap: var(--space-3); margin-top: var(--space-4); font-size: 16px; line-height: 24px; color: var(--ink-2); }
.bo-job h1 { margin: var(--space-4) 0 0; font-family: var(--font-display); font-weight: 400; font-size: 48px; line-height: 1.06; letter-spacing: -0.02em; }
.bo-job-tags { display: flex; gap: var(--space-1); flex-wrap: wrap; margin-top: var(--space-4); }
.bo-job-body { margin-top: var(--space-8); max-width: 68ch; font-size: 16px; line-height: 26px; color: var(--ink); }
.bo-job-body h2 { margin: var(--space-8) 0 var(--space-3); font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.bo-job-body p, .bo-job-body ul { margin: 0 0 var(--space-4); }
.bo-job-body li { margin-bottom: var(--space-1); }
.bo-apply { position: sticky; top: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.bo-apply .bo-btn { justify-content: center; width: 100%; box-sizing: border-box; }
.bo-facts { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); font-size: 13px; line-height: 20px; }
.bo-facts dt { color: var(--ink-3); }
.bo-facts dd { margin: 0; color: var(--ink); text-align: right; }
.bo-facts dd.bo-num { font-size: 13px; }

/* Small screens */
@media (max-width: 960px) {
  .bo-job { grid-template-columns: 1fr; gap: var(--space-6); }
  .bo-apply { position: static; order: -1; }
  .bo-cat-head { grid-template-columns: 1fr; }
  .bo-cat-family { justify-self: start; align-items: flex-start; }
}
@media (max-width: 767px) {
  .bo-header { padding: 0 var(--space-6); gap: var(--space-4); }
  .bo-list-head { display: none; }
  .bo-row { grid-template-columns: 1fr auto; grid-template-areas: "role age" "meta meta"; gap: var(--space-1) var(--space-3); }
  .bo-row > :nth-child(1) { grid-area: role; }
  .bo-row > :nth-child(2) { grid-area: meta; }
  .bo-row > :nth-child(3) { grid-area: meta; justify-self: end; }
  .bo-row > :nth-child(4) { grid-area: age; }
  .bo-cat-head h1, .bo-job h1 { font-size: 32px; }
  .bo-hints { display: none; }
}

/* Browse layout: filters on the left, results on the right */
.bo-browse { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.bo-results-bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-3); font-size: 13px; line-height: 18px; color: var(--ink-2); }
.bo-active { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-3); }
.bo-active .bo-chip { height: 28px; background: var(--paper-100); border-color: var(--line-strong); }
.bo-active .bo-chip span[aria-hidden] { color: var(--ink-3); }
.bo-filters-toggle { display: none; }

/* Filter sidebar */
.bo-filters { position: sticky; top: var(--space-6); max-height: calc(100vh - 48px); overflow: auto; display: flex; flex-direction: column; gap: 0; padding-right: var(--space-2); }
.bo-filters-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.bo-filters-head h2 { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.bo-filters-head a { font-size: 13px; color: var(--ink-2); }
.bo-facet { margin: 0; padding: 0 0 var(--space-4); border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.bo-facet legend { padding: var(--space-4) 0 var(--space-2); font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink); }
.bo-opt { display: flex; align-items: center; gap: var(--space-2); min-height: 28px; font-size: 13px; line-height: 18px; color: var(--ink); cursor: pointer; }
.bo-opt input { margin: 0; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.bo-opt .bo-num { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.bo-opt-child { padding-left: var(--space-6); }
.bo-opt-muted { color: var(--ink-3); }
.bo-facet .bo-input { height: 32px; font-size: 13px; width: 100%; box-sizing: border-box; }
.bo-facet-row { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.bo-facet-row select.bo-input { width: 84px; flex: none; }
.bo-more { margin-top: var(--space-1); padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bo-seg { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-strong); border-radius: var(--radius-md); overflow: hidden; }
.bo-seg label { display: flex; align-items: center; justify-content: center; height: 30px; font-size: 12px; color: var(--ink-2); cursor: pointer; border-left: 1px solid var(--line); }
.bo-seg label:first-child { border-left: 0; }
.bo-seg input { position: absolute; opacity: 0; pointer-events: none; }
.bo-seg input:checked + span { color: var(--on-ink); }
.bo-seg label:has(input:checked) { background: var(--ink); color: var(--on-ink); }
.bo-seg label:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: -2px; }

@media (max-width: 960px) {
  .bo-browse { grid-template-columns: 1fr; }
  .bo-filters { display: none; position: static; max-height: none; }
  .bo-filters.is-open { display: flex; }
  .bo-filters-toggle { display: inline-flex; }
}

/* Native controls and scrollbars follow the theme */
.bo-filters { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }

/* Page frame and hero */
.bo-page { max-width: 1200px; margin: 0 auto; padding: var(--space-12) var(--space-12) var(--space-16); }
.bo-page-home { padding-top: var(--space-24); }
.bo-hero-title { margin: 0; max-width: 820px; font-family: var(--font-display); font-weight: 400; font-size: 72px; line-height: 1.02; letter-spacing: -0.03em; }
.bo-hero-sub { margin: var(--space-6) 0 var(--space-8); max-width: 600px; font-size: 18px; line-height: 28px; color: var(--ink-2); }
.bo-results-bar { flex-wrap: wrap; }
/* Home hero: copy 8 columns, map 4 columns, search full width under both */
.bo-hero { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--space-6); align-items: center; margin-bottom: var(--space-8); }
.bo-hero .bo-hero-sub { margin-bottom: 0; }
.bo-hero-art { min-width: 0; }
.bo-art { display: block; width: 100%; height: auto; }
.bo-art .a-card { fill: var(--paper-100); stroke: var(--line); }
.bo-art .a-line { stroke: var(--line); }
.bo-art .a-rule { stroke: var(--line); stroke-dasharray: 2 4; }
.bo-art .a-wire { fill: none; stroke: var(--ink-2); stroke-width: 1.5; }
.bo-art .a-block { fill: var(--paper-200); stroke: var(--line-strong); }
.bo-art .a-on { fill: var(--ink); }
.bo-art .a-off { fill: none; stroke: var(--line-strong); }
.bo-art .a-marker { fill: var(--marker); }
.bo-art .a-mk { fill: var(--marker-ink); }
.bo-art .a-mono { font-family: var(--font-mono); font-size: 12px; }
.bo-art .a-sm { font-size: 11px; }
.bo-art .a-1 { fill: var(--ink); font-weight: 500; }
.bo-art .a-3 { fill: var(--ink-3); }
.bo-search.bo-search-wide { max-width: none; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto; }
.bo-search-cat { position: relative; border-left: 1px solid var(--line); border-radius: 0; }
.bo-search select { font: inherit; font-size: 16px; line-height: 24px; height: 24px; border: 0; padding: 0 var(--space-6) 0 0; margin: 0; background: transparent; color: var(--ink); outline: none; width: 100%; -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis; }
.bo-search select option { color: var(--ink); background: var(--paper-100); }
.bo-search-cat::after { content: ""; position: absolute; right: var(--space-4); bottom: 15px; width: 6px; height: 6px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: rotate(45deg); pointer-events: none; }
@media (max-width: 960px) {
  .bo-hero { grid-template-columns: 1fr; }
  .bo-hero-art { display: none; }
}
@media (max-width: 767px) {
  .bo-page { padding: var(--space-8) var(--space-6) var(--space-12); }
  .bo-page-home { padding-top: var(--space-12); }
  .bo-hero-title { font-size: 40px; }
  .bo-search { grid-template-columns: 1fr; }
  .bo-search.bo-search-wide { grid-template-columns: 1fr; }
  .bo-search label + label { border-left: 0; border-top: 1px solid var(--line); }
  .bo-search .bo-btn { justify-content: center; }
}

/* ======================================================================
   Additions for WordPress (not in the design-system bundle)
   ====================================================================== */

/* --- Blocksy bridge: map its palette and typography to the tokens, so every Blocksy surface follows both themes --- */
:root:root {
  --theme-palette-color-1: var(--ink);
  --theme-palette-color-2: var(--ink-2);
  --theme-palette-color-3: var(--ink-2);
  --theme-palette-color-4: var(--ink);
  --theme-palette-color-5: var(--line);
  --theme-palette-color-6: var(--paper-200);
  --theme-palette-color-7: var(--paper-100);
  --theme-palette-color-8: var(--paper-000);
  --theme-text-color: var(--ink);
  --theme-headings-color: var(--ink);
  --theme-link-initial-color: var(--ink);
  --theme-link-hover-color: var(--ink);
  --theme-border-color: var(--line);
  --theme-font-family: var(--font-sans);
  --theme-selection-text-color: var(--marker-ink);
  --theme-selection-background-color: var(--marker);
}
html body { background: var(--paper-000); color: var(--ink); font-family: var(--font-sans); font-size: 14px; line-height: 20px; }
#main-container { background: var(--paper-000); }
html body a:focus-visible, html body button:focus-visible, html body select:focus-visible, html body input:focus-visible, html body summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Blocksy sets a:hover colour; keep component colours on hover */
html body a.bo-btn:hover { color: var(--ink); }
html body a.bo-btn-primary:hover { color: var(--on-ink); }
html body a.bo-btn-ghost:hover { color: var(--ink); }
html body a.bo-row, html body a.bo-row:hover, html body a.bo-card, html body a.bo-card:hover { color: inherit; }
html body .bo-crumbs a, html body .bo-nav a { color: var(--ink-2); }
html body .bo-crumbs a:hover { color: var(--ink); }
.bo-btn, .bo-input { box-sizing: border-box; }
.bo-input { font-family: var(--font-sans); }
select.bo-input { padding-right: var(--space-2); }
html body .bo-btn { font-family: var(--font-sans); }
html body .bo-btn-primary, html body a.bo-btn-primary { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
html body .bo-btn-primary:hover, html body a.bo-btn-primary:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-ink); }

/* --- Header (Blocksy header builder, styled to the Header preview: 64px, hairline, Plex Sans) --- */
body[data-header*="type-1"] .ct-header [data-row*="middle"] { --height: 64px; background-color: var(--paper-000); border-bottom: 1px solid var(--line); }
body[data-header*="type-1"] { --header-height: 64px; }
body[data-header*="type-1"] .ct-header [data-row*="middle"] > div { --theme-border-bottom: none; }
body[data-header*="type-1"] .ct-header [data-id="logo"] .site-title { --theme-font-weight: 600; --theme-font-size: 16px; --theme-line-height: 1.25; --theme-link-initial-color: var(--ink); font-family: var(--font-sans); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; color: var(--ink); }
body[data-header*="type-1"] .ct-header [data-id="logo"] .site-title a { color: var(--ink); display: inline-flex; align-items: center; gap: var(--space-2); text-decoration: none; }
body[data-header*="type-1"] .ct-header [data-id="logo"] .site-title a::before {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='7' height='7'/%3E%3Crect x='9' width='7' height='7'/%3E%3Crect y='9' width='7' height='7'/%3E%3Crect x='10' y='10' width='5' height='5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='7' height='7'/%3E%3Crect x='9' width='7' height='7'/%3E%3Crect y='9' width='7' height='7'/%3E%3Crect x='10' y='10' width='5' height='5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
body[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a { --theme-font-weight: 400; --theme-text-transform: none; --theme-font-size: 14px; --theme-line-height: 20px; --theme-link-initial-color: var(--ink-2); --theme-link-hover-color: var(--ink); font-family: var(--font-sans); font-weight: 400; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--ink-2); }
body[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li > a:hover,
body[data-header*="type-1"] .ct-header [data-id="menu"] > ul > li.current-menu-item > a { color: var(--ink); }
body[data-header*="type-1"] .ct-header [data-id="menu"] { --menu-items-spacing: 24px; }
body[data-header*="type-1"] .ct-header .ct-header-text .entry-content { margin: 0; }
body[data-header*="type-1"] #offcanvas .ct-panel-inner { background-color: var(--paper-000); }
body[data-header*="type-1"] [data-id="mobile-menu"] { --theme-font-weight: 400; --theme-font-size: 18px; --theme-link-initial-color: var(--ink); font-family: var(--font-sans); }
body[data-header*="type-1"] .ct-header .ct-container { max-width: none; padding-inline: var(--space-12); width: 100%; }
body[data-header*="type-1"] [data-id="trigger"] { --theme-icon-color: var(--ink); color: var(--ink); }
.bo-theme-toggle { width: 36px; padding: 0; justify-content: center; color: var(--ink-2); }
.bo-theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bo-theme-toggle .bo-ico-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .bo-theme-toggle .bo-ico-sun { display: block; }
  :root:not([data-theme="light"]) .bo-theme-toggle .bo-ico-moon { display: none; }
}
[data-theme="dark"] .bo-theme-toggle .bo-ico-sun { display: block; }
[data-theme="dark"] .bo-theme-toggle .bo-ico-moon { display: none; }
html:not(.js) .bo-theme-toggle { display: none; }
@media (max-width: 767px) { body[data-header*="type-1"] .ct-header .ct-container { padding-inline: var(--space-6); } }

/* --- Footer --- */
body[data-footer*="type-1"] .ct-footer { background: var(--paper-000); }
body[data-footer*="type-1"] .ct-footer [data-row*="bottom"] { background: var(--paper-000); border-top: 1px solid var(--line); }
body[data-footer*="type-1"] .ct-footer [data-row*="bottom"] > div { border-top: none; padding-block: var(--space-6); }
html body .ct-footer .ct-footer-copyright { font-size: 13px; line-height: 18px; color: var(--ink-2); --theme-text-color: var(--ink-2); --theme-link-initial-color: var(--ink-2); --theme-link-hover-color: var(--ink); }
html body .ct-footer .ct-footer-copyright a { text-decoration: underline; text-underline-offset: 3px; }
html body .ct-footer .ct-footer-copyright a.bo-copyright-home { text-decoration: none; }
html body .ct-footer .ct-footer-copyright a.bo-copyright-home:hover { text-decoration: underline; }

/* --- Page frame --- */
.bo-page-title { margin: 0 0 var(--space-8); font-family: var(--font-display); font-weight: 400; font-size: 48px; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); }
.bo-title { margin: 0 0 var(--space-6); font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.bo-section { margin-top: var(--space-16); scroll-margin-top: var(--space-6); }
.bo-section h2 { scroll-margin-top: var(--space-6); }
.bo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 960px) { .bo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .bo-cards { grid-template-columns: 1fr; } .bo-page-title { font-size: 32px; } }
.bo-form { margin: 0; }
.bo-kbd-slash { position: absolute; right: var(--space-4); top: 50%; transform: translateY(-50%); }
.bo-search input[type="search"] { -webkit-appearance: none; appearance: none; }
.bo-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.bo-search .bo-btn { height: 52px; }
/* Blocksy gives every label a bottom margin (6-7.5px); it put uneven gaps in the search bar and Date posted control and lifted the Sort label */
html body .bo-search label, html body .bo-seg label, html body .bo-results-tools label { margin: 0; }
html body .bo-search input, html body .bo-search input:focus { box-shadow: none; border: 0; background: transparent; height: auto; min-height: 0; padding: 0; color: var(--ink); }
.bo-search label:focus-within { outline: 2px solid var(--focus); outline-offset: -2px; }
html body .bo-search input:focus-visible { outline: none; }
html body .bo-search select, html body .bo-search select:focus { box-shadow: none; border: 0; background: transparent; height: 24px; min-height: 0; padding: 0 var(--space-6) 0 0; color: var(--ink); }
html body .bo-search select:focus-visible { outline: none; }
.bo-title + .bo-cards { margin-top: 0; }
.bo-cat-head { margin-bottom: 0; }
.bo-cat-intro p { margin: 0 0 var(--space-2); }
.bo-cat-family .bo-strip-legend { grid-template-columns: repeat(2, auto); justify-content: end; }

/* --- Results bar, chips, pager, empty state, closed note --- */
.bo-results-tools { display: flex; gap: var(--space-2); align-items: center; }
.bo-results-tools label { color: var(--ink-2); }
.bo-sort { height: 32px; font-size: 13px; }
.bo-chip { text-decoration: none; }
html body a.bo-chip { color: var(--ink); }
.bo-clear { align-self: center; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.bo-filters-head a { text-decoration: underline; text-underline-offset: 3px; }
html body .bo-filters-head a, html body .bo-clear { color: var(--ink-2); }
.bo-filters-close, .bo-filters-apply { display: none; }
html body .bo-hints { margin-top: var(--space-3); }
.bo-pager { display: flex; flex-wrap: wrap; gap: var(--space-1); align-items: center; margin-top: var(--space-6); font-family: var(--font-mono); font-size: 13px; }
.bo-page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; }
.bo-page-link:hover { border-color: var(--line-strong); color: var(--ink); }
.bo-page-link.is-current { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
html body a.bo-page-link.is-current { color: var(--on-ink); }
.bo-page-gap { color: var(--ink-3); padding: 0 var(--space-1); }
.bo-empty { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); padding: var(--space-8); color: var(--ink-2); }
.bo-empty p { margin: 0 0 var(--space-2); }
.bo-empty a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bo-closed { margin: var(--space-6) 0 0; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--negative); }
.bo-closed + h1 { margin-top: var(--space-2); }
.bo-apply-title { font-size: 20px; line-height: 28px; font-weight: 500; }
.bo-job-tags a.bo-tag { text-decoration: none; color: var(--ink); }
.bo-job-tags a.bo-tag-stack { color: var(--ink-2); }
.bo-job-tags a.bo-tag:hover { background: var(--paper-100); box-shadow: inset 0 0 0 1px var(--line-strong); }
.bo-job-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bo-job-body h3, .bo-job-body h4 { margin: var(--space-6) 0 var(--space-2); font-size: 16px; line-height: 24px; font-weight: 500; }
.bo-job-body ol { margin: 0 0 var(--space-4); }
.bo-job-co span:last-child { min-width: 0; }
.bo-row-title { display: block; }
.bo-row-co { min-width: 0; }

/* --- Dialog (shortcuts) --- */
.bo-dialog { border: 1px solid var(--line-strong); border-radius: var(--radius-xl); background: var(--paper-100); color: var(--ink); padding: var(--space-6); box-shadow: var(--shadow-float); max-width: 380px; width: calc(100% - 48px); }
.bo-dialog::backdrop { background: rgba(0, 0, 0, 0.4); }
.bo-dialog h2 { margin: 0 0 var(--space-4); font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.bo-keys { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-4); margin: 0 0 var(--space-6); font-size: 14px; }
.bo-keys dt { display: flex; gap: var(--space-1); }
.bo-keys dd { margin: 0; color: var(--ink-2); }
.bo-dialog form { margin: 0; }

/* --- Hints only where keys exist --- */
@media (hover: none), (max-width: 767px) { html body .bo-hints { display: none; } }

/* --- Sidebar under 960px: full panel, 44px targets, apply button --- */
@media (min-width: 961px) { html.js .bo-filters-apply { display: none; } .bo-filters-apply { display: block; padding-top: var(--space-4); } }
@media (max-width: 960px) {
  .bo-filters.is-open { position: fixed; inset: 0; z-index: 100000; background: var(--paper-000); overflow: auto; max-height: none; padding: var(--space-6); padding-bottom: 96px; box-sizing: border-box; display: flex; }
  .bo-filters.is-open .bo-filters-close { display: inline-flex; }
  .bo-filters-head { align-items: center; gap: var(--space-4); }
  .bo-filters-head h2 { margin-right: auto; }
  .bo-filters.is-open .bo-filters-apply { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: var(--space-4) var(--space-6); background: var(--paper-000); border-top: 1px solid var(--line); }
  .bo-filters.is-open .bo-filters-apply .bo-btn { width: 100%; justify-content: center; height: 48px; }
  .bo-opt { min-height: 44px; }
  .bo-opt input { width: 20px; height: 20px; }
  .bo-more { min-height: 44px; }
  .bo-seg label { height: 44px; }
  .bo-facet .bo-input, .bo-sort, .bo-facet-row select.bo-input { height: 44px; font-size: 16px; }
  .bo-filters-toggle { height: 44px; }
  .bo-filters-head a { min-height: 44px; display: inline-flex; align-items: center; }
  .bo-chip { height: 36px; }
  body.boj-lock { overflow: hidden; }
}
@media (max-width: 767px) {
  .bo-results-bar { align-items: flex-start; }
  .bo-results-tools label { display: none; }
}
.bo-facet legend { margin: 0; }
.bo-page, .bo-form, .bo-browse > section, .bo-list { min-width: 0; }
@media (max-width: 960px) { .bo-browse { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .bo-row { grid-template-columns: minmax(0, 1fr) auto; }
  .bo-search { max-width: 100%; }
  .bo-hero-title { overflow-wrap: break-word; }
}

/* ======================================================================
   Templates release: content pages, Job list, categories index, 404, menus, footer
   ====================================================================== */

/* --- Reading column (default page, Job list intro) --- */
.bo-reading { max-width: 68ch; margin-inline: auto; font-size: 16px; line-height: 26px; }
.bo-reading .bo-page-title { margin-bottom: var(--space-6); }
.bo-page-intro { margin-inline: 0; margin-bottom: var(--space-8); }
.bo-page-intro .bo-prose { color: var(--ink-2); }
.bo-lead { margin: calc(var(--space-4) * -1) 0 var(--space-8); max-width: 60ch; font-size: 18px; line-height: 28px; color: var(--ink-2); }

/* --- [boj_jobs] --- */
.bo-jobs-more { margin: var(--space-4) 0 0; font-size: 14px; line-height: 20px; }
html body .bo-jobs-more a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* --- Categories index: DomainCard, then its child categories --- */
.bo-cat-index { align-items: start; }
.bo-cat-block { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.bo-subcat-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); overflow: hidden; }
.bo-subcat-list li { margin: 0; border-bottom: 1px solid var(--line); }
.bo-subcat-list li:last-child { border-bottom: 0; }
html body .bo-subcat-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 36px; padding: var(--space-2) var(--space-4); box-sizing: border-box; font-size: 14px; line-height: 20px; color: var(--ink-2); text-decoration: none; }
html body .bo-subcat-list a:hover { background: var(--paper-200); color: var(--ink); }
.bo-subcat-list .bo-num { font-size: 13px; color: var(--ink-3); }
.bo-subcat-list a:focus-visible { outline-offset: -2px; }
@media (hover: none) { html body .bo-subcat-list a { min-height: 44px; } }

/* --- 404 --- */
.bo-404-title { margin-top: var(--space-12); }
.bo-linklist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.bo-linklist li { margin: 0; }
.bo-linklist .bo-chip { min-height: 32px; }
@media (hover: none) { .bo-linklist .bo-chip { min-height: 44px; } }

/* --- Header dropdowns (Blocksy menu, simple dropdown): paper surface, hairline, shadow-float, Plex Sans, focus rings --- */
body[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu {
  --dropdown-width: 240px;
  min-width: 240px; padding: var(--space-2) 0; box-sizing: border-box;
  background: var(--paper-100); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float); font-family: var(--font-sans);
}
body[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a {
  --theme-font-weight: 400; --theme-font-size: 14px; --theme-line-height: 20px; --theme-text-transform: none;
  --theme-link-initial-color: var(--ink-2); --theme-link-hover-color: var(--ink);
  display: block; padding: var(--space-2) var(--space-4); min-height: 36px; box-sizing: border-box;
  font-family: var(--font-sans); font-weight: 400; font-size: 14px; line-height: 20px; letter-spacing: 0; text-transform: none; color: var(--ink-2); border: 0;
}
body[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a:hover,
body[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu .current-menu-item > a { background: var(--paper-200); color: var(--ink); }
body[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: var(--radius-sm); }
body[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu li { border: 0; }
body[data-header*="type-1"] .ct-header [data-id="menu"] .ct-toggle-dropdown-desktop-ghost:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 767px) { body[data-header*="type-1"] .ct-header [data-id="menu"] .sub-menu a { min-height: 44px; } }
/* Mobile panel: nested items */
body[data-header*="type-1"] #offcanvas [data-id="mobile-menu"] .sub-menu a { font-size: 16px; --theme-font-size: 16px; color: var(--ink-2); }
body[data-header*="type-1"] #offcanvas [data-id="mobile-menu"] a:focus-visible,
body[data-header*="type-1"] #offcanvas .ct-toggle-dropdown-mobile:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* --- Footer: 4 link columns (Blocksy footer builder + Navigation Menu widgets) --- */
body[data-footer*="type-1"] .ct-footer [data-row*="middle"] { background: var(--paper-000); border-top: 1px solid var(--line); }
html body .ct-footer .widget-title { margin: 0 0 var(--space-3); font-family: var(--font-sans); font-weight: 500; font-size: 13px; line-height: 18px; letter-spacing: 0; text-transform: none; color: var(--ink); --theme-font-size: 13px; }
html body .ct-footer .widget-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
html body .ct-footer .widget-menu li { margin: 0; padding: 0; }
html body .ct-footer .widget-menu a { display: inline-block; padding: 6px 0; font-family: var(--font-sans); font-size: 14px; line-height: 20px; color: var(--ink-2); text-decoration: none; --theme-link-initial-color: var(--ink-2); --theme-link-hover-color: var(--ink); }
html body .ct-footer .widget-menu a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
html body .ct-footer .widget-menu .current-menu-item > a { color: var(--ink); }
@media (hover: none), (max-width: 767px) { html body .ct-footer .widget-menu a { padding: 12px 0; } }
/* Footer column 1: site logo (same wordmark + mark as the header), then the BigOpsJobs menu */
html body .ct-footer .bo-footer-logo { display: inline-flex; align-items: center; gap: var(--space-2); margin: 0 0 10px; font-family: var(--font-sans); font-weight: 600; font-size: 16px; line-height: 20px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; --theme-link-initial-color: var(--ink); --theme-link-hover-color: var(--ink); }
html body .ct-footer .bo-footer-logo::before {
  content: ""; width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='7' height='7'/%3E%3Crect x='9' width='7' height='7'/%3E%3Crect y='9' width='7' height='7'/%3E%3Crect x='10' y='10' width='5' height='5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect width='7' height='7'/%3E%3Crect x='9' width='7' height='7'/%3E%3Crect y='9' width='7' height='7'/%3E%3Crect x='10' y='10' width='5' height='5' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
html body .ct-footer .bo-footer-logo:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Logo row (20px) + 10px = title row (18px) + 12px, so the first links line up across columns; Blocksy puts 40px above each next widget */
html body .ct-footer .ct-widget:has(> .bo-footer-logo) + .ct-widget { margin-top: 0; }
/* Footer columns align with the page container (1200px, 48px padding; 24px on phones) */
body[data-footer*="type-1"] .ct-footer .ct-container { max-width: 1200px; width: 100%; box-sizing: border-box; padding-inline: var(--space-12); margin-inline: auto; }
@media (max-width: 767px) { body[data-footer*="type-1"] .ct-footer .ct-container { padding-inline: var(--space-6); } }

/* ======================================================================
   My account: log in, sign up, dashboard, section pages, bookmark control
   ====================================================================== */
.bo-reading.bo-reading-wide { max-width: 960px; margin-inline: 0; }
.bo-auth { max-width: 420px; }
.bo-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--space-6); }
html body .bo-auth-tabs a { display: flex; align-items: center; justify-content: center; height: 40px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-left: 1px solid var(--line); }
html body .bo-auth-tabs a:first-child { border-left: 0; }
html body .bo-auth-tabs a:hover { background: var(--paper-200); color: var(--ink); }
html body .bo-auth-tabs a[aria-current="page"] { background: var(--ink); color: var(--on-ink); }
.bo-auth-tabs a:focus-visible { outline-offset: -2px; }
.bo-form-stack { display: flex; flex-direction: column; gap: var(--space-4); }
.bo-form-stack .bo-field { min-width: 0; }
html body .bo-form-stack label, html body .bo-choice-opt, html body .bo-field label { margin: 0; }
html body .bo-form-stack .bo-input { width: 100%; height: 44px; font-size: 16px; }
.bo-form-stack .bo-btn { justify-content: center; }
.bo-form-stack .bo-help { margin: 0; }
html body .bo-form-stack .bo-help a, html body .bo-acct-prompt a:not(.bo-btn) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.bo-form-error { margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--negative); border-radius: var(--radius-md); background: var(--paper-100); color: var(--negative); font-size: 14px; line-height: 20px; }
.bo-choice { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.bo-choice legend { padding: 0 0 6px; }
.bo-choice-opt { display: flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: 0 var(--space-4); box-sizing: border-box; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--paper-100); font-size: 14px; color: var(--ink); cursor: pointer; }
.bo-choice-opt input { margin: 0; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.bo-choice-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bo-choice-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.bo-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bo-acct-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-8); flex-wrap: wrap; }
.bo-acct-hello { margin: 0; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--ink); }
.bo-acct-head .bo-help { margin: 0; }
.bo-acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
html body a.bo-acct-card { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4) var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); color: var(--ink); text-decoration: none; transition: border-color 140ms cubic-bezier(0.22,1,0.36,1); }
html body a.bo-acct-card:hover { border-color: var(--line-strong); color: var(--ink); }
.bo-acct-card-title { font-size: 16px; line-height: 24px; font-weight: 500; }
.bo-acct-card-text { font-size: 13px; line-height: 18px; color: var(--ink-2); }
.bo-acct-prompt { padding: var(--space-8); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); max-width: 520px; }
.bo-acct-prompt p { margin: 0 0 var(--space-4); }
.bo-acct-prompt .bo-acct-prompt-actions { margin: 0; display: flex; gap: var(--space-2); flex-wrap: wrap; }
/* Save job (single job page) */
.bo-save { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; }
.bo-save form { margin: 0; }
.bo-save .bo-btn { justify-content: center; }
.bo-save .bo-help { margin: 0; }
html body .bo-save a.bo-help { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
html body .bo-save a.bo-btn-saved { background: var(--paper-100); }
.bo-btn-saved svg { fill: currentColor; }
@media (max-width: 767px) {
  .bo-acct-grid { grid-template-columns: 1fr; }
  .bo-auth { max-width: none; }
}

/* --- WP Job Manager, Resume Manager, Alerts, Bookmarks: forms, tables, messages (their own CSS is not loaded) --- */
html body .bo-reading-wide { --wf: html body .bo-reading-wide; }
html body .bo-reading-wide .job-manager-form fieldset { margin: 0 0 var(--space-4); padding: 0; border: 0; min-width: 0; }
html body .bo-reading-wide .job-manager-form fieldset > label,
html body .bo-reading-wide .job-manager-form legend { display: block; margin: 0 0 6px; padding: 0; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink); float: none; width: auto; }
html body .bo-reading-wide .job-manager-form label small { font-weight: 400; color: var(--ink-3); }
html body .bo-reading-wide .job-manager-form .field { margin: 0; padding: 0; width: 100%; float: none; }
html body .bo-reading-wide .job-manager-form fieldset { display: block; }
html body .bo-reading-wide input.input-text, html body .bo-reading-wide input[type="text"], html body .bo-reading-wide input[type="email"], html body .bo-reading-wide input[type="url"],
html body .bo-reading-wide input[type="password"], html body .bo-reading-wide input[type="number"], html body .bo-reading-wide input[type="date"], html body .bo-reading-wide input[type="search"],
html body .bo-reading-wide textarea, html body .bo-reading-wide select { font: inherit; font-size: 14px; line-height: 20px; width: 100%; box-sizing: border-box; height: 40px; padding: 0 var(--space-3); border-radius: var(--radius-md); border: 1px solid var(--line-strong); background: var(--paper-100); color: var(--ink); box-shadow: none; }
html body .bo-reading-wide textarea { height: auto; min-height: 96px; padding: var(--space-2) var(--space-3); }
html body .bo-reading-wide input::placeholder, html body .bo-reading-wide textarea::placeholder { color: var(--ink-3); }
html body .bo-reading-wide input[type="checkbox"], html body .bo-reading-wide input[type="radio"] { width: 16px; height: 16px; margin: 0 var(--space-2) 0 0; accent-color: var(--ink); vertical-align: -3px; }
html body .bo-reading-wide .job-manager-form small.description { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--ink-3); }
html body .bo-reading-wide .job-manager-form h2 { margin: var(--space-8) 0 var(--space-4); font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
html body .bo-reading-wide .job-manager-form input[type="file"] { font: inherit; font-size: 13px; width: auto; height: auto; padding: var(--space-2) 0; border: 0; background: transparent; }
html body .bo-reading-wide .job-manager-uploaded-files { margin: 0 0 var(--space-2); padding: 0; list-style: none; }
/* Buttons */
html body .bo-reading-wide :is(.button, input[type="submit"], button[type="submit"], .job-manager-add-row, a.button):not(.bo-btn) { font: inherit; font-weight: 500; font-size: 14px; line-height: 20px; height: 36px; padding: 0 var(--space-4); display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; border-radius: var(--radius-md); border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink); cursor: pointer; text-decoration: none; width: auto; box-shadow: none; }
html body .bo-reading-wide :is(.button, input[type="submit"], button[type="submit"]):not(.bo-btn):hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-ink); }
html body .bo-reading-wide :is(.account-sign-in .button, .job-manager-add-row, input[name="save_draft"], .job-manager-remove-uploaded-file) { background: var(--paper-200); border-color: var(--line-strong); color: var(--ink); }
html body .bo-reading-wide :is(.account-sign-in .button, .job-manager-add-row, input[name="save_draft"]):hover { background: var(--paper-100); border-color: var(--ink-3); color: var(--ink); }
html body .bo-reading-wide .job-manager-form input[type="submit"] + input[type="submit"] { margin-left: var(--space-2); }
/* Messages */
html body .bo-reading-wide :is(.job-manager-message, .job-manager-error, .job-manager-info, .woocommerce-message) { margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--paper-100); color: var(--ink); font-size: 14px; line-height: 20px; }
html body .bo-reading-wide .job-manager-error { border-color: var(--negative); color: var(--negative); }
html body .bo-reading-wide :is(.account-sign-in) { font-size: 14px; }
html body .bo-reading-wide .job-manager-form fieldset.fieldset-logged_in { margin-bottom: var(--space-6); }
/* Tables: dashboards, bookmarks, alerts */
html body .bo-reading-wide table { display: block; overflow-x: auto; width: 100%; max-width: 100%; margin: 0 0 var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); border-collapse: collapse; }
html body .bo-reading-wide table thead, html body .bo-reading-wide table tbody { display: table; width: 100%; table-layout: auto; }
html body .bo-reading-wide table th { padding: var(--space-2) var(--space-4); text-align: left; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--ink-3); border: 0; border-bottom: 1px solid var(--line); background: transparent; }
html body .bo-reading-wide table td { padding: var(--space-3) var(--space-4); border: 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink); vertical-align: top; background: transparent; }
html body .bo-reading-wide table tr:last-child td { border-bottom: 0; }
html body .bo-reading-wide table td a, html body .bo-reading-wide .job-manager-pagination a, html body .bo-reading-wide .job-manager-form a:not(.button) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
html body .bo-reading-wide table ul { margin: var(--space-1) 0 0; padding: 0; list-style: none; display: flex; gap: var(--space-3); flex-wrap: wrap; font-size: 13px; }
html body .bo-reading-wide table ul li { margin: 0; }
html body .bo-reading-wide table img { width: 32px; height: 32px; object-fit: contain; vertical-align: middle; margin-right: var(--space-2); float: none; }
html body .bo-reading-wide table .job-manager-bookmark-actions { visibility: visible; }
html body .bo-reading-wide table .job-manager-bookmark-action-delete { color: var(--negative); }
html body .bo-reading-wide .job-manager-pagination { margin: var(--space-4) 0; }
html body .bo-reading-wide .job-manager-pagination ul { display: flex; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
/* Resume list */
html body .bo-reading-wide ul.resumes { list-style: none; margin: 0 0 var(--space-4); padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); overflow: hidden; }
html body .bo-reading-wide ul.resumes li { margin: 0; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); }
html body .bo-reading-wide ul.resumes li:last-child { border-bottom: 0; }
html body .bo-reading-wide ul.resumes a { color: var(--ink); text-decoration: none; }
html body .bo-reading-wide .resume_filters, html body .bo-reading-wide .search_resumes { margin-bottom: var(--space-4); }
html body .bo-reading-wide .search_resumes .search_keywords, html body .bo-reading-wide .search_resumes .search_location { margin: 0 0 var(--space-3); }
html body .bo-reading-wide .search_resumes label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 500; }
html body .bo-reading-wide .resume_filters .search_submit { display: none; }
/* Select2 (its own CSS is dequeued) */
.select2-hidden-accessible { border: 0 !important; clip: rect(0 0 0 0) !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; width: 1px !important; }
.select2-container { display: block; width: 100%; position: relative; box-sizing: border-box; }
.select2-selection { box-sizing: border-box; min-height: 40px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--paper-100); cursor: text; }
.select2-selection--single { display: flex; align-items: center; cursor: pointer; }
.select2-selection__rendered { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1); margin: 0; padding: 4px var(--space-2); list-style: none; width: 100%; box-sizing: border-box; font-size: 14px; color: var(--ink); }
.select2-selection--single .select2-selection__rendered { padding: 0 var(--space-3); }
.select2-selection__arrow { display: none; }
.select2-selection__choice { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 6px; border-radius: var(--radius-sm); background: var(--paper-200); font-size: 13px; }
.select2-selection__choice__remove { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink-2); font-size: 14px; line-height: 1; }
.select2-search--inline { flex: 1 1 120px; margin: 0; }
html body .select2-search__field, html body .select2-dropdown .select2-search__field { border: 0 !important; box-shadow: none !important; background: transparent !important; width: 100% !important; height: 28px !important; padding: 0 !important; font: inherit; font-size: 14px; color: var(--ink); outline: none; }
.select2-dropdown { background: var(--paper-100); border: 1px solid var(--line-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-float); overflow: hidden; z-index: 100000; }
.select2-container--open .select2-dropdown { position: absolute; left: 0; right: 0; }
.select2-dropdown .select2-search--dropdown { padding: var(--space-2); }
.select2-results__options { margin: 0; padding: var(--space-1) 0; list-style: none; max-height: 260px; overflow-y: auto; }
.select2-results__option { margin: 0; padding: 6px var(--space-3); font-size: 14px; line-height: 20px; color: var(--ink); cursor: pointer; }
.select2-results__option--highlighted, .select2-results__option[aria-selected="true"] { background: var(--paper-200); }
.select2-container--open .select2-dropdown--below { top: 100%; }
@media (max-width: 767px) { html body .bo-reading-wide .job-manager-form h2 { font-size: 24px; } }
html body .select2-selection { display: block; }
html body .select2-selection__rendered { padding: 4px var(--space-2); margin: 0; }
html body .select2-selection--single .select2-selection__rendered { padding: 0 var(--space-3); }
html body .select2-selection__rendered > li, html body .select2-results__options > li { list-style: none; margin-left: 0; }
html body .select2-search--inline { display: block; }
html body .select2-search__field:focus-visible { outline: none; }
html body .select2-selection:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
html body .bo-reading-wide table th { text-transform: none; letter-spacing: 0; }
html body .bo-reading-wide table :is(.button, button) { white-space: nowrap; max-width: none; }
html body .bo-reading-wide table ul.job-manager-bookmark-actions { visibility: visible !important; }
html body .bo-choice legend { display: block; float: none; width: auto; margin: 0; padding: 0 0 6px; }
html body .bo-form-stack .bo-opt input { margin: 0; }
html body a.bo-btn { text-decoration: none; }

/* ======================================================================
   Packages, featured jobs, WooCommerce (cart, checkout, orders, notices)
   WooCommerce's own front-end CSS is off (woocommerce_enqueue_styles); Blocksy's Woo layout stays.
   ====================================================================== */
/* Featured: a quiet highlighter tag, the one marker use on a row */
.bo-tag-featured { background: var(--marker-soft); color: var(--ink); }
.bo-row:hover .bo-tag-featured, .bo-row[aria-selected="true"] .bo-tag-featured { background: var(--marker-soft); }
.bo-job-tags .bo-tag-featured { font-family: var(--font-mono); }

/* Package picker on /post-a-job/ */
html body .bo-reading-wide .job_listing_packages_title { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-direction: row-reverse; margin: 0 0 var(--space-4); }
html body .bo-reading-wide .job_listing_packages_title h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
html body .bo-reading-wide ul.bo-packages { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
html body .bo-reading-wide ul.bo-packages li { margin: 0; padding: 0; }
html body .bo-reading-wide ul.bo-packages .package-section { margin: var(--space-2) 0 0; font-size: 13px; line-height: 18px; color: var(--ink-3); }
.bo-pkg { position: relative; }
.bo-pkg input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
html body .bo-reading-wide .bo-pkg label { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: var(--space-3) var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--paper-100); cursor: pointer; }
html body .bo-reading-wide .bo-pkg label:hover { border-color: var(--ink-3); }
html body .bo-reading-wide .bo-pkg input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
html body .bo-reading-wide .bo-pkg input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.bo-pkg-head { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.bo-pkg-title { font-size: 16px; line-height: 24px; font-weight: 500; color: var(--ink); }
.bo-pkg-price { margin-left: auto; font-size: 16px; line-height: 24px; color: var(--ink); }
.bo-pkg-price .woocommerce-Price-amount { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.bo-pkg-text { font-size: 13px; line-height: 18px; color: var(--ink-2); }

/* Notices */
html body :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice) { margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--paper-100); color: var(--ink); font-size: 14px; line-height: 20px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
html body .woocommerce-error { border-color: var(--negative); color: var(--negative); display: block; }
html body :is(.woocommerce-message, .woocommerce-info) a.button { order: 2; }
html body .woocommerce-error li { margin: 0; }
html body .woocommerce-message::before, html body .woocommerce-info::before, html body .woocommerce-error::before { display: none; }

/* Buttons and fields in Woo pages */
html body :is(.woocommerce, .woocommerce-page) :is(a.button, button.button, input.button, #place_order):not(.bo-btn) { font: inherit; font-weight: 500; font-size: 14px; line-height: 20px; min-height: 36px; padding: 0 var(--space-4); display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; border-radius: var(--radius-md); border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink); cursor: pointer; text-decoration: none; box-shadow: none; text-transform: none; letter-spacing: 0; }
html body :is(.woocommerce, .woocommerce-page) :is(a.button, button.button, input.button, #place_order):not(.bo-btn):hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-ink); }
html body #place_order { width: 100%; height: 48px; font-size: 16px; }
html body .woocommerce form .form-row { margin: 0 0 var(--space-4); padding: 0; }
html body .woocommerce form .form-row label { display: block; margin: 0 0 6px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink); }
html body .woocommerce form .form-row .required { color: var(--negative); text-decoration: none; }
html body .woocommerce form .form-row :is(input.input-text, textarea, select) { width: 100%; box-sizing: border-box; height: 40px; padding: 0 var(--space-3); border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--paper-100); color: var(--ink); font: inherit; font-size: 14px; box-shadow: none; }
html body .woocommerce form .form-row .select2-selection { min-height: 40px; }
html body .woocommerce-checkout h3 { margin: 0 0 var(--space-4); font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
html body .woocommerce-privacy-policy-text { font-size: 13px; line-height: 18px; color: var(--ink-3); }
html body .woocommerce-privacy-policy-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
html body #payment { background: transparent; border-radius: 0; }
html body #payment ul.payment_methods { list-style: none; margin: 0 0 var(--space-4); padding: 0; border: 0; }
html body #payment ul.payment_methods li { margin: 0; padding: 0; }
html body #payment div.payment_box { background: var(--paper-100); color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); }
html body #payment div.payment_box::before { display: none; }

/* Order review, cart, orders and order details tables */
html body :is(.woocommerce table.shop_table, .woocommerce-table) { width: 100%; max-width: 100%; margin: 0 0 var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); border-collapse: separate; border-spacing: 0; overflow: hidden; }
html body :is(.woocommerce table.shop_table, .woocommerce-table) :is(th, td) { padding: var(--space-3) var(--space-4); border: 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink); text-align: left; vertical-align: top; background: transparent; text-transform: none; letter-spacing: 0; }
html body :is(.woocommerce table.shop_table, .woocommerce-table) thead th { font-size: 12px; line-height: 16px; font-weight: 400; color: var(--ink-3); }
html body :is(.woocommerce table.shop_table, .woocommerce-table) tr:last-child :is(th, td) { border-bottom: 0; }
html body :is(.woocommerce table.shop_table, .woocommerce-table) tfoot th { font-weight: 500; }
html body .woocommerce table.shop_table td a:not(.button) { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
html body .woocommerce table.shop_table .amount, html body .woocommerce-table .amount { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
html body .woocommerce table.shop_table td.actions, html body .woocommerce-orders-table__cell-order-actions { white-space: nowrap; }
html body .woocommerce-orders-table__cell-order-actions .button { margin: 0 var(--space-1) var(--space-1) 0; min-height: 32px; font-size: 13px; }
html body .woocommerce table.shop_table dl.variation { margin: var(--space-1) 0 0; font-size: 13px; color: var(--ink-2); }
html body .woocommerce table.shop_table dl.variation :is(dt, dd) { display: inline; margin: 0; }
html body .woocommerce table.shop_table dl.variation dd p { display: inline; margin: 0; }
html body .woocommerce-checkout-review-order { padding: var(--space-6); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-000); }
html body .woocommerce-checkout-review-order table.shop_table { border: 0; background: transparent; }
html body .woocommerce-checkout #order_review_heading { margin-top: 0; }
html body .woocommerce-order-overview { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: flex; gap: var(--space-6); flex-wrap: wrap; font-size: 13px; color: var(--ink-3); }
html body .woocommerce-order-overview li { margin: 0; padding: 0; border: 0; }
html body .woocommerce-order-overview strong { display: block; font-size: 14px; font-weight: 500; color: var(--ink); }
html body .woocommerce-thankyou-order-received { font-size: 16px; line-height: 24px; color: var(--ink); margin: 0 0 var(--space-4); }
html body .woocommerce-column__title, html body .woocommerce-order-details__title { margin: var(--space-6) 0 var(--space-3); font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; }
html body .woocommerce-customer-details address { font-style: normal; font-size: 14px; line-height: 22px; padding: var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); }
/* Orders & invoices: no side menu column */
html body .woocommerce.ct-woo-account { display: block; }
html body .ct-woo-account .ct-acount-nav { display: none; }
html body .ct-woo-account .woocommerce-MyAccount-content { width: 100%; float: none; max-width: none; }
@media (max-width: 767px) {
  html body .woocommerce-checkout-review-order { padding: var(--space-4); }
  html body :is(.woocommerce table.shop_table, .woocommerce-table) :is(th, td) { padding: var(--space-2) var(--space-3); }
  .bo-pkg-price { margin-left: 0; }
}
html body .woocommerce-orders-table__header, html body .woocommerce-orders-table__header .nobr { text-align: left; }
html body .bo-reading-wide :is(.job_listing_packages_title, .job_listing_packages) { background: transparent; border: 0; padding: 0; box-shadow: none; }
html body .bo-reading-wide .bo-pkg-text, html body .bo-reading-wide .bo-pkg-text * { font-weight: 400; }
html body .bo-form-error a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Single resume */
.bo-resume .bo-job-body { margin-top: var(--space-6); }
.bo-resume-sec { margin-top: var(--space-8); max-width: 68ch; }
.bo-resume-sec h2 { margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.bo-resume-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); }
.bo-resume-list li { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: var(--space-4); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); }
.bo-resume-list li:last-child { border-bottom: 0; }
.bo-resume-date { font-size: 13px; line-height: 20px; color: var(--ink-3); }
.bo-resume-what { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink); }
.bo-resume-notes { font-size: 14px; line-height: 22px; color: var(--ink-2); }
.bo-resume-notes p { margin: var(--space-1) 0 0; }
.bo-apply .resume_contact { margin: 0; }
.bo-apply .resume_contact_details { margin-top: var(--space-3); font-size: 14px; line-height: 22px; word-break: break-word; }
.bo-apply .resume_contact_details a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
html body .bo-apply :is(.resume_contact_button, input[type="button"].resume_contact_button) { width: 100%; height: 48px; font: inherit; font-size: 16px; font-weight: 500; border: 1px solid var(--ink); border-radius: var(--radius-md); background: var(--ink); color: var(--on-ink); cursor: pointer; }
html body .bo-apply :is(.resume_contact_button):hover { background: var(--ink-2); border-color: var(--ink-2); }
.bo-apply ul.resume-links, .bo-apply .resume-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-1); font-size: 14px; }
.bo-apply ul.resume-links li, .bo-apply .resume-links li { margin: 0; }
html body .bo-apply .resume-links a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .bo-resume-list li { grid-template-columns: 1fr; gap: var(--space-1); } }

/* --- Tables: real tables on desktop, stacked rows on phones (replaces the earlier block-table hack) --- */
html body .bo-reading-wide table { display: table; overflow: hidden; border-collapse: separate; border-spacing: 0; table-layout: auto; }
html body .bo-reading-wide table thead { display: table-header-group; width: auto; }
html body .bo-reading-wide table tbody { display: table-row-group; width: auto; }
html body .bo-reading-wide table tfoot { display: table-footer-group; }
html body .bo-reading-wide table tfoot td { border-top: 1px solid var(--line); border-bottom: 0; }
html body .bo-reading-wide table tr:last-child td { border-bottom: 0; }
html body .bo-reading-wide table tbody tr:last-child td { border-bottom: 1px solid var(--line); }
html body .bo-reading-wide table tbody:last-child tr:last-child td { border-bottom: 0; }
/* Row actions: Candidate dashboard, Bookmarks. Visible, not on hover. */
html body .bo-reading-wide table ul[class*="-actions"] { visibility: visible !important; margin: var(--space-1) 0 0; padding: 0; list-style: none; display: flex; gap: var(--space-3); flex-wrap: wrap; font-size: 13px; line-height: 18px; }
html body .bo-reading-wide table ul[class*="-actions"] li { margin: 0; padding: 0; }
html body .bo-reading-wide table ul[class*="-actions"] li::after { content: none; }
html body .bo-reading-wide table ul[class*="-actions"] a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
html body .bo-reading-wide table ul[class*="-actions"] a:hover { color: var(--ink); }
html body .bo-reading-wide table :is(.candidate-dashboard-action-delete, .job-manager-bookmark-action-delete, .job-manager-bookmark-actions .job-manager-bookmark-action-delete) { color: var(--negative); }
html body .bo-reading-wide table tfoot a { font-weight: 500; }

/* --- Job dashboard (WPJM 2.4 dashboard: div grid) --- */
.jm-dashboard__intro { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.jm-dashboard__filters form { margin: 0; }
html body .jm-dashboard__filters input[type="search"] { width: 260px; max-width: 100%; height: 40px; padding: 0 var(--space-3) 0 36px; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--paper-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366615a' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 12px center / 16px no-repeat; color: var(--ink); font: inherit; font-size: 14px; box-sizing: border-box; box-shadow: none; }
html body .bo-reading-wide a.jm-ui-button { font: inherit; font-weight: 500; font-size: 14px; height: 36px; padding: 0 var(--space-4); display: inline-flex; align-items: center; border-radius: var(--radius-md); border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink); text-decoration: none; }
html body .bo-reading-wide a.jm-ui-button:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-ink); }
.jm-dashboard-table { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper-100); }
.jm-dashboard-header, .jm-dashboard-job { display: grid; grid-template-columns: minmax(0, 1fr) 160px 120px 200px; gap: var(--space-4); align-items: start; padding: var(--space-3) var(--space-4); }
.jm-dashboard-header { align-items: center; padding-block: var(--space-2); border-bottom: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; font-size: 12px; line-height: 16px; color: var(--ink-3); }
.jm-dashboard-header .jm-dashboard-job-column-label { font-weight: 400; }
.jm-dashboard-job .company img { display: block; width: 40px; height: 40px; object-fit: contain; border-radius: var(--radius-md); }
.jm-dashboard-header .actions { text-align: right; }
.jm-dashboard-job { border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--ink); }
.jm-dashboard-job:last-child { border-bottom: 0; }
.jm-dashboard-job .jm-dashboard-job-column-label { display: none; }
.jm-dashboard-job-column { min-width: 0; }
.jm-dashboard-job .job-company { font-size: 13px; line-height: 18px; color: var(--ink-2); }
html body .jm-dashboard-job a.job-title { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--ink); text-decoration: none; }
html body .jm-dashboard-job a.job-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.jm-dashboard-job .job-status { font-size: 13px; line-height: 18px; color: var(--ink-3); }
.jm-dashboard-job small { font-size: 13px; line-height: 18px; color: var(--ink-3); }
.jm-dashboard-job .job-expires { margin-top: 2px; }
.jm-dashboard-job .job-dashboard-job-actions { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-2); }
html body .jm-dashboard-job a.jm-dashboard-action--primary { font: inherit; font-weight: 500; font-size: 13px; line-height: 18px; height: 32px; padding: 0 var(--space-3); display: inline-flex; align-items: center; white-space: nowrap; border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--paper-200); color: var(--ink); text-decoration: none; }
html body .jm-dashboard-job a.jm-dashboard-action--primary:hover { background: var(--paper-100); border-color: var(--ink-3); }
.jm-ui-actions-menu { position: relative; }
.jm-ui-actions-menu > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid transparent; border-radius: var(--radius-md); color: var(--ink-2); cursor: pointer; }
.jm-ui-actions-menu > summary::-webkit-details-marker { display: none; }
.jm-ui-actions-menu > summary::before { content: "\22EF"; font-size: 20px; line-height: 1; }
.jm-ui-actions-menu > summary .jm-ui-button__icon { display: none; }
.jm-ui-actions-menu > summary:hover, .jm-ui-actions-menu[open] > summary { background: var(--paper-200); color: var(--ink); }
.jm-ui-actions-menu > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.jm-ui-action-menu__content { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; min-width: 168px; padding: var(--space-1) 0; display: flex; flex-direction: column; background: var(--paper-100); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-float); }
html body .jm-ui-action-menu__content a { display: block; padding: var(--space-2) var(--space-4); min-height: 36px; box-sizing: border-box; font-size: 14px; line-height: 20px; color: var(--ink-2); text-decoration: none; }
html body .jm-ui-action-menu__content a:hover { background: var(--paper-200); color: var(--ink); }
html body .jm-ui-action-menu__content a.job-dashboard-action-delete { color: var(--negative); }

/* Phones: stacked rows */
@media (max-width: 767px) {
  .jm-dashboard__intro { flex-direction: column; align-items: stretch; }
  html body .jm-dashboard__filters input[type="search"] { width: 100%; }
  html body .bo-reading-wide a.jm-ui-button { justify-content: center; height: 44px; }
  .jm-dashboard-header { display: none; }
  .jm-dashboard-job { grid-template-columns: 1fr; gap: var(--space-2); }
  .jm-dashboard-job .jm-dashboard-job-column-label { display: inline; color: var(--ink-3); font-size: 13px; }
  .jm-dashboard-job .jm-dashboard-job-column-label::after { content: ": "; }
  .jm-dashboard-job .job_title .jm-dashboard-job-column-label { display: none; }
  .jm-dashboard-job .date > div:not(.jm-dashboard-job-column-label), .jm-dashboard-job .stats > div:not(.jm-dashboard-job-column-label) { display: inline; }
  .jm-dashboard-job .job-dashboard-job-actions { justify-content: flex-start; }
  html body .jm-dashboard-job a.jm-dashboard-action--primary { height: 44px; }
  .jm-ui-actions-menu > summary { width: 44px; height: 44px; }
  .jm-ui-action-menu__content { right: auto; left: 0; }
  /* Resume and bookmark tables */
  html body .bo-reading-wide table, html body .bo-reading-wide table :is(thead, tbody, tfoot, tr, th, td) { display: block; width: auto; }
  html body .bo-reading-wide table thead { display: none; }
  html body .bo-reading-wide table tbody tr { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
  html body .bo-reading-wide table tbody tr:last-child { border-bottom: 0; }
  html body .bo-reading-wide table :is(td) { padding: 2px var(--space-4); border: 0 !important; }
  html body .bo-reading-wide table td.candidate-title::before { content: "Title: "; color: var(--ink-3); }
  html body .bo-reading-wide table td.candidate-location::before { content: "Location: "; color: var(--ink-3); }
  html body .bo-reading-wide table td.candidate-location span { display: inline; }
  html body .bo-reading-wide table td.date::before { content: "Date: "; color: var(--ink-3); }
  html body .bo-reading-wide table tfoot td { padding: var(--space-3) var(--space-4); border-top: 1px solid var(--line) !important; }
}

/* Job dashboard: WPJM's own dashboard stylesheet loads late, so the layout rules need more weight */
html body .bo-reading-wide .jm-dashboard-header, html body .bo-reading-wide .jm-dashboard-job { display: grid !important; grid-template-columns: minmax(0, 1fr) 160px 120px 200px !important; gap: var(--space-4) !important; align-items: start; padding: var(--space-3) var(--space-4) !important; margin: 0 !important; border: 0 !important; }
/* WPJM adds a Company (logo) column first when the user's jobs have more than one company. */
html body .bo-reading-wide .jm-dashboard-header:has(> .company), html body .bo-reading-wide .jm-dashboard-job:has(> .company) { grid-template-columns: 40px minmax(0, 1fr) 160px 120px 200px !important; }
html body .bo-reading-wide .jm-dashboard-header { align-items: center; padding-block: var(--space-2) !important; border-bottom: 1px solid var(--line) !important; background: transparent !important; text-transform: none !important; letter-spacing: 0 !important; }
html body .bo-reading-wide .jm-dashboard-job { border-bottom: 1px solid var(--line) !important; background: transparent !important; }
html body .bo-reading-wide .jm-dashboard-job:last-child { border-bottom: 0 !important; }
html body .bo-reading-wide .jm-dashboard-job .job-dashboard-job-actions { display: flex !important; justify-content: flex-end; align-items: center; gap: var(--space-2); }
html body .bo-reading-wide .jm-dashboard-job a.jm-dashboard-action--primary { overflow: visible !important; text-overflow: clip !important; white-space: nowrap; width: auto !important; max-width: none !important; display: inline-flex !important; }
html body .bo-reading-wide .jm-dashboard-job .job-status { text-transform: none !important; }
html body .bo-reading-wide .jm-dashboard-table { overflow: visible; }
@media (max-width: 767px) {
  html body .bo-reading-wide .jm-dashboard-header { display: none !important; }
  html body .bo-reading-wide .jm-dashboard-job, html body .bo-reading-wide .jm-dashboard-job:has(> .company) { grid-template-columns: 1fr !important; gap: var(--space-2) !important; }
  html body .bo-reading-wide .jm-dashboard-job .company .jm-dashboard-job-column-label { display: none; }
  html body .bo-reading-wide .jm-dashboard-job .jm-dashboard-job-column { order: 0 !important; }
  html body .bo-reading-wide .jm-dashboard-job .job-dashboard-job-actions { justify-content: flex-start; }
}
html body .jm-ui-actions-menu > summary { border: 0 !important; text-decoration: none !important; box-shadow: none !important; }
.bo-pkg-note { margin: 0 0 var(--space-4); font-size: 13px; line-height: 18px; color: var(--ink-3); }
html body .woocommerce form .form-row .description, html body #billing_eu_vat_number_field .description { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--ink-3); }
html body .woocommerce form .form-row.woocommerce-validated .input-text, html body .woocommerce form .form-row.woocommerce-invalid .input-text { box-shadow: none; }
