/*
 * The Ashby job board's theme for conquest.ai: the board embedded on /careers. Not served by the
 * site: the owner pastes it into Ashby admin (Job board theme, custom CSS), and Ashby serves it to
 * the board, embedded and on jobs.ashbyhq.com alike.
 *
 * The list of roles follows Figma R3 787:1715 (Careers' "Open roles"): rows ruled at white 20%,
 * each role's title on the left and its terms in a glass pill on the right, set straight on the
 * section's gradient. Figma has no title or department headings over the list (the site's "Open
 * roles" heads it), so the board's are hidden; each role's department is in its terms. Ashby
 * gives the terms as one line ("Bio • Palo Alto Office • Full time • On-site"), so they make one
 * pill where Figma draws one per term. A role's page and its application form are not in Figma:
 * they follow the library (@conquestlabs/ui): Mono Low capitals on pill buttons and line tabs,
 * pill fields on glass, 20px cards, the focus ring.
 *
 * Ashby renders the board in an iframe on jobs.ashbyhq.com, and the licences cover the brand's
 * fonts there too (the owner, 2026-11-16). They come from conquest.ai: the import below is the
 * site's own fonts.css, as the site serves it, so the files keep their names and the stylesheet
 * that loads them keeps Lineto's disclaimer, as the licence requires. Nothing bundles this file, so
 * importing fonts.css here hashes and strips nothing. The fonts load across origins only because
 * production sends CORS for this origin (packages/infrastructure, `JOB_BOARD_ORIGIN`); if they
 * fail, the system faces after them take over: a grotesk for Unica77, a monospace for Mono Low.
 *
 * The values are the library's tokens (tokens.css, its dark theme), named beside each: a file
 * Ashby loads cannot read the site's custom properties. Ashby's own colours are a neutral scale,
 * 000 (its ground) to 800 (its text), and translucent "A" steps of it; the dark theme turns the
 * scale over. Ashby's stable classes and variables:
 * https://www.ashbyhq.com/job_board_example_css/full-job-board.css. Its buttons have only
 * CSS-module classes (`_button_…`, `_primary_…`), matched here by name; if Ashby renames them,
 * those rules stop applying and its own buttons show.
 *
 * Ashby checks the file when it is uploaded, more strictly than a browser: it expands shorthands
 * and refused `font: inherit` ("font-size: undefined", 2026-11-16). So the rules use longhands
 * only, colours as hex (with alpha), lengths worked out rather than `calc()` in a shorthand, and
 * no `clamp()` or logical properties: the forms its first version, which Ashby took, used.
 */

@import url('https://conquest.ai/fonts/fonts.css');

:root {
  /* Ashby's page declares no colour scheme, and a browser paints an opaque backdrop behind an
     iframe whose scheme differs from its page's. The site's is dark, so the board's must be for
     its ground to be transparent. */
  color-scheme: dark;

  --fontFamily:
    'Unica77 LL', 'Helvetica Neue', Helvetica, Arial, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
  /* The site's labels (`type-web-label`) and buttons are Mono Low. */
  --fontFamilyMono: 'Unica77 Mono Low LL', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* None: the section's gradient shows through, as Figma draws the list on it. */
  --colorAppBackground: transparent;

  /* The neutral scale, turned over: black ground, white text, the library's grays between. */
  --colorNeutral000: #000000;
  --colorNeutral100: #1a1a1a;
  --colorNeutral200: #333333;
  --colorNeutral300: #4d4d4d;
  --colorNeutral400: #666666;
  --colorNeutral500: #808080;
  --colorNeutral600: #b2b2b2;
  --colorNeutral700: #e5e5e5;
  --colorNeutral800: #ffffff;
  --colorNeutral100Transparent: #00000000;
  --colorNeutral600Transparent: #b2b2b240;

  /* Ashby's translucent steps, white on black where its own are ink on white. */
  --colorNeutral000A: #00000000;
  --colorNeutral100A: #ffffff08;
  --colorNeutral200A: #ffffff1a;
  --colorNeutral300A: #ffffff29;
  --colorNeutral400A: #ffffff3d;
  --colorNeutral500A: #ffffff57;
  --colorNeutral600A: #ffffff82;
  --colorNeutral700A: #ffffffab;
  --colorNeutral800A: #ffffffc7;

  /* The control colour is the ink, as the site's buttons are: white on black. It colours the
     roles' titles, the selected tab and buttons. Ashby admin's theme colours set these two (black
     today) above a stylesheet's, hence `!important`; setting them to white there does the same. */
  --colorPrimary600: #ffffff !important;
  --colorPrimary900: #ffffff !important;
  --colorPrimary500A: #ffffff21;
  --colorPrimaryShadow: #00000000;
  --colorShadowPrimaryLight: #ffffff33;
  --colorShadowPrimaryXLight: #ffffff1a;
  --colorNeutralShadow: #00000000;

  /* The library's shapes: pill buttons and fields (`--shape-control`, `--shape-field`), 20px
     cards (`--shape-card`). */
  --borderRadiusButton: 9999px;
  --borderRadiusControl: 9999px;
  --borderRadiusContainer: 20px;

  /* The site's container is the list's width in Figma, 1152px; the board fills it. */
  --widthMaxJobBoard: 100%;
  --widthMaxContent: 100%;
}

html,
body {
  background-color: transparent;
}

/** OPEN ROLES (Figma 787:1715) **/

/* The site's "Open roles" heads the list, and Figma groups no roles by department. The title's
   block goes whole, so its margin leaves no gap above the list. */
div:has(> h1.ashby-job-board-heading),
h2.ashby-department-heading {
  display: none;
}

/* The list edge to edge of the board, as Figma's spans its 1152px: Ashby insets it 12px, 16px
   down. Matched by what they hold, as the wrappers have no stable class. */
div:has(> div > .ashby-job-posting-brief-list),
div:has(> .ashby-job-posting-brief-list),
.ashby-job-posting-brief-list {
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
}

/* A role: a row ruled above at white 20%, 20px above and below. The class twice, to outrank the
   card Ashby draws on the same element. */
.ashby-job-posting-brief-list > a > .ashby-job-posting-brief.ashby-job-posting-brief {
  display: flex;
  align-items: center;
  justify-content: space-between;
  row-gap: 16px;
  column-gap: 32px;
  margin-top: 0;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  padding-top: 20px;
  padding-right: 0;
  padding-bottom: 20px;
  padding-left: 0;
  border-style: none;
  border-top-style: solid;
  border-top-width: 1px;
  border-top-color: #ffffff33;
  border-radius: 0;
  background-color: transparent;
  box-shadow: none;
}

/* The title in Body 16px (`type-web-body`), underlined under the pointer as Updates' cards are. */
h3.ashby-job-posting-brief-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #ffffff;
}

a:hover h3.ashby-job-posting-brief-title {
  text-decoration-line: underline;
  text-underline-offset: 4px;
}

.ashby-job-posting-brief-details {
  margin-top: 0;
  margin-bottom: 0;
  flex-shrink: 0;
}

/* The terms: the library's glass `Tag` at 34px, Mono Low capitals at 0.2em, the tracking (2.4px
   at 12px) taken off the right as the library does. */
.ashby-job-posting-brief-details p {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 8px;
  padding-right: 17.6px;
  padding-bottom: 8px;
  padding-left: 20px;
  border-radius: 9999px;
  background-color: #ffffff26;
  font-family: var(--fontFamilyMono);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
}

/* The library's focus ring, 2px of `--ring` (light yellow on dark), round the row: inset, as the
   library sets it where there is no room outside, since a row fills the iframe's width. */
.ashby-job-posting-brief-list > a {
  display: block;
}

.ashby-job-posting-brief-list a:focus-visible {
  outline-style: solid;
  outline-width: 2px;
  outline-color: #ffffed;
  outline-offset: -2px;
}

/* On a phone the title over its terms, and the terms a bare label, as Updates' categories are. */
@media (max-width: 767px) {
  .ashby-job-posting-brief-list > a > .ashby-job-posting-brief.ashby-job-posting-brief {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 8px;
  }

  .ashby-job-posting-brief-details {
    flex-shrink: 1;
  }

  .ashby-job-posting-brief-details p {
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
    background-color: transparent;
    white-space: normal;
    color: #ffffff99;
  }
}

/** BUTTONS: the library's `Button` at size lg, 46px, Mono Low capitals at 0.2em **/

button[class*='_button_'] {
  min-height: 46px;
  padding-top: 0;
  padding-right: 17.6px;
  padding-bottom: 0;
  padding-left: 20px;
  border-radius: 9999px;
  font-family: var(--fontFamilyMono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: none;
}

/* Primary, "Apply for this Job" and Submit: white on black, 80% under the pointer. */
button[class*='_primary_'],
button.ashby-application-form-submit-button {
  border-color: transparent;
  background-color: #ffffff;
  color: #000000;
}

button[class*='_primary_']:hover,
button.ashby-application-form-submit-button:hover {
  background-color: #ffffffcc;
}

/* Secondary, "Upload File": the library's outline button, a white rule. */
button[class*='_secondary_'] {
  border-style: solid;
  border-width: 1px;
  border-color: #ffffff;
  background-color: transparent;
  color: #ffffff;
}

/* Under the pointer the library's outline button keeps its white ink over a faint fill (white
   10%), icon too: Ashby's own turns both black, for the white fill it would draw. */
button[class*='_secondary_']:hover {
  background-color: #ffffff1a;
  color: #ffffff;
}

button[class*='_secondary_']:hover svg,
button[class*='_secondary_']:hover svg path {
  fill: #ffffff;
}

/* "All Jobs": a bare label. */
button.ashby-job-board-back-to-all-jobs-button {
  min-height: 0;
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  background-color: transparent;
  color: #ffffff99;
}

/* Its arrow at the label's 60%, and both white under the pointer, with no fill: Ashby's own
   paints the button white and its arrow black there, which hid the white label. */
button.ashby-job-board-back-to-all-jobs-button svg,
button.ashby-job-board-back-to-all-jobs-button svg path {
  fill: #ffffff99;
}

button.ashby-job-board-back-to-all-jobs-button:hover {
  border-color: transparent;
  background-color: transparent;
  color: #ffffff;
}

button.ashby-job-board-back-to-all-jobs-button:hover svg,
button.ashby-job-board-back-to-all-jobs-button:hover svg path {
  fill: #ffffff;
}

button[class*='_button_']:focus-visible,
nav[role='tablist'] a[role='tab']:focus-visible {
  outline-style: solid;
  outline-width: 2px;
  outline-color: #ffffed;
  outline-offset: 2px;
}

/** A ROLE **/

/* Clear, as the list is: Ashby fills these with its ground (`--colorNeutral000`), which would
   stand as black panels on the section's gradient. Not the variable itself, which also fills its
   menus and pop-ups. The class twice, to outrank Ashby's rules on the same elements. */
div.ashby-job-posting-left-pane.ashby-job-posting-left-pane,
div.ashby-job-posting-description-container.ashby-job-posting-description-container,
.ashby-job-posting-right-pane nav[role='tablist'],
div.ashby-application-form-container.ashby-application-form-container,
div.ashby-application-form-autofill-pane.ashby-application-form-autofill-pane {
  background-color: transparent;
}

/* The title in Body XL (`type-web-body-xl`): 32px, and 24px on a phone, its ends. */
h1.ashby-job-posting-heading {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

@media (max-width: 767px) {
  h1.ashby-job-posting-heading {
    font-size: 24px;
  }
}

/* Location, Employment Type…: the site's label over the value in Body, ruled at white 20%. */
.ashby-job-posting-left-pane > * {
  border-color: #ffffff33;
}

.ashby-job-posting-left-pane h2 {
  font-family: var(--fontFamilyMono);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff80;
}

.ashby-job-posting-left-pane p {
  font-size: 16px;
  line-height: 1.4;
}

/* Overview, Application: the library's line `Tabs`, Mono Low capitals at 0.1em, 60% until
   chosen, a 2px white rule under the chosen one. The labels inside the tabs too, which Ashby
   styles on their own. */
nav[role='tablist'] a[role='tab'],
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  font-family: var(--fontFamilyMono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav[role='tablist'] a[role='tab'] {
  color: #ffffff99;
}

nav[role='tablist'] a[role='tab'][aria-selected='true'],
nav[role='tablist'] a[role='tab']:hover {
  color: #ffffff;
}

.ashby-job-posting-right-pane-tab-slider {
  height: 2px;
  background-color: #ffffff;
}

/* The description in Body (`type-web-body`). */
.ashby-job-posting-description {
  font-size: 16px;
  line-height: 1.4;
}

/** THE APPLICATION FORM **/

/* A question: the library's `Label`, 14px medium; its note in the muted ink; the required mark
   in `--destructive`. */
label.ashby-application-form-question-title {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
}

label.ashby-application-form-question-title::after {
  color: #ff7266;
}

.ashby-application-form-question-description {
  font-size: 14px;
  color: #ffffff99;
}

/* The library's website fields at size lg: 50px pills on glass (white 10%), 20px in, Body. */
input.ashby-application-form-input-text,
.ashby-application-form-input-dropdown input,
.ashby-application-form-input-autocomplete input,
.ashby-application-form-input-date input {
  height: 50px;
  padding-top: 0;
  padding-right: 20px;
  padding-bottom: 0;
  padding-left: 20px;
  border-style: solid;
  border-width: 1px;
  border-color: transparent;
  border-radius: 9999px;
  background-color: #ffffff1a;
  font-size: 16px;
  color: #ffffff;
}

/* A long answer: the library's multiline field at size lg, 150px tall, 33px corners. */
textarea.ashby-application-form-input-textarea {
  min-height: 150px;
  padding-top: 14px;
  padding-right: 20px;
  padding-bottom: 14px;
  padding-left: 20px;
  border-style: solid;
  border-width: 1px;
  border-color: transparent;
  border-radius: 33px;
  background-color: #ffffff1a;
  font-size: 16px;
  color: #ffffff;
  resize: none;
}

/* The placeholder in `--muted-foreground`. */
input.ashby-application-form-input-text::placeholder,
textarea.ashby-application-form-input-textarea::placeholder {
  color: #b2b2b2;
}

input.ashby-application-form-input-text:focus,
textarea.ashby-application-form-input-textarea:focus {
  border-color: transparent;
  box-shadow: none;
  outline-style: solid;
  outline-width: 2px;
  outline-color: #ffffed;
  outline-offset: 2px;
}

/* The resume: a 20px card ruled in a dash at white 30%. */
div.ashby-application-form-input-file.ashby-application-form-input-file {
  border-color: #ffffff4d;
  border-radius: 20px;
}

.ashby-application-form-input-file-dropzone-instructions {
  color: #ffffff99;
}

/* "Autofill from resume": a 20px card at white 5%, ruled at white 20%; the veil over it while a
   file is dragged in or read is the ground at 90%, where Ashby's is white. */
div.ashby-application-form-autofill-input-root.ashby-application-form-autofill-input-root {
  border-style: solid;
  border-width: 1px;
  border-color: #ffffff33;
  border-radius: 20px;
  background-color: #ffffff0d;
}

.ashby-application-form-autofill-input-drag-layer,
.ashby-application-form-autofill-input-pending-layer {
  background-color: #000000e6;
}

/* Yes or no: two Mono Low pills, the chosen one white on black. */
.ashby-application-form-input-yesno {
  column-gap: 4px;
  border-style: none;
}

/* The class twice: Ashby rounds only the pair's outer ends, more specifically. */
button.ashby-application-form-input-yesno-option.ashby-application-form-input-yesno-option {
  min-height: 46px;
  padding-top: 0;
  padding-right: 21.6px;
  padding-bottom: 0;
  padding-left: 24px;
  border-style: solid;
  border-width: 1px;
  border-color: #ffffff4d;
  border-radius: 9999px;
  background-color: transparent;
  font-family: var(--fontFamilyMono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
}

button.ashby-application-form-input-yesno-option.ashby-application-form-input-yesno-option[aria-pressed='true'] {
  border-color: #ffffff;
  background-color: #ffffff;
  color: #000000;
}

/* Submit sits outside the form's 16px inset; in line with the fields above it. */
button.ashby-application-form-submit-button {
  width: calc(100% - 32px);
  margin-right: 16px;
  margin-left: 16px;
}

/* Ashby's own footer, hidden as on the Webflow site: the whole of it, so its 72px of margin and
   padding leave no gap under the list. */
footer {
  display: none !important;
}
