/*
 * Custom CSS for the Ashby job board (jobs.ashbyhq.com/lyzr and the embed on
 * /jobs), styled to the Lyzr Brand Guidelines v1.0. Paste it into Ashby →
 * Admin → Job Boards → your board's theme / custom CSS setting, and set the
 * board's brand colour there to #FE4B1E. Ashby is the source of truth at
 * runtime; this copy is here so changes are reviewed in a PR. Update both together.
 *
 * Only Ashby's stable `ashby-*` class names are targeted. The other classes on
 * the page (e.g. `_title_1dvh9_382`) are generated per Ashby release and will
 * break, so never use them. Each selector is prefixed with `body` so it wins
 * over Ashby's own single-class rules without !important.
 *
 * Fonts: Aeonik is licensed and can't be loaded inside Ashby's page unless we
 * self-host it at a URL Ashby is allowed to fetch, so text falls back to
 * Helvetica Neue / Arial (Regular). JetBrains Mono (free) is loaded for labels.
 */

@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400&display=swap");

:root {
  --lyzr-paper: #fafaf9;
  --lyzr-card: #ffffff;
  --lyzr-fill: #f1f0ee;
  --lyzr-ink: #1f2022;
  --lyzr-muted: #6b675f;
  --lyzr-label: #8a857c;
  --lyzr-line: #e3e1de;
  --lyzr-accent: #fe4b1e;
  --lyzr-accent-hover: #e5401a;
  --lyzr-body: "Aeonik", "Helvetica Neue", Arial, sans-serif;
  --lyzr-mono: "JetBrains Mono", ui-monospace, monospace;
}

body {
  background: var(--lyzr-paper);
  color: var(--lyzr-ink);
  font-family: var(--lyzr-body);
  font-weight: 400;
  font-synthesis: none;
}

/* ---------- Job list ---------- */

body .ashby-job-board-heading,
body .ashby-job-posting-heading {
  font-family: var(--lyzr-body);
  font-weight: 400;
  letter-spacing: -0.045em;
  color: var(--lyzr-ink);
}

body .ashby-job-board-heading-count {
  color: var(--lyzr-muted);
}

body .ashby-job-board-filters-label {
  font-family: var(--lyzr-mono);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lyzr-label);
}

body .ashby-job-board-reset-filters-label {
  color: var(--lyzr-accent);
}

body .ashby-job-board-filter {
  font-family: var(--lyzr-body);
  font-size: 14px;
  color: var(--lyzr-ink);
  background-color: var(--lyzr-card);
  border: 1px solid var(--lyzr-line);
  border-radius: 4px;
  box-shadow: none;
}

body .ashby-job-board-filter:hover {
  border-color: var(--lyzr-ink);
}

body .ashby-job-board-filter:focus,
body .ashby-job-board-filter:focus-visible {
  outline: none;
  border-color: var(--lyzr-accent);
  box-shadow: none;
}

body .ashby-department-heading {
  font-family: var(--lyzr-mono);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lyzr-accent);
}

/* Rows like the site's "Open roles" list: hairline dividers, no cards. */
body .ashby-job-posting-brief-list {
  border-top: 1px solid var(--lyzr-line);
}

body .ashby-job-posting-brief {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--lyzr-line);
  border-radius: 0;
  box-shadow: none;
  padding: 20px 10px;
  transition: background 0.15s ease;
}

body .ashby-job-posting-brief:hover {
  background: var(--lyzr-card);
}

body .ashby-job-posting-brief-title {
  font-family: var(--lyzr-body);
  font-size: 24px;
  line-height: 26px;
  font-weight: 400;
  color: var(--lyzr-ink);
}

body .ashby-job-posting-brief:hover .ashby-job-posting-brief-title {
  color: var(--lyzr-accent);
}

body .ashby-job-posting-brief-details {
  font-family: var(--lyzr-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lyzr-label);
}

/* ---------- Job page and application form ---------- */

body .ashby-job-board-back-to-all-jobs-button {
  color: var(--lyzr-accent);
}

body .ashby-application-form-autofill-pane {
  border: 1px solid var(--lyzr-line);
  border-radius: 6px;
  box-shadow: none;
}

body .ashby-job-posting-right-pane-tab-slider {
  background: var(--lyzr-accent);
}

body .ashby-job-posting-right-pane-overview-tab,
body .ashby-job-posting-right-pane-application-tab {
  font-family: var(--lyzr-body);
  font-weight: 400;
}

body .ashby-application-form-question-title {
  font-family: var(--lyzr-body);
  font-weight: 400;
  color: var(--lyzr-ink);
}

body .ashby-application-form-input-text,
body .ashby-application-form-field-entry input,
body .ashby-application-form-field-entry textarea {
  font-family: var(--lyzr-body);
  font-size: 16px;
  color: var(--lyzr-ink);
  background: var(--lyzr-paper);
  border: 1px solid var(--lyzr-line);
  border-radius: 4px;
}

body .ashby-application-form-input-text:focus,
body .ashby-application-form-field-entry input:focus,
body .ashby-application-form-field-entry textarea:focus {
  outline: none;
  border-color: var(--lyzr-accent);
  box-shadow: none;
}

body .ashby-application-form-input-file-dropzone {
  border: 1px dashed var(--lyzr-line);
  border-radius: 6px;
  background: var(--lyzr-card);
}

body .ashby-application-form-input-yesno-option {
  border-radius: 4px;
}

/* The one orange button in this view: submit. 40px high, 4px corners. */
body .ashby-application-form-submit-button {
  font-family: var(--lyzr-body);
  font-weight: 400;
  font-size: 18px;
  min-height: 40px;
  padding: 0 18px;
  background: var(--lyzr-accent);
  border: 1px solid var(--lyzr-accent);
  border-radius: 4px;
  color: var(--lyzr-paper);
}

body .ashby-application-form-submit-button:hover {
  background: var(--lyzr-accent-hover);
  border-color: var(--lyzr-accent-hover);
}
