/* stylelint-disable */

/*
  Crosby-flavored Ashby job board stylesheet.
  Paste this into Ashby's custom CSS editor.
*/

:root {
  --cx-ink-900: oklch(0.176 0.0213 85.05);
  --cx-graphite-800: oklch(0.2831 0.0189 84.49);
  --cx-graphite-700: oklch(0.3846 0.0177 84.58);
  --cx-graphite-600: oklch(0.4763 0.0169 84.6);
  --cx-graphite-500: oklch(0.5673 0.0162 84.6);
  --cx-graphite-400: oklch(0.6514 0.0157 84.6);
  --cx-graphite-300: oklch(0.7329 0.0152 84.6);
  --cx-graphite-200: oklch(0.8153 0.0148 84.6);
  --cx-graphite-100: oklch(0.8926 0.0145 84.6);
  --cx-paper-50: oklch(0.9713 0.0142 84.59);
  --cx-accent-red-100: oklch(0.7855 0.1362 18.18);
  --cx-accent-red-300: oklch(0.6182 0.1434 19.63);
  --cx-accent-red-500: oklch(0.4509 0.1456 24.01);
  --cx-accent-green-100: oklch(0.7855 0.0519 167.71);
  --cx-accent-green-500: oklch(0.4509 0.0566 165.66);
  --cx-brand-red: oklch(0.5679 0.2323 28.33);
  --cx-top-rule-height: 14.5px;
  --cx-surface: color-mix(in srgb, var(--cx-paper-50) 50%, white);
  --cx-raised: white;
  --cx-shade: color-mix(in oklch, var(--cx-ink-900) 3%, transparent);
  --cx-border-base: color-mix(in oklch, var(--cx-ink-900) 10%, transparent);
  --cx-border-hover: color-mix(in oklch, var(--cx-ink-900) 20%, transparent);
  --cx-border-focus: color-mix(in oklch, var(--cx-ink-900) 30%, transparent);
  --cx-button-hover: color-mix(in oklch, var(--cx-ink-900) 90%, white);
  --cx-button-pressed: color-mix(in oklch, var(--cx-ink-900) 82%, white);

  --colorPrimary900: var(--cx-ink-900);
  --colorPrimary600: var(--cx-button-hover);
  --colorAppBackground: var(--cx-surface);

  --widthMaxJobBoard: 920px;
  --borderRadiusContainer: 8px;
  --borderRadiusControl: 6px;
  --borderRadiusButton: 6px;
  --fontFamily: 'Untitled Sans', Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
    Arial, sans-serif;
}

body::before {
  background: var(--cx-brand-red);
  content: '';
  height: var(--cx-top-rule-height);
  inset: 0 0 auto;
  pointer-events: none;
  position: fixed;
  z-index: 1000;
}

ul[class^='_navContainer_'] {
  padding-top: calc(16px + var(--cx-top-rule-height));
}

.ashby-job-board-heading,
.ashby-job-posting-heading {
  color: var(--cx-ink-900);
  font-size: 36px;
  font-weight: 450;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 28px;
}

.ashby-job-board-heading-count {
  color: var(--cx-graphite-400);
  font-size: 16px;
  font-weight: 400;
}

.ashby-department-heading,
.ashby-job-posting-brief-department-heading {
  color: var(--cx-graphite-600);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 32px 0 12px;
}

.ashby-department-heading-level,
.ashby-job-posting-brief-department-heading-level {
  color: var(--cx-graphite-400);
  font-size: 14px;
  font-weight: 400;
  margin: 20px 0 10px;
}

.ashby-job-board-filters-label {
  color: var(--cx-graphite-600);
  font-size: 14px;
  font-weight: 450;
  margin-bottom: 8px;
}

.ashby-job-board-reset-filters-label {
  color: var(--cx-graphite-600);
  cursor: pointer;
  font-size: 14px;
  font-weight: 450;
  text-decoration: underline;
  text-decoration-color: var(--cx-border-hover);
  text-underline-offset: 4px;
}

.ashby-job-board-reset-filters-label:hover {
  color: var(--cx-ink-900);
  text-decoration-color: var(--cx-ink-900);
}

.ashby-job-board-filter {
  appearance: none;
  background-color: var(--cx-raised);
  border: 1px solid var(--cx-border-base);
  border-radius: var(--borderRadiusControl);
  color: var(--cx-ink-900);
  font: inherit;
  min-height: 44px;
  padding: 10px 36px 10px 12px;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

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

.ashby-job-board-filter:focus,
.ashby-job-board-filter:focus-visible {
  border-color: var(--cx-border-focus);
  outline: none;
}

.ashby-job-board-filter,
.ashby-job-board-filter option,
.ashby-application-form-container select,
.ashby-application-form-container select option {
  background-color: var(--cx-raised) !important;
  color: var(--cx-ink-900) !important;
  color-scheme: light;
  line-height: 1.5 !important;
  -webkit-text-fill-color: var(--cx-ink-900);
}

.ashby-job-posting-brief-list {
  display: grid;
  gap: 12px;
}

.ashby-job-posting-brief {
  background: var(--cx-raised);
  border: 1px solid var(--cx-border-hover);
  border-top-color: var(--cx-border-hover);
  border-radius: var(--borderRadiusContainer);
  margin-bottom: 0;
  overflow: hidden;
  padding: 20px;
  position: relative;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.ashby-job-posting-brief::before {
  background: var(--cx-border-hover);
  content: '';
  height: 1px;
  inset: 0 0 auto;
  pointer-events: none;
  position: absolute;
}

.ashby-job-posting-brief-title {
  color: var(--cx-ink-900);
  font-size: 18px;
  font-weight: 450;
  line-height: 1.35;
  margin: 0;
}

.ashby-job-posting-brief-details {
  color: var(--cx-graphite-500);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 8px;
}

.ashby-job-posting-header {
  border-bottom: 1px solid var(--cx-border-base);
  margin-bottom: 28px;
  padding-bottom: 24px;
}

.ashby-job-board-back-to-all-jobs-button {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: var(--borderRadiusButton);
  color: var(--cx-graphite-600);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 450;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.ashby-job-board-back-to-all-jobs-button:hover {
  color: var(--cx-ink-900);
}

.ashby-job-posting-left-pane,
.ashby-job-posting-right-pane {
  color: var(--cx-ink-900);
}

.ashby-job-posting-right-pane {
  background: var(--cx-raised);
  border: 1px solid var(--cx-border-base);
  border-radius: var(--borderRadiusContainer);
  padding: 20px;
}

.ashby-job-posting-right-pane-application-tab,
.ashby-job-posting-right-pane-overview-tab {
  align-items: center;
  border-radius: var(--borderRadiusButton);
  color: var(--cx-graphite-600);
  cursor: pointer;
  display: inline-flex;
  font-weight: 450;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  transition: background-color 150ms ease, color 150ms ease;
}

.ashby-job-posting-right-pane-application-tab:hover,
.ashby-job-posting-right-pane-overview-tab:hover {
  background: var(--cx-shade);
  color: var(--cx-ink-900);
}

.ashby-job-posting-right-pane-tab-slider {
  background: var(--cx-ink-900);
  border-radius: 9999px;
  min-height: 2px;
}

.ashby-application-form-container,
.ashby-survey-form-container {
  background: var(--cx-raised);
  color: var(--cx-ink-900);
}

.ashby-application-form-section-container {
  border-top: 1px solid var(--cx-border-base);
  padding: 28px 0;
}

.ashby-application-form-section-container:first-child {
  border-top: 0;
  padding-top: 0;
}

.ashby-application-form-section-header {
  margin-bottom: 20px;
}

.ashby-application-form-section-header-title {
  color: var(--cx-ink-900);
  font-size: 20px;
  font-weight: 450;
  line-height: 1.3;
  margin: 0 0 6px;
}

.ashby-application-form-section-header-description,
.ashby-application-form-question-description,
.ashby-application-form-texting-consent-description,
.ashby-application-form-autofill-input-description {
  color: var(--cx-graphite-500);
  font-size: 14px;
  line-height: 1.55;
}

.ashby-application-form-field-entry {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.ashby-application-form-question-title {
  color: var(--cx-ink-900);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.4;
}

.ashby-application-form-container
  input:not([type='checkbox']):not([type='radio']):not([type='file']),
.ashby-application-form-container textarea,
.ashby-application-form-container select {
  background: var(--cx-raised);
  border: 1px solid var(--cx-border-base);
  border-radius: var(--borderRadiusControl);
  color: var(--cx-ink-900);
  font: inherit;
  font-size: 16px;
  min-height: 44px;
  padding: 10px 12px;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
  width: 100%;
}

.ashby-application-form-container textarea {
  line-height: 1.5;
  min-height: 132px;
  resize: vertical;
}

.ashby-application-form-container input::placeholder,
.ashby-application-form-container textarea::placeholder {
  color: var(--cx-graphite-300);
}

.ashby-application-form-container
  input:not([type='checkbox']):not([type='radio']):not([type='file']):hover,
.ashby-application-form-container textarea:hover,
.ashby-application-form-container select:hover {
  border-color: var(--cx-border-hover);
}

.ashby-application-form-container
  input:not([type='checkbox']):not([type='radio']):not([type='file']):focus,
.ashby-application-form-container
  input:not([type='checkbox']):not([type='radio']):not([type='file']):focus-visible,
.ashby-application-form-container textarea:focus,
.ashby-application-form-container textarea:focus-visible,
.ashby-application-form-container select:focus,
.ashby-application-form-container select:focus-visible {
  border-color: var(--cx-border-focus);
  outline: none;
}

.ashby-application-form-container input[type='checkbox'],
.ashby-application-form-container input[type='radio'] {
  accent-color: var(--cx-ink-900);
}

.ashby-application-form-submit-button {
  align-items: center;
  background: var(--cx-ink-900);
  border: 1px solid var(--cx-ink-900);
  border-radius: var(--borderRadiusButton);
  color: white;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 500;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease,
    opacity 150ms ease;
}

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

.ashby-application-form-submit-button:active {
  background: var(--cx-button-pressed);
  border-color: var(--cx-button-pressed);
}

.ashby-application-form-submit-button:disabled,
.ashby-application-form-submit-button[aria-disabled='true'] {
  cursor: not-allowed;
  opacity: 0.55;
}

.ashby-application-form-submit-button:focus-visible,
.ashby-job-board-back-to-all-jobs-button:focus-visible,
.ashby-job-posting-right-pane-application-tab:focus-visible,
.ashby-job-posting-right-pane-overview-tab:focus-visible {
  outline: 2px solid var(--cx-border-focus);
  outline-offset: 2px;
}

.ashby-application-form-autofill-pane,
.ashby-application-form-autofill-input-root,
.ashby-application-form-autofill-input-base-layer,
.ashby-application-form-autofill-uploader {
  background: color-mix(in oklch, var(--cx-graphite-100) 55%, white);
  border: 1px dashed var(--cx-border-hover);
  border-radius: var(--borderRadiusContainer);
  color: var(--cx-ink-900);
}

.ashby-application-form-autofill-input-base-layer,
.ashby-application-form-autofill-uploader {
  padding: 18px;
}

.ashby-application-form-autofill-input-title {
  color: var(--cx-ink-900);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.4;
}

.ashby-application-form-autofill-input-icon {
  color: var(--cx-graphite-600);
}

.ashby-application-form-autofill-input-root[data-state='drag'],
.ashby-application-form-autofill-input-drag-layer[data-state='active'] {
  background: color-mix(in oklch, var(--cx-ink-900) 4%, white);
  border-color: var(--cx-ink-900);
}

.ashby-application-form-autofill-input-root[data-state='pending'],
.ashby-application-form-autofill-input-pending-layer[data-state='active'] {
  opacity: 0.82;
}

.ashby-application-form-autofill-input-form-alert,
.ashby-application-form-blocked-application-container,
.ashby-application-form-failure-container,
.ashby-application-form-success-container {
  border-radius: var(--borderRadiusContainer);
  font-size: 14px;
  line-height: 1.5;
  padding: 14px 16px;
}

.ashby-application-form-autofill-input-form-alert[data-highlight='negative'],
.ashby-application-form-blocked-application-container,
.ashby-application-form-failure-container {
  background: color-mix(in oklch, var(--cx-accent-red-100) 24%, white);
  color: var(--cx-accent-red-500);
}

.ashby-application-form-autofill-input-form-alert[data-highlight='positive'],
.ashby-application-form-success-container {
  background: color-mix(in oklch, var(--cx-accent-green-100) 26%, white);
  color: var(--cx-accent-green-500);
}

@media (hover: hover) {
  .ashby-job-posting-brief:hover {
    background: color-mix(in oklch, var(--cx-ink-900) 2%, white);
    border-color: var(--cx-border-hover);
  }
}

@media (max-width: 720px) {
  :root {
    --widthMaxJobBoard: 100%;
  }

  .ashby-job-board-heading,
  .ashby-job-posting-heading {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 22px;
  }

  .ashby-job-posting-brief,
  .ashby-job-posting-right-pane {
    padding: 16px;
  }

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

  .ashby-application-form-section-container {
    padding: 22px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ashby-job-board-filter,
  .ashby-job-posting-brief,
  .ashby-job-board-back-to-all-jobs-button,
  .ashby-job-posting-right-pane-application-tab,
  .ashby-job-posting-right-pane-overview-tab,
  .ashby-application-form-submit-button,
  .ashby-application-form-container input,
  .ashby-application-form-container textarea,
  .ashby-application-form-container select {
    transition-duration: 1ms;
  }
}
