/* Dora Tutor (tutor.php, assets/tutor.js): o so lieu, buoi day, lich tuan, ket qua "Nhắn Dora sắp lịch", QR, thanh toan. Khung + nut + the dung teacher.css / pro.css. */
.gs-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.gs-kpi { display: flex; flex-direction: column; gap: 2px; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 14px 16px; color: inherit; text-decoration: none; }
.gs-kpi span { font-size: 13px; color: var(--muted); font-weight: 600; }
.gs-kpi b { font-size: 28px; line-height: 1.1; }
.gs-kpi b small { font-size: 15px; color: var(--muted); font-weight: 600; }
.gs-kpi em { font-style: normal; font-size: 12.5px; color: var(--muted); }
a.gs-kpi:hover { outline: 2px solid var(--teal-l); }

.gs-les { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: 10px; border: 1.5px solid var(--line); margin-bottom: 8px; cursor: pointer; background: #fff; }
.gs-les:hover { border-color: var(--teal); }
.gs-les .t { display: flex; flex-direction: column; min-width: 48px; }
.gs-les .t b { font-size: 16px; }
.gs-les .b { flex: 1; min-width: 0; }
.gs-les.st-done { background: #F2FBF8; }
.gs-les.st-cancel { opacity: .6; }
.gs-les.st-cancel .b > div:first-child b { text-decoration: line-through; }

.gs-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.gs-day { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 10px 8px; min-height: 120px; }
.gs-day.today { outline: 2px solid var(--teal); }
.gs-day .dh { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; font-size: 13.5px; }
.gs-day .dh .btn { margin-left: auto; padding: 0 8px; min-height: 26px; }
.gs-day .gs-les { flex-direction: column; gap: 2px; padding: 7px 8px; }
.gs-day .gs-les .t { flex-direction: row; gap: 6px; min-width: 0; }
.gs-day .gs-les .b { font-size: 13px; }
.gs-free { padding: 4px 2px; }

.gs-ask textarea { resize: vertical; }
.gs-ai-wait { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #FFF7E6; font-weight: 600; }
.gs-ai-res { margin-top: 10px; padding: 12px; border-radius: 10px; background: #F2FBF8; border: 1.5px solid var(--teal-l); }
.gs-ai-q { margin: 6px 0; font-weight: 600; color: var(--orange-d); }
.gs-ops { display: flex; flex-direction: column; gap: 4px; }
.gs-ops label { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.gs-ops label.bad { color: var(--muted); text-decoration: line-through; }

.gs-steps { margin: 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.gs-steps a { color: inherit; text-decoration: none; font-weight: 600; }
.gs-steps li.ok a { color: var(--muted); font-weight: 500; }
.gs-note { margin-bottom: 14px; background: #FFF7E6; }
.gs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gs-qr { text-align: center; }
.gs-qr svg { width: 200px; height: 200px; }
.gs-pay { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.gs-pay img { border-radius: 10px; border: 1px solid var(--line); }

@media (max-width: 900px) {
  .gs-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-week { grid-template-columns: 1fr; }
  .gs-day { min-height: 0; }
  .gs-list { grid-template-columns: 1fr; }
}

/* ho so hoc tap + lo trinh tung em (#/hs/<id>) */
.gs-next { margin-bottom: 14px; background: #F2FBF8; border: 1.5px solid var(--teal-l); }
.gs-rd { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); }
.gs-rd .n { width: 26px; height: 26px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.gs-rd .b { flex: 1; min-width: 0; }
.gs-rd .a { display: flex; gap: 4px; flex-wrap: wrap; width: 100%; padding-left: 36px; }
.gs-rd.st-done .n { background: var(--teal-l); color: var(--teal-d); }
.gs-rd.st-done b, .gs-rd.st-skip b { color: var(--muted); }
.gs-weak { display: flex; flex-wrap: wrap; gap: 6px; }
.gs-weak a { text-decoration: none; margin-left: 2px; }
.gs-wr { display: flex; gap: 8px; justify-content: space-between; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
