/* ============================================================
   유자보드 — 나이스 시간표 · 학사일정 (S9 · 2026-11-12)
   「다가오는 학사일정」 위젯 · 설정 → 시간표 「나이스에서 불러오기」 · 우리 학교 찾기
   토큰 값만 쓴다(YUJA-DESIGN.md v4)
   ============================================================ */

/* ── 다가오는 학사일정 위젯 ───────────────── */
.cb-sched { list-style: none; margin: 0; padding: 0; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; gap: 0.25em; font-size: 22px; }
.cb-sched__row { display: flex; align-items: baseline; gap: 0.6em; line-height: 1.3; min-width: 0; }
.cb-sched__d { flex: none; min-width: 4.6em; font-variant-numeric: tabular-nums; color: var(--yj-sub); font-weight: 600; }
.cb-sched__n { flex: 1; min-width: 0; font-weight: 700; color: var(--yj-ink-deep); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cb-sched__row.is-off .cb-sched__n { color: var(--yj-yuja-ink); }
.cb-sched__tag { flex: none; font-size: 0.6em; }
.cb-sched__note { flex: none; margin: var(--yj-s2) 0 0; font-size: var(--yj-t-cap); color: var(--yj-sub); }

/* 시간표 위젯 머리의 「나이스」 표시 */
.cb-tt__neis { margin-left: var(--yj-s2); }

/* ── 설정 → 우리 학교 ─────────────────────── */
.cb-school__atpt { flex: none; width: auto; min-width: 7em; }
.cb-school__more { margin: var(--yj-s2) 0 0; font-size: var(--yj-t-small); color: var(--yj-sub); }

/* ── 설정 → 시간표 「나이스에서 불러오기」 ──── */
.cb-ntt { margin: var(--yj-s3) 0 var(--yj-s4); padding: var(--yj-s4); background: var(--yj-card); border: 1px solid var(--yj-line); border-radius: var(--yj-r-lg); box-shadow: var(--yj-sh-1); display: flex; flex-direction: column; gap: var(--yj-s3); }
.cb-ntt__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--yj-s3); }
.cb-ntt__top b { font-size: var(--yj-t-body); color: var(--yj-ink-deep); }
.cb-ntt__school { font-size: var(--yj-t-small); color: var(--yj-sub); }
.cb-ntt__pick { display: flex; flex-wrap: wrap; align-items: flex-end; gap: var(--yj-s3); }
.cb-ntt__pick .cb-field { min-width: 6em; }
.cb-ntt__status { margin: 0; font-size: var(--yj-t-small); color: var(--yj-sub); }
.cb-ntt__status.is-bad { color: var(--yj-error-ink); }
.cb-ntt__tbl { border-collapse: collapse; font-size: var(--yj-t-small); }
.cb-ntt__tbl th, .cb-ntt__tbl td { border: 1px solid var(--yj-line); padding: var(--yj-s1) var(--yj-s2); text-align: center; min-width: 5.5em; }
.cb-ntt__tbl thead th { background: var(--yj-canvas); color: var(--yj-sub); font-weight: 600; }
.cb-ntt__tbl tbody th { color: var(--yj-sub); font-weight: 600; min-width: 3em; }
/* 지금 시간표와 다른 칸 — 유자 200 면(고른 것과 같은 단계 · 테두리는 표 선 그대로) */
.cb-ntt__tbl td.is-diff { background: var(--yj-yuja-200); color: var(--yj-ink-deep); font-weight: 700; }
.cb-ntt__tbl td.is-keep { color: var(--yj-sub); }
.cb-ntt__acts { display: flex; flex-wrap: wrap; gap: var(--yj-s2); }
.cb-ntt__show { display: flex; flex-direction: column; gap: var(--yj-s1); }
