/* Ôn thi — chọn lớp, kì, môn (dùng chung biến màu của lop.css: sáng / tối) */
.ot-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.ot-lop{display:flex;flex-wrap:wrap;gap:6px}
.ot-lop a{position:relative;display:grid;place-items:center;min-width:42px;height:42px;padding:0 10px;border-radius:10px;background:var(--paper);box-shadow:var(--shadow-sm);color:var(--muted);font-weight:500;text-decoration:none}
.ot-lop a.has{color:var(--title)}
.ot-lop a.has::after{content:'';position:absolute;right:6px;top:6px;width:6px;height:6px;border-radius:50%;background:var(--s)}
.ot-lop a:hover{background:var(--hover)}
.ot-lop a.on{background:var(--grad);color:var(--btn-ink);box-shadow:var(--shadow-sm)}.ot-lop a.on::after{background:var(--btn-ink)}
.ot-ky{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:10px;background:var(--hover);align-self:flex-start;max-width:100%}
.ot-ky a{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 14px;border-radius:8px;color:var(--muted);font-weight:500;text-decoration:none}
.ot-ky a em{font-style:normal;font-size:.78rem;min-width:20px;height:20px;padding:0 6px;border-radius:10px;display:inline-grid;place-items:center;background:var(--p-tint);color:var(--p-ink)}
.ot-ky a.on{background:var(--paper);color:var(--p-ink);box-shadow:var(--shadow-sm)}
.ot-grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.ot-card{gap:14px;border-top:3px solid var(--c)}
.ot-top{display:flex;align-items:center;gap:12px}
.ot-ico{width:44px;height:44px;flex:none;border-radius:10px;display:grid;place-items:center;font-weight:600;font-size:1.05rem;color:var(--c);background:color-mix(in srgb,var(--c) 16%,transparent)}
.ot-top h2{font-size:1.12rem}.grow{flex:1;min-width:0}
.ot-meta{display:flex;flex-wrap:wrap;gap:6px}
.ot-meta span{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:6px;background:var(--hover);color:var(--text);font-size:.84rem}
.ot-note{margin:0;flex:1;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ot-empty{align-items:flex-start}.ot-have{display:flex;flex-wrap:wrap;gap:6px}
.ot-foot{max-width:760px;margin:0}
@media (max-width:560px){.ot-lop{display:grid;grid-template-columns:repeat(6,1fr)}.ot-lop a{min-width:0}.ot-ky{display:grid;grid-template-columns:1fr 1fr;width:100%}}
.ot-acts{display:flex;gap:8px}.ot-acts form{flex:1}.ot-acts .btn.out{flex:none}
