/* Trạm 8 Phòng thí nghiệm bộ não AI: "Nghĩ trước khi nói" (video 26). Khung trạm dùng chung .bn-* trong style.css,
   file này chỉ thêm phần riêng của trạm: ô chọn câu hỏi, hai thẻ "Trả lời ngay" / "Nghĩ trước", giấy nháp, thước đo giây và mảnh. */
.nt-cau { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.nt-o-cau { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 14px; border: 1.5px solid var(--edge);
  background: var(--bg); color: var(--ink); font: 600 13.5px/1.3 var(--f-body); text-align: center; cursor: pointer; position: relative; }
.nt-o-cau:hover { border-color: #8B5CF6; }
.nt-o-cau:focus-visible { outline: 3px solid #8B5CF6; outline-offset: 2px; }
.nt-o-cau[aria-pressed="true"] { border-color: #8B5CF6; background: color-mix(in srgb, #8B5CF6 10%, var(--panel)); box-shadow: 0 2px 10px color-mix(in srgb, #8B5CF6 18%, transparent); }
.nt-bt { font-size: 26px; line-height: 1; }
.nt-o-cau.is-xong::after { content: "✓"; position: absolute; top: 6px; right: 8px; width: 18px; height: 18px; display: grid; place-items: center;
  border-radius: 50%; background: #10B981; color: #fff; font: 800 11px/1 var(--f-body); }
.nt-de { margin: 0; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: color-mix(in srgb, var(--blue) 8%, var(--panel)); border: 1.5px solid var(--edge);
  font: 700 18px/1.45 var(--f-body); max-width: 70ch; }
.nt-kq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 14px; align-items: start; }
.nt-the { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; border: 1.5px solid var(--edge); background: var(--bg); min-width: 0; }
.nt-nut { align-self: stretch; justify-content: center; font-weight: 800; }
.nt-the-ngay .nt-nut { background: #FACC15; color: #0F172A; border-color: transparent; }
.nt-the-nghi .nt-nut { background: #7C3AED; color: #fff; border-color: transparent; }
.nt-nut:disabled { opacity: .6; cursor: progress; }
.nt-trong { margin: 0; font-size: 14px; color: var(--muted); }
.nt-tl { margin: 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 2px solid var(--edge);
  font: 700 16.5px/1.45 var(--f-body); animation: nt-hien .3s ease-out; }
.nt-tl b { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font: 800 14px/1 var(--f-body); }
.nt-tl.is-dung { border-color: #10B981; } .nt-tl.is-dung b { background: #10B981; }
.nt-tl.is-sai { border-color: #EF4444; } .nt-tl.is-sai b { background: #EF4444; }
.nt-nhap { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1.5px dashed color-mix(in srgb, #7C3AED 45%, var(--edge));
  background: repeating-linear-gradient(var(--panel) 0 27px, color-mix(in srgb, #7C3AED 10%, var(--panel)) 27px 28px); }
.nt-nhap-h { margin: 0; font: 700 13.5px/1.4 var(--f-body); color: #7C3AED; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.nt-nhap-h span { font: 500 12.5px var(--f-mono); color: var(--muted); }
.nt-buoc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.nt-buoc:empty { display: none; }
.nt-buoc li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 15px; line-height: 1.45; animation: nt-hien .35s ease-out; }
.nt-buoc li span { padding: 2px 8px; border-radius: 999px; font: 700 11.5px/1.5 var(--f-body); white-space: nowrap; color: #0F172A; }
.nt-l-chia { background: #38BDF8; } .nt-l-thu { background: #FACC15; } .nt-l-kiem { background: #4ADE80; } .nt-l-sua { background: #FB923C; } .nt-l-chot { background: #A78BFA; }
.nt-do { display: flex; flex-direction: column; gap: 6px; }
.nt-dong { display: grid; grid-template-columns: 96px minmax(0, 1fr) 80px; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.nt-dong b { font: 700 13.5px var(--f-mono); color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nt-thanh { height: 12px; border-radius: 6px; background: var(--panel); border: 1px solid var(--edge); overflow: hidden; }
.nt-thanh i { display: block; height: 100%; width: 0; border-radius: 6px; }
.nt-the-ngay .nt-thanh i { background: #F59E0B; }
.nt-the-nghi .nt-thanh i { background: #7C3AED; }
.nt-bit { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: color-mix(in srgb, #FACC15 14%, var(--panel)); border: 1px solid var(--edge); }
.nt-bit img { flex: none; width: 56px; height: 56px; }
.nt-bit p { margin: 0; font: 600 15.5px/1.5 var(--f-body); }
.nt-tong { margin: 0; font: 500 13.5px/1.4 var(--f-mono); color: var(--muted); }
.nt-tong:empty { display: none; }
@keyframes nt-hien { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nt-tl, .nt-buoc li { animation: none; } }
@media (max-width: 820px) {
  .nt-cau { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nt-kq { grid-template-columns: minmax(0, 1fr); }
  .nt-de { font-size: 16.5px; }
}
@media (max-width: 480px) {
  .nt-cau { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nt-o-cau:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .nt-dong { grid-template-columns: 78px minmax(0, 1fr) 72px; font-size: 12.5px; }
}
.nt-buoc li p { margin: 0; }
