/* 日程・評価・内定のモジュール（.m-sched- の頭だけ・色は core/app.css の札の変数だけ・13px 未満を作らない・重ねない） */
.m-sched-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.m-sched-watch { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 8px 12px; border: 1px solid var(--line);
  border-left: 6px solid var(--ok); border-radius: var(--radius); background: var(--surface); margin-bottom: var(--gap); }
.m-sched-watch--act { border-left-color: var(--act); }
.m-sched-watch--wait { border-left-color: var(--wait); }
.m-sched-watch b { font-weight: 700; }
.m-sched-watch--act b { color: var(--act); }
.m-sched-watch--wait b { color: var(--wait); }
.m-sched-watch--ok b { color: var(--ok); }
.m-sched-panel { display: grid; gap: 12px; padding: 12px 16px 24px; min-width: 0; }
.m-sched-panel h2 { font-size: var(--fs-h2); }
.m-sched-sec { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); min-width: 0; }
.m-sched-sec__h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 700; }
.m-sched-slots { list-style: none; display: grid; gap: 6px; }
.m-sched-slots li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; min-width: 0; }
.m-sched-slots .t { font-weight: 700; font-variant-numeric: tabular-nums; }
.m-sched-add { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; align-items: end; }
.m-sched-add label { display: grid; gap: 4px; min-width: 0; }
.m-sched-matrix-wrap { overflow-x: auto; }
.m-sched-matrix { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.m-sched-matrix th, .m-sched-matrix td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.m-sched-matrix th { font-size: var(--fs-sub); color: var(--ink-2); font-weight: 700; }
.m-sched-ok { color: var(--ok); font-weight: 700; }
.m-sched-ng { color: var(--alert); font-weight: 700; }
.m-sched-none { color: var(--ink-2); }
.m-sched-row-ok td { background: var(--surface-2); }
.m-sched-people { list-style: none; display: grid; gap: 4px; }
.m-sched-people li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.m-sched-copy { white-space: pre-wrap; overflow-wrap: anywhere; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-s); background: var(--surface-2); }

/* 面接官の回答（スマホ 1 列・押す所 44px） */
.m-sched-ans { display: grid; gap: 10px; max-width: 560px; margin: 0 auto; padding: 8px 16px 16px; font-size: 16px; }
.m-sched-ans h1 { font-size: 19px; }
.m-sched-ans > * { min-width: 0; } /* 1 列の grid の子が長い一文で列を広げない（VB-11） */
.m-sched-ans__day { font-weight: 700; font-size: 15px; padding-top: 6px; border-top: 1px solid var(--line); }
.m-sched-ans__slot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 6px 10px; align-items: center; }
.m-sched-ans__slot .t { font-weight: 700; font-variant-numeric: tabular-nums; }
.m-sched-ans .seg__opt span { min-height: 44px; font-size: 15px; }
.m-sched-ans__foot { display: grid; gap: 8px; }
.m-sched-ans__foot .btn { min-height: 48px; font-size: 16px; white-space: normal; }
@media (max-width: 420px) { .m-sched-ans__slot { grid-template-columns: minmax(0, 1fr); } }

/* 候補者の頁の右の「次にすること」の足し */
.m-sched-next { margin: 0; }
.m-sched-decide { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 6px; }
.m-sched-decide .k-btn { white-space: normal; text-align: left; min-height: 40px; }
.m-sched-decpanel { display: grid; gap: 10px; }

/* 評価（スマホ）の足し */
.m-sched-scale { font-size: var(--fs-sub); color: var(--ink-2); }
.m-sched-caution { color: var(--ink); overflow-wrap: anywhere; }
.m-sched-caution b { color: var(--ink); }
.m-sched-others { list-style: none; display: grid; gap: 8px; }
.m-sched-others li { display: grid; gap: 2px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

/* 内定と入社 */
.m-sched-tasks { list-style: none; display: grid; gap: 4px; }
.m-sched-tasks li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 36px; }
/* 長い項目（税と保険の書類…）は狭い幅で折り返す（label.check は 1 行の nowrap＝390 幅で欄ごと横に送れた＝V2B-06） */
.m-sched-tasks label.check { white-space: normal; min-width: 0; }
.m-sched-dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 6px 12px; }
.m-sched-dates div { display: grid; gap: 2px; }
.m-sched-dates dt { font-size: var(--fs-sub); color: var(--ink-2); }
.m-sched-dates dd { margin: 0; font-variant-numeric: tabular-nums; }
.m-sched-sum { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.m-sched-url { overflow-wrap: anywhere; color: var(--ink); }

/* ===== 段 S5：面接の日程の一覧（見本 schedule.html）＝頁の頭・次にすること・今日・明日（畳まない）・進みごとの畳める箱・自動の見張り ===== */
.m-sched-page { display: grid; gap: var(--gap); align-content: start; min-width: 0; }
.m-sched-soonlist { list-style: none; margin: 0; padding: 0; }
.m-sched-soonlist li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 12px 16px; border-top: 1px solid var(--line); min-width: 0; }
.m-sched-soonlist li:first-child { border-top: 0; }
.m-sched-soon__t { display: grid; font-weight: 700; font-variant-numeric: tabular-nums; }
.m-sched-soon__who { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.m-sched-soon__note { margin: 0; padding: 8px 16px 12px; }
.m-sched-gnote { margin: 0; padding: 10px 20px 4px; }
/* 面接の行（畳める箱の中）：1 段目＝名前・面接の種類・日時／2 段目＝小さいパス（5 段）／3 段目＝だれが何を。右にボタン 1 つ */
.m-sched-rows { list-style: none; margin: 0; padding: 0; container-type: inline-size; }
.m-sched-row {
  display: grid; grid-template-columns: minmax(0, 1fr) max-content; grid-template-areas: "head act" "prog act" "now act";
  align-items: center; gap: 8px 16px; padding: 14px 20px; border-top: 1px solid var(--line); min-width: 0; cursor: pointer;
}
.m-sched-row:first-child { border-top: 0; }
.m-sched-row:hover { background: var(--surface-2); }
.m-sched-row.is-open { background: var(--cursor-bg); }
.m-sched-row__head { grid-area: head; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-width: 0; }
.m-sched-row__head .name { font-weight: 700; }
.m-sched-row__kind { font-size: var(--fs-sub); color: var(--ink-2); }
.m-sched-row__when { font-size: var(--fs-sub); font-weight: 700; font-variant-numeric: tabular-nums; }
.m-sched-row__when--muted { font-weight: 400; color: var(--ink-2); }
.m-sched-row__prog { grid-area: prog; min-width: 0; }
.m-sched-row__now { grid-area: now; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; line-height: 1.5; overflow-wrap: anywhere; }
.m-sched-row__act { grid-area: act; justify-self: end; }
.m-sched-row__act .k-btn { min-width: 128px; white-space: normal; }
@container (max-width: 520px) {
  .m-sched-row { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "prog" "now" "act"; }
  .m-sched-row__act { justify-self: start; }
}
.m-sched-watchlist { list-style: none; margin: 0; padding: 4px 20px 12px; display: grid; gap: 4px; }
/* ===== 段 S5：日程の引き出し（頭＝操作の行＋貼り付くハイライト 72px・次にすること・今の段の入力・畳める箱） ===== */
.m-sched-dnav { padding: 10px 16px 8px; background: var(--surface); }
.m-sched-dhl { margin: 0 16px; }
.m-sched-dhl .k-hl__in { padding: 8px 14px; gap: 4px 16px; }
.m-sched-dhl .k-hl__head { max-width: 50%; }
.m-sched-dhl .k-hl__name { flex-direction: column; align-items: flex-start; gap: 2px; }
.m-sched-dhl .k-hl__title { font-size: var(--fs-h2); }
.m-sched-panel .k-fold__body .m-sched-sec { border-color: var(--line); }
/* 「日程を変える」の行（1 行の説明＋ボタン・押すとすぐ下に欄が開く） */
.m-sched-ops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.m-sched-op { display: grid; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); min-width: 0; }
.m-sched-op:first-child { border-top: 0; }
.m-sched-op__row { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: center; gap: 4px 16px; min-width: 0; }
.m-sched-op__what { display: grid; min-width: 0; line-height: 1.5; overflow-wrap: anywhere; }
.m-sched-op__row .k-btn { min-width: 96px; }
.m-sched-opbody:not([hidden]) { display: grid; gap: 8px; min-width: 0; }
.m-sched-opbody[hidden] { display: none; }
/* ===== 段 S5：評価（スマホ）の足し＝前の面接のメモ（1 行の要約＋小さな開閉）・推さない時だけ出る一言の題 ===== */
.m-sched-prior { min-width: 0; }
.m-sched-prior__sum { cursor: pointer; min-height: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; overflow-wrap: anywhere; }
.m-sched-evreason { margin: 0; }
