/*
 * Probe's look, from the current Probe (src/ui/styles/tokens.css, light mode):
 * DM Sans text and Sora headings, a soft violet-to-aqua wash behind
 * everything, white cards with a quiet shadow, and the violet-to-teal brand
 * gradient on the current menu item and main buttons. Loaded after Horilla's
 * styles, so it only overrides; removing this file gives Horilla's look back.
 */
:root {
  --probe-font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --probe-font-display: "Sora", var(--probe-font);
  --probe-app-bg: oklch(0.994 0.002 285);
  --probe-wash:
    radial-gradient(1350px 820px at 20% 4%, oklch(0.7 0.16 292 / 0.3), transparent 68%),
    radial-gradient(1000px 640px at 50% 18%, oklch(0.72 0.15 324 / 0.17), transparent 64%),
    radial-gradient(1180px 760px at 90% 92%, oklch(0.76 0.13 204 / 0.26), transparent 66%),
    radial-gradient(980px 680px at 56% 88%, oklch(0.68 0.14 262 / 0.19), transparent 64%),
    radial-gradient(1600px 1000px at 52% 52%, oklch(0.74 0.1 278 / 0.13), transparent 72%);
  --probe-ink: oklch(0.24 0.014 285);
  --probe-ink-muted: oklch(0.4 0.014 285);
  --probe-line: oklch(0.3 0.02 285 / 0.12);
  --probe-rail: linear-gradient(180deg, oklch(1 0 0 / 0.55), oklch(1 0 0 / 0.35));
  --probe-brand-grad: linear-gradient(135deg, oklch(0.53 0.21 290), oklch(0.55 0.16 215));
  --probe-brand-grad-lift: linear-gradient(135deg, oklch(0.46 0.21 290), oklch(0.48 0.16 215));
  --probe-brand-glow: 0 6px 18px oklch(0.5 0.19 285 / 0.22);
  --probe-shadow-card: 0 1px 2px oklch(0.24 0.012 285 / 0.06), 0 6px 20px oklch(0.24 0.012 285 / 0.07);
}

/* Type */
body:not(.dark),
body:not(.dark) button,
body:not(.dark) input,
body:not(.dark) select,
body:not(.dark) textarea {
  font-family: var(--probe-font);
}
body:not(.dark) h1,
body:not(.dark) h2,
body:not(.dark) h3,
body:not(.dark) .oh-main-header .text-lg {
  font-family: var(--probe-font-display);
  letter-spacing: -0.01em;
}

/* The wash behind everything; the content area lets it show through. */
body:not(.dark) {
  background: var(--probe-wash), var(--probe-app-bg) !important;
  background-attachment: fixed !important;
  color: var(--probe-ink);
}
body:not(.dark) .oh-main-content,
body:not(.dark) .oh-main-header,
body:not(.dark) #ohMainContent {
  background: transparent !important;
}
body:not(.dark) .oh-main-header {
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--probe-line);
}

/* Sidebar: the current Probe's rail colour. No backdrop-filter here: it makes
   the sidebar the frame for its fixed children, so the Recruitment flyout got
   clipped inside the rail and never showed. */
body:not(.dark) #sidebar {
  background: var(--probe-rail) !important;
  border-right: 1px solid var(--probe-line) !important;
}
#sidebar .probe-nav-group {
  margin: 14px 12px 4px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--probe-ink-muted);
}
#sidebar .probe-nav-item {
  color: var(--probe-ink);
  font-size: 13.5px;
}
#sidebar .probe-nav-item .probe-nav-icon { color: var(--probe-ink-muted); }
#sidebar .probe-nav-soon { opacity: 0.45; cursor: default; }
#sidebar .sideboxmain.probe-nav-item:hover:not(.sidebox-current) {
  background: oklch(0.62 0.19 285 / 0.08) !important;
}
#sidebar .sideboxmain.sidebox-current,
body.dark #sidebar .sideboxmain.sidebox-current {
  background: var(--probe-brand-grad) !important;
  box-shadow: var(--probe-brand-glow);
  color: #fff !important;
}
#sidebar .sideboxmain.sidebox-current .probe-nav-icon,
#sidebar .sideboxmain.sidebox-current .oh-sidebar-label { color: #fff !important; }

/* Cards: white, rounded, quiet shadow. */
body:not(.dark) #ohMainContent .bg-white,
body:not(.dark) #ohMainContent .oh-card,
body:not(.dark) #ohMainContent .oh-card-dashboard {
  border-color: var(--probe-line) !important;
  box-shadow: var(--probe-shadow-card);
}
body:not(.dark) #ohMainContent .rounded-md.bg-white,
body:not(.dark) #ohMainContent .rounded-lg.bg-white { border-radius: 14px; }

/* Main buttons carry the brand gradient. */
body:not(.dark) .bg-primary-600:not(.probe-flat),
body:not(.dark) .oh-btn--secondary {
  background-image: var(--probe-brand-grad) !important;
  border-color: transparent !important;
}
body:not(.dark) .bg-primary-600:not(.probe-flat):hover,
body:not(.dark) .oh-btn--secondary:hover {
  background-image: var(--probe-brand-grad-lift) !important;
}

/* Menu icons are inline SVGs: give them a fixed size (Horilla's w-4.5 is for its <img> icons). */
#sidebar .probe-nav-icon { width: 18px; height: 18px; flex: 0 0 18px; }
/* Like the current Probe: no box behind items that are not the current page. */
#sidebar .sideboxmain.probe-nav-item:not(.sidebox-current):not(:hover) { background: transparent !important; }

/* The probe logo in the menu header (probe/templates/probe/logo.html). */
#sidebar .probe-logo__name {
  font-family: var(--probe-font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--probe-ink);
}

/*
 * No breadcrumb trail ("Probe > Settings > system-preferences-view > ..."):
 * the current Probe shows only each page's own title. Horilla's script
 * refetches the trail after every navigation, so it is hidden here rather
 * than only left out of the template.
 */
#breadcrumbs-container { display: none !important; }

/* Header corner, like the current Probe: a plain theme icon and a round initial. */
#themeToggleButton.probe-theme-toggle {
  width: 36px; height: 36px; padding: 0;
  background: transparent !important; color: var(--probe-ink-muted);
}
#themeToggleButton.probe-theme-toggle:hover { background: oklch(0.62 0.19 285 / 0.08) !important; }
#themeToggleButton.probe-theme-toggle .probe-theme-icon { font-size: 15px; color: var(--probe-ink-muted); }
.probe-avatar {
  width: 34px; height: 34px; border-radius: 9999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: oklch(0.45 0.16 320); color: #fff;
  font-family: var(--probe-font-display); font-weight: 600; font-size: 15px;
  cursor: pointer;
}
#mainHeader { padding-top: 10px; padding-bottom: 10px; }
/* With the breadcrumb hidden, keep the icons in the right-hand corner. */
#mainHeader { justify-content: flex-end !important; }

/* Sidebar and Recruitment flyout accents: Probe violet (they fall back to coral when no company theme is set). */
#sidebar,
#sidebarFlyout {
  --sidebar-accent: #6A4DF5 !important;
  --sidebar-accent-dark: #5A3DE0 !important;
  --sidebar-accent-soft: #F3F0FF !important;
}

/* Dashboard: the current Probe's Home blocks (probe/templates/probe/dashboard_overview.html). */
.probe-ov { margin: 4px 0 8px; }
.probe-ov__label {
  margin: 22px 0 10px; font-family: "JetBrains Mono", ui-monospace, Consolas, monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--probe-ink-muted);
}
.probe-ov__tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.probe-ov__pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .probe-ov__tiles, .probe-ov__pair { grid-template-columns: 1fr; } }
.probe-ov__tile, .probe-ov__card {
  display: block; background: #fff; border: 1px solid var(--probe-line); border-radius: 14px;
  box-shadow: var(--probe-shadow-card); padding: 16px 18px; color: var(--probe-ink);
}
.probe-ov__tile { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.probe-ov__tile:hover { transform: translateY(-1px); box-shadow: var(--probe-brand-glow); }
.probe-ov__tile-title { display: block; font-size: 13px; font-weight: 600; }
.probe-ov__num { display: block; font-family: var(--probe-font-display); font-size: 30px; font-weight: 600; line-height: 1.2; margin: 4px 0; }
.probe-ov__sub, .probe-ov__muted, .probe-ov__row span, .probe-ov__empty { font-size: 12.5px; color: var(--probe-ink-muted); font-weight: 400; }
.probe-ov__card h3 { font-family: var(--probe-font-display); font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.probe-ov__row { display: block; padding: 10px 12px; border-radius: 10px; background: oklch(0.965 0.004 285); margin-bottom: 8px; color: var(--probe-ink); text-decoration: none; }
.probe-ov__row strong { display: block; font-size: 13.5px; }
.probe-ov__row:hover { background: oklch(0.62 0.19 285 / 0.08); }
.probe-ov__link { font-size: 13px; font-weight: 600; color: #6A4DF5; }
.probe-ov__statuses, .probe-ov__funnel { list-style: none; margin: 0; padding: 0; }
.probe-ov__statuses li, .probe-ov__funnel li { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--probe-line); font-size: 13.5px; }
.probe-ov__statuses li b, .probe-ov__funnel li b { margin-left: auto; font-family: var(--probe-font-display); }
.probe-ov__mark { width: 16px; text-align: center; color: var(--probe-ink-muted); }
.probe-ov__bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 150px; }
.probe-ov__bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.probe-ov__bar-fill { width: 70%; min-height: 3px; border-radius: 6px 6px 2px 2px; background: var(--probe-brand-grad); }
.probe-ov__bar-count { font-size: 11px; color: var(--probe-ink-muted); margin-bottom: 4px; }
.probe-ov__bar-label { font-size: 10.5px; color: var(--probe-ink-muted); margin-top: 6px; white-space: nowrap; }

/* Dashboard charts: status bars and the CV-to-hire funnel. */
.probe-ov__chart, .probe-ov__funnel { list-style: none; margin: 0; padding: 0; }
.probe-ov__chart li, .probe-ov__funnel li {
  display: grid; grid-template-columns: 150px 1fr 36px; align-items: center; gap: 12px; padding: 7px 0; font-size: 13.5px;
}
.probe-ov__chart li b, .probe-ov__funnel li b { text-align: right; font-family: var(--probe-font-display); }
.probe-ov__chart-label { display: flex; align-items: center; gap: 8px; }
.probe-ov__track { height: 12px; border-radius: 999px; background: oklch(0.3 0.02 285 / 0.07); overflow: hidden; }
.probe-ov__fill { display: block; height: 100%; min-width: 0; border-radius: 999px; background: var(--probe-brand-grad); transition: width .4s ease; }
.probe-ov__fill--unreviewed { background: oklch(0.7 0.03 285); }
.probe-ov__fill--shortlisted { background: oklch(0.55 0.19 285); }
.probe-ov__fill--offered { background: oklch(0.6 0.15 240); }
.probe-ov__fill--hired { background: oklch(0.55 0.14 155); }
.probe-ov__fill--hold { background: oklch(0.7 0.14 78); }
.probe-ov__fill--rejected { background: oklch(0.58 0.18 25); }
.probe-ov__fill--offer-declined { background: oklch(0.6 0.05 285); }
/* Funnel: centred bars that narrow step by step. */
.probe-ov__funnel-track { display: flex; justify-content: center; height: 26px; }
.probe-ov__funnel-fill { display: block; height: 100%; min-width: 4px; border-radius: 8px; background: var(--probe-brand-grad); opacity: .9; transition: width .4s ease; }
.probe-ov__funnel li:nth-child(2) .probe-ov__funnel-fill { opacity: .8; }
.probe-ov__funnel li:nth-child(3) .probe-ov__funnel-fill { opacity: .7; }
.probe-ov__funnel li:nth-child(4) .probe-ov__funnel-fill { opacity: .6; }
.probe-ov__funnel li:nth-child(5) .probe-ov__funnel-fill { opacity: .5; }

/* Dashboard: status pie (donut) with its legend. */
.probe-ov__pie-wrap { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.probe-ov__pie { width: 170px; height: 170px; border-radius: 50%; position: relative; flex: 0 0 170px; }
.probe-ov__pie-hole {
  position: absolute; inset: 28%; border-radius: 50%; background: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.probe-ov__pie-hole b { font-family: var(--probe-font-display); font-size: 24px; line-height: 1; }
.probe-ov__pie-hole small { font-size: 11px; color: var(--probe-ink-muted); }
.probe-ov__legend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 180px; }
.probe-ov__legend li { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 13.5px; border-bottom: 1px solid var(--probe-line); }
.probe-ov__legend li b { margin-left: auto; font-family: var(--probe-font-display); }
.probe-ov__swatch { width: 11px; height: 11px; border-radius: 3px; flex: 0 0 11px; }

/* Probe Dashboard (probe/templates/probe/dashboard.html). */
.pd { padding-bottom: 24px; }
.pd-head h1 { font-family: var(--probe-font-display); font-size: 26px; font-weight: 600; margin: 0; }
.pd-date { font-size: 13px; color: var(--probe-ink-muted); margin: 2px 0 0; }
.pd-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.pd-section-head .probe-ov__label { margin: 18px 0 0; }
.pd-section-head h3 { font-family: var(--probe-font-display); font-size: 15px; font-weight: 600; margin: 0; }
.pd-section-head h3 small { font-family: var(--probe-font); font-weight: 400; font-size: 12px; color: var(--probe-ink-muted); }
.pd-period { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.pd-period select, .pd-period input { border: 1px solid var(--probe-line); border-radius: 8px; padding: 4px 8px; background: #fff; font-size: 12.5px; color: var(--probe-ink); }
.pd-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1280px) { .pd-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .pd-cards { grid-template-columns: 1fr 1fr; } }
.pd-card { position: relative; display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--probe-line); border-radius: 14px; box-shadow: var(--probe-shadow-card); padding: 14px 16px; color: var(--probe-ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.pd-card:hover { transform: translateY(-1px); box-shadow: var(--probe-brand-glow); }
.pd-card b { font-family: var(--probe-font-display); font-size: 28px; font-weight: 600; line-height: 1.15; }
.pd-card-title { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--probe-ink-muted); margin-top: 6px; }
.pd-card-icon { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.pd-card-icon .probe-nav-icon { width: 18px; height: 18px; }
.pd-i1 { background: #EEE9FF; color: #6A4DF5; } .pd-i2 { background: #E6F6F9; color: #0E8FA8; }
.pd-i3 { background: #FFF4E0; color: #B7791F; } .pd-i4 { background: #EAF2FF; color: #2563EB; }
.pd-i5 { background: #F3E8FF; color: #9333EA; } .pd-i6 { background: #E7F7EE; color: #16A34A; }
.pd-chip { align-self: flex-start; font-size: 11.5px; font-weight: 600; color: #6A4DF5; background: #F3F0FF; border-radius: 999px; padding: 2px 8px; }
.pd-sub { font-size: 12px; color: var(--probe-ink-muted); }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; margin-top: 16px; align-items: start; }
@media (max-width: 1100px) { .pd-grid { grid-template-columns: 1fr; } }
.pd-main { display: flex; flex-direction: column; gap: 16px; }
.pd-row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .pd-row2 { grid-template-columns: 1fr; } }
.pd-panel { background: #fff; border: 1px solid var(--probe-line); border-radius: 14px; box-shadow: var(--probe-shadow-card); padding: 16px 18px; }
.pd-side { display: flex; flex-direction: column; gap: 16px; }
.pd-side h3 { font-family: var(--probe-font-display); font-size: 15px; font-weight: 600; margin: 0 0 10px; }
.pd-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pd-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--probe-ink-muted); font-weight: 600; padding: 6px 6px; border-bottom: 1px solid var(--probe-line); }
.pd-table td { padding: 8px 6px; border-bottom: 1px solid var(--probe-line); }
.pd-table a { color: #6A4DF5; font-weight: 600; }
.pd-facts { list-style: none; margin: 0 0 10px; padding: 0; }
.pd-facts li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--probe-line); font-size: 13.5px; }

/* Page title in the top bar (Probe pages set probe_page_title); icons stay in the right corner. */
#mainHeader { justify-content: space-between !important; }
#mainHeader > div:last-child { margin-left: auto; }
.probe-header-title { font-family: var(--probe-font-display); font-size: 22px; font-weight: 600; margin: 0; color: var(--probe-ink); }
body.dark .probe-header-title { color: #F4F3FA; }

/* "View all jobs →" beside the Open jobs heading on the Dashboard. */
.pd-head-link { font-size: 13px; font-weight: 500; color: var(--probe-brand, #6A4DF5); text-decoration: none; white-space: nowrap; }
.pd-head-link:hover { text-decoration: underline; }

/* Job openings (probe/templates/probe/recruit/job_openings.html). */
.pj { padding-bottom: 24px; color: var(--probe-ink); }
.pj-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pj-head h1 { font-family: var(--probe-font-display); font-size: 24px; font-weight: 600; margin: 0; }
.pj-head p { margin: 2px 0 0; font-size: 13.5px; color: var(--probe-ink-muted); }
.pj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; padding: 8px 14px; font-size: 13.5px; font-weight: 600; line-height: 1.2; border: 1px solid var(--probe-line); background: #fff; color: var(--probe-ink); cursor: pointer; text-decoration: none; white-space: nowrap; }
.pj-btn:hover { border-color: oklch(0.53 0.21 290 / 0.45); }
.pj-btn--primary { background: var(--probe-brand-grad); color: #fff; border-color: transparent; box-shadow: var(--probe-brand-glow); }
.pj-btn--primary:hover { background: var(--probe-brand-grad-lift); color: #fff; }
.pj-btn--ghost { padding: 6px 12px; font-size: 13px; }
.pj-btn--icon { width: 34px; height: 32px; padding: 0; font-size: 18px; }
.pj-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.pj-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: oklch(0.3 0.02 285 / 0.06); }
.pj-tab { padding: 6px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--probe-ink-muted); text-decoration: none; }
.pj-tab:hover { color: var(--probe-ink); }
.pj-tab.is-active { background: #fff; color: var(--probe-ink); box-shadow: 0 1px 3px oklch(0.24 0.012 285 / 0.12); }
.pj-search { position: relative; display: flex; align-items: center; flex: 0 1 320px; min-width: 200px; }
.pj-search svg { position: absolute; left: 11px; color: var(--probe-ink-muted); pointer-events: none; }
.pj-search input[type="search"] { width: 100%; border: 1px solid var(--probe-line); border-radius: 10px; padding: 8px 12px 8px 34px; font-size: 13.5px; background: #fff; color: var(--probe-ink); }
.pj-search input[type="search"]:focus { outline: 2px solid oklch(0.53 0.21 290 / 0.35); outline-offset: 0; }
.pj-panel { background: #fff; border: 1px solid var(--probe-line); border-radius: 14px; box-shadow: var(--probe-shadow-card); }
.pj-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.pj-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--probe-ink-muted); font-weight: 600; padding: 10px 14px; border-bottom: 1px solid var(--probe-line); white-space: nowrap; }
.pj-table td { padding: 12px 14px; border-bottom: 1px solid var(--probe-line); vertical-align: middle; }
.pj-table tbody tr:last-child td { border-bottom: 0; }
.pj-table tbody tr:hover { background: oklch(0.62 0.19 285 / 0.03); }
.pj-table .pj-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pj-job { min-width: 220px; }
.pj-title { font-weight: 600; font-size: 14px; color: var(--probe-ink); text-decoration: none; }
.pj-title:hover { color: #6A4DF5; text-decoration: underline; }
.pj-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 3px; font-size: 12.5px; color: var(--probe-ink-muted); }
.pj-manager { display: inline-flex; align-items: center; gap: 5px; }
.pj-avatar { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: #EEE9FF; color: #6A4DF5; font-size: 9.5px; font-weight: 700; letter-spacing: .02em; }
.pj-closes { white-space: nowrap; }
.pj-closes--soon { color: #B45309; font-weight: 600; }
.pj-closes--ended, .pj-closes--none { color: var(--probe-ink-muted); }
.pj-status { white-space: nowrap; }
.pj-pill { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; margin: 1px 4px 1px 0; }
.pj-pill--open { background: #E7F7EE; color: #15803D; }
.pj-pill--closed { background: oklch(0.3 0.02 285 / 0.08); color: var(--probe-ink-muted); }
.pj-pill--draft { background: #FFF4E0; color: #B45309; }
.pj-actions { text-align: right; white-space: nowrap; width: 1%; }
.pj-actions > * { vertical-align: middle; }
.pj-more { position: relative; display: inline-block; margin-left: 4px; }
.pj-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 50; min-width: 180px; padding: 6px; background: #fff; border: 1px solid var(--probe-line); border-radius: 12px; box-shadow: 0 10px 30px oklch(0.24 0.012 285 / 0.16); text-align: left; }
.pj-menu--up { top: auto; bottom: calc(100% + 4px); }
.pj-menu[hidden] { display: none; }
.pj-menu button { display: block; width: 100%; text-align: left; padding: 8px 10px; border: 0; border-radius: 8px; background: none; font-size: 13.5px; color: var(--probe-ink); cursor: pointer; }
.pj-menu button:hover, .pj-menu button:focus-visible { background: oklch(0.62 0.19 285 / 0.08); }
.pj-menu .pj-danger { color: #DC2626; border-top: 1px solid var(--probe-line); border-radius: 0 0 8px 8px; margin-top: 4px; padding-top: 10px; }
.pj-menu .pj-danger:hover { background: #FEF2F2; }
.pj-empty { padding: 40px 20px; text-align: center; }
.pj-empty h2 { font-family: var(--probe-font-display); font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.pj-empty p { margin: 0 0 14px; font-size: 13.5px; color: var(--probe-ink-muted); }
.pj .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Phone: each job is a card; no sideways scrolling. */
@media (max-width: 767px) {
  .pj-head { flex-direction: column; }
  .pj-head .pj-btn--primary { align-self: stretch; }
  .pj-search { flex: 1 1 100%; }
  .pj-panel:has(.pj-table) { background: transparent; border: 0; box-shadow: none; }
  .pj-table, .pj-table tbody { display: block; }
  .pj-table thead { display: none; }
  .pj-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; padding: 14px; margin-bottom: 10px; background: #fff; border: 1px solid var(--probe-line); border-radius: 14px; box-shadow: var(--probe-shadow-card); }
  .pj-table td { display: block; padding: 0; border: 0; min-width: 0; }
  .pj-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--probe-ink-muted); font-weight: 600; margin-bottom: 2px; }
  .pj-table .pj-num { text-align: left; }
  .pj-job, .pj-status, .pj-actions { grid-column: 1 / -1; }
  .pj-job { min-width: 0; }
  .pj-status { white-space: normal; }
  .pj-actions { width: auto; display: flex; justify-content: flex-end; gap: 6px; border-top: 1px solid var(--probe-line) !important; padding-top: 10px !important; }
}

/* The New job / Edit job form (probe/templates/probe/recruit/job_form.html). */
.probe-job-help { margin: 4px 0 0; font-size: 12.5px; color: var(--probe-ink-muted, #6b7280); }
.probe-more { width: 100%; margin: 6px 12px 0; padding: 0; border-top: 1px solid var(--probe-line, #ececf0); }
.probe-more > summary { cursor: pointer; list-style: none; padding: 12px 0 8px; font-size: 13.5px; font-weight: 600; color: var(--probe-ink, #1f2430); }
.probe-more > summary::-webkit-details-marker { display: none; }
.probe-more > summary::before { content: "▸"; display: inline-block; width: 16px; transition: transform .15s; }
.probe-more[open] > summary::before { transform: rotate(90deg); }
.probe-more > .row { margin: 0; }

/* Dashboard "Open jobs": always fits its card. Fixed columns, the job title
   wraps, numbers stay narrow; scrolls inside the card on very small widths. */
.pd-table-wrap { overflow-x: auto; max-width: 100%; }
.pd-jobs-table { table-layout: fixed; min-width: 360px; }
.pd-jobs-table col.pd-num { width: 17%; }
.pd-jobs-table col.pd-date { width: 16%; }
.pd-jobs-table th, .pd-jobs-table td { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-jobs-table th:first-child, .pd-jobs-table td:first-child { white-space: normal; overflow-wrap: anywhere; }
.pd-jobs-table th:not(:first-child), .pd-jobs-table td:not(:first-child) { text-align: right; padding-left: 4px; }
.pd-jobs-table th { font-size: 10.5px; letter-spacing: .03em; }
