/* Open roles and job pages. Uses the account.css tokens (--ac-*), which switch with the theme. */
.jb-hero { background: #0F1821; color: #fff; padding: calc(var(--header-h, 76px) + 56px) 0 56px; }
.jb-hero .wrap { display: flex; flex-direction: column; gap: 16px; }
.jb-hero h1 { font: 600 clamp(30px, 4.5vw, 46px)/1.12 Poppins, Inter, sans-serif; margin: 0; color: #fff; }
.jb-hero p { margin: 0; max-width: 640px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.65; }
.jb-crumbs { font: 500 12px 'JetBrains Mono', monospace; letter-spacing: .08em; color: rgba(255,255,255,.6); }
.jb-crumbs a { color: inherit; text-decoration: none; }
.jb-crumbs span { color: #fff; }
.jb-sec { background: var(--ac-bg); color: var(--ac-text); padding: 56px 0 96px; }
.jb-tools { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.jb-search { flex: 1 1 260px; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--ac-line); background: var(--ac-card); color: var(--ac-text); font: 500 15px Inter, sans-serif; }
.jb-search:focus { outline: none; border-color: var(--ac-red); box-shadow: 0 0 0 3px rgba(255,0,66,.16); }
.jb-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.jb-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--ac-line); background: var(--ac-card); color: var(--ac-text); font: 600 13.5px Inter, sans-serif; cursor: pointer; transition: border-color .2s var(--ac-ease), background .2s var(--ac-ease), color .2s var(--ac-ease); }
.jb-chip:hover { border-color: var(--ac-red); }
.jb-chip.is-on { background: var(--ac-red); border-color: var(--ac-red); color: #fff; }
.jb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.jb-card { display: flex; flex-direction: column; gap: 14px; background: var(--ac-card); border: 1px solid var(--ac-line); border-radius: 20px; padding: 24px; text-decoration: none; color: inherit; box-shadow: 0 10px 28px rgba(15,24,33,.07); transition: transform .28s var(--ac-ease), box-shadow .28s var(--ac-ease), border-color .28s var(--ac-ease); }
.jb-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(15,24,33,.13); border-color: var(--ac-red); }
.jb-card:active { transform: none; box-shadow: inset 0 2px 8px rgba(15,24,33,.12); }
.jb-card:focus-visible { outline: 2px solid var(--ac-red); outline-offset: 3px; }
.jb-card h2 { font: 600 20px/1.25 Poppins, Inter, sans-serif; margin: 0; color: var(--ac-text); }
.jb-card p { margin: 0; color: var(--ac-muted); font-size: 14.5px; line-height: 1.6; }
.jb-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.jb-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--ac-soft); color: var(--ac-text); font-size: 12.5px; font-weight: 600; }
.jb-tag svg { width: 14px; height: 14px; }
.jb-tag--red { background: rgba(255,0,66,.12); color: var(--ac-red); }
.jb-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--ac-red); font-weight: 700; font-size: 14px; }
.jb-card__go svg { width: 16px; height: 16px; transition: transform .24s var(--ac-ease); }
.jb-card:hover .jb-card__go svg { transform: translateX(4px); }
.jb-empty { text-align: center; padding: 56px 16px; color: var(--ac-muted); background: var(--ac-card); border: 1px dashed var(--ac-line); border-radius: 20px; }
.jb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.jb-box { background: var(--ac-card); border: 1px solid var(--ac-line); border-radius: 20px; padding: 28px; margin-bottom: 20px; box-shadow: 0 10px 28px rgba(15,24,33,.06); }
.jb-box h2 { font: 600 19px Poppins, Inter, sans-serif; color: var(--ac-teal); margin: 0 0 14px; }
html[data-theme="dark"] .jb-box h2 { color: #fff; }
.jb-box p { margin: 0 0 12px; line-height: 1.7; color: var(--ac-text); }
.jb-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.jb-box li { position: relative; padding-left: 22px; line-height: 1.65; color: var(--ac-text); }
.jb-box li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--ac-red); }
.jb-box ol { margin: 0; padding-left: 22px; display: grid; gap: 8px; line-height: 1.65; }
.jb-note { font-size: 13.5px; color: var(--ac-muted); border-left: 3px solid var(--ac-red); padding: 4px 0 4px 14px; margin: 0; }
.jb-side { position: sticky; top: calc(var(--header-h, 76px) + 20px); }
.jb-facts { display: grid; gap: 14px; margin: 0 0 20px; }
.jb-facts div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.jb-facts dt { color: var(--ac-muted); }
.jb-facts dd { margin: 0; font-weight: 600; text-align: right; }
.jb-actions { display: grid; gap: 10px; }
.jb-share { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--ac-line); background: var(--ac-card); color: var(--ac-text); font: 600 14px Inter, sans-serif; text-decoration: none; cursor: pointer; transition: border-color .2s var(--ac-ease), transform .2s var(--ac-ease), box-shadow .2s var(--ac-ease); }
.jb-share:hover { border-color: #0A66C2; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(15,24,33,.12); }
.jb-share svg { width: 17px; height: 17px; fill: #0A66C2; }
.jb-form { display: grid; gap: 14px; }
.jb-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.jb-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ac-text); }
.jb-input, .jb-area { width: 100%; min-height: 46px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--ac-line); background: var(--ac-card); color: var(--ac-text); font: 500 15px Inter, sans-serif; transition: border-color .2s var(--ac-ease), box-shadow .2s var(--ac-ease); }
.jb-area { padding: 12px 14px; min-height: 120px; line-height: 1.5; resize: vertical; }
.jb-input:focus, .jb-area:focus { outline: none; border-color: var(--ac-red); box-shadow: 0 0 0 3px rgba(255,0,66,.16); }
.jb-input[type=file] { padding: 10px 12px; }
.jb-hint { font-size: 12.5px; font-weight: 500; color: var(--ac-muted); }
.jb-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 500; cursor: pointer; }
.jb-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: #FF0042; flex: none; }
.jb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.jb-done { text-align: center; padding: 12px 0; }
.jb-done svg { width: 48px; height: 48px; color: #16A34A; }
.jb-closed { padding: 14px 16px; border-radius: 12px; background: var(--ac-soft); font-weight: 600; margin-bottom: 14px; }
.jb-mbar { display: none; }
@media (max-width: 960px) {
  .jb-layout { grid-template-columns: 1fr; }
  .jb-side { position: static; }
  .jb-mbar .btn { width: calc(100% - 72px); }
  .jb-mbar { display: block; position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); padding: 10px 16px; background: var(--ac-card); border-top: 1px solid var(--ac-line); z-index: 60; }
  .jb-sec { padding-bottom: 150px; }
}
@media (max-width: 560px) { .jb-row2 { grid-template-columns: 1fr; } .jb-box { padding: 22px 18px; } }
@media (prefers-reduced-motion: reduce) { .jb-card, .jb-chip, .jb-share, .jb-card__go svg { transition: none; } }

.jb-ghost { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.55); background: transparent; color: #fff; font: 600 15px Inter, sans-serif; text-decoration: none; transition: background .22s var(--ac-ease), border-color .22s var(--ac-ease), transform .22s var(--ac-ease); }
.jb-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-1px); }
.jb-ghost:active { transform: none; }
.jb-ghost:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .jb-ghost { transition: none; } }

.jb-card__title { color: inherit; text-decoration: none; }
.jb-card__title:hover { color: var(--ac-red); }
.jb-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.jb-card__go { margin-top: 0; text-decoration: none; }
.jb-card__go:hover svg { transform: translateX(4px); }
.jb-card:hover .jb-card__go svg { transform: none; }
.jb-card:active { box-shadow: 0 10px 28px rgba(15,24,33,.07); }
.jb-lock { overflow: hidden; }
.jb-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.jb-modal[hidden] { display: none; }
.jb-modal__back { position: absolute; inset: 0; background: rgba(15,24,33,.6); opacity: 0; transition: opacity .28s var(--ac-ease); }
.jb-modal__card { position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--ac-card); color: var(--ac-text); border: 1px solid var(--ac-line); border-radius: 22px; padding: 30px; box-shadow: 0 30px 70px rgba(15,24,33,.35); opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .3s var(--ac-ease), transform .3s var(--ac-ease); outline: none; }
.jb-modal.is-open .jb-modal__back { opacity: 1; }
.jb-modal.is-open .jb-modal__card { opacity: 1; transform: none; }
.jb-modal__x { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ac-soft); color: var(--ac-text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s var(--ac-ease), transform .2s var(--ac-ease); }
.jb-modal__x:hover { background: rgba(255,0,66,.14); color: var(--ac-red); }
.jb-modal__x svg { width: 18px; height: 18px; }
.jb-modal__h { font: 600 22px Poppins, Inter, sans-serif; margin: 0 44px 4px 0; color: var(--ac-text); }
.jb-modal__sub { margin: 0 0 18px; color: var(--ac-red); font-weight: 600; font-size: 14px; }
.jb-modal .btn.is-loading { opacity: .75; cursor: progress; }
@media (max-width: 640px) {
  .jb-modal { align-items: flex-end; padding: 0; }
  .jb-modal__card { max-width: none; border-radius: 22px 22px 0 0; max-height: 92vh; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); transform: translateY(100%); }
}
@media (prefers-reduced-motion: reduce) { .jb-modal__back, .jb-modal__card, .jb-modal__x { transition: none; } }
