/* ==========================================================================
   jobs.css -- the public job boards (public/jobs.pl): a corporation's careers
   site, a club's page, a job and its apply form. Loaded after app.css.

   Every colour is a --jb-* custom property on body.kan-jobs. The values here
   are the built-in look; kanJobsBoard prints the platform's, then the
   corporation's, then the club's after this file:
     --jb-bg / --jb-page-*      the page and the text that sits right on it
     --jb-panel / --jb-ink*     cards, the top bar, the search box, and their text
     --jb-accent(-ink)          buttons, ticks, markers (and the text on them)
     --jb-link                  the accent where it reads on the panel, else the ink
     --jb-shade                 how much the banner picture is darkened (0-0.9)
   The banner's text is always white: its picture is darkened, and without one
   it is the accent's own deep gradient.
   ========================================================================== */

body.kan-jobs {
  --jb-bg: #06131f;
  --jb-panel: #0a1826;
  --jb-accent: #7ee7d0;  --jb-accent-ink: #052620;
  --jb-ink: #edf7ff;  --jb-ink-2: #b7d8eb;  --jb-ink-3: #8fb0c6;
  --jb-line: rgba(183, 216, 235, 0.18);  --jb-field: rgba(255, 255, 255, 0.06);
  --jb-page-ink: #edf7ff;  --jb-page-ink-2: #b7d8eb;  --jb-page-line: rgba(183, 216, 235, 0.18);
  --jb-link: #7ee7d0;
  --jb-shade: 0.45;
  --jb-deep: #04121c;    /* what the banner's gradient and photo overlay darken towards */
  --jb-r: 16px;
  --jb-shadow: 0 1px 2px rgba(4, 18, 28, 0.06), 0 10px 30px -14px rgba(4, 18, 28, 0.22);
  --jb-shadow-up: 0 2px 6px rgba(4, 18, 28, 0.08), 0 22px 44px -18px rgba(4, 18, 28, 0.34);
  --jb-ring: 0 0 0 4px color-mix(in srgb, var(--jb-accent) 28%, transparent);
  display: flex; flex-direction: column; min-height: 100vh; margin: 0;
  background: var(--jb-bg); color: var(--jb-page-ink);
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
:where(body.kan-jobs) a { color: inherit; text-decoration: none; }
:where(body.kan-jobs) h1, :where(body.kan-jobs) h2, :where(body.kan-jobs) h3 { color: inherit; }
body.kan-jobs main { flex: 1; padding-bottom: clamp(64px, 9vw, 112px); }
.jb-wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
@media (min-width: 768px) { .jb-wrap { width: min(1180px, calc(100% - 64px)); } }
.kan-jobs :focus-visible { outline: 3px solid color-mix(in srgb, var(--jb-accent) 70%, transparent); outline-offset: 2px; }
.jb-skip { position: absolute; left: -9999px; top: 10px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--jb-accent); color: var(--jb-accent-ink); font-weight: 600; }
.jb-skip:focus { left: 16px; }

/* ---------- buttons ---------- */
.jb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border: 1px solid transparent; border-radius: 11px;
          font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.2; white-space: nowrap; cursor: pointer;
          transition: transform .16s ease, filter .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease; }
.jb-btn-accent { background: var(--jb-accent); color: var(--jb-accent-ink); box-shadow: 0 8px 22px -10px color-mix(in srgb, var(--jb-accent) 80%, transparent); }
.jb-btn-accent:hover { color: var(--jb-accent-ink); filter: brightness(1.07) saturate(1.05); transform: translateY(-1px); }
.jb-btn-ghost { background: transparent; color: var(--jb-ink); border-color: var(--jb-line); }
.jb-btn-ghost:hover { color: var(--jb-ink); background: var(--jb-field); border-color: color-mix(in srgb, var(--jb-ink) 35%, transparent); }
.jb-btn-glass { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.3); backdrop-filter: blur(8px); }
.jb-btn-glass:hover { color: #fff; background: rgba(255, 255, 255, 0.2); }
.jb-btn-sm { padding: 8px 15px; font-size: 0.875rem; border-radius: 10px; }
.jb-btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 12px; }
.jb-btn-block { display: flex; width: 100%; }
.jb-btn-block + .jb-btn-block { margin-top: 10px; }
.jb-btn[disabled], fieldset[disabled] .jb-btn { cursor: not-allowed; transform: none; filter: none; }
.jb-link-btn { color: var(--jb-link); font-size: 0.875rem; font-weight: 600; }
.jb-link-btn:hover { color: var(--jb-link); text-decoration: underline; }
.jb-js .jb-nojs { display: none; }

/* ---------- the sample-company note ---------- */
.jb-demo { padding: 9px 0; background: #fff4d6; color: #5a4100; font-size: 0.875rem; border-bottom: 1px solid #f0d58a; }
.jb-demo .jb-wrap { display: flex; align-items: flex-start; gap: 10px; }
.jb-demo .bi { margin-top: 1px; }

/* ---------- the top bar ---------- */
.jb-top { position: sticky; top: 0; z-index: 30; color: var(--jb-ink); border-bottom: 1px solid var(--jb-line);
          background: color-mix(in srgb, var(--jb-panel) 90%, transparent); backdrop-filter: saturate(1.5) blur(14px); }
.jb-top-in { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.jb-brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; color: var(--jb-ink); }
.jb-brand:hover { color: var(--jb-ink); }
.jb-brand-logo { display: block; height: 42px; width: auto; max-width: 190px; object-fit: contain; }
.jb-brand-name { overflow: hidden; max-width: 46vw; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; text-overflow: ellipsis; }
.jb-brand-tag { padding-left: 14px; border-left: 1px solid var(--jb-line); color: var(--jb-ink-2); font-size: 0.9375rem; font-weight: 500; }
.jb-top-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.jb-top-nav > a:not(.jb-btn) { padding: 8px 13px; border-radius: 9px; color: var(--jb-ink-2); font-size: 0.9375rem; font-weight: 500; }
.jb-top-nav > a:not(.jb-btn):hover { color: var(--jb-ink); background: var(--jb-field); }
.jb-top-nav > .jb-btn { margin-left: 10px; }
@media (max-width: 767.98px) {
  .jb-top-in { min-height: 60px; }
  .jb-brand-logo { height: 34px; max-width: 150px; }
  .jb-top-nav > a:not(.jb-btn) { display: none; }
}
@media (max-width: 420px) { .jb-brand-tag { display: none; } }

/* ---------- the banner ---------- */
.jb-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff;
           background:
             radial-gradient(1000px 460px at 88% -18%, color-mix(in srgb, var(--jb-accent) 52%, transparent), transparent 62%),
             radial-gradient(760px 420px at -8% 118%, color-mix(in srgb, var(--jb-accent) 34%, transparent), transparent 64%),
             linear-gradient(140deg, color-mix(in srgb, var(--jb-accent) 34%, var(--jb-deep)) 0%, var(--jb-deep) 78%); }
.jb-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
                  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1.4px); background-size: 24px 24px;
                  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 92%); mask-image: linear-gradient(to bottom, #000 0%, transparent 92%); }
.jb-hero.has-photo { background-color: var(--jb-deep); background-position: center; background-size: cover; background-repeat: no-repeat; }
.jb-hero.has-photo::after { display: none; }
.jb-hero.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(100deg, rgb(4 18 28 / calc(var(--jb-shade) + 0.18)) 0%, rgb(4 18 28 / var(--jb-shade)) 50%, rgb(4 18 28 / calc(var(--jb-shade) * 0.4)) 100%),
    linear-gradient(to top, rgb(4 18 28 / 0.45), transparent 50%); }
.jb-hero-in { padding: clamp(44px, 7vw, 92px) 0 clamp(40px, 6vw, 72px); }
.jb-hero-home .jb-hero-in { padding: clamp(60px, 10vw, 136px) 0 clamp(44px, 6.5vw, 84px); }
.jb-hero-job .jb-hero-in { padding-bottom: clamp(84px, 9vw, 120px); }
.jb-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, 0.24);
              border-radius: 999px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.01em; }
.jb-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--jb-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--jb-accent) 30%, transparent); }
.jb-hero h1 { max-width: 17ch; margin: 0; color: #fff; font-size: clamp(2.375rem, 5.6vw, 4.25rem); font-weight: 600; line-height: 1.03; letter-spacing: -0.035em;
              text-wrap: balance; text-shadow: 0 2px 24px rgba(4, 18, 28, 0.25); }
.jb-hero-job h1 { max-width: 22ch; font-size: clamp(2.125rem, 4.6vw, 3.5rem); }
.jb-hero-lead { max-width: 58ch; margin: 20px 0 0; color: rgba(255, 255, 255, 0.86); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; }
.jb-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; color: rgba(255, 255, 255, 0.72); font-size: 0.875rem; }
.jb-crumbs a { color: rgba(255, 255, 255, 0.92); }
.jb-crumbs a:hover { color: #fff; text-decoration: underline; }
.jb-crumbs .bi { font-size: 0.6875rem; opacity: 0.7; }
.jb-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; color: rgba(255, 255, 255, 0.9); font-size: 0.9375rem; }
.jb-facts li { display: inline-flex; align-items: center; gap: 8px; }
.jb-facts .bi { color: color-mix(in srgb, var(--jb-accent) 55%, #fff); }
.jb-hero-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* the search box in the banner */
.jb-search { display: flex; align-items: stretch; gap: 6px; max-width: 800px; margin-top: 36px; padding: 7px; border-radius: 18px;
             background: var(--jb-panel); color: var(--jb-ink); box-shadow: 0 30px 70px -24px rgba(4, 18, 28, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.jb-search-field { position: relative; display: flex; flex: 1 1 auto; align-items: center; min-width: 0; margin: 0; border-radius: 12px; transition: background-color .15s, box-shadow .15s; }
.jb-search-field > .bi:first-child { position: absolute; left: 17px; color: var(--jb-ink-3); font-size: 1.0625rem; pointer-events: none; }
.jb-search-field input, .jb-search-field select { width: 100%; height: 54px; padding: 0 16px 0 48px; border: 0; border-radius: 12px; outline: none;
                                                  background: transparent; color: var(--jb-ink); font: inherit; font-size: 1rem; -webkit-appearance: none; appearance: none; }
.jb-search-field input::placeholder { color: var(--jb-ink-3); }
.jb-search-field:focus-within { background: var(--jb-field); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--jb-accent) 60%, transparent); }
.jb-search-loc { flex: 0 1 270px; }
.jb-search-loc::before { content: ""; position: absolute; left: -3px; top: 12px; bottom: 12px; width: 1px; background: var(--jb-line); }
.jb-search-loc select { padding-right: 40px; cursor: pointer; text-overflow: ellipsis; }
.jb-search-loc select option { background: #fff; color: #0c1a1f; }
.jb-search-caret { position: absolute; right: 16px; color: var(--jb-ink-3); font-size: 0.75rem; pointer-events: none; }
.jb-search > .jb-btn { padding-inline: 28px; border-radius: 12px; }
@media (max-width: 767.98px) {
  .jb-search { flex-direction: column; gap: 4px; }
  .jb-search-loc { flex-basis: auto; }
  .jb-search-loc::before { left: 14px; right: 14px; top: -2px; bottom: auto; width: auto; height: 1px; }
  .jb-search > .jb-btn { height: 50px; }
}

/* ---------- sections ---------- */
.jb-section { padding-top: clamp(56px, 7.5vw, 96px); }
.jb-section-tight { padding-top: clamp(44px, 6vw, 72px); }
.jb-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--jb-page-ink-2); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; }
.jb-kicker::before { content: ""; width: 20px; height: 2px; border-radius: 2px; background: var(--jb-accent); }
.jb-card .jb-kicker { color: var(--jb-ink-2); }
.jb-roles-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.jb-roles-head h2, .jb-about h2 { margin: 0; color: var(--jb-page-ink); font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.028em; }
.jb-roles-head .jb-btn-ghost { color: var(--jb-page-ink); border-color: var(--jb-page-line); }
.jb-roles-head .jb-btn-ghost:hover { background: color-mix(in srgb, var(--jb-page-ink) 7%, transparent); }
.jb-count { margin: 0; color: var(--jb-page-ink-2); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }

.jb-card { border: 1px solid var(--jb-line); border-radius: var(--jb-r); background: var(--jb-panel); color: var(--jb-ink); box-shadow: var(--jb-shadow); }
.jb-pad { padding: clamp(24px, 3.2vw, 40px); }
.jb-h2 { margin: 0 0 16px; color: var(--jb-ink); font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; }
.jb-h2.mt-4 { margin-top: 32px !important; padding-top: 28px; border-top: 1px solid var(--jb-line); }
.jb-dim { color: var(--jb-ink-2); font-weight: 400; }

/* formatted text (kanText) */
.jb-prose { line-height: 1.75; }
.jb-prose > :first-child { margin-top: 0; }
.jb-prose > :last-child { margin-bottom: 0; }
.jb-prose p { margin: 0 0 1em; }
.jb-prose ul, .jb-prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.jb-prose li { margin: 0.4em 0; padding-left: 0.3em; }
.jb-prose li::marker { color: var(--jb-accent); }
.jb-prose strong { font-weight: 600; }
.jb-prose a { color: var(--jb-link); text-decoration: underline; text-underline-offset: 2px; }
.jb-prose h2, .jb-prose h3, .jb-prose h4 { margin: 1.5em 0 0.5em; font-size: 1.0625rem; font-weight: 600; }

/* ---------- why join us ---------- */
.jb-about-in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.jb-about h2 { margin-bottom: 20px; text-wrap: balance; }
.jb-about .jb-prose { color: var(--jb-page-ink-2); font-size: 1.125rem; }
.jb-about .jb-prose strong { color: var(--jb-page-ink); }
.jb-glance { padding: 26px; }
.jb-glance h3 { margin: 0 0 12px; font-size: 1rem; font-weight: 600; }
.jb-glance dl { margin: 0 0 20px; }
.jb-glance dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--jb-line); }
.jb-glance dt { color: var(--jb-ink-2); font-weight: 400; }
.jb-glance dd { margin: 0; font-weight: 600; text-align: right; }
.jb-glance dd a { color: var(--jb-link); }
@media (max-width: 991.98px) { .jb-about-in { grid-template-columns: 1fr; } }

/* ---------- locations ---------- */
.jb-locs { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.jb-loc { display: flex; flex-direction: column; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.jb-loc:hover { color: var(--jb-ink); transform: translateY(-4px); box-shadow: var(--jb-shadow-up); border-color: color-mix(in srgb, var(--jb-accent) 50%, var(--jb-line)); }
.jb-loc-pic { position: relative; display: block; aspect-ratio: 16 / 8; background: var(--jb-deep) center / cover no-repeat; }
.jb-loc-art { display: flex; align-items: center; justify-content: center; overflow: hidden; color: rgba(255, 255, 255, 0.92); font-size: 2.125rem;
              background: radial-gradient(circle at 22% 18%, color-mix(in srgb, var(--jb-accent) 45%, #fff) 0, transparent 62%),
                          linear-gradient(135deg, var(--jb-accent), color-mix(in srgb, var(--jb-accent) 45%, var(--jb-deep))); }
.jb-loc-art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.4px); background-size: 16px 16px; }
.jb-loc-art::after { content: ""; position: absolute; width: 180px; height: 180px; right: -50px; bottom: -90px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); }
.jb-loc-art .bi { position: relative; z-index: 1; filter: drop-shadow(0 4px 12px rgba(4, 18, 28, 0.3)); }
.jb-art-1 { background: radial-gradient(circle at 80% 85%, color-mix(in srgb, var(--jb-accent) 40%, #fff) 0, transparent 60%),
                        linear-gradient(200deg, color-mix(in srgb, var(--jb-accent) 85%, var(--jb-deep)), color-mix(in srgb, var(--jb-accent) 35%, var(--jb-deep))); }
.jb-art-1::after { left: -60px; top: -100px; right: auto; bottom: auto; }
.jb-art-2 { background: radial-gradient(circle at 70% 15%, color-mix(in srgb, var(--jb-accent) 50%, #fff) 0, transparent 58%),
                        linear-gradient(110deg, color-mix(in srgb, var(--jb-accent) 40%, var(--jb-deep)), var(--jb-accent)); }
.jb-art-3 { background: radial-gradient(circle at 30% 90%, color-mix(in srgb, var(--jb-accent) 42%, #fff) 0, transparent 60%),
                        linear-gradient(160deg, var(--jb-accent) 0%, color-mix(in srgb, var(--jb-accent) 30%, var(--jb-deep)) 100%); }
.jb-art-3::after { width: 120px; height: 120px; right: 24px; top: -40px; bottom: auto; }
.jb-loc-body { display: flex; flex-direction: column; flex: 1; gap: 2px; padding: 18px 20px 20px; }
.jb-loc-name { color: var(--jb-ink); font-size: 1.0625rem; font-weight: 600; }
.jb-loc-place { color: var(--jb-ink-2); font-size: 0.9063rem; }
.jb-loc-n { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--jb-link); font-size: 0.9063rem; font-weight: 600; }
@media (max-width: 575.98px) {
  .jb-locs { gap: 12px; }
  .jb-loc { flex-direction: row; }
  .jb-loc-pic { flex: 0 0 104px; aspect-ratio: auto; min-height: 104px; }
  .jb-loc-art { font-size: 1.625rem; }
  .jb-loc-body { padding: 14px 16px; }
  .jb-loc-n { padding-top: 8px; }
}
.jb-loc-n .bi, .jb-role-go .bi { transition: transform .2s ease; }
.jb-loc:hover .jb-loc-n .bi, .jb-role:hover .jb-role-go .bi { transform: translateX(3px); }

/* ---------- open roles: filters + list ---------- */
.jb-roles { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.jb-filters { position: sticky; top: 94px; display: flex; flex-direction: column; gap: 18px; }
.jb-filters.has-more { position: static; }
.jb-filters-box { border: 1px solid var(--jb-line); border-radius: var(--jb-r); background: var(--jb-panel); color: var(--jb-ink); box-shadow: var(--jb-shadow); }
.jb-filters-box > summary { display: flex; align-items: center; gap: 10px; padding: 18px 20px 14px; font-weight: 600; list-style: none; cursor: pointer; }
.jb-filters-box > summary::-webkit-details-marker { display: none; }
.jb-filters-box > summary .bi:first-child { color: var(--jb-ink-3); }
.jb-filters-n { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--jb-accent); color: var(--jb-accent-ink); font-size: 0.75rem; text-align: center; }
.jb-filters-caret { margin-left: auto; color: var(--jb-ink-3); font-size: 0.75rem; transition: transform .2s ease; }
.jb-filters-box[open] .jb-filters-caret { transform: rotate(180deg); }
.jb-filters-body { padding: 0 20px 20px; }
.jb-filter-q { position: relative; display: block; margin: 0; }
.jb-filter-q .bi { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--jb-ink-3); pointer-events: none; }
.jb-filter-q input { width: 100%; height: 46px; padding: 0 12px 0 38px; border: 1px solid var(--jb-line); border-radius: 11px; outline: none;
                     background: var(--jb-field); color: var(--jb-ink); font: inherit; font-size: 0.9375rem; transition: border-color .15s, box-shadow .15s; }
.jb-filter-q input::placeholder { color: var(--jb-ink-3); }
.jb-filter-q input:focus { border-color: var(--jb-accent); box-shadow: var(--jb-ring); }
.jb-facet { min-width: 0; margin: 18px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--jb-line); }
.jb-facet legend { float: left; width: 100%; margin: 0 0 8px; padding: 0; color: var(--jb-ink-3); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.03em; }
.jb-check { clear: both; position: relative; display: flex; align-items: center; gap: 11px; margin: 0 -9px; padding: 7px 9px; border-radius: 9px;
            color: var(--jb-ink); font-size: 0.9375rem; cursor: pointer; transition: background-color .12s; }
.jb-check:hover { background: var(--jb-field); }
.jb-check input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.jb-check-box { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 6px;
                border: 1.5px solid color-mix(in srgb, var(--jb-ink) 38%, transparent); color: transparent; font-size: 1.0625rem; transition: all .14s ease; }
.jb-check input:checked + .jb-check-box { background: var(--jb-accent); border-color: var(--jb-accent); color: var(--jb-accent-ink); }
.jb-check input:focus-visible + .jb-check-box { box-shadow: var(--jb-ring); }
.jb-check-label { flex: 1; min-width: 0; line-height: 1.3; }
.jb-check-n { padding: 1px 8px; border-radius: 999px; background: var(--jb-field); color: var(--jb-ink-3); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.jb-filters-acts { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--jb-line); }
.jb-js .jb-filters-acts { justify-content: flex-end; }
@media (min-width: 992px) {
  .jb-filters-box > summary { cursor: default; pointer-events: none; }
  .jb-filters-caret { display: none; }
}
@media (max-width: 991.98px) {
  .jb-roles { grid-template-columns: 1fr; gap: 16px; }
  .jb-filters { position: static; display: contents; }
  .jb-filters > form { order: 1; }
  .jb-list { order: 2; }
  .jb-filters-more { order: 3; margin-top: 12px; }
  .jb-filters-box > summary { padding-bottom: 18px; }
}

.jb-list { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.jb-role { position: relative; display: flex; align-items: center; gap: 28px; padding: 24px 26px; overflow: hidden;
           border: 1px solid var(--jb-line); border-radius: var(--jb-r); background: var(--jb-panel); color: var(--jb-ink); box-shadow: var(--jb-shadow);
           transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.jb-role::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--jb-accent); transform: scaleY(0); transition: transform .22s ease; }
.jb-role:hover { color: var(--jb-ink); transform: translateY(-2px); box-shadow: var(--jb-shadow-up); border-color: color-mix(in srgb, var(--jb-accent) 45%, var(--jb-line)); }
.jb-role:hover::before, .jb-role:focus-visible::before { transform: scaleY(1); }
.jb-role[hidden] { display: none; }
.jb-role-main { flex: 1; min-width: 0; }
.jb-role-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.jb-role-title { margin: 0; color: var(--jb-ink); font-size: 1.25rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.012em; }
.jb-new { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--jb-accent) 20%, transparent);
          color: var(--jb-link); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.5; }
.jb-role-sum { margin: 6px 0 0; color: var(--jb-ink-2); font-size: 0.9688rem; }
.jb-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--jb-ink-2); font-size: 0.875rem; }
.jb-meta li { display: inline-flex; align-items: center; gap: 7px; }
.jb-meta .bi { color: var(--jb-ink-3); }
.jb-role-side { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; }
.jb-role-date { color: var(--jb-ink-3); font-size: 0.8125rem; white-space: nowrap; }
.jb-role-go { display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; border: 1px solid var(--jb-line); border-radius: 11px;
              color: var(--jb-ink); font-size: 0.875rem; font-weight: 600; white-space: nowrap; transition: all .2s ease; }
.jb-role:hover .jb-role-go { background: var(--jb-accent); border-color: var(--jb-accent); color: var(--jb-accent-ink); }
@media (max-width: 767.98px) {
  .jb-role { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .jb-role-side { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* nothing (yet), or nothing matches */
.jb-none { padding: 56px 24px; text-align: center; }
.jb-none-sm { padding: 44px 24px; }
.jb-none[hidden] { display: none; }
.jb-none-icon, .jb-plain-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 18px;
                                background: color-mix(in srgb, var(--jb-accent) 18%, transparent); color: var(--jb-link); font-size: 1.5rem; }
.jb-none h3 { margin: 0 0 6px; font-size: 1.25rem; font-weight: 600; }
.jb-none p { max-width: 44ch; margin: 0 auto 20px; color: var(--jb-ink-2); }
.jb-none p:last-child { margin-bottom: 0; }

/* a club's page: where it is, and its corporation */
.jb-filters-more { display: flex; flex-direction: column; gap: 18px; }
.jb-filters-more .jb-glance dl > div { display: block; }
.jb-filters-more .jb-glance dd { margin-top: 2px; text-align: left; font-weight: 500; }
.jb-part h3 { margin: 0 0 14px; }
.jb-part .jb-brand { margin-bottom: 14px; }
.jb-part p { margin: -4px 0 18px; color: var(--jb-ink-2); font-size: 0.9375rem; }
.jb-part .jb-brand-logo { height: 40px; }

/* ---------- one job ---------- */
.jb-job { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; align-items: start; margin-top: -56px; }
.jb-job-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.jb-job-side { position: sticky; top: 94px; }
.jb-details-card { padding: 26px; }
.jb-side-h { margin: 0 0 4px; font-size: 1.0625rem; font-weight: 600; }
.jb-details { margin: 0 0 22px; }
.jb-details > div { padding: 14px 0; border-bottom: 1px solid var(--jb-line); }
.jb-details dt { display: flex; align-items: center; gap: 9px; margin-bottom: 3px; color: var(--jb-ink-3); font-size: 0.8125rem; font-weight: 500; }
.jb-details dd { margin: 0 0 0 25px; color: var(--jb-ink); font-weight: 500; line-height: 1.5; }
.jb-details dd .jb-dim { font-size: 0.9063rem; }
.jb-details dd a { display: inline-block; margin-top: 4px; color: var(--jb-link); font-size: 0.875rem; font-weight: 600; }
.jb-details dd a:hover { text-decoration: underline; }
.jb-details .jb-new { margin-left: 6px; }
.jb-brand-card .jb-brand-tag { display: none; }
.jb-about-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 16px; }
.jb-about-card-head h2 { margin: 0; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.015em; }
.jb-about-card-head .jb-brand-logo { height: 44px; }
.jb-about-card .jb-prose { color: var(--jb-ink-2); }
@media (max-width: 991.98px) {
  .jb-job { grid-template-columns: 1fr; margin-top: -40px; }
  .jb-job-side { position: static; order: -1; }
}

/* the apply form */
.jb-apply { scroll-margin-top: 90px; }
.jb-apply-head h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); font-weight: 600; letter-spacing: -0.022em; }
.jb-apply-head > p:last-child { margin: 0; color: var(--jb-ink-2); }
.jb-step { display: flex; align-items: center; gap: 12px; margin: 34px 0 16px; color: var(--jb-ink); font-size: 1.0625rem; font-weight: 600; }
.jb-step > span { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
                  background: var(--jb-accent); color: var(--jb-accent-ink); font-size: 0.8125rem; }
.jb-step::after { content: ""; flex: 1; height: 1px; background: var(--jb-line); }
.jb-apply fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.jb-apply fieldset[disabled] { opacity: 0.62; }
.kan-jobs .form-label { margin-bottom: 7px; color: var(--jb-ink-2); font-size: 0.875rem; font-weight: 500; }
.kan-jobs .form-control { min-height: 50px; padding: 12px 15px; border: 1px solid var(--jb-line); border-radius: 11px;
                          background-color: var(--jb-field); color: var(--jb-ink); font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.kan-jobs .form-control:focus { border-color: var(--jb-accent); background-color: var(--jb-field); color: var(--jb-ink); box-shadow: var(--jb-ring); }
.kan-jobs .form-control::placeholder { color: var(--jb-ink-3); }
.kan-jobs .form-control:disabled { background-color: var(--jb-field); }
.kan-jobs textarea.form-control { min-height: 130px; line-height: 1.6; }
/* dropdowns: the arrow is drawn in the text colour, so it shows on any panel */
.kan-jobs .form-select { min-height: 50px; padding: 12px 42px 12px 15px; border: 1px solid var(--jb-line); border-radius: 11px; color: var(--jb-ink); font-size: 1rem;
                         background-color: var(--jb-field);
                         background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
                         background-position: calc(100% - 21px) 52%, calc(100% - 16px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.kan-jobs .form-select:focus { border-color: var(--jb-accent); box-shadow: var(--jb-ring); }
.kan-jobs .form-select.is-invalid:not([multiple]):not([size]) { padding-right: 42px; border-color: #e5484d;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 21px) 52%, calc(100% - 16px) 52%; background-size: 5px 5px; }
.kan-jobs .form-select option { background: #fff; color: #0c1a1f; }
.kan-jobs .form-select:disabled { background-color: var(--jb-field); }
/* one choice / tick boxes / yes-no: each choice is a card you tap */
.jb-field { min-width: 0; margin: 0; padding: 0; border: 0; }
.jb-field > legend { float: none; width: auto; margin-bottom: 7px; padding: 0; }
.jb-choices { display: grid; grid-template-columns: 1fr; gap: 8px; }
.jb-choices.is-inline { display: flex; flex-wrap: wrap; }
@media (min-width: 768px) { .jb-choices:not(.is-inline) { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); } }
.jb-choice { position: relative; display: flex; align-items: center; gap: 11px; margin: 0; padding: 11px 15px; border: 1px solid var(--jb-line); border-radius: 11px;
             background: var(--jb-field); color: var(--jb-ink); line-height: 1.35; cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.jb-choices.is-inline .jb-choice { min-width: 120px; }
.jb-choice:hover { border-color: color-mix(in srgb, var(--jb-accent) 55%, var(--jb-line)); }
.jb-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.jb-choice-mark { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
                  border: 1.5px solid color-mix(in srgb, var(--jb-ink) 38%, transparent); transition: all .14s ease; }
.jb-choice input[type="checkbox"] + .jb-choice-mark { border-radius: 6px; }
.jb-choice input:checked + .jb-choice-mark { border-color: var(--jb-accent); background: var(--jb-accent); }
.jb-choice input[type="radio"]:checked + .jb-choice-mark { box-shadow: inset 0 0 0 4px var(--jb-panel); }
.jb-choice input[type="checkbox"]:checked + .jb-choice-mark::after { content: ""; width: 6px; height: 11px; margin-top: -2px; border: solid var(--jb-accent-ink);
                                                                     border-width: 0 2px 2px 0; transform: rotate(45deg); }
.jb-choice:has(input:checked) { border-color: var(--jb-accent); background: color-mix(in srgb, var(--jb-accent) 10%, var(--jb-field)); }
.jb-choice:has(input:focus-visible) { box-shadow: var(--jb-ring); }
.jb-field.is-invalid .jb-choice { border-color: #e5484d; }
fieldset[disabled] .jb-choice { cursor: not-allowed; }
.jb-step-sub { margin: -8px 0 16px; color: var(--jb-ink-2); font-size: 0.9375rem; }
.jb-req { color: #e5484d; }
.jb-opt { color: var(--jb-ink-3); font-weight: 400; }
.jb-apply-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--jb-line); }
.jb-fine { display: flex; flex: 1 1 260px; gap: 9px; margin: 0; color: var(--jb-ink-3); font-size: 0.8438rem; line-height: 1.5; }
.jb-fine a { color: var(--jb-link); text-decoration: underline; text-underline-offset: 2px; }
.jb-notice { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; padding: 13px 15px; border-radius: 11px; color: var(--jb-ink); font-size: 0.9375rem;
             background: color-mix(in srgb, #f5b83d 15%, var(--jb-panel)); border: 1px solid color-mix(in srgb, #f5b83d 50%, transparent); }
.jb-notice .bi { margin-top: 1px; color: #c98a00; }
.jb-notice.is-error { background: color-mix(in srgb, #e5484d 11%, var(--jb-panel)); border-color: color-mix(in srgb, #e5484d 50%, transparent); }
.jb-notice.is-error .bi { color: #e5484d; }
.jb-done { padding: 28px 8px 12px; text-align: center; }
.jb-done-icon { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; margin-bottom: 20px; border-radius: 50%;
                background: var(--jb-accent); color: var(--jb-accent-ink); font-size: 2.125rem;
                box-shadow: 0 0 0 10px color-mix(in srgb, var(--jb-accent) 18%, transparent); animation: jb-pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.jb-done h2 { margin: 0 0 8px; font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; }
.jb-done p { max-width: 46ch; margin: 0 auto 24px; color: var(--jb-ink-2); }
@keyframes jb-pop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* the résumé box (kan-drop.js), in the board's colours */
.kan-jobs .kan-drop-zone { min-height: 150px; border-color: color-mix(in srgb, var(--jb-ink) 28%, transparent); border-radius: 13px; background: var(--jb-field); color: var(--jb-ink-2); }
.kan-jobs .kan-drop-zone:hover, .kan-jobs .kan-drop.is-over .kan-drop-zone { border-color: var(--jb-accent); background: color-mix(in srgb, var(--jb-accent) 8%, var(--jb-field)); }
.kan-jobs .kan-drop-zone:focus-within { border-color: var(--jb-accent); box-shadow: var(--jb-ring); }
.kan-jobs .kan-drop-icon, .kan-jobs .kan-drop-type { color: var(--jb-link); }
.kan-jobs .kan-drop-title, .kan-jobs .kan-drop-name { color: var(--jb-ink); }
.kan-jobs .kan-drop-hint, .kan-jobs .kan-drop-size { color: var(--jb-ink-3); }
.kan-jobs .kan-drop-file { border-color: var(--jb-line); border-radius: 13px; background: var(--jb-panel); }
.kan-jobs .kan-drop-thumb { background: var(--jb-field); }
.kan-jobs .kan-drop-meta { border-color: var(--jb-line); }
.kan-jobs .kan-drop-remove { --bs-btn-color: var(--jb-link); --bs-btn-border-color: var(--jb-line); --bs-btn-hover-color: var(--jb-accent-ink);
                             --bs-btn-hover-bg: var(--jb-accent); --bs-btn-hover-border-color: var(--jb-accent); }

/* the phone's Apply bar (hidden while the form is on screen: kan-jobs.js) */
.jb-applybar { display: none; }
@media (max-width: 991.98px) {
  .jb-applybar { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 12px;
                 padding: 10px 10px 10px 18px; border: 1px solid var(--jb-line); border-radius: 16px; background: var(--jb-panel); color: var(--jb-ink);
                 box-shadow: 0 20px 44px -14px rgba(4, 18, 28, 0.5); transition: transform .28s ease, opacity .28s ease; }
  .jb-applybar.is-away { transform: translateY(150%); opacity: 0; pointer-events: none; }
  .jb-applybar-text { display: flex; flex: 1; flex-direction: column; min-width: 0; line-height: 1.3; }
  .jb-applybar-text b, .jb-applybar-text span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .jb-applybar-text b { font-weight: 600; }
  .jb-applybar-text span { color: var(--jb-ink-2); font-size: 0.8125rem; }
  .jb-applybar .jb-btn { padding-inline: 24px; }
  body.kan-jobs:has(.jb-applybar) .jb-foot { padding-bottom: 90px; }
  body.kan-jobs:has(.jb-applybar) .jb-top-nav > .jb-btn { display: none; }
}

/* ---------- footer ---------- */
.jb-foot { border-top: 1px solid var(--jb-page-line); color: var(--jb-page-ink-2); font-size: 0.875rem; }
.jb-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 30px 0; }
.jb-foot-id { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.jb-foot .jb-brand { color: var(--jb-page-ink); }
.jb-brand-sm .jb-brand-logo { height: 30px; max-width: 140px; }
.jb-brand-sm .jb-brand-name { font-size: 1rem; }
.jb-brand-sm .jb-brand-tag { display: none; }
.jb-foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.jb-foot-links a, .jb-powered { color: var(--jb-page-ink-2); }
.jb-foot-links a:hover, .jb-powered:hover { color: var(--jb-page-ink); }
.jb-powered { margin-left: auto; }
.jb-powered b { color: var(--jb-page-ink); font-weight: 600; }
@media (max-width: 767.98px) { .jb-powered { margin-left: 0; } }

/* ---------- a page with no corporation (not found, errors) ---------- */
.jb-plain { align-items: center; justify-content: center; padding: 24px; }
.jb-plain-card { width: min(460px, 100%); margin: auto; padding: 44px 32px; text-align: center; }
.jb-plain-logo { display: block; margin-bottom: 28px; color: var(--jb-link); font-weight: 600; }
.jb-plain-card h1 { margin: 0 0 8px; font-size: 1.625rem; font-weight: 600; letter-spacing: -0.02em; }
.jb-plain-card p { margin: 0; color: var(--jb-ink-2); }

@media (prefers-reduced-motion: reduce) {
  .kan-jobs *, .kan-jobs *::before, .kan-jobs *::after { transition: none !important; animation: none !important; }
}
