/* stylelint-disable */
/* ==========================================================================
   Spellbook × Ashby — job board + application form theme
   --------------------------------------------------------------------------
   Matches spellbook.com dark mode (.u-mode-dark). On spellbook.com/careers the
   form is embedded inside an ink (#111) card, so the app background is set to
   the same ink to sit seamlessly inside it.

   Selector rules (to pass Ashby's custom CSS validator):
   - :root sets Ashby-documented theme variables only
   - every other selector is one of Ashby's published .ashby-* classes,
     optionally with the data-/aria- attributes Ashby documents for it,
     plus :hover / :focus / ::placeholder / ::after on those classes
   - no hashed classes, IDs, bare element selectors, :not() or :nth-*
     (one exception: ".ashby-application-form-submit-button svg" for the
     submit icon, which Ashby gives no class of its own)
   - @font-face is the only at-rule besides @media

   Tokens (from the live site's Webflow variables, dark mode):
     Ink              #111111   page / card background
     White            #ffffff   primary text, primary button
     Parchment light  #f4f3ef   secondary button (dark mode)
     Iron medium      #a4ab9e   secondary text, placeholders
     Neutral 800      #494a47   input borders
     Neutral 900      #2c2c2a   dividers / page borders
     Neutral 950      #1d1d1c   raised surfaces
     Go-ahead green   #56e52e   brand accent, button hover
     Redline          #f03e0d   errors / required
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Font — Spellbook Sans (served from the Spellbook Webflow CDN)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: "Spellbook Sans";
  src: url("https://cdn.prod.website-files.com/6aa16ec20a4c10fd36efc1fa/6b086662390a2085dca7b253_spellbook-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Spellbook Sans";
  src: url("https://cdn.prod.website-files.com/6aa16ec20a4c10fd36efc1fa/6b086662aa714dde32ca7421_spellbook-sans-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Spellbook Sans";
  src: url("https://cdn.prod.website-files.com/6aa16ec20a4c10fd36efc1fa/6b0866622a716c3d68d4697e_spellbook-sans-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Spellbook Sans";
  src: url("https://cdn.prod.website-files.com/6aa16ec20a4c10fd36efc1fa/6b08666204df99e87750b217_spellbook-sans-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}


/* --------------------------------------------------------------------------
   2. Ashby theme variables
   The two primary colours are also set in Ashby Admin > Theme, which Ashby
   writes inline on <html>; !important keeps these values in charge.

   Primary 600 is white so the active tab, "See More" and the resume-autofill
   outline button read like the site's dark-mode controls. Ashby's filled
   primary buttons always use white text, so wherever one of those appears
   without its own class (the "Apply for this Job" button on the Overview tab)
   the variable is re-scoped to Spellbook's dark green — see section 4.
   -------------------------------------------------------------------------- */

:root {
  --fontFamily: "Spellbook Sans", Arial, sans-serif;

  --colorAppBackground: #111111;
  --colorPrimary600: #ffffff !important;   /* active tab, links, outline buttons */
  --colorPrimary900: #56e52e !important;   /* hover / active states */

  --colorNegative600: #f03e0d;
  --colorPositive600: #56e52e;

  --widthMaxJobBoard: 960px;
  --widthMaxContent: 960px;

  --borderRadiusContainer: 0px;           /* cards are square on the site */
  --borderRadiusControl: 3px;             /* inputs: .1875rem */
  --borderRadiusButton: 2px;              /* buttons: .125rem */
}


/* --------------------------------------------------------------------------
   3. Job board list (jobs.ashbyhq.com/spellbook.com)
   -------------------------------------------------------------------------- */

.ashby-job-board-heading {
  font-family: var(--fontFamily);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.ashby-job-board-heading-count {
  font-weight: 400;
  color: #a4ab9e;
}

.ashby-job-board-filters-label,
.ashby-job-board-reset-filters-label {
  font-family: var(--fontFamily);
  font-size: 14px;
  font-weight: 500;
  color: #a4ab9e;
}

.ashby-job-board-reset-filters-label:hover {
  color: #ffffff;
}

.ashby-job-board-filter {
  font-family: var(--fontFamily);
  font-size: 16px;
  color: #ffffff;
  background-color: #111111;
  border: 1px solid #494a47;
  border-radius: 3px;
  color-scheme: dark;
}

.ashby-job-board-filter:hover {
  border-color: #a4ab9e;
}

.ashby-job-board-filter:focus {
  border-color: #ffffff;
  outline: none;
  box-shadow: none;
}

.ashby-department-heading,
.ashby-job-posting-brief-department-heading {
  font-family: var(--fontFamily);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading-level {
  font-family: var(--fontFamily);
  font-weight: 500;
  color: #a4ab9e;
}

.ashby-job-posting-brief-list {
  border-bottom: 1px solid #2c2c2a;
}

.ashby-job-posting-brief {
  background-color: transparent !important;
  border: 0 !important;
  border-top: 1px solid #2c2c2a !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 24px 0 !important;
  transition: opacity 0.2s ease;
}

.ashby-job-posting-brief:hover {
  background-color: transparent !important;
}

.ashby-job-posting-brief-title {
  font-family: var(--fontFamily);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
  transition: color 0.2s ease;
}

.ashby-job-posting-brief:hover .ashby-job-posting-brief-title {
  color: #56e52e;
}

.ashby-job-posting-brief-details {
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 400;
  color: #a4ab9e;
}


/* --------------------------------------------------------------------------
   4. Job posting page (also shown above the form in the embed)
   -------------------------------------------------------------------------- */

/* The back button sits in a sticky bar — an ink fill stops page content
   showing through it on scroll */
.ashby-job-board-back-to-all-jobs-button {
  font-family: var(--fontFamily);
  font-weight: 500;
  color: #ffffff;
  background-color: #111111;
  transition: color 0.2s ease;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  color: #56e52e;
}

.ashby-job-posting-header {
  color: #ffffff;
}

.ashby-job-posting-heading {
  font-family: var(--fontFamily);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.ashby-job-posting-left-pane {
  font-family: var(--fontFamily);
  color: #ffffff;
  background-color: transparent;
}

.ashby-job-posting-right-pane {
  font-family: var(--fontFamily);
  color: #ffffff;
  background-color: transparent;
}

.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.ashby-job-posting-right-pane-tab-slider {
  background-color: #56e52e;
}

/* Ashby paints this white by default. The scoped primary colour gives the
   unclassed "Apply for this Job" button a readable fill behind its fixed
   white label. */
.ashby-job-posting-description-container {
  --colorPrimary600: #1c8000;
  --colorPrimary900: #1c8000;
  color: #ffffff;
  background-color: transparent;
  border: 0;
  box-shadow: none;
}

.ashby-job-posting-description {
  font-family: var(--fontFamily);
  font-size: 18px;
  line-height: 1.4;
  color: #ffffff;
}


/* --------------------------------------------------------------------------
   5. Application form — structure & type
   -------------------------------------------------------------------------- */

.ashby-application-form-container {
  font-family: var(--fontFamily);
  color: #ffffff;
  background-color: transparent;
  color-scheme: dark;                       /* dark native pickers & scrollbars */
}

.ashby-application-form-section-container {
  color: #ffffff;
}

.ashby-application-form-section-header-title {
  font-family: var(--fontFamily);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.ashby-application-form-section-header-description {
  font-size: 16px;
  line-height: 1.4;
  color: #a4ab9e;
}

.ashby-application-form-field-entry {
  color: #ffffff;
}

.ashby-application-form-question-title {
  font-family: var(--fontFamily);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0;
  color: #ffffff;
}

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

.ashby-application-form-question-description {
  font-size: 14px;
  line-height: 1.4;
  color: #a4ab9e;
}

.ashby-application-form-texting-consent-description,
.ashby-application-blocking-disclosure {
  font-size: 14px;
  line-height: 1.4;
  color: #a4ab9e;
}


/* --------------------------------------------------------------------------
   6. Application form — text inputs
   -------------------------------------------------------------------------- */

.ashby-application-form-input-text,
.ashby-application-form-input-textarea,
.ashby-application-form-input-date,
.ashby-application-form-input-autocomplete,
.ashby-application-form-input-dropdown-select {
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
  background-color: #111111;
  border: 1px solid #494a47;
  border-radius: 3px;
  box-shadow: none;
  padding: 12px 16px;
  transition: border-color 0.2s ease;
}

.ashby-application-form-input-text:hover,
.ashby-application-form-input-textarea:hover,
.ashby-application-form-input-date:hover,
.ashby-application-form-input-autocomplete:hover,
.ashby-application-form-input-dropdown-select:hover {
  border-color: #a4ab9e;
}

/* Ashby adds a blue 4px focus outline; the white border replaces it */
.ashby-application-form-input-text:focus,
.ashby-application-form-input-textarea:focus,
.ashby-application-form-input-date:focus,
.ashby-application-form-input-autocomplete:focus,
.ashby-application-form-input-dropdown-select:focus,
.ashby-application-form-input-text:focus-visible,
.ashby-application-form-input-textarea:focus-visible,
.ashby-application-form-input-date:focus-visible,
.ashby-application-form-input-autocomplete:focus-visible,
.ashby-application-form-input-dropdown-select:focus-visible {
  border-color: #ffffff;
  outline: none !important;
  box-shadow: none;
}

.ashby-application-form-input-text::placeholder,
.ashby-application-form-input-textarea::placeholder,
.ashby-application-form-input-date::placeholder,
.ashby-application-form-input-autocomplete::placeholder {
  color: #a4ab9e;
  opacity: 1;
}

.ashby-application-form-input-dropdown-icon {
  color: #a4ab9e;
}

/* Date picker and autocomplete popups */

.ashby-application-form-input-date-popup,
.ashby-application-form-input-autocomplete-popup {
  font-family: var(--fontFamily);
  color: #ffffff;
  background-color: #1d1d1c;
  border: 1px solid #494a47;
  border-radius: 3px;
  box-shadow: none;
}

.ashby-application-form-input-date-popup-header,
.ashby-application-form-input-date-popup-title {
  font-weight: 500;
  color: #ffffff;
}

.ashby-application-form-input-date-popup-header-button {
  color: #ffffff;
}

.ashby-application-form-input-date-popup-header-button:hover {
  color: #56e52e;
}

.ashby-application-form-input-autocomplete-popup-result {
  color: #ffffff;
}

.ashby-application-form-input-autocomplete-popup-result:hover,
.ashby-application-form-input-autocomplete-popup-result[aria-selected="true"] {
  background-color: #2c2c2a;
}

.ashby-application-form-input-autocomplete-popup-empty,
.ashby-application-form-input-autocomplete-popup-loading {
  color: #a4ab9e;
}


/* --------------------------------------------------------------------------
   7. Application form — choice inputs
   -------------------------------------------------------------------------- */

.ashby-application-form-input-radio-group-option-label,
.ashby-application-form-input-checkbox-group-option-label {
  font-family: var(--fontFamily);
  font-size: 16px;
  line-height: 1.4;
  color: #ffffff;
}

/* Ashby draws radios/checkboxes with unclassed spans and hides the real
   input (opacity 0) in the same 24px grid cell. Showing and styling the
   input itself covers those spans, so only approved classes are needed. */

.ashby-application-form-input-radio-group-option-radio,
.ashby-application-form-input-checkbox-group-option-checkbox {
  -webkit-appearance: none;
  appearance: none;
  opacity: 1 !important;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin: 0;
  background-color: #111111;
  border: 1px solid #494a47;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ashby-application-form-input-radio-group-option-radio {
  border-radius: 50%;
}

.ashby-application-form-input-checkbox-group-option-checkbox {
  border-radius: 2px;
}

.ashby-application-form-input-radio-group-option-radio:hover,
.ashby-application-form-input-checkbox-group-option-checkbox:hover {
  border-color: #a4ab9e;
}

.ashby-application-form-input-radio-group-option-radio:focus-visible,
.ashby-application-form-input-checkbox-group-option-checkbox:focus-visible {
  outline: 2px solid #56e52e;
  outline-offset: 2px;
}

/* Selected: green with an ink ring */
.ashby-application-form-input-radio-group-option[data-checked] .ashby-application-form-input-radio-group-option-radio,
.ashby-application-form-input-checkbox-group-option[data-checked] .ashby-application-form-input-checkbox-group-option-checkbox {
  background-color: #56e52e;
  border-color: #56e52e;
  box-shadow: inset 0 0 0 4px #111111;
}

.ashby-application-form-input-radio-group-option[data-disabled],
.ashby-application-form-input-checkbox-group-option[data-disabled] {
  opacity: 0.5;
}

/* Yes / No toggle — selected state mirrors the site's dark-mode primary button */

.ashby-application-form-input-yesno-option {
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #a4ab9e;
  background-color: transparent;
  border: 1px solid #494a47;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ashby-application-form-input-yesno-option:hover {
  color: #ffffff;
  border-color: #a4ab9e;
}

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


/* --------------------------------------------------------------------------
   8. Application form — file upload, resume autofill, education
   -------------------------------------------------------------------------- */

.ashby-application-form-input-file {
  background-color: transparent;
  border: 1px dashed #494a47;
  border-radius: 3px;
}

.ashby-application-form-input-file-dropzone {
  font-family: var(--fontFamily);
  color: #a4ab9e;
}

.ashby-application-form-input-file-dropzone-instructions {
  font-size: 16px;
  font-weight: 400;
  color: #a4ab9e;
}

/* Secondary buttons — site's dark-mode secondary button */

.ashby-application-form-input-file-dropzone-upload,
.ashby-application-form-input-education-add {
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #f4f3ef;
  background-color: transparent;
  border: 1px solid #f4f3ef;
  border-radius: 2px;
  padding: 16px 20px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ashby-application-form-input-file-dropzone-upload:hover,
.ashby-application-form-input-education-add:hover {
  color: #111111;
  background-color: #f4f3ef;
  border-color: #f4f3ef;
}

.ashby-application-form-input-file-item {
  font-family: var(--fontFamily);
  color: #ffffff;
  background-color: #1d1d1c;
  border: 1px solid #2c2c2a;
  border-radius: 3px;
}

.ashby-application-form-input-file-item-name {
  color: #ffffff;
}

.ashby-application-form-input-file-item-delete,
.ashby-application-form-input-education-entry-delete {
  color: #a4ab9e;
}

.ashby-application-form-input-file-item-delete:hover,
.ashby-application-form-input-education-entry-delete:hover {
  color: #f03e0d;
}

/* Resume autofill panel */

.ashby-application-form-autofill-pane {
  background-color: transparent;
}

.ashby-application-form-autofill-input-root {
  color: #ffffff;
  background-color: #1d1d1c;
  border: 1px solid #2c2c2a;
  border-radius: 0;
  transition: border-color 0.2s ease;
}

.ashby-application-form-autofill-input-root[data-state="drag"] {
  border-color: #56e52e;
}

.ashby-application-form-autofill-input-icon {
  color: #56e52e;
}

.ashby-application-form-autofill-input-title {
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
}

.ashby-application-form-autofill-input-description {
  font-size: 14px;
  line-height: 1.4;
  color: #a4ab9e;
}

.ashby-application-form-autofill-input-drag-layer,
.ashby-application-form-autofill-input-pending-layer {
  color: #ffffff;
  background-color: #1d1d1c;
}

.ashby-application-form-autofill-input-form-alert[data-highlight="negative"] {
  color: #f03e0d;
}

.ashby-application-form-autofill-input-form-alert[data-highlight="positive"] {
  color: #56e52e;
}

/* Education history */

.ashby-application-form-input-education-entry {
  border: 1px solid #2c2c2a;
  border-radius: 0;
}

.ashby-application-form-input-education-entry-header {
  font-weight: 500;
  color: #ffffff;
}


/* --------------------------------------------------------------------------
   9. Submit button — site's dark-mode primary button
   -------------------------------------------------------------------------- */

.ashby-application-form-submit-button {
  font-family: var(--fontFamily);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #111111;
  background-color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 2px;
  padding: 16px 20px;
  min-width: 200px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ashby-application-form-submit-button:hover {
  color: #111111;
  background-color: #56e52e;
  border-color: #56e52e;
}

/* The paper-plane icon has no Ashby class and a hard-coded white fill (with a
   separate white hover rule), so it disappears on the white button. This is
   the file's one non-class selector: an approved class plus the svg element
   (no hashed classes). !important guards against Ashby styles that load
   after this file. */
.ashby-application-form-submit-button svg,
.ashby-application-form-submit-button:hover svg {
  fill: #111111 !important;
}

.ashby-application-form-submit-button:focus-visible {
  outline: 2px solid #56e52e;
  outline-offset: 2px;
}


/* --------------------------------------------------------------------------
   10. Submission states
   -------------------------------------------------------------------------- */

.ashby-application-form-success-container,
.ashby-application-form-failure-container,
.ashby-application-form-blocked-application-container {
  font-family: var(--fontFamily);
  color: #ffffff;
  background-color: #111111;
  border: 1px solid #2c2c2a;
  border-radius: 0;
}

.ashby-application-form-success-container {
  border-color: #56e52e;
}

.ashby-application-form-failure-container {
  border-color: #f03e0d;
}

.ashby-survey-form-container {
  font-family: var(--fontFamily);
  color: #ffffff;
}


/* --------------------------------------------------------------------------
   11. Small screens
   -------------------------------------------------------------------------- */

@media screen and (max-width: 700px) {
  .ashby-job-board-heading {
    font-size: 32px;
  }

  .ashby-job-posting-heading {
    font-size: 26px;
  }

  .ashby-job-posting-brief-title {
    font-size: 20px;
  }

  .ashby-application-form-submit-button {
    width: 100%;
  }
}
