/* stylelint-disable */

/* ------------------------------------------------------------------ */
/*  Arizona Flare (display/headings) — served from exa.ai, CORS: *     */
/* ------------------------------------------------------------------ */
@font-face {
    font-family: "Arizona";
    font-weight: 300;
    font-style: normal;
    src: url("https://exa.ai/fonts/ABCArizonaFlare-Light.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "Arizona";
    font-weight: 400;
    font-style: normal;
    src: url("https://exa.ai/fonts/ABCArizonaFlare-Regular.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "Arizona";
    font-weight: 400;
    font-style: italic;
    src: url("https://exa.ai/fonts/ABCArizonaFlare-RegularItalic.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "Arizona";
    font-weight: 500;
    font-style: normal;
    src: url("https://exa.ai/fonts/ABCArizonaFlare-Medium.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "Arizona";
    font-weight: 700;
    font-style: normal;
    src: url("https://exa.ai/fonts/ABCArizonaFlare-Bold.woff2") format("woff2");
    font-display: swap;
}

/* ------------------------------------------------------------------ */
/*  Suisse Intl (body / subtitles) — served from exa.ai, CORS: *       */
/* ------------------------------------------------------------------ */
@font-face {
    font-family: "SuisseIntl";
    font-weight: 400;
    src: url("https://exa.ai/fonts/suisse-intl-regular.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "SuisseIntl";
    font-weight: 500;
    src: url("https://exa.ai/fonts/suisse-intl-medium.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "SuisseIntl";
    font-weight: 600;
    src: url("https://exa.ai/fonts/suisseintl-semibold.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "SuisseIntl";
    font-weight: 700;
    src: url("https://exa.ai/fonts/suisseintl-bold.woff2") format("woff2");
    font-display: swap;
}

/* ------------------------------------------------------------------ */
/*  Theme variables — default font is SuisseIntl                       */
/* ------------------------------------------------------------------ */
:root {
    --colorPrimary900: var(--accent-dark);
    --colorPrimary600: var(--accent);
    --widthMaxJobBoard: 800px;
    --borderRadiusContainer: 0;
    --borderRadiusControl: 4px;
    --borderRadiusButton: 4px;
    --fontFamily: "SuisseIntl", system-ui, -apple-system, sans-serif;
    --colorAppBackground: var(--background);
}

/* Make all form controls inherit SuisseIntl */
input,
textarea,
select,
button {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    color: #2a2a26 !important;
    cursor: auto !important;
}

input::placeholder,
textarea::placeholder {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    color: #9ca3af !important;
    font-weight: 400 !important;
}

/* ------------------------------------------------------------------ */
/*  Top header — push the Exa logo down from viewport edge             */
/* ------------------------------------------------------------------ */
.ashby-job-posting-header {
    padding-top: 40px;
    padding-bottom: 24px;
}

/* ------------------------------------------------------------------ */
/*  Job board (listings page)                                          */
/* ------------------------------------------------------------------ */

/* Page heading "Open Positions" — Arizona, exa.ai/careers color */
.ashby-job-board-heading {
    font-family: "Arizona", Georgia, serif !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    color: #2a2a26 !important;
    padding-top: 40px !important;
    padding-left: 0 !important;
    margin-left: -12px !important;
    text-align: left !important;
}

.ashby-job-board-heading-count {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    margin-left: 6px !important;
    padding-left: 0 !important;
}

/* Filters base styling — shift left by 12px via transform */
.ashby-job-board-filter,
.ashby-job-board-filter:focus,
.ashby-job-board-filter:hover,
.ashby-job-board-filter:active,
.ashby-job-board-filter:focus-visible {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #2a2a26 !important;
    border-width: 1px !important;
    border-radius: 4px !important;
    transition-property: border-color, box-shadow, color !important;
    transition-duration: 0.1s !important;
    transform: translateX(-12px) !important;
}

/* Move the custom arrow icon along with the select, and lighten/shrink it */
.ashby-job-board-filter + * {
    transform: translateX(-12px) !important;
    opacity: 0.5 !important;
}
.ashby-job-board-filter + * svg {
    stroke-width: 1.25 !important;
    width: 12px !important;
    height: 12px !important;
}

.ashby-job-board-filters-label {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    margin-left: -12px !important;
    padding-left: 0 !important;
}

/* Reset filters link (desktop). margin-left: auto pushes it right within
   _filtersHeader. margin-right: 12px compensates for the filter selects'
   `transform: translateX(-12px)` so the reset button's right edge aligns
   with the visual right edge of the rightmost filter (not the header). */
.ashby-job-board-reset-filters-label {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    margin-left: auto !important;
    margin-right: 12px !important;
}
.ashby-job-board-reset-filters-label:hover {
    color: #2a2a26 !important;
}

/* ------------------------------------------------------------------ */
/*  MOBILE filter overrides — show filters expanded by default, no    */
/*  gray background. Ashby's mobile layout (<768px) wraps filters in  */
/*  `_filtersContainer` (gray bg) > `_filtersWindow` (collapsed) plus */
/*  an `_filtersOpen` button to toggle. None are whitelisted, so we   */
/*  walk up using `:has()` from the whitelisted .ashby-job-board-     */
/*  filter selects inside.                                            */
/*                                                                    */
/*  DOM:  _filtersContainer (gray)                                    */
/*         > _filtersWindow (collapsed)                               */
/*            > _filtersHeader / _filters                             */
/*               > _filterContainer                                   */
/*                  > select.ashby-job-board-filter                   */
/*         > button._filtersOpen ("Filter Open Positions...")         */
/* ------------------------------------------------------------------ */
@media (max-width: 767px) {
    /* _filtersWindow (3 levels deep to the select) — force expanded */
    div:has(> div > div > select.ashby-job-board-filter) {
        max-height: none !important;
        opacity: 1 !important;
        overflow: visible !important;
    }

    /* _filtersContainer (4 levels deep to the select) — kill ONLY the gray
       bg and vertical padding. Leave Ashby's horizontal padding intact so
       the filters keep the same left alignment as Open Positions /
       Engineering / job rows. */
    div:has(> div > div > div > select.ashby-job-board-filter) {
        background: none !important;
        background-color: transparent !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        margin-top: 8px !important;
    }

    /* Hide the "Filter Open Positions..." toggle button — direct <button>
       child of _filtersContainer, sibling of _filtersWindow. */
    div:has(> div > div > div > select.ashby-job-board-filter) > button {
        display: none !important;
    }

    /* Hide the "Filters:" header label — redundant in expanded view */
    .ashby-job-board-filters-label {
        display: none !important;
    }

    /* Reset button — match the desktop look (icon + text, no underline).
       width/height: auto override Ashby's _filtersAction { width:24px;
       height:24px } that would squash the button into a tiny square.
       margin-right: 12px aligns right edge with filter dropdowns' visual
       right edge (which is shifted -12px by their transform). */
    .ashby-job-board-reset-filters-label {
        display: inline-flex !important;
        align-items: center !important;
        width: auto !important;
        height: auto !important;
        white-space: nowrap !important;
        margin-left: auto !important;
        margin-right: 12px !important;
        margin-bottom: 10px !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 4px 0 !important;
        font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        color: #6b7280 !important;
        cursor: pointer !important;
        text-decoration: none !important;
        transition: color 0.15s ease !important;
    }
    .ashby-job-board-reset-filters-label:hover {
        color: #2a2a26 !important;
    }

    /* Show the undo-arrow SVG icon (matches desktop's icon+text layout) */
    .ashby-job-board-reset-filters-label svg {
        display: inline-block !important;
        width: 12px !important;
        height: 12px !important;
        margin-right: 6px !important;
        opacity: 0.7 !important;
    }

    /* Mobile DOM has no text node — inject "Reset filters" after the icon */
    .ashby-job-board-reset-filters-label::after {
        content: "Reset filters";
    }

    /* Hide entirely when no filters are selected. Ashby uses the SAME
       button for two states (distinguished by the `title` attribute):
       - title="Close filters" → X icon, shown when nothing is selected
         (used to collapse the filter window — but we've forced it open,
         so this is irrelevant)
       - title="Reset filters" → undo-arrow icon, shown when filters are
         selected (actually resets them)
       Hide the close-mode variant + any disabled state. */
    .ashby-job-board-reset-filters-label[title="Close filters"],
    .ashby-job-board-reset-filters-label:disabled,
    .ashby-job-board-reset-filters-label[disabled] {
        display: none !important;
    }

}

/* ------------------------------------------------------------------ */
/*  Job listings rows                                                  */
/* ------------------------------------------------------------------ */

.ashby-job-posting-brief-list {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif;
    margin-left: 0 !important;
    padding-left: 0 !important;
    list-style: none;
}

/* Each row — NO box. Just rows on a transparent background. */
.ashby-job-posting-brief {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 14px 0 !important;
    color: #2a2a26 !important;
    list-style: none;
}

.ashby-job-posting-brief-title {
    font-family: "Arizona", Georgia, serif !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    color: #2a2a26 !important;
    line-height: 1.3 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.ashby-job-posting-brief-details {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.01em !important;
    margin-top: 6px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Department titles ("Engineering", "Research", etc.) */
.ashby-job-posting-brief-department-heading,
.ashby-department-heading {
    font-family: "Arizona", Georgia, serif !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    color: #2a2a26 !important;
    line-height: 1.2 !important;
    margin-top: 36px !important;
    margin-bottom: 12px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
}

.ashby-job-posting-brief-department-heading-level,
.ashby-department-heading-level {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    color: inherit !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ------------------------------------------------------------------ */
/*  Job posting (detail) page                                          */
/* ------------------------------------------------------------------ */

.ashby-job-posting-heading {
    font-family: "Arizona", Georgia, serif !important;
    font-size: 28px !important;
    font-weight: 500 !important;
    color: #2a2a26 !important;
}

.ashby-job-posting-left-pane {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #2a2a26 !important;
}

/* Right pane (JD body content) — padding-top aligns tabs vertically
   with "Location" row in left pane */
.ashby-job-posting-right-pane {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #2a2a26 !important;
    padding-top: 58px !important;
}

.ashby-job-posting-right-pane-tab-slider,
.ashby-job-posting-right-pane-overview-tab,
.ashby-job-posting-right-pane-application-tab {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #2a2a26 !important;
}

/* "Apply for this Job" CTA — sits inside an <a href=".../application">
   wrapper at the bottom of the Overview tab. Has Exa-blue background;
   the generic button { color: #2a2a26 } rule was making the text dark
   and unreadable. Force white text. */
.ashby-job-posting-right-pane a[href$="/application"] button,
.ashby-job-posting-right-pane a[href$="/application"] button:hover,
.ashby-job-posting-right-pane a[href$="/application"] button:focus,
.ashby-job-posting-right-pane a[href$="/application"] button:active {
    color: #ffffff !important;
}

/* ------------------------------------------------------------------ */
/*  Application form                                                   */
/* ------------------------------------------------------------------ */

.ashby-application-form-container {
    background-color: var(--background);
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif;
    color: #2a2a26;
    /* Override Ashby's borderWidthBold (default 2px) to 1px throughout the
       form. Makes the Resume field's dashed border match the autofill
       widget's lighter style and thins the Upload File button border. */
    --borderWidthBold: 1px !important;
    --colorNeutral300: #d6d3d1 !important;
}

.ashby-application-form-failure-container { color: red; }
.ashby-application-form-success-container { color: green; }

.ashby-application-form-field-entry { margin-bottom: 10px; }

.ashby-application-form-question-description {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
}

/* Application field titles ("Full Name", "Email", etc.) */
.ashby-application-form-question-title {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #2a2a26 !important;
}

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

.ashby-application-form-section-header-description {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
}

.ashby-application-form-section-header-title {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #2a2a26 !important;
}

/* Submit button — keep text white in all states */
.ashby-application-form-submit-button,
.ashby-application-form-submit-button:hover,
.ashby-application-form-submit-button:focus,
.ashby-application-form-submit-button:active {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-weight: 500 !important;
    color: white !important;
    padding: 0.75rem 2rem;
    transition: all 0.1s ease-in-out;
}
.ashby-application-form-submit-button:hover {
    background-color: black;
}

.ashby-survey-form-container {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-weight: 400 !important;
    color: #2a2a26 !important;
}

/* ------------------------------------------------------------------ */
/*  Resume / File upload widget — clean, Exa-style dashed dropzone    */
/* ------------------------------------------------------------------ */

.ashby-application-form-autofill-pane {
    background: transparent !important;
    border: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    margin-top: 28px !important;
}

.ashby-application-form-autofill-uploader,
.ashby-application-form-autofill-input-root {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    background-color: #fafaf9 !important;
    border: 1px dashed #d6d3d1 !important;
    border-radius: 6px !important;
    padding: 28px 20px !important;
    transition: border-color 0.15s ease, background-color 0.15s ease !important;
    box-shadow: none !important;
}

.ashby-application-form-autofill-input-root:hover,
.ashby-application-form-autofill-uploader:hover {
    border-color: #2a2a26 !important;
    background-color: #f5f5f4 !important;
    cursor: pointer !important;
}

.ashby-application-form-autofill-input-drag-layer {
    border-color: #2a2a26 !important;
    background-color: #f5f5f4 !important;
}

.ashby-application-form-autofill-input-title {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #2a2a26 !important;
    letter-spacing: 0 !important;
}

.ashby-application-form-autofill-input-description {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    margin-top: 4px !important;
}

.ashby-application-form-autofill-input-icon {
    color: #6b7280 !important;
    opacity: 0.7 !important;
}

.ashby-application-form-autofill-input-pending-layer {
    background-color: rgba(250, 250, 249, 0.9) !important;
    border-radius: 6px !important;
}

.ashby-application-form-autofill-input-form-alert {
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #dc2626 !important;
}

.ashby-application-form-autofill-input-base-layer {
    border-radius: 6px !important;
}

/* ------------------------------------------------------------------ */
/*  Upload buttons — Resume field's "Upload File" AND "Autofill from  */
/*  resume" — thin 1px Exa-blue border, transparent bg, no shadow.    */
/* ------------------------------------------------------------------ */
.ashby-application-form-field-entry button,
.ashby-application-form-autofill-uploader button,
.ashby-application-form-autofill-pane button {
    background-color: transparent !important;
    border: 1px solid #1F40ED !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    color: #1F40ED !important;
    font-family: "SuisseIntl", system-ui, -apple-system, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

.ashby-application-form-field-entry button:hover,
.ashby-application-form-autofill-uploader button:hover,
.ashby-application-form-autofill-pane button:hover {
    background-color: rgba(31, 64, 237, 0.06) !important;
    border-color: #1F40ED !important;
}
