@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Newsreader:opsz,wght@6..72,300..400&display=swap");

/* ------------------------------------------------------------
   Rox x Ashby job board theme  ·  v2  ·  Nov 2026
   Matches rox.com/research/careers. Upload as the job board
   theme's Custom CSS in Ashby.

   v2: the board is dark everywhere (embed AND
   jobs.ashbyhq.com/Rox-Data-Corp), by flipping Ashby's own
   colour scale. CSS can't tell the two apart, so both get the
   same Rox look. Needs a light version of the Rox logo uploaded
   in Ashby's theme settings.

   Headings use Rox's display face "Season Mix" when it is
   installed/hosted; otherwise they fall back to Newsreader,
   a free stand-in loaded above.
   ------------------------------------------------------------ */

/* 1. Theme variables
   Ashby builds every surface, border and text colour from this
   neutral scale (000 = page/cards, 900 = strongest text).
   Flipping it gives a dark board, including the parts that have
   no public class (mobile cards, tabs, mobile filter button).
   !important is needed to beat Ashby's inline brand colours. */
:root {
  --colorAppBackground: #141414 !important;
  --colorNeutral000: #141414 !important;
  --colorNeutral000A: rgba(20, 20, 20, 0) !important;
  --colorNeutral100: #1a1a1a !important;
  --colorNeutral100A: rgba(250, 250, 250, 0.03) !important;
  --colorNeutral100Transparent: rgba(26, 26, 26, 0) !important;
  --colorNeutral200: #2b2b2b !important;
  --colorNeutral200A: rgba(250, 250, 250, 0.1) !important;
  --colorNeutral300: #393939 !important;
  --colorNeutral300A: rgba(250, 250, 250, 0.16) !important;
  --colorNeutral400: #4d4d4d !important;
  --colorNeutral400A: rgba(250, 250, 250, 0.24) !important;
  --colorNeutral500: #6e6e6e !important;
  --colorNeutral500A: rgba(250, 250, 250, 0.34) !important;
  --colorNeutral600: #9b9b9b !important;
  --colorNeutral600A: rgba(250, 250, 250, 0.52) !important;
  --colorNeutral600Transparent: rgba(155, 155, 155, 0.25) !important;
  --colorNeutral700: #b9b9b9 !important;
  --colorNeutral700A: rgba(250, 250, 250, 0.68) !important;
  --colorNeutral800: #dedede !important;
  --colorNeutral800A: rgba(250, 250, 250, 0.8) !important;
  --colorNeutral900: #fafafa !important;
  --colorNeutralShadow: rgba(0, 0, 0, 0.5) !important;

  /* Brand colour: buttons, links, active tab */
  --colorPrimary000: #141414 !important;
  --colorPrimary200: #2b2b2b !important;
  --colorPrimary500A: rgba(250, 250, 250, 0.12) !important;
  --colorPrimary600: #fafafa !important;
  --colorPrimary800: #e7e5e4 !important;
  --colorPrimary900: #ffffff !important;
  --colorPrimaryShadow: rgba(0, 0, 0, 0.4) !important;
  --colorShadowPrimaryLight: rgba(250, 250, 250, 0.2) !important;
  --colorShadowPrimaryXLight: rgba(250, 250, 250, 0.1) !important;

  --fontFamily: "Inter", system-ui, -apple-system, sans-serif;
  --widthMaxJobBoard: 1120px;
  --borderRadiusContainer: 0px;
  --borderRadiusControl: 0px;
  --borderRadiusButton: 0px;
}

/* 2. Board heading: rox.com already titles this section */
.ashby-job-board-heading,
.ashby-job-board-filters-label {
  display: none !important;
}

/* 3. Filters */
.ashby-job-board-filter {
  width: 100% !important;
  height: 32px !important;
  padding: 0 32px 0 8px !important;
  background: rgba(250, 250, 250, 0.03) !important;
  border: 1px solid rgba(250, 250, 250, 0.16) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fafafa !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 12px !important;
}
.ashby-job-board-filter:hover {
  border-color: rgba(250, 250, 250, 0.32) !important;
}
.ashby-job-board-filter:focus {
  outline: 1px solid #fafafa !important;
  outline-offset: 1px;
}
.ashby-job-board-reset-filters-label {
  color: rgba(250, 250, 250, 0.7) !important;
  font-size: 12px !important;
}

/* 4. Department groups */
.ashby-department-heading {
  margin: 40px 0 0 !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid rgba(250, 250, 250, 0.1) !important;
}
.ashby-department-heading,
.ashby-department-heading-level {
  font-family: "Season Mix", "Newsreader", Georgia, serif !important;
  font-weight: 400 !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
  color: #fafafa !important;
}

/* 5. Job rows: title left, details right, hairline between */
.ashby-job-posting-brief-list {
  gap: 0 !important;
}
.ashby-job-posting-brief {
  display: flex !important;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 0 !important;
  padding: 16px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(250, 250, 250, 0.1) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.ashby-job-posting-brief-title {
  margin: 0 !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.4 !important;
  color: rgba(250, 250, 250, 0.8) !important;
  transition: color 0.15s ease;
}
.ashby-job-posting-brief:hover .ashby-job-posting-brief-title {
  color: #fafafa !important;
}
.ashby-job-posting-brief-details {
  flex-shrink: 0;
  text-align: right;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: rgba(250, 250, 250, 0.6) !important;
}

/* 6. Job page */
.ashby-job-board-back-to-all-jobs-button {
  color: rgba(250, 250, 250, 0.7) !important;
  font-size: 13px !important;
}
.ashby-job-posting-heading {
  font-family: "Season Mix", "Newsreader", Georgia, serif !important;
  font-weight: 300 !important;
  font-size: 42px !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  color: #fafafa !important;
}
.ashby-job-posting-left-pane,
.ashby-job-posting-right-pane {
  color: rgba(250, 250, 250, 0.72) !important;
}
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  color: rgba(250, 250, 250, 0.8) !important;
}
.ashby-job-posting-right-pane-tab-slider {
  background: #fafafa !important;
}

/* 7. Application form */
.ashby-application-form-container {
  background: transparent !important;
  border: 1px solid rgba(250, 250, 250, 0.1) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.ashby-application-form-section-header-title {
  font-family: "Season Mix", "Newsreader", Georgia, serif !important;
  font-weight: 400 !important;
  font-size: 22px !important;
  letter-spacing: -0.02em !important;
  color: #fafafa !important;
}
.ashby-application-form-question-title {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: rgba(250, 250, 250, 0.8) !important;
}
.ashby-application-form-input-text,
.ashby-application-form-input-textarea {
  background: rgba(250, 250, 250, 0.03) !important;
  border: 1px solid rgba(250, 250, 250, 0.16) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fafafa !important;
}
.ashby-application-form-input-text:focus,
.ashby-application-form-input-textarea:focus {
  border-color: #fafafa !important;
  outline: none !important;
}
.ashby-application-form-input-file-dropzone {
  background: transparent !important;
  border: 1px dashed rgba(250, 250, 250, 0.24) !important;
  border-radius: 0 !important;
}
.ashby-application-form-input-file-dropzone-instructions {
  color: rgba(250, 250, 250, 0.6) !important;
}
.ashby-application-form-input-file-dropzone-upload {
  background: transparent !important;
  border: 1px solid rgba(250, 250, 250, 0.24) !important;
  border-radius: 0 !important;
  color: #fafafa !important;
}
.ashby-application-form-submit-button {
  height: 40px !important;
  background: #fafafa !important;
  color: #141414 !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}
.ashby-application-form-submit-button:hover {
  background: #e7e5e4 !important;
}

/* 8. Small screens: stack title over details */
@media (max-width: 640px) {
  .ashby-job-posting-brief {
    flex-direction: column;
    gap: 4px;
  }
  .ashby-job-posting-brief-details {
    text-align: left;
  }
  .ashby-job-posting-heading {
    font-size: 32px !important;
  }
}
