/* ==========================================================================
   채용정보 (/jobs, /jobs/:id) — 원티드형 탐색 문법 × 스코플 뉴트럴 톤(style.css 토큰)
   장애인 구직자 대상: 과한 모션 없음 · 큰 누름 영역 · 명확한 포커스 · 색만으로 정보 전달 금지
   ========================================================================== */

.jb { --jb-radius: 14px; --jb-danger: #d61f33; --jb-danger-bg: #fff0f1; }
.jb-ico { display: inline-flex; width: 20px; height: 20px; flex-shrink: 0; }
.jb-ico svg { width: 100%; height: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.jb :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

/* ---------------------------------------------------------------- 목록 */
.jb-list-page { padding: 56px 0 120px; }

/* 1행 — 큰 드롭다운 제목 + 검색 + 정렬 */
.jb-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.jb-pickers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.jb-picker { position: relative; }
.jb-picker-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: clamp(1.375rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink);
}
/* 제목 글자에 붙는 얇은 꺾쇠 — 버튼처럼 보이지 않게 */
.jb-picker-btn .chev { display: inline-flex; width: 0.72em; height: 0.72em; margin-top: 0.08em; color: var(--ink-soft); transition: transform 0.15s; }
.jb-picker-btn .chev svg { width: 100%; height: 100%; }
.jb-picker-btn:hover .chev { color: var(--ink); }
.jb-picker-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.jb-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; min-width: 220px; max-height: 380px; overflow: auto;
  padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 16px 48px rgba(25, 31, 40, 0.14);
}
.jb-menu[hidden] { display: none; }
.jb-menu button {
  display: flex; width: 100%; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px;
  border: 0; border-radius: 10px; background: none; font: inherit; font-size: 1rem; color: var(--ink-soft); cursor: pointer; text-align: left;
}
.jb-menu button:hover, .jb-menu button:focus-visible { background: var(--fill); outline: none; }
.jb-menu button[aria-checked="true"] { color: var(--ink); font-weight: 700; }
.jb-menu .count { margin-left: auto; font-size: 0.8125rem; color: var(--faint); font-weight: 500; }
.jb-menu button[aria-checked="true"] .count::after { content: "  ✓"; color: var(--ink); font-weight: 700; }

.jb-tools { display: flex; align-items: center; gap: 10px; }
/* 검색 — console SearchInput 과 같은 룩 (흰 바탕 + 헤어라인 + 선 아이콘 + 지우기) */
.jb-search { position: relative; width: 280px; }
.jb-search input {
  width: 100%; height: 40px; padding: 0 36px; border: 1px solid #eceef2; border-radius: 10px; background: #fff;
  font: inherit; font-size: 0.875rem; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.jb-search input::placeholder { color: var(--faint); }
.jb-search input::-webkit-search-cancel-button { display: none; }
.jb-search input:focus { outline: none; border-color: var(--ink); }
.jb-search .s-ico { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.jb-search .s-clear {
  position: absolute; right: 8px; top: 50%; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; transform: translateY(-50%);
  border: 0; border-radius: 999px; background: none; font-size: 12px; color: var(--faint); cursor: pointer;
}
.jb-search .s-clear:hover { background: var(--fill); }
.jb-search .s-clear[hidden] { display: none; }
.jb-seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--fill); }
.jb-seg button {
  min-height: 34px; padding: 0 16px; border: 0; border-radius: 9px; background: none; cursor: pointer;
  font: inherit; font-size: 0.9375rem; color: var(--muted); white-space: nowrap;
}
.jb-seg button[aria-pressed="true"] { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 4px rgba(25, 31, 40, 0.1); }

/* 2행 — 칩 줄 */
/* 잘리지 않게 — 넘치면 다음 줄로 */
.jb-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.jb-chip {
  display: inline-flex; flex-shrink: 0; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; font: inherit; font-size: 0.9375rem; color: var(--ink-soft); cursor: pointer; white-space: nowrap;
}
.jb-chip:hover { border-color: #c9ced6; }
.jb-chip .jb-ico { width: 16px; height: 16px; }
.jb-chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 600; }
.jb-chip-sep { flex-shrink: 0; width: 1px; margin: 6px 4px; background: var(--line); }
.jb-chip.all .n { display: inline-flex; min-width: 20px; height: 20px; align-items: center; justify-content: center; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.75rem; font-weight: 700; }
.jb-chip.all.active { border-color: var(--ink); }
.jb-chip .x { margin-left: 2px; font-size: 0.75rem; opacity: 0.8; }

/* 편의 조건 모달 */
.jb-modal-back { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(25, 31, 40, 0.45); }
.jb-modal-back[hidden] { display: none; }
.jb-modal { display: flex; flex-direction: column; width: 100%; max-width: 680px; max-height: min(840px, calc(100vh - 48px)); border-radius: 22px; background: #fff; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25); overflow: hidden; }
.jb-modal-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 28px 8px; }
.jb-modal-head h2 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.jb-modal-close { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; font-size: 22px; color: var(--ink-soft); cursor: pointer; }
.jb-modal-close:hover { background: var(--fill); }
/* 분류 탭 = GRPM Tab 브릭(assets/css/grpm-site.css). 호스트 조정: 모달 좌우 여백은 모달이 소유 */
.jb-tabs { margin: 4px 28px 0; }
.jb-tabs .grpm-tab { padding-left: 0; background: transparent; }
.jb-tabs .grpm-tab__item:first-child { padding-left: 0; }
.jb-modal-body { flex: 1; overflow-y: auto; padding: 8px 28px 24px; scroll-behavior: smooth; }
.jb-modal-sec { padding-top: 26px; scroll-margin-top: 4px; }
.jb-modal-sec h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.jb-modal-sec h3 .jb-ico { width: 20px; height: 20px; }
.jb-modal-sec h3 small { font-size: 0.8125rem; font-weight: 500; color: var(--faint); }
.jb-modal-sec .opts { display: flex; flex-wrap: wrap; gap: 8px; }
.jb-modal-sec .jb-chip { height: 42px; }
.jb-modal-sec .jb-chip .c { font-size: 0.8125rem; opacity: 0.6; }
.jb-modal-foot { display: flex; gap: 10px; padding: 16px 28px 22px; border-top: 1px solid var(--line); }
.jb-modal-foot .reset { flex: 0 0 108px; height: 52px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 1rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.jb-modal-foot .apply { flex: 1; height: 52px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font: inherit; font-size: 1rem; font-weight: 700; cursor: pointer; }
.jb-modal-foot .apply:hover { background: #333d4b; }
body.jb-lock { overflow: hidden; }
/* 모달은 body 에 붙으므로 .jb 스코프 밖 — 포커스 링을 따로 준다 (브라우저 기본 주황 링 방지) */
.jb-modal-back :focus { outline: none; }
.jb-modal-back :focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 8px; }
.jb-modal-back .grpm-tab__item:focus-visible { outline-offset: -3px; border-radius: 6px; }
@media (max-width: 560px) {
  .jb-modal-back { padding: 0; align-items: flex-end; }
  .jb-modal { max-width: none; max-height: 92vh; border-radius: 22px 22px 0 0; }
}

.jb-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 16px; font-size: 0.875rem; color: var(--muted); }
.jb-note .jb-ico { width: 16px; height: 16px; color: var(--faint); }
.jb-note span { display: inline-flex; align-items: center; gap: 6px; }
.jb-note a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }

.jb-result { display: flex; align-items: center; justify-content: space-between; margin: 28px 0 16px; font-size: 0.9375rem; color: var(--muted); }
.jb-result strong { color: var(--ink); }
.jb-reset { border: 0; background: none; font: inherit; font-size: 0.875rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* 카드 그리드 */
.jb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; list-style: none; margin: 0; padding: 0; }
.jb-card-wrap { position: relative; }
.jb-card { display: block; color: inherit; text-decoration: none; border-radius: var(--jb-radius); }
.jb-card:hover .jb-cover-img, .jb-card:hover .jb-syn { transform: scale(1.03); }
.jb-cover { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; border-radius: var(--jb-radius); background: var(--fill); isolation: isolate; }
.jb-cover-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.jb-cover.photo::after { content: ""; position: absolute; inset: 0 0 auto; height: 46%; background: linear-gradient(to bottom, rgba(0, 0, 0, 0.34), transparent); pointer-events: none; }
.jb-cover-top { position: absolute; left: 12px; right: 48px; top: 11px; z-index: 2; font-size: 0.8125rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink-soft); }
.jb-cover.photo .jb-cover-top { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.jb-save {
  position: absolute; right: 6px; top: 4px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 0; border-radius: 10px; background: none; color: var(--ink-soft); cursor: pointer;
}
.jb-save.on-photo { color: #fff; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35)); }
.jb-save .jb-ico { width: 22px; height: 22px; }
.jb-cover-bottom { position: absolute; left: 10px; bottom: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.jb-pill { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; line-height: 1.3; }
.jb-pill .jb-ico { width: 13px; height: 13px; }
.jb-pill.dday { background: rgba(25, 31, 40, 0.8); color: #fff; }
.jb-pill.danger { background: var(--jb-danger); color: #fff; }

/* 브랜드 커버 — 사진 없는 기업: OG 배경 + 회사 이름 워드마크 */
.jb-brand { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: transform 0.35s ease; }
.jb-brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jb-brand-name { position: relative; max-width: 84%; padding: 0 4px; font-family: var(--font); font-weight: 800; letter-spacing: -0.045em; line-height: 1.15; color: var(--ink); text-align: center; word-break: keep-all; overflow-wrap: anywhere; }
.jb-brand-name.s-xl { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.jb-brand-name.s-l { font-size: clamp(1.375rem, 2vw, 1.75rem); }
.jb-brand-name.s-m { font-size: clamp(1.125rem, 1.6vw, 1.375rem); }
.jb-card:hover .jb-brand { transform: scale(1.03); }
.jb-gallery .jb-brand { position: relative; height: 100%; }
.jb-brand.big .jb-brand-name { font-size: clamp(2.25rem, 5vw, 3.75rem); }

/* 시너지 커버 — 회사 사진이 없을 때 편의 조건 픽토그램으로 */
.jb-syn { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 36px 18px 18px; transition: transform 0.35s ease; }
.jb-syn.g-mobility { background: linear-gradient(160deg, #eaf1fb 0%, #d3e2f6 100%); }
.jb-syn.g-vision { background: linear-gradient(160deg, #f0eefa 0%, #ddd6f3 100%); }
.jb-syn.g-hearing { background: linear-gradient(160deg, #eaf6f0 0%, #d2eadd 100%); }
.jb-syn.g-cognitive { background: linear-gradient(160deg, #fdf2e9 0%, #f5dcc6 100%); }
.jb-syn.g-work { background: linear-gradient(160deg, #fbeef2 0%, #f0d6e0 100%); }
.jb-syn.g-support, .jb-syn.g-none { background: linear-gradient(160deg, #f2f4f6 0%, #e1e5ea 100%); }
.jb-syn-icons { display: flex; align-items: center; gap: 10px; }
.jb-syn-tile {
  display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 18px; background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(25, 31, 40, 0.08); color: var(--ink);
}
.jb-syn-tile .jb-ico { width: 28px; height: 28px; }
.jb-syn-tile:nth-child(2) { transform: translateY(-8px); }

.jb-card-body { padding: 14px 2px 0; }
.jb-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 1.0625rem; font-weight: 700; line-height: 1.45; letter-spacing: -0.02em; color: var(--ink); }
.jb-card-co { margin-top: 6px; font-size: 0.875rem; color: var(--ink-soft); }
.jb-card-sub { margin-top: 3px; font-size: 0.8125rem; color: var(--faint); }
.jb-card-wage { margin-top: 6px; font-size: 0.875rem; font-weight: 700; color: var(--ink); }

.jb-empty { grid-column: 1 / -1; padding: 72px 20px; border-radius: 20px; background: var(--bg-soft); text-align: center; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.jb-empty strong { display: block; margin-bottom: 6px; font-size: 1.125rem; color: var(--ink); }

.jb-legal { margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8125rem; line-height: 1.9; color: var(--faint); }
.jb-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- 상세 */
.jb-detail-page { padding: 32px 0 120px; }
.jb-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; height: clamp(220px, 26vw, 360px); overflow: hidden; border-radius: 20px; }
.jb-gallery.n1 { grid-template-columns: 1fr; }
.jb-gallery.n2 { grid-template-columns: 1fr 1fr; }
.jb-gallery img { width: 100%; height: 100%; object-fit: cover; background: var(--fill); }
.jb-gallery .jb-syn { position: relative; inset: auto; height: 100%; gap: 16px; padding: 24px; }
.jb-gallery .jb-syn-icons { gap: 18px; }
.jb-gallery .jb-syn-tile { width: 84px; height: 84px; border-radius: 26px; }
.jb-gallery .jb-syn-tile .jb-ico { width: 40px; height: 40px; }
.jb-syn-caption { font-size: 0.9375rem; font-weight: 600; color: rgba(25, 31, 40, 0.62); text-align: center; }

.jb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; margin-top: 36px; align-items: start; }
.jb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 0.9375rem; color: var(--muted); }
.jb-meta .co { font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.jb-meta .dot { color: var(--faint); }
.jb-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-top: 10px; }
.jb-title { font-size: clamp(1.625rem, 3vw, 2rem); font-weight: 800; line-height: 1.35; letter-spacing: -0.03em; color: var(--ink); }
.jb-actions { display: flex; gap: 4px; flex-shrink: 0; }
.jb-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 10px; background: none; color: var(--ink-soft); cursor: pointer; }
.jb-icon-btn:hover { background: var(--fill); }
.jb-icon-btn .jb-ico { width: 22px; height: 22px; }

.jb-alert { display: flex; gap: 10px; margin-top: 20px; padding: 16px 18px; border-radius: 14px; background: var(--jb-danger-bg); color: #a3111f; font-size: 0.9375rem; line-height: 1.7; }
.jb-alert .jb-ico { margin-top: 3px; }
.jb-alert a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.jb-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 28px 0 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.jb-fact { display: grid; grid-template-columns: 22px 64px 1fr; align-items: center; gap: 10px; font-size: 0.9375rem; }
.jb-fact .jb-ico { color: var(--muted); }
.jb-fact dt { font-weight: 700; color: var(--ink-soft); }
.jb-fact dd { margin: 0; color: var(--ink); }

.jb-sec { margin-top: 48px; }
.jb-sec > h2 { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.jb-sec-sub { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); }
.jb-body { position: relative; margin-top: 20px; }
.jb-body.collapsed { max-height: 560px; overflow: hidden; }
.jb-body.collapsed::after { content: ""; position: absolute; inset: auto 0 0; height: 120px; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff); }
.jb-body h3 { margin: 28px 0 10px; font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.jb-body h3:first-child { margin-top: 0; }
.jb-body p { white-space: pre-wrap; font-size: 1rem; line-height: 1.85; color: var(--ink-soft); word-break: keep-all; overflow-wrap: anywhere; }
.jb-more { width: 100%; height: 48px; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-size: 0.9375rem; color: var(--ink); cursor: pointer; }
.jb-more:hover { background: var(--bg-soft); }

.jb-acc { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.jb-acc-group h3 { display: flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.jb-acc-group h3 .jb-ico { width: 18px; height: 18px; }
.jb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; list-style: none; padding: 0; }
.jb-tags li { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.875rem; color: var(--ink-soft); }

.jb-deadline { margin-top: 14px; font-size: 1rem; color: var(--ink-soft); }
.jb-map { margin-top: 20px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.jb-map iframe { display: block; width: 100%; height: 280px; border: 0; background: var(--fill); }
.jb-map-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; font-size: 0.9375rem; color: var(--ink); }
.jb-map-links { display: flex; gap: 12px; font-size: 0.875rem; }
.jb-map-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.jb-company { margin-top: 48px; padding: 20px; border-radius: 16px; background: var(--bg-soft); }
.jb-company-row { display: flex; align-items: center; gap: 14px; }
.jb-logo { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; flex-shrink: 0; overflow: hidden; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 800; color: var(--faint); }
.jb-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.jb-company strong { display: block; font-size: 1rem; color: var(--ink); }
.jb-company span { font-size: 0.875rem; color: var(--muted); }
.jb-company-row a { margin-left: auto; font-size: 0.875rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.jb-company-intro { margin-top: 14px; font-size: 0.9375rem; line-height: 1.8; color: var(--ink-soft); white-space: pre-wrap; }

/* 오른쪽 고정 카드 */
.jb-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 12px; }
.jb-apply-btn {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; border: 0; border-radius: 12px;
  background: var(--ink); color: #fff; font: inherit; font-size: 1.0625rem; font-weight: 700; cursor: pointer;
}
.jb-apply-btn:hover { background: #333d4b; }
.jb-apply-box { padding: 18px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; }
.jb-apply-box[hidden] { display: none; }
.jb-apply-box:focus { outline: none; }
.jb-apply-box p { white-space: pre-wrap; font-size: 1rem; font-weight: 700; line-height: 1.7; color: var(--ink); overflow-wrap: anywhere; }
.jb-apply-box small { display: block; margin-top: 8px; font-size: 0.8125rem; line-height: 1.6; color: var(--muted); }
.jb-side-card { padding: 20px; border-radius: 16px; background: var(--bg-soft); }
.jb-side-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 0; font-size: 0.9375rem; }
.jb-side-card dt { color: var(--muted); }
.jb-side-card dd { margin: 0; text-align: right; font-weight: 700; color: var(--ink); }
.jb-side-note { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.8125rem; line-height: 1.7; color: var(--muted); }
.jb-side-note a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.jb-side-danger { display: flex; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--jb-danger-bg); color: #a3111f; font-size: 0.875rem; font-weight: 600; line-height: 1.6; }
.jb-side-danger .jb-ico { width: 18px; height: 18px; margin-top: 2px; }

.jb-toast { position: fixed; left: 50%; bottom: 28px; z-index: 2100; transform: translateX(-50%); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 0.9375rem; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2); }

.jb-skel { background: linear-gradient(90deg, var(--fill), #f7f8fa, var(--fill)); background-size: 200% 100%; animation: jb-skel 1.2s linear infinite; border-radius: var(--jb-radius); }
@keyframes jb-skel { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  .jb-cover-img, .jb-syn { transition: none; }
  .jb-card:hover .jb-cover-img, .jb-card:hover .jb-syn { transform: none; }
  .jb-skel { animation: none; }
}

@media (max-width: 1120px) {
  .jb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jb-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
}
@media (max-width: 860px) {
  .jb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .jb-layout { grid-template-columns: 1fr; }
  .jb-aside { position: static; }
  /* 모바일: 본문 순서는 그대로, 지원 버튼만 화면 하단 고정 */
  .jb-aside .jb-apply-btn { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 50; width: auto; box-shadow: 0 10px 28px rgba(25, 31, 40, 0.28); }
  .jb-detail-page { padding-bottom: 140px; }
  .jb-gallery { grid-template-columns: 1fr; }
  .jb-gallery img:not(:first-child) { display: none; }
  .jb-tools { width: 100%; }
  .jb-search { flex: 1; width: auto; }
}
@media (max-width: 560px) {
  .jb-list-page { padding-top: 32px; }
  .jb-grid { grid-template-columns: 1fr; }
  .jb-facts { grid-template-columns: 1fr; }
  .jb-tools { flex-direction: column; align-items: stretch; }
  .jb-seg { align-self: flex-start; }
}

/* ---------------------------------------------------------------- 구직자 정보 등록 (/jobs/register) */
.sk-page { --sk-hint: #5f6873; /* 흰색·연회색 배경 모두 대비 5:1 이상 */ padding: 48px 0 120px; }
.sk-wrap { max-width: 720px; margin: 0 auto; }
.sk-back { display: inline-block; margin-bottom: 24px; font-size: 0.9375rem; color: var(--sk-hint); text-decoration: none; }
.sk-back:hover { color: var(--ink); }
.sk-title { font-size: clamp(1.875rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.sk-lead { margin-top: 12px; font-size: 1.0625rem; line-height: 1.75; color: var(--sk-hint); }
.sk-lead strong { color: var(--ink); }
.sk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.sk-sec { margin: 40px 0 0; padding: 28px; border: 1px solid var(--line); border-radius: 20px; }
.sk-sec legend { float: left; width: 100%; margin-bottom: 20px; padding: 0; font-size: 1.1875rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.sk-sec legend span, .sk-label span, .sk-field label span { margin-left: 6px; font-size: 0.8125rem; font-weight: 500; color: var(--sk-hint); }
.sk-sec legend + * { clear: both; }
.sk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sk-span { grid-column: 1 / -1; }
.sk-field { display: flex; flex-direction: column; gap: 8px; }
.sk-sec > .sk-field + .sk-field, .sk-sensitive > .sk-field + .sk-field { margin-top: 22px; }
.sk-field > label, .sk-label { font-size: 0.9375rem; font-weight: 600; color: var(--ink-soft); }
.sk-field em { font-style: normal; color: var(--jb-danger); }
.sk-field input:not([type="checkbox"]):not([type="file"]), .sk-field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid transparent; border-radius: 12px; background: var(--fill);
  font: inherit; font-size: 1rem; color: var(--ink); resize: vertical;
}
.sk-field textarea { min-height: 96px; line-height: 1.6; }
.sk-field input::placeholder, .sk-field textarea::placeholder { color: var(--sk-hint); }
.sk-field input:focus, .sk-field textarea:focus { outline: none; background: #fff; border-color: var(--ink); }
.sk-field.has-error input, .sk-field.has-error textarea { border-color: var(--jb-danger); background: var(--jb-danger-bg); }
.sk-field.has-error .sk-chips { outline: 2px solid var(--jb-danger); outline-offset: 4px; border-radius: 10px; }
.sk-err { font-size: 0.875rem; line-height: 1.6; color: var(--jb-danger); white-space: pre-line; }
.sk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sk-chips .jb-chip { height: 42px; }

.sk-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 52px; padding: 6px 8px; border-radius: 12px; background: var(--fill); }
.sk-tags:focus-within { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.sk-tags .sk-chips .jb-chip { height: 34px; padding: 0 10px; font-size: 0.875rem; }
.sk-field .sk-tags input { flex: 1; min-width: 160px; min-height: 38px !important; padding: 0 8px !important; background: transparent !important; border: 0 !important; }
.sk-help { font-size: 0.875rem; line-height: 1.6; color: var(--sk-hint); }
.sk-suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.sk-suggest:empty { display: none; }
.sk-suggest button { height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 0.8125rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; }
.sk-suggest button span { color: var(--sk-hint); }
.sk-suggest button:hover { border-color: var(--ink); color: var(--ink); }

/* 첨부 파일 목록 */
.sk-docs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.sk-docs li { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--bg-soft); }
.sk-docs b { font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.sk-docs span { font-size: 0.8125rem; line-height: 1.6; color: var(--sk-hint); }
.sk-att { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sk-att-empty { padding: 16px; border: 1px dashed var(--line); border-radius: 12px; font-size: 0.9375rem; color: var(--sk-hint); text-align: center; }
.sk-att-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 56px; padding: 8px 8px 8px 10px; border-radius: 12px; background: var(--fill); }
.sk-field select.sk-att-kind { flex-shrink: 0; width: auto; height: 38px; min-height: 0; padding: 0 30px 0 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7684' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center; appearance: none; cursor: pointer; }
.sk-field select.sk-att-kind:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sk-att-name { flex: 1; min-width: 0; overflow: hidden; font-size: 0.9375rem; font-weight: 500; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.sk-att-size { flex-shrink: 0; font-size: 0.8125rem; color: var(--sk-hint); font-variant-numeric: tabular-nums; }
.sk-att-del { flex-shrink: 0; width: 36px; height: 36px; border: 0; border-radius: 999px; background: none; color: var(--sk-hint); font-size: 0.9375rem; cursor: pointer; }
.sk-att-del:hover { background: #fff; color: var(--ink); }
.sk-att-add { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.sk-att-rule { font-size: 0.8125rem; color: var(--sk-hint); }
.sk-file-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 0.9375rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.sk-file-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.sk-file-btn.is-disabled { color: var(--sk-hint); cursor: default; box-shadow: inset 0 0 0 1px var(--line); }
.sk-att-add input:focus-visible + .sk-file-btn { outline: 3px solid var(--ink); outline-offset: 3px; }
.sk-warn { padding: 12px 14px; border-radius: 12px; background: var(--bg-soft); color: var(--sk-hint); }

.sk-consent .sk-field + .sk-field { margin-top: 14px; }
.sk-check { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; color: var(--ink); cursor: pointer; line-height: 1.5; }
.sk-check input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); cursor: pointer; }
.sk-check b { font-weight: 700; }
/* .sk-field > label / .sk-field label span(보조 문구용) 규칙이 동의 체크박스 문구까지 작게·흐리게 만들지 않게 */
.sk-field > label.sk-check { font-size: 1rem; font-weight: 500; color: var(--ink); }
.sk-field label.sk-check > span { margin-left: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.sk-check.all { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-weight: 700; }
.sk-terms { margin-left: 34px; font-size: 0.875rem; color: var(--sk-hint); }
.sk-terms summary { width: fit-content; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.sk-terms table { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: 0.875rem; }
.sk-terms th, .sk-terms td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.6; }
.sk-terms th { width: 92px; background: var(--bg-soft); font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.sk-terms p { margin-top: 10px; line-height: 1.7; }
.sk-terms a { color: var(--ink-soft); text-decoration: underline; }
.sk-sec-lead { margin: -8px 0 20px; font-size: 0.9375rem; line-height: 1.7; color: var(--sk-hint); }
.sk-sens-consent { padding: 16px 18px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.sk-sens-teaser { margin-top: 14px; font-size: 0.875rem; line-height: 1.7; color: var(--sk-hint); }
.sk-sens-teaser b { font-weight: 600; color: var(--ink-soft); }
.sk-sens-teaser[hidden] { display: none; }
.sk-rel { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 0.6875rem; font-weight: 700; }
.sk-rel[hidden] { display: none; }
.sk-more { align-self: flex-start; margin-top: 4px; height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.sk-more:hover { border-color: var(--ink); color: var(--ink); }
.sk-more[hidden], #sk-acc-more[hidden] { display: none; }
#sk-acc-more { padding-top: 16px; border-top: 1px dashed var(--line); }
.sk-sensitive { margin-top: 24px; padding: 22px; border-radius: 16px; background: var(--bg-soft); }
.sk-sensitive[hidden] { display: none; }
.sk-sensitive-note { margin-bottom: 18px; font-size: 0.875rem; color: var(--sk-hint); }
.sk-acc-group + .sk-acc-group { margin-top: 16px; }
.sk-acc-title { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.sk-acc-title .jb-ico { width: 18px; height: 18px; }

.sk-submit { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 32px; }
.sk-status { min-height: 1.4em; font-size: 0.9375rem; color: var(--jb-danger); text-align: center; }
.sk-btn { display: flex; align-items: center; justify-content: center; height: 56px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font: inherit; font-size: 1.0625rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.sk-btn:hover { background: #333d4b; }
.sk-btn:disabled { opacity: 0.55; cursor: progress; }
.sk-done { margin-top: 40px; padding: 48px 28px; border-radius: 20px; background: var(--bg-soft); text-align: center; }
.sk-done:focus { outline: none; }
.sk-done-mark { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 1.5rem; font-weight: 800; }
.sk-done h2 { margin-top: 16px; font-size: 1.5rem; font-weight: 800; color: var(--ink); }
.sk-done p { margin-top: 10px; font-size: 1rem; line-height: 1.7; color: var(--sk-hint); }
.sk-done .sk-done-sub { font-size: 0.875rem; }
.sk-done a:not(.sk-btn) { color: var(--ink-soft); text-decoration: underline; }
.sk-done .sk-btn { max-width: 280px; margin: 24px auto 0; }
.sk-page :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }

/* 목록 상단 — 구직자 등록 진입 */
.jb-register { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 44px; padding: 22px 24px; border-radius: 18px; background: var(--bg-soft); }
.jb-register strong { display: block; font-size: 1.0625rem; color: var(--ink); }
.jb-register span { font-size: 0.9375rem; color: var(--muted); }
.jb-register a { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 0.9375rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.jb-register a:hover { background: #333d4b; }

@media (max-width: 640px) {
  .sk-sec { padding: 20px; }
  .sk-grid { grid-template-columns: 1fr; }
  .sk-terms { margin-left: 0; }
  .sk-docs { grid-template-columns: 1fr; }
  .sk-sensitive { padding: 16px; }
  /* 좁은 화면: 종류 선택 | 크기 · 빼기 / 파일 이름 두 줄 */
  .sk-att-name { order: 3; flex-basis: 100%; padding: 0 4px 4px; white-space: normal; word-break: break-all; }
  .sk-att-size { margin-left: auto; }
}

/* 리뷰 반영 — 포커스 · 대비 · 좁은 화면 */
.sk-check input:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sk-sec { min-width: 0; } /* fieldset 기본 min-width:min-content 때문에 글자를 키우면 가로 스크롤이 생기던 문제 */
.sk-chips .jb-chip { height: auto; min-height: 42px; padding-top: 8px; padding-bottom: 8px; white-space: normal; text-align: left; line-height: 1.35; }
.sk-tags .sk-chips .jb-chip { min-height: 34px; padding-top: 4px; padding-bottom: 4px; }
.sk-tags .jb-chip.is-on { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 600; }
.sk-req-note { margin-top: 32px; font-size: 0.875rem; color: var(--sk-hint); }
.sk-req-note em { font-style: normal; color: var(--jb-danger); }
.sk-submit-note { margin-top: 10px; text-align: center; }
.sk-done-sub b, .sk-done p b { color: var(--ink); }
.sk-status.is-progress { color: var(--sk-hint); }
/* 이메일 인증 */
.sk-verify { display: flex; gap: 8px; }
.sk-verify input { flex: 1; min-width: 0; }
.sk-verify-btn { flex-shrink: 0; min-height: 52px; padding: 0 18px; border: 1px solid var(--ink); border-radius: 12px; background: #fff; font: inherit; font-size: 0.9375rem; font-weight: 700; color: var(--ink); cursor: pointer; white-space: nowrap; }
.sk-verify-btn.is-dark { background: var(--ink); color: #fff; }
.sk-verify-btn:disabled { border-color: var(--line); background: var(--fill); color: var(--sk-hint); cursor: default; }
.sk-verify-btn:focus-visible, .sk-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.sk-code { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; padding: 14px; border-radius: 14px; background: var(--bg-soft); }
.sk-code[hidden], .sk-verified[hidden] { display: none; }
.sk-field .sk-code input { letter-spacing: 0.2em; font-variant-numeric: tabular-nums; }
.sk-link { align-self: flex-start; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 0.875rem; color: var(--sk-hint); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sk-link:disabled { text-decoration: none; cursor: default; }
.sk-verified { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.sk-field #sk-email[readonly] { background: var(--bg-soft); color: var(--ink-soft); }

.sk-field .sk-code input::placeholder { letter-spacing: normal; }

/* 영문 채용정보 — 원문(한국어) 표시 · AI 번역 안내 */
.jb-kr { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: var(--fill); font-size: 0.6875rem; font-weight: 700; color: var(--muted); vertical-align: 2px; }
.jb-mt { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: var(--bg-soft); font-size: 0.875rem; line-height: 1.6; color: var(--ink-soft); }
.jb-mt .jb-ico { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
.jb-mt-toggle { margin-left: 4px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.jb-mt-toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
.sk-lang-note { margin-top: 10px; font-size: 0.9375rem; line-height: 1.7; color: var(--sk-hint); }
