/* 🏁 수업 마침 확인 창(class-signout.js 의 confirmSignout)과 수업 마침 화면의 반 목록 */
.cs-dialog { box-sizing: border-box; width: min(480px, calc(100vw - 32px)); padding: 22px 22px 18px; border: 0; border-radius: 20px;
  background: #fff; color: #1d2433; font-family: Pretendard, 'Noto Sans KR', system-ui, sans-serif; word-break: keep-all;
  box-shadow: 0 24px 60px rgba(10, 13, 32, .45); }
.cs-dialog[open] { animation: csUp .32s cubic-bezier(.2, .9, .25, 1.04) both; }
.cs-dialog::backdrop { background: rgba(10, 13, 32, .6); }
.cs-title { margin: 0 0 10px; font-size: 20px; }
.cs-who { margin: 0 0 8px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.cs-note { margin: 0 0 8px; color: #5a6376; font-size: 14px; line-height: 1.5; }
.cs-status { min-height: 20px; margin: 0 0 10px; font-size: 14px; font-weight: 700; color: #5a6376; }
.cs-status.ok { color: #1f7a42; }
.cs-status.bad { color: #c0392b; }
.cs-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cs-go, .cs-cancel { min-height: 44px; padding: 0 18px; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.cs-go { border: 0; background: #c92a2a; color: #fff; }
.cs-go:disabled, .cs-cancel:disabled { opacity: .6; cursor: default; }
.cs-cancel { border: 2px solid #d5dbef; background: #fff; color: #1d2433; }
.cs-go:focus-visible, .cs-cancel:focus-visible { outline: 3px solid #ffd43b; outline-offset: 2px; }

/* 수업 마침 화면(finish.html): 반마다 한 줄 */
.cs-list { display: grid; gap: 8px; margin: 12px 0; }
.cs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 12px; padding: 12px 14px; border: 1px solid #dde2ef; border-radius: 14px; background: #fff; }
.cs-row.is-empty { opacity: .7; }
.cs-row strong { font-size: 16px; }
.cs-row small { grid-column: 1; color: #5a6376; font-size: 13px; overflow-wrap: anywhere; }
.cs-row .studio-btn { grid-column: 2; grid-row: 1 / span 2; }
.cs-all { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@keyframes csUp { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cs-dialog[open] { animation: none; } }
@media (max-width: 520px) { .cs-row { grid-template-columns: minmax(0, 1fr); } .cs-row .studio-btn { grid-column: 1; grid-row: auto; justify-self: start; } }
