/* =========================================================
   人事管理の見た目（2026-11-13・2026-11-14 ご指示。pages/jinji.html だけが読む）
   名前はすべて jj- で始める（ほかの画面の見た目とぶつからない）。ボタン・入力欄・タブは styles.css の共通の部品を使う。
   並び：共通 → 候補者管理 → タスク管理 → 面接評価シート → 採用進捗 → 狭い画面 → 印刷
   ========================================================= */

/* ───── 共通 ───── */
/* 見出し：人事管理の絵（相談の吹き出しを抱えるほしのこ）を題名の左に */
.jj-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 14px; }
.jj-head .admin-title { margin: 0; }
.jj-head .admin-who { margin: 0 0 0 auto; }
.jj-mascot { width: 56px; height: 56px; filter: drop-shadow(0 4px 8px rgba(15, 76, 53, .2)); }
.jj-privacy { margin: 0 0 10px; font-size: 12.5px; }
.jj-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 2px 6px rgba(15, 76, 53, .06); }
.jj-box { padding: 14px 16px; margin: 0 0 14px; }
.jj-h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; font-size: 16px; color: var(--green-900); }
.jj-h3 small { font-size: 12.5px; font-weight: 400; color: #6b7280; }
.jj-sp { flex: 1 1 auto; }
.jj-hint { font-size: 12.5px; color: #5b6b62; margin: 6px 0; }
.jj-range { font-size: 13px; color: #374151; margin: 6px 0 14px; }
.jj-req { margin-left: 4px; padding: 0 6px; border-radius: 4px; background: #b42318; color: #fff; font-size: 11px; font-weight: 700; }
.jj-none { color: #b6bcb8; font-style: normal; }
.jj-none-line { font-size: 13px; color: #8a8f8b; margin: 4px 0; }
.jj-act { white-space: nowrap; text-align: right; }
.jj-table-wrap { overflow-x: auto; }
.jj-table { width: 100%; }
.jj-table td { vertical-align: middle; }
.jj-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.jj-t th { text-align: left; font-size: 12px; color: #5b6b62; padding: 6px 8px; background: #f3f7f3; white-space: nowrap; }
.jj-t td { padding: 7px 8px; border-top: 1px solid #f0ece2; vertical-align: top; }
.jj-t a { color: #2f5aa8; }
/* 入力欄：電話・日付・数字・プルダウンも、ほかの欄と同じ見た目・同じ高さにそろえる（共通の決まりは 文字とメールの欄だけ） */
.jj-form { margin: 0 0 16px; }
.jj-form input[type="tel"], .jj-form input[type="date"], .jj-form input[type="datetime-local"], .jj-form input[type="number"], .jj-form select,
.jj-ev input[type="date"], .jj-ev select {
  width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: #fdfaf3; color: var(--text); font-family: inherit; font-size: 14.5px;
}
.jj-form select:focus, .jj-ev select:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(200, 146, 40, .15); background: #fff; }
.jj-form input:disabled, .jj-form select:disabled, .jj-form textarea:disabled, .jj-ev input:disabled, .jj-ev select:disabled, .jj-ev textarea:disabled { background: #f3f4f6; color: #4b5563; }
.jj-subform { margin: 0 0 12px; padding: 14px; box-shadow: none; background: #fffdf8; }
/* 絞り込みの札 */
.jj-row { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; }
.jj-lbl { flex: none; min-width: 2.6em; padding-top: 9px; font-size: 12.5px; font-weight: 700; color: #5b6b62; }
.jj-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jj-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 13px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--text); font: inherit; font-size: 13.5px; cursor: pointer;
}
.jj-chip b { min-width: 1.4em; padding: 0 6px; border-radius: 999px; background: #eef5f0; color: var(--green-900); font-size: 12px; text-align: center; }
.jj-chip:hover { border-color: rgba(15, 76, 53, .4); }
.jj-sort { display: inline-flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; }
.jj-sort .jj-lbl { min-width: 0; padding-top: 0; }
.jj-sortopt { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.jj-chip.is-zero { color: #9aa39d; border-style: dashed; }
.jj-chip.is-zero b { background: #f3f4f6; color: #9aa39d; }
.jj-chip.is-active { border-color: var(--green-900); border-style: solid; background: var(--green-900); color: #fff; }
.jj-chip.is-active b { background: #fff; color: var(--green-900); }
.jj-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 6px 0 12px; }
.jj-search { display: flex; align-items: center; gap: 8px; flex: 1 1 280px; max-width: 460px; }
.jj-search__label { flex: none; font-size: 13px; color: #5b6b62; }
.jj-search input { flex: 1 1 auto; min-width: 0; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; }
.jj-count { font-size: 13px; color: #5b6b62; }
/* 選考の状況の色（まとまりごと。札・選ぶ欄の両方） */
.jj-pill, .jj-status { display: inline-block; padding: 3px 10px; border: 1px solid transparent; border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 700; line-height: 1.6; white-space: nowrap; }
.jj-status { min-height: 36px; cursor: pointer; font-size: 13.5px; }
.jj-pill--ai { background: #e8effb; color: #2f5aa8; border-color: #b9cdf0; }
.jj-pill--adjust { background: #eef2f7; color: #334155; border-color: #cbd5e1; }
.jj-pill--fixed { background: #fff1dc; color: #8a4b00; border-color: #f1cf9a; }
.jj-pill--offer { background: #e3f4e8; color: #1b6b3a; border-color: #a9d9b8; }
.jj-pill--join_plan { background: #1b6b3a; color: #fff; border-color: #1b6b3a; }
.jj-pill--joined { background: #0f4c35; color: #fff; border-color: #0f4c35; }
.jj-pill--closed { background: #f3f4f6; color: #6b7280; border-color: #d1d5db; }
.jj-pill--none { background: #f3f4f6; color: #6b7280; border-color: #d1d5db; }
/* 押して選ぶ小さなボタン（稼働可否・評価の ◎〇△✕ など） */
.jj-segs { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.jj-seg { padding: 6px 13px; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.jj-segs .jj-seg:last-child { border-right: 0; }
.jj-seg.is-on { background: var(--green-900); color: #fff; font-weight: 700; }
.jj-seg:disabled { cursor: default; }
.jj-segs--judge .jj-seg { padding: 8px 20px; }
.jj-x { border: 0; background: none; color: #9aa39d; font-size: 15px; cursor: pointer; padding: 0 4px; }
.jj-x:hover { color: #b42318; }
.jj-link { border: 0; background: none; padding: 0; color: #2f5aa8; font: inherit; font-size: 12.5px; font-weight: 400; text-decoration: underline; cursor: pointer; }
.jj-more-d { margin: 8px 0 0; }
.jj-more-d summary { cursor: pointer; font-size: 12.5px; color: #2f5aa8; }
.jj-nowrap { white-space: nowrap; }
.jj-center { text-align: center; }
/* 表の上でそのまま直す欄（日付・メモ・印） */
.jj-in { min-height: 32px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; color: var(--text); }
.jj-in--note { width: 100%; min-width: 140px; }
.jj-chk { width: 20px; height: 20px; accent-color: #1b6b3a; cursor: pointer; }
.jj-wide td { vertical-align: middle; }
.jj-namecell { min-width: 190px; }
.jj-wide .jj-in[type="date"] { width: 128px; padding: 3px 4px; font-size: 12.5px; }
.jj-wide .jj-status { max-width: 150px; }
.jj-wide .jj-status { min-height: 32px; font-size: 12.5px; }
.jj-sub2 { display: block; margin-top: 2px; font-size: 11.5px; color: #6b7280; font-weight: 400; }
/* まとめて取り込む・数え方（折りたたみ） */
.jj-import { margin: 18px 0 0; padding: 10px 14px; border: 1px dashed #cfc8b6; border-radius: 12px; background: #fffdf8; }
.jj-import summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--green-900); }
.jj-imp { margin: 12px 0 0; }
.jj-imp h4 { margin: 0 0 4px; font-size: 14.5px; color: var(--green-900); }
.jj-imp__plan { margin: 8px 0; padding: 10px 14px; border-radius: 10px; background: #eef5f0; font-size: 13.5px; }
.jj-imp__plan ul { margin: 6px 0; padding-left: 1.3em; }
.jj-imp__warn { color: #8a4b00; }

/* ───── 候補者管理：左に一覧・右に選んだ人 ───── */
.jj-two { display: grid; grid-template-columns: minmax(260px, 340px) minmax(0, 1fr); gap: 14px; align-items: start; }
.jj-list { padding: 6px; max-height: 1400px; overflow-y: auto; }
.jj-item {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; width: 100%; padding: 10px 12px; text-align: left;
  border: 0; border-bottom: 1px solid #f0ece2; border-radius: 10px; background: none; color: var(--text); font: inherit; cursor: pointer;
}
.jj-item:hover { background: #f6faf7; }
.jj-item.is-sel { background: #e6f4ea; border-bottom-color: transparent; box-shadow: inset 3px 0 0 #1b6b3a; }
.jj-item strong { font-size: 15px; }
.jj-item small { font-size: 12px; color: #5b6b62; }
.jj-item .jj-pill { justify-self: end; }
.jj-when { font-size: 12.5px; color: #374151; text-align: right; }
.jj-more { display: block; width: 100%; margin: 8px 0 4px; }
.jj-detail { padding: 14px 16px 16px; min-height: 200px; }
.jj-pick { padding: 60px 0; text-align: center; }
.jj-dhead { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 12px; }
.jj-dhead h3 { margin: 0; font-size: 22px; color: var(--green-900); }
.jj-dhead small { color: #6b7280; }
.jj-step { display: flex; margin: 0 0 4px; }
.jj-step i { flex: 1; font-style: normal; text-align: center; font-size: 12px; padding: 6px 2px; background: #f1ede2; color: #8a8f8b; border-right: 2px solid #fff; }
.jj-step i:first-child { border-radius: 8px 0 0 8px; }
.jj-step i:last-child { border-radius: 0 8px 8px 0; border-right: 0; }
.jj-step i.is-done { background: #cfe8d7; color: #1b6b3a; }
.jj-step i.is-now { background: #1b6b3a; color: #fff; font-weight: 700; }
.jj-closed { margin: 0 0 4px; padding: 6px 12px; border-radius: 8px; background: #f3f4f6; color: #6b7280; font-size: 13px; }
.jj-sec { margin: 10px 0 0; padding: 10px 12px; border: 1px solid #ebe5d8; border-radius: 12px; background: #fffdf8; min-width: 0; }
.jj-sec h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 14.5px; color: var(--green-900); }
.jj-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.jj-kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 14px; }
.jj-kv--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.jj-kv div { font-size: 13.5px; overflow-wrap: anywhere; }
.jj-kv div > span:first-child { display: block; font-size: 11.5px; color: #6b7280; }
.jj-memo-line { margin: 10px 0 0; padding-top: 8px; border-top: 1px dashed #e6dfd0; font-size: 13.5px; white-space: pre-wrap; }
.jj-memo-line span { display: block; font-size: 11.5px; color: #6b7280; }
.jj-res--old { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e6dfd0; opacity: .8; }
.jj-res__act { margin: 6px 0 0; }
.jj-dec { padding: 1px 8px; border-radius: 6px; }
.jj-dec--ok { background: #e3f4e8; color: #1b6b3a; }
.jj-dec--ng { background: #fdecea; color: #b42318; }
.jj-dec--etc { background: #f3f4f6; color: #4b5563; }
.jj-work { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 13.5px; }
.jj-work span { font-size: 11.5px; color: #6b7280; margin-right: 4px; }
.jj-work .jj-seg { border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: 13px; }
.jj-files { list-style: none; margin: 0 0 6px; padding: 0; }
.jj-files li { margin: 0 0 6px; }
.jj-file { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; text-align: left; overflow-wrap: anywhere; }
.jj-file:hover { border-color: rgba(15, 76, 53, .4); }
.jj-file small { color: #8a8f8b; }
.jj-upload { margin: 8px 0; }
.jj-upload select { min-height: 32px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-size: 13px; }
.jj-evals { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; }
.jj-memo { padding: 7px 0; border-top: 1px dashed #e6dfd0; font-size: 13.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.jj-memo:first-of-type { border-top: 0; }
.jj-memo small { color: #6b7280; font-size: 12px; margin-right: 8px; }
.jj-hist { font-size: 12.5px; color: #4b5563; padding: 3px 0; }
.jj-hist small { color: #8a8f8b; margin-right: 8px; }
.jj-transfer { background: #eef5f0; border-color: #a9d9b8; font-size: 14px; }
.jj-transfer.is-done { background: #f3f7f3; }

/* ───── 内定承諾者管理・入社予定 ───── */
.jj-dl.is-soon .jj-in { border-color: #f1cf9a; background: #fff1dc; }
.jj-dl.is-past .jj-in { border-color: #f3b4ab; background: #fdecea; }
.jj-mailrow td { background: #f6faf7; }
.jj-mail textarea { display: block; width: 100%; max-width: 760px; margin: 6px 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: 13.5px; line-height: 1.7; }
.jj-kpis { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.jj-kpis div { min-width: 110px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 13px; }
.jj-kpis span { display: block; font-size: 11.5px; color: #6b7280; }
.jj-kpis b { font-size: 22px; color: var(--green-900); margin-right: 2px; }
.jj-wide tr.is-left td { background: #f7f7f5; color: #6b7280; }
.jj-year th:first-child { white-space: nowrap; }
.jj-year .is-now { background: #eef5f0; font-weight: 700; }

/* ───── タスク管理 ───── */
.jj-tk-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.jj-tk-date { min-width: 11em; }
.jj-tk-prog { font-size: 13.5px; color: #374151; }
.jj-tk-bar { flex: 1 1 160px; max-width: 320px; height: 12px; border-radius: 999px; background: #ece6d8; overflow: hidden; }
.jj-tk-bar i { display: block; height: 100%; background: #1b6b3a; }
.jj-tk-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.jj-tk-grp { margin: 10px 0 2px; font-size: 12.5px; font-weight: 700; color: #8a4b00; }
.jj-tk-line { display: grid; grid-template-columns: 96px minmax(0, 1fr) 84px minmax(0, 140px); gap: 8px; align-items: center; padding: 4px 0; border-top: 1px solid #f0ece2; font-size: 13.5px; }
.jj-tk-line small { color: #6b7280; font-size: 12px; }
.jj-tk-st { display: block; width: 100%; min-height: 32px; padding: 3px 6px; border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 700; text-align: center; cursor: pointer; }
.jj-tk-st--done { background: #1b6b3a; color: #fff; border: 1px solid #1b6b3a; }
.jj-tk-st--doing { background: #fff1dc; color: #8a4b00; border: 1px solid #f1cf9a; }
.jj-tk-st--yet { background: #fff; color: #b42318; border: 1px solid #f3b4ab; }
.jj-tk-st--skip { background: #f3f4f6; color: #6b7280; border: 1px solid #d1d5db; }
.jj-tk-in { width: 100%; min-width: 0; min-height: 32px; padding: 3px 8px; border: 1px solid transparent; border-radius: 8px; background: #faf7ef; font: inherit; font-size: 12.5px; color: var(--text); }
.jj-tk-in:hover, .jj-tk-in:focus { border-color: var(--line); background: #fff; outline: none; }
.jj-tk-foot { margin: 10px 0 0; }
.jj-defs { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #f6f3ea; }
.jj-def { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 6px 0; border-top: 1px solid #e8e1d0; font-size: 13px; }
.jj-def select, .jj-def input[type="text"] { min-height: 32px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 13px; }
.jj-def input[type="text"] { flex: 1 1 220px; min-width: 0; }
.jj-def__week label, .jj-def__on { display: inline-flex; align-items: center; gap: 2px; margin-right: 4px; white-space: nowrap; }
.jj-def__week small { color: #8a8f8b; }
.jj-auto { padding: 1px 8px; border-radius: 8px; background: #fdecea; color: #b42318; border: 1px solid #f3b4ab; font-size: 12px; }

/* ───── 面接評価シート ───── */
.jj-ev-top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; }
.jj-ev-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 12px 16px; border-radius: 12px; background: #eef5f0; }
.jj-ev-sum span { display: block; font-size: 12px; color: #5b6b62; margin-bottom: 4px; }
.jj-rank { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: #1b6b3a; color: #fff; font-size: 30px; font-weight: 800; }
.jj-total { font-size: 26px; color: var(--green-900); }
.jj-ev-item { display: grid; grid-template-columns: 30px 130px 190px 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid #f0ece2; font-size: 13.5px; }
.jj-ev-item--head { border-top: 0; font-size: 12px; font-weight: 700; color: #5b6b62; }
.jj-ev-item textarea, .jj-ev .admin-field textarea, .jj-ev .admin-field input[type="text"] { width: 100%; padding: 8px 11px; border: 1px solid var(--line); border-radius: 9px; background: #fdfaf3; font: inherit; font-size: 14px; color: var(--text); resize: vertical; }
.jj-ev-pt { text-align: center; font-weight: 700; font-size: 16px; color: var(--green-900); }

/* ───── 採用進捗（集計）───── */
.jj-stat th, .jj-stat td { white-space: nowrap; }
.jj-num { text-align: right; font-variant-numeric: tabular-nums; }
.jj-stat th:nth-child(n+4) { text-align: right; }
.jj-rate { color: #5b6b62; }
.jj-st-base { font-weight: 700; color: var(--green-900); }
.jj-st-sub td { background: #faf7ef; }
.jj-st-sum td { background: #eef5f0; font-weight: 700; }
.jj-st-grand td { background: var(--green-900); color: #fff; font-weight: 700; }
.jj-st-grand .jj-rate, .jj-st-grand .jj-none { color: #d8e8de; }

/* ───── 狭い画面 ───── */
@media (max-width: 1100px) {
  .jj-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jj-grid2, .jj-ev-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1180px) {
  .jj-two, .jj-tk-cols { grid-template-columns: minmax(0, 1fr); }
  .jj-list { max-height: 420px; }
}
@media (max-width: 900px) {
  .jj-tk-line { grid-template-columns: 96px minmax(0, 1fr); }
  .jj-ev-item { grid-template-columns: 24px minmax(0, 1fr); }
  .jj-ev-item--head { display: none; }
  .jj-ev-item .jj-segs, .jj-ev-item textarea { grid-column: 1 / -1; }
  .jj-ev-pt { display: none; }
}
@media (max-width: 760px) {
  .jj-table thead { display: none; }
  .jj-table, .jj-table tbody, .jj-table tr, .jj-table td { display: block; width: 100%; }
  .jj-table tr { margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .jj-table td { padding: 3px 0; border: 0; }
  .jj-table td:empty { display: none; }
  .jj-table td[data-label]::before { content: attr(data-label) "："; margin-right: 6px; font-size: 12px; color: #5b6b62; }
  .jj-act { text-align: left; padding-top: 8px; }
  .jj-detail { padding: 14px 12px; }
}

/* ───── 印刷（面接評価シートの［PDF にする］）：評価シートだけを出す ───── */
@media print {
  .jj-printing .site-header, .jj-printing .site-footer, .jj-printing .admin-tabs, .jj-printing .admin-who, .jj-printing .jj-head, .jj-printing .jj-noprint,
  .jj-printing .skip-link, .jj-printing .toast { display: none !important; }
  .jj-printing .jj-card { box-shadow: none; break-inside: avoid; }
  .jj-printing .jj-ev textarea, .jj-printing .jj-ev input, .jj-printing .jj-ev select { background: #fff; }
}

/* =========================================================
   ホテル申請（2026-11-18・jinji-hotel.js）
   ========================================================= */
.jj-hbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.jj-hbar .admin-h2 { margin: 0 auto 0 0; }
.jj-hform { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin: 10px 0 18px; }
.jj-hform .admin-h3 { margin-top: 0; }
.jj-hform__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 16px; }
.jj-hform__grid > label, .jj-hform__grid > fieldset { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--green-800, #185c42); min-width: 0; }
.jj-hform__grid input[type="text"], .jj-hform__grid input[type="search"], .jj-hform__grid input[type="date"], .jj-hform__grid input[type="time"],
.jj-hform__grid select, .jj-hform__grid textarea { font: inherit; font-weight: 400; color: inherit; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; min-width: 0; }
.jj-hform__wide { grid-column: 1 / -1; }
.jj-hform fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; flex-direction: row !important; flex-wrap: wrap; gap: 6px 14px !important; }
.jj-hform fieldset legend { padding: 0 4px; }
.jj-check { display: inline-flex; align-items: center; gap: 4px; font-weight: 400; color: inherit; }
.jj-hpick { position: relative; display: block; font-weight: 400; }
.jj-hpick input { width: 100%; box-sizing: border-box; }
.jj-hpick__list { display: block; }
.jj-hpick__list:empty { display: none; }
.jj-hpick__list { margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 4px; max-height: 320px; overflow-y: auto; background: #fff; }
.jj-hpick__item { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; width: 100%; text-align: left; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; font: inherit; color: inherit; cursor: pointer; }
.jj-hpick__item:hover, .jj-hpick__item:focus-visible { background: #eef6f1; }
.jj-hpick__item small { color: var(--muted); font-size: 11.5px; align-self: center; }
.jj-hpick__item span { grid-column: 1 / -1; font-size: 12.5px; color: #2f5d4b; }
.jj-hpick__none { margin: 6px 8px; font-size: 12.5px; color: var(--muted); }
.jj-hpick__chosen { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 10px; border: 1px solid #cfe3d7; border-radius: 10px; background: #f3faf6; }
.jj-hpick__chosen small { color: var(--muted); }
.jj-hpick__chosen span { font-size: 12.5px; color: #2f5d4b; margin-right: auto; }
.jj-hfilter { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0; font-size: 13px; }
.jj-hfilter label { display: inline-flex; align-items: center; gap: 6px; }
.jj-hfilter select, .jj-hfilter input { font: inherit; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.jj-hfilter__note { color: #9a5b00; font-weight: 700; }
.jj-hrow { background: #fff; border: 1px solid var(--line); border-left: 4px solid #c9d6cf; border-radius: 12px; padding: 12px 16px; margin-bottom: 10px; }
.jj-hrow--pending { border-left-color: #e0a100; }
.jj-hrow--approved { border-left-color: #2e7d5b; }
.jj-hrow--arranged { border-left-color: #1f5c46; }
.jj-hrow--rejected { border-left-color: #b3261e; }
.jj-hrow__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jj-hrow__date { color: #2f5d4b; font-size: 13px; }
.jj-hrow__gone { color: var(--muted); margin-left: 4px; }
.jj-hstate { margin-left: auto; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: #eef2f0; color: #334; }
.jj-hstate--pending { background: #fff4d6; color: #8a5a00; }
.jj-hstate--approved { background: #e3f3ea; color: #1f6b47; }
.jj-hstate--arranged { background: #1f5c46; color: #fff; }
.jj-hstate--rejected { background: #fbe4e2; color: #9a2a22; }
.jj-hrow__dl { display: grid; grid-template-columns: max-content 1fr; gap: 2px 12px; margin: 8px 0 0; font-size: 13px; }
.jj-hrow__dl dt { color: var(--muted); }
.jj-hrow__dl dd { margin: 0; overflow-wrap: anywhere; }
.jj-hrow__decision { margin-top: 8px; padding: 8px 10px; border-radius: 8px; background: #f6f8f7; font-size: 13px; }
.jj-hrow__decision p { margin: 4px 0 0; white-space: pre-wrap; }
.jj-hstay { margin-top: 10px; padding: 10px 12px; border: 1px solid #cfe3d7; border-radius: 10px; background: #f3faf6; font-size: 13px; }
.jj-hstay__one { margin-top: 6px; }
.jj-hstay__h { font-weight: 700; font-size: 14px; }
.jj-hstay__note { margin-top: 4px; white-space: pre-wrap; }
.jj-hstay__acts { margin-top: 8px; }
.jj-hrow__acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.jj-hrow__acts:empty { display: none; }
