/* Job Board - the public job listings (2.2): the list page, a job's page, the apply page and the
   [job-board-jobs /] / [job-board-search /] shortcodes. Loaded on every page (inject/body.html), so every
   rule is under .jb-pub. Colours come from the site's theme tokens. */
.jb-pub { --jb-line: var(--dm-border, rgba(127, 127, 127, .3)); }
main.jb-pub { max-width: 72rem; margin: 2rem auto; padding: 0 16px; }
.jb-pub [hidden] { display: none !important; }
.jb-pub .jb-head h1 { margin: 0 0 .25rem; }
.jb-pub .jb-count { margin: 0 0 1.25rem; opacity: .8; }
.jb-pub .jb-layout { display: grid; grid-template-columns: minmax(14rem, 18rem) 1fr; gap: 2rem; align-items: start; }
@media (max-width: 760px) { .jb-pub .jb-layout { grid-template-columns: 1fr; gap: 1.25rem; } }

.jb-pub .jb-search { display: grid; gap: .75rem; padding: 1rem; border: 1px solid var(--jb-line); border-radius: 10px; background: var(--dm-surface, transparent); }
.jb-pub .jb-search-title { margin: 0; font-size: 1.15rem; }
.jb-pub .jb-field { display: grid; gap: .25rem; font-weight: 600; font-size: .9rem; }
.jb-pub .jb-field input, .jb-pub .jb-field select { width: 100%; padding: .5rem .6rem; border: 1px solid var(--jb-line); border-radius: 6px;
    font: inherit; font-weight: 400; background: transparent; color: inherit; box-sizing: border-box; }
.jb-pub fieldset.jb-field { border: 1px solid var(--jb-line); border-radius: 6px; padding: .5rem .75rem .65rem; margin: 0; }
.jb-pub fieldset.jb-field legend { padding: 0 .25rem; }
/* A long legend wraps, and a wrapped legend sits across the border (its hint outside it): float it, which puts
   it inside the box as the first item, and give the row a little room below. */
.jb-pub fieldset.jb-field legend { float: left; width: 100%; padding: 0; margin: 0 0 .35rem; }
.jb-pub fieldset.jb-field legend small { font-weight: 400; opacity: .75; }
.jb-pub .jb-types { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.jb-pub .jb-check { display: inline-flex; gap: .35rem; align-items: center; font-weight: 400; }
.jb-pub .jb-check input { width: auto; }
.jb-pub .jb-pay { display: grid; gap: .5rem; }
.jb-pub .jb-search-actions { display: flex; gap: .75rem; align-items: center; }
/* Industry: a pill each, several at once, folded under its heading until asked for (open when any is chosen). The check
   box is the control (works with no script), the pill its look. */
.jb-pub .jb-industries { grid-column: 1 / -1; }
.jb-pub .jb-industry-toggle { display: flex; align-items: center; gap: .5rem; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 600; cursor: default; }
.jb-pub .jb-industry-note { font-size: .8rem; font-weight: 500; padding: .1rem .55rem; border-radius: 999px; background: color-mix(in srgb, var(--dm-primary, #0284c7) 14%, transparent); color: var(--dm-primary, #0284c7); }
/* With the script (it marks the group can-fold): the heading opens and closes the pills. */
.jb-pub .jb-industries.can-fold .jb-industry-toggle { cursor: pointer; }
.jb-pub .jb-industries.can-fold .jb-industry-toggle::after { content: ''; width: .45rem; height: .45rem; margin-left: .15rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-135deg); opacity: .6; transition: transform .2s; }
.jb-pub .jb-industries.is-closed .jb-industry-toggle::after { transform: rotate(45deg); }
.jb-pub .jb-industries.is-closed .jb-pills { display: none; }
.jb-pub .jb-pills { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.jb-pub .jb-industries.can-fold .jb-pills { animation: jb-pills-in .25s ease-out; }
@keyframes jb-pills-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.jb-pub .jb-pill { position: relative; display: inline-flex; cursor: pointer; font-weight: 500; }
.jb-pub .jb-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.jb-pub .jb-pill span { padding: .3rem .75rem; border: 1px solid var(--jb-line); border-radius: 999px; font-size: .85rem; line-height: 1.3;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.jb-pub .jb-pill:hover span { border-color: var(--dm-primary, #0284c7); transform: translateY(-1px); }
.jb-pub .jb-pill input:checked + span { background: var(--dm-primary, #0284c7); border-color: var(--dm-primary, #0284c7); color: #fff; }
.jb-pub .jb-pill input:focus-visible + span { outline: 2px solid var(--dm-primary, #0284c7); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .jb-pub .jb-pill span, .jb-pub .jb-industry-toggle::after { transition: none; } .jb-pub .jb-pill:hover span { transform: none; } .jb-pub .jb-industries .jb-pills { animation: none; } }
/* A phone: everything but the keywords and Search folds under "More filters" (public/jobs.js sets is-folded). */
.jb-pub .jb-filter-toggle { justify-self: start; padding: .35rem .8rem; border: 1px solid var(--jb-line); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; display: none; }
.jb-pub .jb-search.has-fold .jb-filter-toggle { display: inline-flex; }
.jb-pub .jb-search.is-folded > :not(.jb-field-q):not(.jb-search-actions):not(.jb-filter-toggle):not(.jb-search-title) { display: none; }
.jb-shortcode .jb-search { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); align-items: end; }
.jb-shortcode .jb-search-title, .jb-shortcode .jb-field-q { grid-column: 1 / -1; }
/* The two groups of boxes take a row each in the shortcode, or one stretches its row and leaves gaps beside it. */
.jb-shortcode fieldset.jb-field { grid-column: 1 / -1; }
.jb-shortcode .jb-pay { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); align-items: end; }
.jb-shortcode .jb-pay legend { grid-column: 1 / -1; }

.jb-pub .jb-job-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.jb-pub .jb-job { border: 1px solid var(--jb-line); border-radius: 10px; padding: .9rem 1.1rem; }
.jb-pub .jb-job p { margin: .15rem 0 0; }
.jb-pub .jb-job-title { font-size: 1.1rem; font-weight: 700; text-decoration: none; }
.jb-pub .jb-job-title:hover, .jb-pub .jb-job-title:focus { text-decoration: underline; }
.jb-pub .jb-job-company { font-weight: 600; }
.jb-pub .jb-job-company:empty, .jb-pub .jb-job-posted:empty { display: none; }
.jb-pub .jb-job-posted { font-size: .85rem; opacity: .75; }
.jb-pub .jb-job-closes { margin: .15rem 0 0; font-size: .85rem; font-weight: 600; color: #b45309; }
.jb-pub .jb-job-closes.is-open { color: #047857; }
.jb-pub .jb-job-closes:empty { display: none; }
.jb-pub .jb-empty { padding: 1rem 0; }
.jb-pub .jb-pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.jb-pub .jb-more { margin-top: .75rem; }

.jb-pub .jb-back { margin: 0 0 1rem; }
.jb-pub .jb-job-page { max-width: 48rem; }
.jb-pub .jb-job-page h1 { margin: 0 0 .35rem; }
.jb-pub .jb-job-page header .jb-job-company { font-size: 1.1rem; margin: 0; }
.jb-pub .jb-job-page header .jb-job-facts { margin: .25rem 0 0; opacity: .85; }
.jb-pub .jb-apply-row { margin: 1.25rem 0; }
/* The label column grows to fit but never past half: a long question (a project's brief) wraps
   instead of pushing the answers out of the box. */
.jb-pub .jb-facts { display: grid; grid-template-columns: fit-content(50%) minmax(0, 1fr); gap: .4rem 1.25rem; margin: 1rem 0 1.5rem;
    padding: 1rem; border: 1px solid var(--jb-line); border-radius: 10px; }
.jb-pub .jb-facts dt { font-weight: 600; }
.jb-pub .jb-facts dd { margin: 0; }
.jb-pub .jb-facts dt, .jb-pub .jb-facts dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .jb-pub .jb-facts { grid-template-columns: 1fr; } .jb-pub .jb-facts dd { margin-bottom: .4rem; } }
/* The brief on a project's page: a question and its answer per row, both free to wrap, a line between rows. */
.jb-pub .jb-brief .jb-facts { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0; padding: .25rem 1.1rem; font-size: .95rem; line-height: 1.45; }
.jb-pub .jb-brief .jb-facts dt, .jb-pub .jb-brief .jb-facts dd { padding: .7rem 0; border-top: 1px solid var(--jb-line); }
.jb-pub .jb-brief .jb-facts dt { font-weight: 400; opacity: .8; padding-right: 1.25rem; }
.jb-pub .jb-brief .jb-facts dd { font-weight: 600; }
.jb-pub .jb-brief .jb-facts dt:first-of-type, .jb-pub .jb-brief .jb-facts dt:first-of-type + dd { border-top: 0; }
@media (max-width: 520px) { .jb-pub .jb-brief .jb-facts { grid-template-columns: 1fr; }
    .jb-pub .jb-brief .jb-facts dt { padding: .7rem 0 0; font-size: .85rem; } .jb-pub .jb-brief .jb-facts dd { padding: .15rem 0 .7rem; margin: 0; border-top: 0; } }
.jb-pub .jb-apply-signup { max-width: 34rem; margin: 0 auto; }
/* Saved jobs: the Save link on a job's page. */
.jb-pub .jb-save-row { margin: .5rem 0 0; }
.jb-pub .jb-save { text-decoration: none; font-weight: 600; }
.jb-pub .jb-job { position: relative; }
.jb-pub .jb-job:has(.jb-star:not([hidden])) { padding-right: 2.75rem; }
.jb-pub .jb-star { position: absolute; top: .6rem; right: .75rem; border: 0; background: transparent; font-size: 1.35rem; line-height: 1; cursor: pointer; color: var(--dm-text-muted, #888); padding: .15rem; }
.jb-pub .jb-star.is-on { color: var(--dm-warning, #f5b301); }
.jb-pub .jb-star:focus-visible { outline: 2px solid var(--dm-primary, #2563eb); border-radius: 4px; }

/* 2.3 - featured jobs, and company / agency pages and tiles ([job-board-companies /]). */
.jb-pub .jb-job.is-featured { border-color: var(--dm-primary, currentColor); border-width: 2px; }
.jb-pub .jb-badge-featured { display: inline-block; margin-left: .4rem; padding: .05rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 700;
    vertical-align: middle; background: var(--dm-primary, #2563eb); color: var(--dm-primary-contrast, #fff); }
/* The type of each row in a list, so a mixed list reads at a glance. */
.jb-pub .jb-badge-type { display: inline-block; margin: 0 .5rem .25rem 0; padding: .1rem .55rem; border-radius: 999px; font-size: .72rem;
    font-weight: 700; letter-spacing: .02em; vertical-align: middle; background: #e8eefc; color: #1e40af; }
.jb-pub .jb-badge-type[hidden] { display: none; }
.jb-pub .jb-type-project, .jb-pub .jb-type-freelance { background: #fde9dd; color: #9a3412; }
.jb-pub .jb-type-contract, .jb-pub .jb-type-temporary { background: #e6f4ea; color: #166534; }
.jb-pub .jb-type-fixed-term { background: #f1e8fd; color: #6b21a8; }
.jb-pub .jb-type-internship { background: #fdf6d8; color: #854d0e; }
.jb-pub .jb-org-page { max-width: 48rem; }
.jb-pub .jb-org-head { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.jb-pub .jb-org-head h1 { margin: 0; }
.jb-pub .jb-org-logo { width: 96px; height: 96px; object-fit: contain; border: 1px solid var(--jb-line); border-radius: 10px; background: #fff; }
.jb-pub .jb-org-kind { margin: .2rem 0 0; opacity: .8; }
.jb-pub .jb-org-site { margin: .2rem 0 0; overflow-wrap: anywhere; }
.jb-pub .jb-org-about, .jb-pub .jb-org-jobs { margin-top: 1.5rem; }
.jb-pub .jb-org-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: .75rem; }
.jb-pub .jb-org-tile a { display: grid; justify-items: center; gap: .4rem; padding: .9rem .6rem; border: 1px solid var(--jb-line); border-radius: 10px;
    text-align: center; text-decoration: none; height: 100%; box-sizing: border-box; }
.jb-pub .jb-org-tile a:hover, .jb-pub .jb-org-tile a:focus { text-decoration: underline; }
.jb-pub .jb-org-tile.is-featured a { border-color: var(--dm-primary, currentColor); }
.jb-pub .jb-org-tile-logo { width: 64px; height: 64px; object-fit: contain; }
.jb-pub .jb-org-tile-name { font-weight: 600; overflow-wrap: anywhere; }

/* Own branding: an organisation's banner, strapline and colour on its page, and the brand strip on its jobs' pages.
   --jb-brand / --jb-brand-ink come from a style attribute holding the validated hex and its black-or-white text colour
   (admin/lib/jb-brand.js brandStyle): the colour is only ever a bar, a border or a button's background. */
.jb-pub .jb-org-page.has-brand { padding-top: 1rem; border-top: 6px solid var(--jb-brand); }
.jb-pub .jb-org-cover { margin: 0 0 1rem; }
.jb-pub .jb-org-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 5; object-fit: cover; border-radius: 10px; }
.jb-pub .jb-org-tagline { margin: .25rem 0 0; font-size: 1.1rem; font-weight: 600; overflow-wrap: anywhere; }
.jb-pub .jb-org-page.has-brand .jb-org-logo { border: 2px solid var(--jb-brand); }
.jb-pub .jb-org-page.has-brand .jb-org-about h2, .jb-pub .jb-org-page.has-brand .jb-org-jobs h2 { padding-left: .6rem; border-left: 4px solid var(--jb-brand); }
.jb-pub .jb-org-page.has-brand .jb-org-site a.jb-org-site-btn { display: inline-block; padding: .3rem .9rem; border-radius: 999px; background: var(--jb-brand);
    color: var(--jb-brand-ink); font-weight: 600; text-decoration: none; }
.jb-pub .jb-org-page.has-brand .jb-org-site a.jb-org-site-btn:hover, .jb-pub .jb-org-page.has-brand .jb-org-site a.jb-org-site-btn:focus { text-decoration: underline; }
.jb-pub .jb-brand-strip { display: flex; gap: .9rem; align-items: center; flex-wrap: wrap; margin: 0 0 1.75rem; padding: .9rem 1.1rem;
    border: 1px solid var(--jb-line); border-radius: 14px; background: var(--dm-surface, transparent); }
.jb-pub .jb-brand-strip.has-brand { border-left: 6px solid var(--jb-brand); }
.jb-pub .jb-brand-logo { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--jb-line); border-radius: 8px; background: #fff; flex: 0 0 auto; }
.jb-pub .jb-brand-text { flex: 1 1 12rem; min-width: 0; }
.jb-pub .jb-brand-name { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.jb-pub .jb-brand-tagline { margin: .15rem 0 0; opacity: .85; overflow-wrap: anywhere; }
.jb-pub .jb-brand-more { flex: 0 0 auto; padding: .4rem 1rem; border: 1px solid var(--jb-line); border-radius: 999px; font-weight: 600; text-decoration: none; }
.jb-pub .jb-brand-strip.has-brand .jb-brand-more { border-color: var(--jb-brand); background: var(--jb-brand); color: var(--jb-brand-ink); }
.jb-pub .jb-brand-more:hover, .jb-pub .jb-brand-more:focus { text-decoration: underline; }

/* Phase C - the Jobs / Projects tabs, a project's page and its "Send a quote" page. */
.jb-pub .jb-kinds { display: flex; gap: .25rem; flex-wrap: wrap; margin: 0 0 1rem; }
.jb-pub .jb-kinds .jb-kind-btn { appearance: none; cursor: pointer; font: inherit; font-weight: 700; font-size: .9rem; line-height: 1.2;
    padding: .45rem 1.1rem; border: 1px solid var(--jb-line); border-radius: 999px; background: var(--dm-surface, #fff); color: var(--dm-text, #1a1a1a);
    transition: background .15s, color .15s, border-color .15s; }
.jb-pub .jb-kinds .jb-kind-btn:hover { border-color: var(--dm-primary, #2563eb); }
.jb-pub .jb-kinds .jb-kind-btn:focus-visible { outline: 2px solid var(--dm-primary, #2563eb); outline-offset: 2px; }
.jb-pub .jb-kinds .jb-kind-btn[aria-pressed="true"] { background: var(--dm-primary, #2563eb); color: var(--dm-primary-contrast, #fff); border-color: transparent; }
.jb-pub .jb-direct { font-size: .9rem; opacity: .85; }

/* The job's page: a hero with the key facts and Apply, then the description beside "At a glance". */
.jb-pub .jb-job-page { --jb-accent: var(--dm-primary, #0284c7); }
.jb-pub .jb-job-page[data-type="contract"] { --jb-accent: #7c3aed; }
.jb-pub .jb-job-page[data-type="fixed-term"] { --jb-accent: #0891b2; }
.jb-pub .jb-job-page[data-type="temporary"] { --jb-accent: #ca8a04; }
.jb-pub .jb-job-page[data-type="freelance"] { --jb-accent: #db2777; }
.jb-pub .jb-job-page[data-type="permanent"][data-hours="part-time"] { --jb-accent: #16a34a; }
.jb-pub .jb-job-page[data-type="internship"] { --jb-accent: #4f46e5; }
.jb-pub .jb-job-hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem 1.5rem; align-items: start;
    margin: 0 0 1.75rem; padding: 1.75rem; overflow: hidden; border: 1px solid var(--jb-line); border-radius: 18px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--jb-accent) 10%, var(--dm-surface, #fff)), var(--dm-surface, #fff) 70%); }
.jb-pub .jb-job-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--jb-accent), color-mix(in srgb, var(--jb-accent) 35%, #fff)); }
.jb-pub .jb-hero-avatar { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 16px; color: #fff; font-size: 1.75rem; font-weight: 800;
    background: linear-gradient(135deg, var(--jb-accent), color-mix(in srgb, var(--jb-accent) 55%, #111)); box-shadow: 0 8px 20px color-mix(in srgb, var(--jb-accent) 30%, transparent); }
.jb-pub img.jb-hero-logo { object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--jb-line); }
.jb-pub .jb-hero-main h1 { margin: .35rem 0 .3rem; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -.02em; }
.jb-pub .jb-hero-main .jb-job-company { margin: 0; font-weight: 600; }
.jb-pub .jb-hero-main .jb-job-facts { margin: .2rem 0 0; opacity: .8; }
.jb-pub .jb-hero-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.jb-pub .jb-chip { display: inline-block; padding: .2rem .7rem; border: 1px solid var(--jb-line); border-radius: 999px; background: var(--dm-surface, #fff);
    font-size: .78rem; font-weight: 600; line-height: 1.5; }
.jb-pub .jb-chip-type { border-color: transparent; background: var(--jb-accent); color: #fff; }
.jb-pub .jb-chip-ir35 { border-color: color-mix(in srgb, #7c3aed 35%, transparent); color: #6d28d9; }
.jb-pub .jb-chip-featured { border-color: transparent; background: #fef3c7; color: #92400e; }
.jb-pub .jb-hero-side { display: flex; flex-direction: column; align-items: flex-end; gap: .4rem; text-align: right; }
.jb-pub .jb-hero-pay { margin: 0; padding: .45rem .85rem; border-radius: 10px; background: color-mix(in srgb, var(--jb-accent) 12%, transparent); font-size: 1.1rem; font-weight: 800; }
.jb-pub .jb-hero-closes { margin: 0; font-size: .9rem; font-weight: 700; color: #b45309; }
.jb-pub .jb-hero-closes.is-open { color: #047857; }
.jb-pub .jb-job-hero .jb-apply-row { margin: .35rem 0 0; }
.jb-pub .jb-job-page .jb-apply { padding: .7rem 1.4rem; border: 0; border-radius: 999px; font-weight: 700;
    background: linear-gradient(135deg, var(--jb-accent), color-mix(in srgb, var(--jb-accent) 60%, #111)); box-shadow: 0 6px 16px color-mix(in srgb, var(--jb-accent) 30%, transparent); }
.jb-pub .jb-job-body { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem; align-items: start; }
.jb-pub .jb-job-main .jb-description h2, .jb-pub .jb-questions h2 { margin-top: 0; }
.jb-pub .jb-description { font-size: 1.02rem; line-height: 1.7; }
.jb-pub .jb-description ul { padding-left: 1.2rem; }
.jb-pub .jb-description li { margin: .25rem 0; }
.jb-pub .jb-description li::marker { color: var(--jb-accent); }
.jb-pub .jb-job-aside { position: sticky; top: 6rem; padding: 1.25rem; border: 1px solid var(--jb-line); border-radius: 16px; background: var(--dm-surface, #fff); }
.jb-pub .jb-job-aside h2 { margin: 0 0 .75rem; font-size: 1rem; }
.jb-pub .jb-job-aside .jb-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .55rem 1rem; margin: 0; padding: 0; border: 0; }
.jb-pub .jb-job-aside .jb-facts dt { font-size: .82rem; opacity: .7; font-weight: 600; }
.jb-pub .jb-job-aside .jb-facts dd { margin: 0; font-size: .92rem; font-weight: 600; }
@media (max-width: 860px) {
    .jb-pub .jb-job-hero { grid-template-columns: auto minmax(0, 1fr); }
    .jb-pub .jb-hero-side { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
    .jb-pub .jb-job-body { grid-template-columns: 1fr; }
    .jb-pub .jb-job-aside { position: static; }
}
.jb-pub .jb-job-page[data-type="project"] { --jb-accent: #ea580c; }
.jb-pub .jb-how ol { padding-left: 1.2rem; }
.jb-pub .jb-how li { margin: .35rem 0; }
.jb-pub .jb-how li::marker { color: var(--jb-accent); font-weight: 700; }
.jb-pub .jb-project-page .jb-direct { margin-top: 1rem; font-size: .85rem; opacity: .75; }

/* "A new job matches you" (jb-match-watch.js): the toast's links read on its own colour */
.jb-match-toast a { color: inherit; text-decoration: underline; }
.jb-match-toast a:hover, .jb-match-toast a:focus-visible { text-decoration-thickness: 2px; }
.jb-match-toast small { opacity: .85; }

/* Skills search: what a row mentions, and a job seeker's own skills as buttons under the Skills box. */
.jb-pub .jb-job-skills { margin: .15rem 0 0; font-size: .85rem; color: #047857; }
.jb-pub .jb-my-skills.is-on { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .85rem; margin: -.25rem 0 .25rem; }
.jb-pub .jb-my-skills { display: none; }
.jb-pub .jb-chip-btn { font: inherit; font-size: .8rem; padding: .2rem .6rem; border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; opacity: .85; }
.jb-pub .jb-chip-btn:hover { opacity: 1; }

/* A candidate's showcase by its link (lib/showcase-page.js) */
.jb-pub .jb-showcase { max-width: 46rem; }
.jb-pub .jb-showcase-head h1 { margin-bottom: .2rem; }
.jb-pub .jb-showcase-headline { margin: 0 0 .6rem; font-size: 1.15rem; font-weight: 600; }
.jb-pub .jb-showcase-facts, .jb-pub .jb-showcase-skills { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; }
.jb-pub .jb-showcase-facts li, .jb-pub .jb-showcase-skills li { padding: .25rem .7rem; border-radius: 999px; font-size: .88rem; border: 1px solid var(--dm-border, rgba(127,127,127,.35)); }
.jb-pub .jb-showcase-skills li { font-weight: 600; }
.jb-pub .jb-showcase section { margin: 1.6rem 0; }
.jb-pub .jb-showcase section h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.jb-pub .jb-showcase-history { list-style: none; margin: 0; padding: 0; }
.jb-pub .jb-showcase-history li { margin: 0 0 1rem; }
.jb-pub .jb-showcase-history small { opacity: .7; margin-left: .35rem; }
.jb-pub .jb-showcase-touch { padding: 1rem 1.2rem; border-radius: 12px; border: 1px solid var(--dm-border, rgba(127,127,127,.35)); }
/* Motion: rows rise in one after another and lift under the pointer; a job's page fades up in three parts and its
   Apply button catches a slow shine. All of it is off for a visitor who asks for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
    @keyframes jb-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
    @keyframes jb-shine { 0%, 70% { background-position: 160% 0; } 100% { background-position: -60% 0; } }
    .jb-pub .jb-job-list > .jb-job { animation: jb-rise .45s ease-out both; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
    .jb-pub .jb-job-list > .jb-job:nth-child(2) { animation-delay: .05s; }
    .jb-pub .jb-job-list > .jb-job:nth-child(3) { animation-delay: .1s; }
    .jb-pub .jb-job-list > .jb-job:nth-child(4) { animation-delay: .15s; }
    .jb-pub .jb-job-list > .jb-job:nth-child(5) { animation-delay: .2s; }
    .jb-pub .jb-job-list > .jb-job:nth-child(n+6) { animation-delay: .25s; }
    .jb-pub .jb-job-list > .jb-job:hover { transform: translateY(-2px); border-color: var(--dm-primary, #0284c7); box-shadow: 0 10px 24px rgba(15, 40, 80, .1); }
    .jb-pub .jb-job-hero { animation: jb-rise .5s ease-out both; }
    .jb-pub .jb-job-main { animation: jb-rise .5s ease-out .1s both; }
    .jb-pub .jb-job-aside { animation: jb-rise .5s ease-out .2s both; }
    .jb-pub .jb-job-hero .jb-apply { background-image: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%); background-size: 220% 100%; background-repeat: no-repeat; animation: jb-shine 5s ease-in-out infinite; }
    .jb-pub .jb-hero-avatar, .jb-pub .jb-chip { transition: transform .18s ease; }
    .jb-pub .jb-job-hero:hover .jb-hero-avatar { transform: scale(1.05) rotate(-2deg); }
}
