/* web/vi-thay-combo.css – coder 11b · 24/11/2026 · GH18 việc 2: Combo "Thầy hỏi" theo UI13 PA1 (bố cục), màu + chữ theo Brand v2. */
#thayCombo{max-width:640px;margin:16px auto;padding:0 16px;box-sizing:border-box}
#thayCombo *,#thayCombo *::before,#thayCombo *::after{box-sizing:border-box}
.vth{width:100%;background:#F6EFE1;border:1px solid #E7CF98;border-radius:16px;overflow:hidden;font-family:"Be Vietnam Pro",system-ui,"Segoe UI",Roboto,Arial,sans-serif;color:#3B2412;font-size:1rem;padding:0 0 16px}
.vth-hd{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#FFFAF0;border-bottom:3px solid #B0812A;margin-bottom:16px}
.vth-hd b{font-family:"Noto Serif",Georgia,serif;font-size:1.25rem;color:#B8322A;min-width:0}
.vth-av{flex:none;width:44px;height:44px;border-radius:50%;background:#B8322A;border:2px solid #F5DFA6;color:#FFF6E3;font-size:.8125rem;font-weight:700;display:flex;align-items:center;justify-content:center}
.vth-th{display:flex;gap:10px;align-items:flex-end;margin:0 16px 14px}
.vth-bub{flex:1 1 auto;min-width:0;background:#FFFAF0;border:1px solid #E7CF98;border-radius:16px 16px 16px 4px;padding:12px 14px;line-height:1.5;overflow-wrap:anywhere}
.vth-bub b{color:#B8322A}
.vth-caret{display:inline-block;width:2px;height:1em;background:#B8322A;margin-left:2px;vertical-align:-2px;animation:vthbl 1s steps(2) infinite}
@keyframes vthbl{50%{opacity:0}}
@media (prefers-reduced-motion:reduce){.vth-caret{animation:none}}
.vth-cw{container-type:inline-size;margin:0 16px 14px}
.vth-chips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}
@media(min-width:700px){.vth-chips{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* 5 BP (Phiếu kiểm 24/11): chữ từ 150% trở lên → 1 cột. Đo theo bề rộng khung tính bằng em (em lớn lên khi chữ phóng to): dưới 14em = 1 cột. Đặt SAU luật 3 cột để thắng. */
@container (max-width:13.99em){.vth-chips{grid-template-columns:minmax(0,1fr)}}
.vth-chip{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;min-height:120px;padding:12px;background:#FFFAF0;border:1px solid #E7CF98;border-radius:16px;font:inherit;color:inherit;text-align:left;cursor:pointer}
.vth-chip.sel{border:2px solid #B8322A;padding:11px;background:#FFF6E3}
.vth-chip.own{background:#F6EFE1;cursor:default}
.vth-h{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%}
.vth-chk{flex:none;width:28px;height:28px;border:2px solid #B8322A;border-radius:50%;background:#FFFAF0;display:flex;align-items:center;justify-content:center}
.own .vth-chk{border-color:#8A6E55;background:#F6EFE1}
.vth-tag{flex:none;font-size:.72rem;text-transform:uppercase;border:1px solid #B0812A;color:#8A6E55;border-radius:4px;padding:2px 6px;letter-spacing:.3px;white-space:nowrap}
.vth-nm{font-size:1rem;font-weight:700;color:#3B2412;min-width:0;overflow-wrap:anywhere}
.vth-sb{font-size:.875rem;color:#6B4A2E;line-height:1.35}
.vth-pr{margin-top:auto;color:#B8322A;font-size:1rem;white-space:nowrap}
.vth-chip:focus-visible,.vth-mua:focus-visible,.vth-hai button:focus-visible{outline:3px solid #0A3D91;outline-offset:2px}
.vth-mua{display:flex;align-items:center;justify-content:center;width:calc(100% - 32px);min-height:52px;margin:4px 16px 0;border:2px solid #B8322A;border-radius:12px;background:#FFFAF0;color:#B8322A;font:inherit;font-size:1.125rem;font-weight:700;cursor:pointer}
.vth-mua[aria-disabled="true"]{opacity:.5;cursor:not-allowed}
.vth-hoi{margin:4px 16px 0;padding:12px;border:2px solid #B8322A;border-radius:12px;background:#fff}
.vth-hoi p{margin:0 0 10px;font-weight:600}
.vth-hai{display:flex;gap:8px}
.vth-hai button{flex:1 1 0;min-height:48px;border-radius:12px;font:inherit;font-weight:700;cursor:pointer}
.vth-ok{border:2px solid #B8322A;background:#B8322A;color:#fff}
.vth-huy{border:2px solid #B8322A;background:#FFFAF0;color:#B8322A}
.vth-moi{margin:12px 16px 0;padding:12px;border-radius:12px;background:#FBEDEA;color:#8F1D14;font-weight:600}
.vth-moi[hidden]{display:none}
