/* v1.7.37 (BS81 – 5 vòng Gemini Canvas + Copilot): Kiểm tra & điểm (nhà trường), hàng việc của trang kết quả, mở đáp án, công bố có kiểm tra trước */
.ks-head h2 { margin: 0 0 4px; }
.ks-filt { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; } .ks-filt select { min-height: 40px; min-width: 150px; }
.ks-tb { padding: 0; overflow-x: auto; }
.ks-t { width: 100%; border-collapse: collapse; font-size: 14px; }
.ks-t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ks-t td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; } .ks-t tr:last-child td { border-bottom: 0; }
.ks-t .n { text-align: right; white-space: nowrap; }
.ks-st { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--soft, #f1f5f9); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.ks-st.grading, .ks-st.late { background: #FEF3C7; color: #92400E; } .ks-st.open { background: #CCFBF1; color: #115E59; } .ks-st.released { background: #DCFCE7; color: #166534; }
.ks-n { display: inline-grid; place-items: center; min-width: 24px; height: 24px; border-radius: 999px; background: #CCFBF1; color: #115E59; font-weight: 700; font-size: 12px; }
.ks-n.w { background: #FEF3C7; color: #92400E; }
.ks-rows { display: grid; gap: 6px; }
.ks-r { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 12px; }
.ks-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--soft, #f1f5f9); font-weight: 700; font-size: 12px; }
.ks-bd { display: flex; flex-wrap: wrap; gap: 4px; } .ks-bd i { font-style: normal; font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--soft, #f1f5f9); }
.ks-bd i.ok { background: #DCFCE7; color: #166534; } .ks-bd i.w { background: #FEF3C7; color: #92400E; } .ks-bd i.t { background: #CCFBF1; color: #115E59; }
.ks-sc { font-weight: 700; min-width: 32px; text-align: right; }
.ks-tl { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: grid; gap: 12px; }
.ks-tl li { position: relative; display: grid; gap: 2px; } .ks-tl li::before { content: ""; position: absolute; left: -25px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: #94A3B8; border: 2px solid var(--surface, #fff); }
.ks-tl li.diem::before { background: #0F766E; } .ks-tl li.ngoaile::before { background: #D97706; } .ks-tl li.phuc::before { background: #4F46E5; } .ks-tl li.cong::before, .ks-tl li.dapan::before { background: #16A34A; }
.ks-tl time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ks-log { margin-top: 14px; }
/* trang kết quả của thầy cô: dòng đáp án + việc tiếp theo */
.kt-ans { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 10px 14px; border-radius: 12px; background: var(--soft, #f8fafc); border: 1px solid var(--line); font-size: 14px; margin: 10px 0; }
.kt-ans b { font-weight: 700; } .kt-ans .link { margin-left: auto; }
.kt-pre { display: grid; gap: 8px; } .kt-pre li { display: flex; gap: 8px; align-items: baseline; } .kt-pre .bad { color: #B45309; font-weight: 600; }
.ap-keep { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; } .ap-keep button { min-height: 36px; }
.rx-lock { padding: 12px 14px; border-radius: 12px; background: #FEF3C7; color: #78350F; border: 1px solid #FCD34D; font-size: 14px; margin: 10px 0; }
@media (max-width: 760px) { .ks-r { grid-template-columns: 32px minmax(0, 1fr) auto; } .ks-r .ks-bd { grid-column: 2 / -1; } }
@media (max-width: 760px) { .ks-tb { max-width: calc(100vw - 32px); } .ks-t { min-width: 680px; } .ks-filt select { min-width: 0; flex: 1 1 140px; } }
/* v1.7.38 – Canvas vòng 2 tab 9: 4 ô tình trạng trước khi công bố điểm */
.kt-gate .kt-lock { color: #B45309; font-size: 13px; font-weight: 600; }
.kt-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.kt-tile { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line, #e2e8f0); border-radius: 12px; background: var(--soft, #f8fafc); min-width: 0; }
.kt-tile span { font-size: 13px; color: #64748b; } .kt-tile b { font-size: 17px; color: #0f172a; } .kt-tile small { font-size: 12px; color: #64748b; }
.kt-tile.amb { background: #fffbeb; border-color: #fcd34d; } .kt-tile.amb b { color: #92400e; }
.kt-tile.ok { background: #f0fdfa; border-color: #99f6e4; } .kt-tile.ok b { color: #115e59; }
@media (max-width: 760px) { .kt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 400px) { .kt-tiles { grid-template-columns: 1fr; } }
