:root {
    color-scheme: light;
    --ink: #102843;
    --muted: #4a637c;
    --blue: #1454b8;
    --blue-dark: #104492;
    --red: #c51f2d;
    --line: #d6e5f3;
    --page: #f3f8fd;
    --white: #fff;
    --radius: 20px;
    --header-clearance: 70px;
    scroll-padding-top: var(--header-clearance);
    font-family: system-ui, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--page);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--blue); text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #518cea; outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
p, li { line-height: 1.6; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 12; padding: 10px; background: white; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 4px 14px #1028430b; }
.header-inner { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 24px); min-height: 58px; }
.brand { color: var(--blue); font-size: clamp(1.14rem, 2.1vw, 1.62rem); font-weight: 850; letter-spacing: -.045em; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--red); }
.site-nav { display: flex; align-items: center; gap: 5px; margin-right: auto; }
.site-nav a { padding: .45rem .65rem; border-radius: 8px; color: var(--blue); text-decoration: none; text-transform: uppercase; font-weight: 800; font-size: .8rem; white-space: nowrap; }
.site-nav a:is(:hover, [aria-current]) { background: #dcefff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 44px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: 10px; font: inherit; font-weight: 750; text-decoration: none; cursor: pointer; }
.button-primary { color: white; background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--blue-dark); background: #edf6ff; border-color: var(--line); }
.button-secondary:hover { background: #deefff; }
.button-light { color: var(--blue-dark); background: white; }
.button-light:hover { background: #e7f3ff; }
.header-action { min-height: 38px; padding: .42rem .75rem; white-space: nowrap; }
.header-search { display: flex; min-width: 0; }
.header-search-wide { flex: 0 1 220px; }
.header-search input { height: 38px; border-radius: 8px 0 0 8px; padding: .45rem .6rem; font-size: .9rem; }
.header-search button, .header-search-mobile summary { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; padding: 0; cursor: pointer; }
.header-search button { border: 0; border-radius: 0 8px 8px 0; color: white; background: var(--blue); }
.header-search button:hover { background: var(--blue-dark); }
.header-search-mobile { display: none; }
.hero { background: radial-gradient(ellipse at 75% 5%, #c4e2ff, transparent 60%), linear-gradient(115deg, #edf7ff, #dfedfb); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(25px, 6vw, 82px); padding-block: clamp(42px, 6vw, 76px) clamp(68px, 8vw, 106px); }
.eyebrow { color: var(--blue-dark); font-size: .76rem; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; }
.hero-label { display: inline-flex; align-items: center; gap: .5rem; padding: .38rem .65rem; border: 1px solid #c8def4; border-radius: 20px; background: #ffffffd9; }
.hero-label span { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero h1 { margin: .6rem 0 .7rem; font-size: clamp(2.85rem, 7vw, 5.3rem); font-weight: 850; letter-spacing: -.065em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-description { max-width: 45ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.14rem); }
.hero-art { overflow: hidden; border: 1px solid #235583; border-radius: 22px; background: radial-gradient(ellipse at 50% 35%, #234c7a, #102844 75%); box-shadow: 0 18px 36px #10284326; }
.hero-art svg { display: block; width: 100%; height: auto; }
.listing { padding-bottom: 52px; }
.search-panel { position: relative; margin-top: -38px; display: grid; grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 1fr)) auto; align-items: end; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 12px 28px #10284312; }
label { display: grid; align-content: start; gap: .4rem; min-width: 0; color: var(--ink); font-size: .88rem; font-weight: 720; }
input, select, textarea { display: block; width: 100%; min-width: 0; padding: .68rem .72rem; border: 1px solid #bfcedf; border-radius: 9px; background: #f8fbfe; color: var(--ink); font: inherit; font-weight: 500; }
input, select { height: 44px; }
textarea { resize: vertical; }
.listing-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 36px 0 16px; }
.listing-heading h2, .employer-banner h2 { margin-top: .3rem; font-size: clamp(1.55rem, 3vw, 2.12rem); }
.result-count { flex-shrink: 0; color: var(--muted); font-size: .9rem; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.topic-list a { padding: .44rem .8rem; border: 1px solid var(--line); border-radius: 20px; background: white; color: var(--blue-dark); font-size: .88rem; font-weight: 700; text-decoration: none; }
.topic-list a:hover { border-color: #80b0ea; }
.topic-list a[aria-current] { color: white; background: var(--blue); border-color: var(--blue); }
.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.job-card, .surface, .notice { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: white; overflow-wrap: anywhere; }
.job-card { display: flex; flex-direction: column; padding: clamp(16px, 2vw, 22px); box-shadow: 0 8px 18px #10284306; }
.job-card:hover, .job-card:focus-within { border-color: #9ec3ee; box-shadow: 0 10px 22px #1028430f; }
.card-top { display: flex; justify-content: space-between; align-items: start; gap: .6rem; margin-bottom: 14px; }
.job-mark { display: grid; place-content: center; position: relative; flex-shrink: 0; width: 45px; height: 45px; border: 1px solid #c8e1f9; border-radius: 13px; color: var(--blue-dark); background: #e5f2ff; font-size: 1.13rem; font-weight: 850; }
.job-mark span { position: absolute; right: 5px; top: 2px; color: var(--blue); font-size: .63rem; }
.sample-badge { padding: .19rem .52rem; border-radius: 20px; color: #4b5b71; background: #eef3f8; font-size: .75rem; font-weight: 700; }
.specialty { color: var(--blue-dark); font-size: .75rem; font-weight: 760; }
.job-card h3 { margin: .32rem 0 .37rem; font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.job-card h3 a { color: var(--ink); text-decoration: none; }
.job-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.company { color: var(--muted); font-size: .91rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 12px 0 16px; padding: 0; list-style: none; color: var(--muted); font-size: .82rem; }
.job-meta > li { flex: 0 0 auto; white-space: nowrap; }
.job-meta > li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline-end: 5px; vertical-align: .16em; border-radius: 50%; background: #6a9bd3; }
.card-bottom { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .35rem .75rem; margin-top: auto; padding-top: 13px; border-top: 1px solid var(--line); font-size: .83rem; }
.card-bottom a { font-weight: 720; white-space: nowrap; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding-top: 18px; }
.employer-banner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-top: 32px; padding: clamp(20px, 4vw, 38px); border-radius: var(--radius); background: linear-gradient(120deg, #123052, #16528d); color: white; }
.employer-banner .eyebrow { color: #a9d4ff; }
.employer-banner p:last-child { margin-top: .4rem; color: #dbedff; }
.site-footer { padding-block: 22px; background: #102843; color: #d5e7f9; }
.footer-inner, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.site-footer a, .site-footer .brand span { color: white; }
.site-footer .brand { color: #9dd1ff; }
.site-footer p { margin-top: .3rem; font-size: .87rem; }
.content-space { padding-block: clamp(24px, 5vw, 54px); }
.back { display: inline-block; margin-bottom: 14px; font-size: .9rem; font-weight: 720; }
.posting-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 18px; }
.form-panel, .side-panel, .notice { padding: clamp(18px, 3vw, 34px); }
.form-panel h1, .detail-heading h1, .notice h1 { margin: .35rem 0 .6rem; font-size: clamp(1.8rem, 4vw, 3rem); }
.form-panel > p:not(.eyebrow), .notice > p:not(.eyebrow), .side-panel ul { color: var(--muted); }
.form-panel h2, .side-panel h2 { margin: .4rem 0 .65rem; font-size: 1.23rem; }
.form-panel :is(.preline, .job-rich-content) + h2 { margin-top: 1.35rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.job-editor { min-width: 0; }
.job-editor > label { margin-bottom: .4rem; }
.job-editor [hidden] { display: none; }
.job-editor-ui { border: 1px solid #bfcedf; border-radius: 10px; background: #f8fbfe; }
.job-editor-ui:focus-within { border-color: #518cea; box-shadow: 0 0 0 2px #518cea26; }
.job-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 6px;
    border-bottom: 1px solid var(--line);
    border-radius: 10px 10px 0 0;
    background: #edf4fc;
}
.job-toolbar select, .job-toolbar button {
    height: 36px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: .9rem;
}
.job-toolbar select { width: auto; padding: 0 .45rem; }
.job-toolbar button { display: inline-grid; place-items: center; min-width: 36px; padding: 0 .35rem; cursor: pointer; }
.job-toolbar :is(button, select):hover, .job-toolbar .ql-active { border-color: #b9d2ed; background: white; color: var(--blue-dark); }
.job-editor-input .ql-editor { min-height: 145px; max-height: 420px; color: var(--ink); font: 500 .95rem/1.65 system-ui, sans-serif; overflow-wrap: anywhere; }
.job-editor-input .ql-editor:focus-visible { outline: none; }
.job-editor-count { padding: .35rem .7rem; border-top: 1px solid var(--line); color: var(--muted); text-align: right; font-size: .76rem; }
.job-editor-count.is-over-limit, .job-editor-error { color: #921d27; }
.job-editor-error { margin-top: .35rem; font-size: .85rem; }
.job-rich-content { color: var(--muted); line-height: 1.65; }
.job-rich-content > * + * { margin-top: .65rem; }
.job-rich-content :is(h3, h4) { color: var(--ink); }
.job-rich-content ul, .job-rich-content ol { margin-bottom: 0; padding-inline-start: 1.45rem; }
.form-errors { margin-top: 14px; padding: 2px 10px; border-radius: 10px; color: #921d27; background: #fff1f3; }
.form-errors ul, .side-panel ul { padding-left: 1.3rem; }
.field-note, .sample-note { margin: 15px 0; color: var(--muted); font-size: .89rem; }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.detail-heading { display: flex; align-items: start; gap: 15px; margin-bottom: 16px; padding: clamp(18px, 3vw, 34px); background: linear-gradient(110deg, #fff, #eaf5ff); }
.detail-heading :is(.job-mark, .company-logo) { width: 55px; height: 55px; }
.detail-heading .job-meta { margin-bottom: 0; }
@media (min-width: 661px) {
    .job-detail-sidebar {
        position: sticky;
        top: var(--header-clearance);
        max-height: calc(100dvh - var(--header-clearance) - 12px);
        overflow: auto;
    }
}
.side-panel dl { margin: 12px 0; }
.side-panel dt { color: var(--muted); font-size: .83rem; }
.side-panel dd { margin: 0 0 10px; font-weight: 750; }
.preline { white-space: pre-line; }
.notice { text-align: center; }
.notice p { margin: .35rem 0 .8rem; }
.account-panel { max-width: 640px; margin-inline: auto; }
.account-form { display: grid; gap: 14px; margin-top: 18px; }
.account-form > button { justify-self: start; }
.workspace-heading, .workspace-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.workspace-heading { justify-content: space-between; margin-bottom: 18px; }
.workspace-message, .workspace-error, .workspace-empty { padding: .75rem 1rem; margin-top: 12px; border-radius: 10px; background: #edf6ff; color: var(--ink); }
.workspace-error { background: #fff0f1; color: #8c2430; }
.workspace-list { display: grid; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.workspace-list > li { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #f8fbfe; }
.workspace-list h2 { margin: .35rem 0; }
.workspace-list .sample-badge { display: inline-block; }
.workspace-job { flex: 1 1 20rem; min-width: 0; }
.job-status { display: inline-flex; align-items: center; gap: .42rem; margin: .15rem 0 .4rem; padding: .24rem .7rem; border-radius: 20px; background: #e8eef5; color: #394c61; font-size: .83rem; font-weight: 800; }
.job-status::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: currentColor; }
.job-status[data-stage="pending"] { background: #e1edff; color: #174782; }
.job-status[data-stage="approved"] { background: #ddf5e8; color: #155b39; }
.job-status[data-stage="changes"] { background: #ffedc4; color: #783c07; }
.job-status[data-stage="rejected"] { background: #ffe4e7; color: #892838; }
.review-note { margin-top: .65rem; padding: .7rem .9rem; border: 1px solid #f0d39b; border-inline-start: 4px solid #ba6515; border-radius: 8px; background: #fff6e3; color: #61340a; }
.review-note p { margin-top: .25rem; }
.workspace-public { font-size: .86rem; }
.workspace-preview { display: grid; gap: .45rem; margin-top: 18px; }
.workspace-preview h3 { margin-top: .75rem; }
.settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.settings-grid .account-form { align-content: start; }
.profile-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.profile-nav a { padding: .55rem .85rem; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--blue-dark); text-decoration: none; font-weight: 700; }
.profile-nav a:hover { background: #e8f3ff; }
.profile-nav a[aria-current] { border-color: var(--blue-dark); background: var(--blue-dark); color: white; }
.button-danger { border-color: #edc7cc; background: #fff6f7; color: #8c2430; }
.button-danger:hover { background: #ffe8eb; }
.auth-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); max-width: 1060px; margin-inline: auto; gap: 24px; align-items: start; }
.auth-intro { padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: linear-gradient(140deg, #143557, #1454a4); color: white; }
.auth-intro .eyebrow { color: #b5dfff; }
.auth-intro h2 { margin: .9rem 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.auth-intro p, .auth-intro li { color: #d3e7fa; }
.auth-intro ul { padding-left: 1.2rem; margin-block: 20px 28px; }
.auth-intro li + li { margin-top: .5rem; }
.auth-intro a { color: white; font-weight: 750; }
.auth-panel h1 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
.auth-panel > p:not(.eyebrow) { margin-top: .65rem; }
.cf-turnstile { min-width: 0; }
.auth-panel .account-form > button { justify-self: stretch; }
.forgot-link { justify-self: end; font-size: .87rem; font-weight: 650; }
.password-field { display: flex; position: relative; }
.password-field input { padding-inline-end: 57px; }
.password-field button { position: absolute; right: 4px; top: 4px; bottom: 4px; padding-inline: .5rem; border: 0; border-radius: 5px; background: #e6f0fa; color: var(--blue-dark); font: inherit; font-size: .8rem; cursor: pointer; }
.logo-field { display: grid; gap: .65rem; }
.logo-field .field-note { margin: 0; }
.company-logo { flex-shrink: 0; display: block; width: 96px; height: 96px; padding: 5px; object-fit: contain; border: 1px solid var(--line); border-radius: 15px; background: white; }
.card-company-logo { display: block; width: 45px; height: 45px; object-fit: contain; border-radius: 10px; background: white; border: 1px solid var(--line); }
.hiring-company { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.checkbox-label { display: flex; align-items: center; gap: .5rem; }
.checkbox-label input { width: 18px; height: 18px; }
.company-heading { align-items: center; }
.company-contacts { overflow-wrap: anywhere; }
.company-sidebar { display: grid; min-width: 0; gap: 16px; }
.company-openings h2 { margin-top: 0; }
.company-openings .company-job-list { display: grid; gap: 12px; list-style: none; margin-bottom: 0; padding: 0; }
.company-job-list > li { min-width: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.company-job-list h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.company-job-list .job-meta { margin: 0 0 .35rem; padding: 0; }
@media (max-width: 760px) {
    .header-search-wide { display: none; }
    .header-search-mobile { display: block; }
    .header-search-mobile summary { border: 1px solid var(--line); border-radius: 8px; color: var(--blue-dark); background: #edf6ff; list-style: none; }
    .header-search-mobile summary::-webkit-details-marker { display: none; }
    .header-search-mobile[open] summary { background: #deefff; }
    .header-search-panel { position: absolute; top: 100%; right: max(15px, calc((100% - 1160px) / 2)); width: min(320px, calc(100% - 30px)); padding: 10px; background: white; border: 1px solid var(--line); border-radius: 0 0 12px 12px; box-shadow: 0 8px 18px #1028431a; }
    .header-search-panel input { font-size: 1rem; }
    .auth-layout { grid-template-columns: minmax(0, 1fr); }
    .auth-panel { grid-row: 1; }
    .auth-intro { grid-row: 2; }
    .auth-intro { padding: 20px; }
    .auth-intro h2 { margin: .45rem 0; font-size: 1.65rem; }
    .auth-intro ul { display: none; }
    .auth-intro > a { display: inline-block; margin-top: .65rem; }
}
@media (max-width: 900px) {
    .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .search-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 660px) {
    .wrap { width: calc(100% - 30px); }
    .hero-inner { grid-template-columns: minmax(0, 1fr); padding-top: 34px; gap: 18px; }
    .hero-art { display: none; }
    .job-grid, .posting-layout, .settings-grid { grid-template-columns: minmax(0, 1fr); }
    .job-card { padding: 17px; }
    .listing-heading { margin-top: 26px; }
}
@media (max-width: 680px) {
    :root { --header-clearance: 62px; }
    :root:has(.has-workspace) { --header-clearance: 88px; }
    .header-inner { min-height: 50px; gap: 6px; }
    .site-nav a { padding: 6px; font-size: .79rem; }
    .header-action { min-height: 36px; padding: .35rem .5rem; font-size: .79rem; }
    .header-action span { display: none; }
    .header-inner.has-workspace { flex-wrap: wrap; padding-block: 6px; row-gap: 2px; }
    .has-workspace .site-nav { order: 1; flex-basis: 100%; }
    .has-workspace .header-search-mobile { margin-left: auto; }
}
@media (max-width: 600px) {
    :root { --header-clearance: 88px; }
    .header-inner:not(.has-workspace) { flex-wrap: wrap; padding-block: 6px; row-gap: 2px; }
    .header-inner:not(.has-workspace) .site-nav { order: 1; flex-basis: 100%; }
    .header-inner:not(.has-workspace) .header-search-mobile { margin-left: auto; }
}
@media (max-width: 430px) {
    .search-panel, .form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 350px) {
    .header-inner { width: calc(100% - 20px); gap: 4px; }
    .site-header .brand { font-size: .92rem; }
    .site-nav a { padding-inline: 3px; font-size: .7rem; }
    .header-search-mobile summary { width: 34px; }
    .header-action { padding-inline: .35rem; font-size: .73rem; }
}
