/* TA Interview Hub — tông Du học TA: xanh lá #1c9b2e, nền box #e8f5e9. Mobile-first. */
.ta-recorder, .ta-dash {
	border: 1px solid #1c9b2e;
	border-radius: 10px;
	padding: 14px;
	margin: 12px 0;
	background: #fff;
	max-width: 720px;
}
.ta-rec-title { font-weight: 700; color: #555; margin-bottom: 6px; }
.ta-wave { width: 100%; height: 64px; background: #e8f5e9; border-radius: 6px; margin: 8px 0; }
.ta-rec-controls, .ta-rec-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.ta-btn {
	background: #1c9b2e; color: #fff; border: 0; border-radius: 6px;
	padding: 8px 14px; cursor: pointer; font-size: 14px;
}
.ta-btn:disabled { opacity: .45; cursor: not-allowed; }
.ta-btn-record { background: #c0392b; }
.ta-timer { font-variant-numeric: tabular-nums; font-weight: 700; color: #555; }
.ta-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.ta-badge-none { background: #eee; color: #777; }
.ta-badge-sent { background: #fff3cd; color: #856404; }
.ta-badge-ok { background: #e8f5e9; color: #1c9b2e; }
.ta-rec-msg { min-height: 1.2em; font-size: 14px; }
.ta-upload-alt { font-size: 13px; color: #777; }
.ta-feedback { margin-top: 8px; background: #f1f8e9; border-radius: 6px; padding: 8px 10px; font-size: 14px; }
.ta-preview, .ta-audio { width: 100%; margin: 6px 0; }
.ta-sec { margin: 16px 0; }
.ta-sec-head { display: flex; justify-content: space-between; color: #555; }
.ta-bar { background: #e8f5e9; border-radius: 999px; height: 12px; overflow: hidden; margin: 6px 0 10px; }
.ta-bar-fill { background: #1c9b2e; height: 100%; }
.ta-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ta-table th, .ta-table td { border: 1px solid #1c9b2e; padding: 6px 8px; text-align: left; vertical-align: top; }
.ta-table .ta-btn { white-space: nowrap; }
.ta-table td.ta-cell-action { white-space: nowrap; width: 1%; vertical-align: middle; }
.ta-table tbody tr:nth-child(even) { background: #f8f8f8; }
.ta-table .ta-q-title { display: block; margin-top: 2px; color: #999; font-size: 12px; font-weight: 400; line-height: 1.35; }
.ta-variant { border: 1px solid #1c9b2e; background: #e8f5e9; border-radius: 10px; padding: 12px 14px; margin: 0 0 12px; }
.ta-variant-head { font-weight: 700; color: #555; margin-bottom: 6px; }
.ta-variant-badge { display: inline-block; background: #1c9b2e; color: #fff; border-radius: 999px; padding: 1px 10px; font-size: 12px; font-weight: 600; margin-left: 6px; vertical-align: middle; }
.ta-variant-text { margin: 0; color: #555; line-height: 1.55; }
.ta-variant-item + .ta-variant-item { margin-top: 10px; }
.ta-variant-item .ta-variant-badge { margin-left: 0; margin-bottom: 4px; }
.ta-group-chip { display: inline-block; border-radius: 999px; padding: 0 8px; font-size: 11px; font-weight: 700; line-height: 1.7; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.ta-chip-working { background: #fff3e0; color: #e65100; }
.ta-chip-student { background: #e8f5e9; color: #1c9b2e; }
.ta-chip-none { background: #f1f1f1; color: #999; }
.ta-play { background: #1e73be; color: #fff; border: 0; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.ta-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.ta-filters label { font-size: 14px; color: #555; display: flex; gap: 6px; align-items: center; }
.ta-fb { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.ta-fb-comment { flex: 1 1 180px; }
.ta-fb-score { width: 84px; }
.ta-empty { color: #999; font-size: 14px; }
/* Banner động đầu trang hub (Cách B): chào + tiến độ sống + nút vào trang tiến độ. */
.ta-banner {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px;
	border: 1px solid #1c9b2e; border-radius: 10px; background: #e8f5e9;
	padding: 10px 14px; margin: 12px 0;
}
.ta-banner-info { flex: 1 1 220px; min-width: 0; }
.ta-banner-greet { font-weight: 700; color: #555; margin-right: 10px; }
.ta-banner-count { color: #555; font-size: 14px; }
.ta-banner-bar { margin: 6px 0 0; }
.ta-banner-btn {
	background: #1c9b2e; color: #fff; border-radius: 999px;
	padding: 8px 14px; font-size: 14px; font-weight: 600;
	text-decoration: none; white-space: nowrap;
}
.ta-banner-btn:hover { color: #fff; opacity: .9; }
@media (max-width: 480px) {
	.ta-table { font-size: 13px; }
	.ta-btn { padding: 10px 12px; }
	.ta-table .ta-btn { padding: 8px 10px; font-size: 13px; }
	.ta-banner { flex-direction: column; align-items: stretch; }
	.ta-banner-info { flex: none; }
	.ta-banner-btn { text-align: center; }
	.ta-submit-card { flex-direction: column; align-items: stretch; }
	.ta-sc-btn { text-align: center; }
}

/* Card hành động sau nộp bài + menu người dùng Header (chỉ đạo 17:20 09/11/2026). */
.ta-submit-card { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ta-sc-btn { border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; text-decoration: none; }
.ta-sc-primary { background: #00875A; color: #fff; }
.ta-sc-amber { background: #FFAB00; color: #0B3B60; }
.ta-sc-btn:hover { opacity: .9; }
.ta-usermenu { position: relative; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; line-height: 1.2; }
.ta-usermenu-in { background: #fff; border-radius: 999px; padding: 4px 12px 4px 4px; box-shadow: 0 1px 4px rgba(0, 0, 0, .22); }
.ta-um-avatar { border-radius: 50%; width: 32px; height: 32px; }
.ta-um-name { font-weight: 600; color: #0B3B60; }
.ta-um-role { background: #e8f5e9; color: #00875A; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 600; }
.ta-um-login { background: #fff; color: #1c9b2e; border: 2px solid #fff; border-radius: 999px; padding: 9px 20px; font-weight: 800; font-size: 15px; text-decoration: none; display: inline-block; white-space: nowrap; box-shadow: 0 2px 10px rgba( 0, 0, 0, .25 ); }
.ta-um-login:hover { background: #FFAB00; border-color: #FFAB00; color: #0B3B60; opacity: 1; }
.ta-um-drop { display: none; position: absolute; right: 0; top: 100%; margin-top: 8px; min-width: 230px; background: #fff; border: 1px solid #ddd; border-radius: 10px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); padding: 8px; z-index: 9999; flex-direction: column; gap: 4px; text-align: left; white-space: normal; }
.ta-um-drop::before { content: ''; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.ta-usermenu:hover .ta-um-drop, .ta-usermenu:focus-within .ta-um-drop { display: flex; }
.ta-um-item { padding: 8px 10px; border-radius: 8px; color: #333; text-decoration: none; font-size: 14px; }
.ta-um-item:hover { background: #f1f8e9; }
.ta-um-primary { background: #00875A; color: #fff; font-weight: 600; }
.ta-um-primary:hover { background: #00875A; opacity: .9; color: #fff; }

/* 0.3.0 — Popup bổ sung hồ sơ + mục "Thông tin phân loại" (chỉ đạo 10:52 10/11/2026). */
.ta-profile-modal { position: fixed; inset: 0; background: rgba(11, 59, 96, .55); z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ta-profile-box { background: #fff; border-radius: 12px; max-width: 460px; width: 100%; padding: 20px; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); }
.ta-profile-box h3 { color: #555; margin: 0 0 8px; }
.ta-profile-box p { color: #555; font-size: 14px; }
.ta-profile-form label, .ta-profile-form legend { font-size: 14px; color: #555; font-weight: 600; }
.ta-profile-form select, .ta-profile-form input[type="radio"] { margin: 6px 0; }
.ta-profile-form fieldset { border: 1px solid #1c9b2e; border-radius: 8px; padding: 10px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.ta-profile-form legend { padding: 0 6px; margin-left: 6px; background: #fff; }
.ta-profile-form fieldset label { font-weight: 400; }
.ta-profile-msg { min-height: 1.2em; font-size: 14px; }
.ta-profile-edit { border: 1px solid #1c9b2e; border-radius: 10px; background: #f1f8e9; padding: 12px 14px; margin-bottom: 16px; }
.ta-profile-edit h3 { margin: 0 0 6px; color: #555; }

/* 0.5.0 — Cánh Visa F-1 mới (ngân hàng câu hỏi lãnh sự): tông Du học TA. */
.ta-vf1 { max-width: 860px; margin: 12px 0; }
.ta-vf1 h3 { color: #555; }
.ta-vf1-crumb { font-size: 14px; margin: 0 0 8px; }
.ta-vf1-note { background: #fff8e1; border: 1px solid #FFAB00; border-radius: 8px; padding: 8px 12px; font-size: 14px; color: #555; }
.ta-vf1-varnote { background: #e8f5e9; border: 1px solid #1c9b2e; border-radius: 8px; padding: 8px 12px; font-size: 14px; color: #555; margin-top: 10px; }
.ta-vf1-progress { color: #555; font-size: 15px; }
.ta-vf1-modes, .ta-vf1-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin: 12px 0; }
.ta-vf1-mode, .ta-vf1-topic {
	display: block; border: 1px solid #1c9b2e; border-radius: 10px; background: #fff;
	padding: 14px; text-decoration: none; color: #555;
}
a.ta-vf1-mode:hover, a.ta-vf1-topic:hover { background: #e8f5e9; }
.ta-vf1-mode-title, .ta-vf1-topic-name { display: block; font-weight: 700; color: #1c9b2e; margin-bottom: 6px; line-height: 1.4; }
.ta-vf1-mode-desc, .ta-vf1-topic-count { display: block; font-size: 14px; color: #777; line-height: 1.45; }
.ta-vf1-soon { opacity: .65; border-style: dashed; }
.ta-vf1-tag { display: inline-block; background: #f1f1f1; color: #777; border-radius: 999px; padding: 1px 10px; font-size: 12px; font-weight: 600; margin-left: 6px; vertical-align: middle; white-space: nowrap; }
.ta-vf1-core { background: #fff3e0; color: #e65100; margin-left: 6px; }
.ta-vf1-cond { background: #e3f2fd; color: #1e73be; }
.ta-vf1-aud { background: #f1f8e9; color: #00875A; }
.ta-vf1-qlist { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.ta-vf1-qrow { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-start; justify-content: space-between; border: 1px solid #1c9b2e; border-radius: 10px; background: #fff; padding: 12px 14px; }
.ta-vf1-qmain { flex: 1 1 320px; min-width: 0; color: #555; line-height: 1.5; }
.ta-vf1-qnum { font-weight: 700; color: #1c9b2e; }
.ta-vf1-qside { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ta-vf1-go { text-decoration: none; }
.ta-vf1-qcard { border: 1px solid #1c9b2e; background: #e8f5e9; border-radius: 10px; padding: 14px; margin: 12px 0; }
.ta-vf1-qhead { margin-bottom: 8px; }
.ta-vf1-qid { font-weight: 700; color: #555; }
.ta-vf1-qtext { font-size: 18px; font-weight: 600; color: #333; line-height: 1.55; margin: 8px 0; }
.ta-vf1-qcard.ta-vf1-text-hidden .ta-vf1-qtext { visibility: hidden; }
.ta-vf1-listen { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 8px 0; }
.ta-vf1-listen-label { font-size: 14px; font-weight: 600; color: #555; }
.ta-vf1-listen audio { flex: 1 1 240px; max-width: 420px; height: 40px; }
.ta-vf1-sec .ta-btn { text-decoration: none; display: inline-block; }
@media (max-width: 480px) {
	.ta-vf1-qtext { font-size: 16px; }
	.ta-vf1-qside { width: 100%; }
}

/* 0.6.0 — Mục 2/3: phiên làm bài (cụm topic / random). */
.ta-vf1-topic .ta-set-start { margin-top: 10px; }
.ta-setrun-head { font-weight: 700; color: #555; margin: 10px 0 4px; }
.ta-setrun-rec { border: 1px solid #1c9b2e; border-radius: 10px; background: #fff; padding: 14px; margin: 12px 0; max-width: 720px; }
.ta-setrun-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }
.ta-setrun-abandon { background: none; border: 0; color: #c0392b; cursor: pointer; font-size: 14px; text-decoration: underline; }
.ta-set-fb { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-start; }
.ta-set-fb-score { width: 84px; }
.ta-set-fb-comment { flex: 1 1 180px; }
.ta-set-fb-note { font-size: 13px; }
.ta-set-overall textarea { width: 100%; max-width: 720px; }
.ta-vf1-sets-line { color: #555; font-size: 14px; margin: 4px 0 8px; }
.ta-set-msg { min-height: 1.2em; font-size: 14px; color: #555; }

/* ===== Dashboard giáo viên 0.9.0 — mẫu giao diện Cậu chủ duyệt (biến scoped theo .ta-teacher) ===== */
.ta-teacher {
	--brand: #1c9b2e; --brand-dark: #14701f; --brand-soft: #e8f6ea; --brand-line: #c6e8cb;
	--ink: #13261a; --muted: #5d7164; --line: #e1ebe3; --card: #fff;
	--warn: #9a5b00; --warn-soft: #fff3d9;
	--shadow: 0 1px 2px rgba(19,38,26,.06), 0 8px 24px -12px rgba(19,38,26,.18);
	color: var(--ink);
}
@media (prefers-color-scheme: dark) {
	.ta-teacher {
		--brand: #34c04a; --brand-dark: #5ad06c; --brand-soft: #16301b; --brand-line: #245a2e;
		--ink: #e9f3ec; --muted: #9db2a3; --line: #25392b; --card: #15221a;
		--warn: #f4c26a; --warn-soft: #3a2d12; --shadow: 0 1px 2px rgba(0,0,0,.4);
	}
	.ta-teacher .ta-stat-main, .ta-teacher .ta-btn-solid { color: #08200d; }
	.ta-teacher .ta-btn:hover, .ta-teacher .ta-btn[aria-expanded="true"] { color: #08200d; }
}
/* Thanh đầu */
.ta-thead { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.ta-thead-titles h3 { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 700; color: var(--ink); }
.ta-thead-titles p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.ta-thead-user { display: flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.ta-thead-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.ta-thead-meta b { display: block; font-weight: 600; font-size: 14px; line-height: 1.2; color: var(--ink); }
.ta-thead-meta small { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; }
/* Số liệu nhanh */
.ta-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.ta-stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.ta-stat span { display: block; font-size: 13px; opacity: .85; color: var(--muted); }
.ta-stat strong { display: block; font-size: 30px; line-height: 1.2; font-weight: 700; color: var(--ink); }
.ta-stat-main { background: var(--brand); border-color: var(--brand); color: #fff; }
.ta-stat-main span, .ta-stat-main strong { color: #fff; opacity: 1; }
/* Thẻ */
.ta-teacher .ta-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); margin-bottom: 22px; overflow: hidden; }
.ta-card-h { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.ta-card-h::before { content: ""; width: 5px; height: 20px; border-radius: 3px; background: var(--brand); flex: none; }
.ta-card-h h3 { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.ta-card-h .ta-count { margin-left: auto; font-size: 13px; color: var(--muted); white-space: nowrap; }
.ta-teacher .ta-empty { padding: 18px 22px; color: var(--muted); }
/* Bộ lọc */
.ta-teacher .ta-filters { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 14px; align-items: end; padding: 16px 22px; background: var(--brand-soft); border-bottom: 1px solid var(--brand-line); margin: 0; }
.ta-teacher .ta-filters label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--brand-dark); align-items: stretch; }
.ta-teacher .ta-filters select, .ta-teacher .ta-filters input { height: 40px; padding: 0 12px; border: 1px solid var(--brand-line); border-radius: 10px; background: var(--card); color: var(--ink); width: 100%; font-size: 14px; }
.ta-teacher .ta-filters select:hover, .ta-teacher .ta-filters input:hover { border-color: var(--brand); }
.ta-teacher .ta-reset { height: 40px; padding: 0 14px; border: 1px solid var(--brand-line); border-radius: 10px; background: var(--card); color: var(--brand-dark); font-weight: 600; cursor: pointer; white-space: nowrap; }
.ta-teacher .ta-reset:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
/* Bảng */
.ta-teacher .ta-tbl { overflow-x: auto; }
.ta-teacher .ta-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; }
.ta-teacher .ta-students { min-width: 0; }
.ta-teacher .ta-table th { background: var(--card); color: var(--muted); font-size: 13px; font-weight: 600; text-align: left; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ta-teacher .ta-table td { padding: 14px 12px; border: 0; border-bottom: 1px solid var(--line); vertical-align: middle; color: var(--ink); }
.ta-teacher .ta-table tbody tr:nth-child(even) { background: transparent; }
.ta-teacher .ta-table tbody tr:last-child td { border-bottom: 0; }
.ta-teacher .ta-student-row:hover td, .ta-teacher .ta-sub-row:hover td { background: var(--brand-soft); }
.ta-teacher .ta-sname { font-weight: 600; }
.ta-teacher .ta-mail { color: var(--muted); font-size: 14px; }
.ta-teacher .ta-empty-cell { text-align: center; color: var(--muted); padding: 28px 22px !important; }
/* Chip nhóm */
.ta-teacher .ta-group-chip { padding: 2px 10px; font-size: 12px; line-height: 1.5; margin-left: 8px; }
.ta-teacher .ta-chip-student { background: var(--brand-soft); color: var(--brand-dark); border: 1px solid var(--brand-line); }
.ta-teacher .ta-chip-working { background: var(--warn-soft); color: var(--warn); border: 1px solid transparent; }
.ta-teacher .ta-chip-none { background: var(--line); color: var(--muted); border: 1px solid transparent; }
/* Huy hiệu trạng thái */
.ta-teacher .ta-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.ta-teacher .ta-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.ta-teacher .ta-badge-wait, .ta-teacher .ta-badge-sent { background: var(--warn-soft); color: var(--warn); }
.ta-teacher .ta-badge-done, .ta-teacher .ta-badge-ok { background: var(--brand-soft); color: var(--brand-dark); }
.ta-teacher .ta-badge-none { background: var(--line); color: var(--muted); }
/* Thanh tiến độ */
.ta-prog { display: flex; align-items: center; gap: 8px; min-width: 108px; }
.ta-pbar { flex: 1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.ta-pbar i { display: block; height: 100%; border-radius: 99px; background: var(--brand); }
.ta-prog b { font-weight: 700; min-width: 32px; text-align: right; color: var(--ink); }
.ta-prog small { color: var(--muted); font-size: 13px; white-space: nowrap; }
/* Nút */
.ta-teacher .ta-btn { display: inline-block; padding: 7px 14px; border-radius: 9px; border: 1px solid var(--brand); background: transparent; color: var(--brand-dark); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.ta-teacher .ta-btn:hover, .ta-teacher .ta-btn[aria-expanded="true"] { background: var(--brand); color: #fff; }
.ta-teacher .ta-btn-solid { background: var(--brand); color: #fff; }
.ta-teacher .ta-btn-solid:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
/* Chi tiết học viên */
.ta-teacher .ta-detail-row td { background: var(--brand-soft); padding: 16px 14px !important; }
.ta-detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 16px; }
.ta-dg-box { background: var(--card); border: 1px solid var(--brand-line); border-radius: 12px; padding: 12px 14px; }
.ta-dg-box > span { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.ta-dg-box .ta-prog { min-width: 0; }
/* Responsive */
@media (max-width: 900px) {
	.ta-teacher .ta-filters { grid-template-columns: 1fr 1fr; }
	.ta-teacher .ta-reset { grid-column: 1 / -1; }
	.ta-detail-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) { .ta-detail-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .ta-stats { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ta-teacher .ta-filters { grid-template-columns: 1fr; } }
/* Vá 0.9.1: bảng chi tiết trong hàng mở rộng gọn hơn, ô nhận xét co giãn theo cột */
.ta-teacher .ta-detail .ta-table { min-width: 560px; }
.ta-teacher .ta-fb textarea { width: 100%; box-sizing: border-box; }

/* Vá 0.9.2: bảng học viên vừa khung, không phải kéo ngang */
.ta-teacher .ta-btn { text-transform: none; letter-spacing: normal; }
.ta-teacher .ta-reset { text-transform: none; letter-spacing: normal; }
.ta-teacher .ta-students th:last-child, .ta-teacher .ta-students td:last-child { width: 1%; white-space: nowrap; }
.ta-teacher .ta-mail { overflow-wrap: anywhere; }
/* Vá 0.9.4: chia tỉ lệ cột cố định cho bảng học viên — email dài nhất cũng vừa 1 dòng */
.ta-teacher .ta-students { table-layout: fixed; }
.ta-teacher .ta-students th:nth-child(1) { width: 24%; }
.ta-teacher .ta-students th:nth-child(2) { width: 27%; }
.ta-teacher .ta-students th:nth-child(3) { width: 30%; }
.ta-teacher .ta-students th:nth-child(4) { width: 19%; }
.ta-teacher .ta-students .ta-prog { min-width: 96px; }
.ta-teacher .ta-mail { font-size: 13px; }
/* Vá 0.9.5: chốt vừa khung bảng học viên — nới cột email, cột cuối hứng phần dư làm tròn */
.ta-teacher .ta-students th:nth-child(1) { width: 24%; }
.ta-teacher .ta-students th:nth-child(2) { width: 29%; }
.ta-teacher .ta-students th:nth-child(3) { width: 28%; }
.ta-teacher .ta-students th:nth-child(4) { width: auto; }
.ta-teacher .ta-students td { padding: 14px 10px; }
.ta-teacher .ta-students td.ta-mail { font-size: 12.5px; letter-spacing: -0.2px; }
/* Vá 0.9.6: khung cuộn riêng của bảng học viên — ẩn phần tràn 1px do làm tròn sub-pixel */
.ta-teacher .ta-tbl-students { overflow-x: hidden; }
/* Vá 0.11.0: lưới chi tiết giáo viên còn 3 ô (Bài học 1 phút / Campus & Đời sống / Visa F-1); dòng phụ trang học viên */
@media (min-width: 901px) { .ta-detail-grid { grid-template-columns: repeat(3, 1fr); } }
.ta-dash .ta-sec-sub { color: #777; font-size: 13.5px; margin: 6px 0 10px; }
.ta-dash .ta-sub-h { font-weight: 700; margin: 12px 0 6px; }

/* =====================================================================
   0.12.0 — (1) Thẻ 3 mục ở màn hình vào cánh Visa F-1: đủ thông tin + CTA.
   ===================================================================== */
.ta-vf1-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px 0 4px; }
.ta-vf1-stat { background: #f1f8e9; border: 1px solid #c8e6c9; border-radius: 12px; padding: 10px 14px; text-align: center; }
.ta-vf1-stat span { display: block; font-size: 13px; color: #777; font-weight: 600; }
.ta-vf1-stat strong { font-size: 22px; color: #1c9b2e; line-height: 1.25; }
.ta-vf1-modes { align-items: stretch; }
a.ta-vf1-mode { display: flex; flex-direction: column; }
.ta-vf1-mode-ic { font-size: 26px; line-height: 1; margin-bottom: 8px; }
.ta-vf1-mode-list { display: block; margin: 2px 0 10px; }
.ta-vf1-mode-li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; border-top: 1px dashed #d7e8d8; font-size: 13.5px; color: #555; }
.ta-vf1-mode-li em { font-style: normal; }
.ta-vf1-mode-li b { color: #1c9b2e; white-space: nowrap; }
.ta-vf1-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 10px; }
.ta-vf1-chip { background: #e8f5e9; color: #14701f; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.ta-vf1-mode-status { display: block; font-size: 13.5px; color: #555; margin: 0 0 12px; line-height: 1.5; }
.ta-vf1-mode-prog { display: block; margin: 0 0 12px; }
.ta-vf1-mode-prog small { color: #777; font-size: 13px; }
.ta-vf1-mbar { display: block; margin: 0 0 6px; }
.ta-vf1-mbar .ta-bar-fill { display: block; height: 100%; }
.ta-vf1-mode-cta { margin-top: auto; align-self: flex-start; display: inline-block; background: #1c9b2e; color: #fff; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 10px; }
a.ta-vf1-mode:hover .ta-vf1-mode-cta { background: #14701f; }
@media (max-width: 620px) { .ta-vf1-stats { gap: 8px; } .ta-vf1-stat { padding: 8px; } .ta-vf1-stat strong { font-size: 18px; } }

/* =====================================================================
   0.12.0 — (2) Trang "Tiến độ của tôi": layout mới theo mẫu Claude mô
   phỏng Duolingo (nút dày, nền sáng, xanh #1c9b2e). Mọi rule khoanh trong
   .ta-me để không đụng trang giáo viên / recorder dùng chung class.
   ===================================================================== */
.page-id-57708 .entry-header { display: none; }
.ta-me { --g: #1c9b2e; --gd: #15803d; --gdd: #0e5f27; --gl: #eaf7ec; --bg: #f6fbf7; --ink: #14231a; --mut: #5f7266; --line: #dfeae2; --warn: #b45309; --warnbg: #fef3c7; max-width: 1040px; margin: 0 auto; padding: 8px 16px 48px; font-family: "Nunito", "Segoe UI", -apple-system, Roboto, Arial, sans-serif; color: var(--ink); line-height: 1.6; }
.ta-me * { box-sizing: border-box; }
.ta-me a { text-decoration: none; }
.ta-me h1, .ta-me h2, .ta-me h3 { margin: 0; line-height: 1.25; color: var(--ink); }
.ta-me .ta-btn { display: inline-block; background: var(--g); color: #fff !important; font-weight: 800; font-size: 15px; padding: 11px 24px; border-radius: 14px; border: 0; border-bottom: 4px solid var(--gd); cursor: pointer; font-family: inherit; transition: .12s; text-align: center; }
.ta-me .ta-btn:hover { filter: brightness(1.06); }
.ta-me .ta-btn:active { transform: translateY(3px); border-bottom-width: 1px; }
.ta-me .ta-btn--white { background: #fff; color: var(--gd) !important; border-bottom-color: #bfe3c5; }
.ta-me .ta-btn--line { background: #fff; color: var(--gd) !important; border: 2px solid var(--line); border-bottom-width: 4px; }
.ta-me .ta-btn--sm { padding: 8px 16px; font-size: 13.5px; }
.ta-me .ta-hero { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin-top: 12px; padding: 36px 40px; border-radius: 28px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.16), transparent 45%), linear-gradient(135deg, var(--g), var(--gdd)); }
.ta-me .ta-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 38px); font-weight: 900; }
.ta-me .ta-hero p { margin: 10px 0 22px; opacity: .95; max-width: 480px; font-size: 16.5px; }
.ta-me .ta-ring { --p: 0; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#fff calc(var(--p)*1%), rgba(255,255,255,.25) 0); }
.ta-me .ta-ring div { width: 118px; height: 118px; border-radius: 50%; background: var(--gd); display: grid; place-content: center; text-align: center; line-height: 1.1; }
.ta-me .ta-ring b { font-size: 34px; font-weight: 900; }
.ta-me .ta-ring span { font-size: 12.5px; opacity: .9; margin-top: 4px; }
.ta-me .ta-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.ta-me .ta-path { display: flex; flex-direction: column; background: #fff; border: 2px solid var(--line); border-bottom-width: 5px; border-radius: 22px; padding: 20px; transition: .15s; }
.ta-me .ta-path:hover { border-color: var(--g); transform: translateY(-3px); }
.ta-me .ta-path i { font-style: normal; font-size: 30px; line-height: 1; margin-bottom: 8px; }
.ta-me .ta-path h2 { font-size: 17px; font-weight: 900; }
.ta-me .ta-path .n { color: var(--mut); font-size: 14px; margin: 4px 0 12px; font-weight: 700; }
.ta-me .ta-path .n b { color: var(--g); font-size: 20px; }
.ta-me .ta-path .ta-btn { margin-top: auto; }
.ta-me .ta-bar { height: 12px; background: #edf3ee; border-radius: 999px; overflow: hidden; margin: 0 0 14px; }
.ta-me .ta-bar > span { display: block; height: 100%; width: calc(var(--p)*1%); min-width: 6px; background: linear-gradient(90deg, #34c24a, var(--g)); border-radius: 999px; }
.ta-me .ta-sec { margin-top: 40px; }
.ta-me .ta-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; margin-bottom: 12px; }
.ta-me h2.ta-h { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; }
.ta-me .ta-sec__head span { color: var(--mut); font-weight: 800; font-size: 14px; }
.ta-me .ta-sub { color: var(--mut); font-size: 14px; margin: 0 0 12px; }
.ta-me .ta-subh { font-size: 15.5px; font-weight: 800; margin: 16px 0 8px; }
.ta-me .ta-sec-cta { margin: 14px 0 0; }
.ta-me .ta-tablewrap { background: #fff; border: 2px solid var(--line); border-radius: 20px; overflow: hidden; }
.ta-me .ta-table { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
.ta-me .ta-table th { background: var(--bg); color: var(--mut); font-size: 12.5px; text-transform: uppercase; letter-spacing: .5px; text-align: left; padding: 12px 16px; border: 0; }
.ta-me .ta-table td { padding: 14px 16px; border: 0; border-top: 1px solid var(--line); vertical-align: middle; font-size: 15px; }
.ta-me .ta-table td strong.t { display: block; font-weight: 800; }
.ta-me .ta-table td small { color: var(--mut); font-size: 12.5px; }
.ta-me .ta-play { background: var(--gl); color: var(--gd); font-weight: 800; font-family: inherit; font-size: 14px; border: 2px solid #c6e8cb; border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.ta-me .ta-play:hover { background: var(--g); color: #fff; border-color: var(--g); }
.ta-me .ta-audio { width: 100%; max-width: 240px; margin-top: 6px; }
.ta-me .ta-badge { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.ta-me .ta-badge-ok { background: var(--gl); color: var(--gd); }
.ta-me .ta-badge-sent { background: var(--warnbg); color: var(--warn); }
.ta-me .ta-score { display: inline-block; font-weight: 900; border-radius: 10px; padding: 2px 10px; margin-left: 6px; font-size: 14px; }
.ta-me .ta-score--low { background: #ffedd5; color: #c2410c; }
.ta-me .ta-score--mid { background: var(--warnbg); color: var(--warn); }
.ta-me .ta-score--high { background: var(--gl); color: var(--gd); }
.ta-me .ta-note { display: block; color: var(--mut); font-size: 14px; margin-top: 4px; }
.ta-me .ta-empty { text-align: center; background: var(--bg); border: 2px dashed #cfe5d3; border-radius: 20px; padding: 26px 18px; }
.ta-me .ta-empty i { font-style: normal; font-size: 34px; display: block; margin-bottom: 6px; }
.ta-me .ta-empty p { margin: 0 0 14px; color: var(--mut); font-weight: 700; }
.ta-me .ta-profile { margin-top: 40px; background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 0 22px; }
.ta-me .ta-profile summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 16px 0; font-weight: 800; }
.ta-me .ta-profile summary::-webkit-details-marker { display: none; }
.ta-me .ta-profile summary small { display: block; font-weight: 600; color: var(--mut); font-size: 13.5px; }
.ta-me .ta-profile summary em { font-style: normal; color: var(--gd); font-size: 14px; }
.ta-me .ta-profile[open] { border-color: var(--g); }
.ta-me .ta-profile form { padding: 4px 0 22px; display: grid; gap: 16px; max-width: 420px; }
.ta-me .ta-profile label { display: block; font-weight: 700; font-size: 14.5px; }
.ta-me .ta-profile select { display: block; width: 100%; margin-top: 6px; padding: 11px 14px; border: 2px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.ta-me .ta-profile fieldset { border: 0; margin: 0; padding: 0; }
.ta-me .ta-profile fieldset legend { font-weight: 800; font-size: 14.5px; margin-bottom: 8px; }
.ta-me .ta-profile fieldset label { display: inline-flex; align-items: center; gap: 8px; margin-right: 16px; font-weight: 600; }
.ta-me .ta-profile-msg { margin: 0; color: var(--gd); font-weight: 700; font-size: 14px; }
@media (max-width: 820px) {
	.ta-me .ta-hero { grid-template-columns: 1fr; padding: 28px 22px; }
	.ta-me .ta-ring { width: 120px; height: 120px; }
	.ta-me .ta-ring div { width: 92px; height: 92px; }
	.ta-me .ta-ring b { font-size: 26px; }
	.ta-me .ta-paths { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	.ta-me .ta-table thead { position: absolute; left: -9999px; }
	.ta-me .ta-table, .ta-me .ta-table tbody, .ta-me .ta-table tr, .ta-me .ta-table td { display: block; width: 100%; }
	.ta-me .ta-table tr { padding: 12px 16px; border-top: 1px solid var(--line); }
	.ta-me .ta-table tr:first-child { border-top: 0; }
	.ta-me .ta-table td { border: 0; padding: 5px 0; }
	.ta-me .ta-table td:before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 800; color: var(--mut); text-transform: uppercase; letter-spacing: .5px; }
}
@media (prefers-reduced-motion: reduce) { .ta-me * { transition: none !important; } }

/* =====================================================================
   0.12.0 — (3) Form Ultimate Member (đăng nhập / đăng ký / quên mật khẩu):
   cùng phong cách Claude — thẻ bo góc, nút dày xanh #1c9b2e, nền sáng.
   ===================================================================== */
.um.um-login, .um.um-register, .um.um-password { max-width: 480px; margin: 8px auto 40px; background: #fff; border: 2px solid #dfeae2; border-bottom-width: 5px; border-radius: 22px; padding: 28px 30px 22px; font-family: "Nunito", "Segoe UI", -apple-system, Roboto, Arial, sans-serif; }
.um.um-login .um-field-label label, .um.um-register .um-field-label label, .um.um-password .um-field-label label { font-weight: 800; font-size: 14.5px; color: #14231a; }
.um.um-login .um-field-area input[type="text"], .um.um-login .um-field-area input[type="password"], .um.um-login .um-field-area input[type="email"],
.um.um-register .um-field-area input[type="text"], .um.um-register .um-field-area input[type="password"], .um.um-register .um-field-area input[type="email"],
.um.um-password .um-field-area input[type="text"], .um.um-password .um-field-area input[type="password"], .um.um-password .um-field-area input[type="email"] { border: 2px solid #dfeae2 !important; border-radius: 12px !important; padding: 11px 14px !important; font-size: 15px; background: #fff; }
.um.um-login .um-field-area input:focus, .um.um-register .um-field-area input:focus, .um.um-password .um-field-area input:focus { border-color: #1c9b2e !important; outline: none; }
.um .um-button, .um input[type="submit"].um-button { background: #1c9b2e !important; color: #fff !important; font-weight: 800 !important; font-size: 15px !important; border: 0 !important; border-bottom: 4px solid #15803d !important; border-radius: 14px !important; padding: 12px 24px !important; box-shadow: none !important; transition: .12s; }
.um .um-button:hover { filter: brightness(1.06); }
.um .um-button:active { transform: translateY(3px); border-bottom-width: 1px !important; }
.um .um-button.um-alt, .um a.um-button.um-alt { background: #fff !important; color: #15803d !important; border: 2px solid #dfeae2 !important; border-bottom-width: 4px !important; }
.um.um-login .um-col-alt-b a, .um.um-password .um-col-alt-b a { color: #15803d; font-weight: 700; }
.um.um-login .um-field-checkbox { font-size: 14px; color: #5f7266; }

/* ===== 0.13.0: Landing Visa F-1 theo mẫu Claude (hero + thẻ 3 mục + gợi ý) ===== */
.ta-vf1-landing { --vf1-brand:#1c9b2e; --vf1-brand-dark:#14701f; --vf1-soft:#e8f6ea; --vf1-line-soft:#c6e8cb; --vf1-ink:#13261a; --vf1-muted:#5d7164; --vf1-line:#e1ebe3; --vf1-card:#fff; --vf1-on-brand:#fff; --vf1-shadow:0 1px 2px rgba(19,38,26,.06),0 12px 28px -14px rgba(19,38,26,.22); color:var(--vf1-ink); }
@media (prefers-color-scheme:dark) {
  .ta-vf1-landing { --vf1-brand:#34c04a; --vf1-brand-dark:#5ad06c; --vf1-soft:#16301b; --vf1-line-soft:#245a2e; --vf1-ink:#e9f3ec; --vf1-muted:#9db2a3; --vf1-line:#25392b; --vf1-card:#15221a; --vf1-on-brand:#08200d; --vf1-shadow:0 1px 2px rgba(0,0,0,.4); }
}
.ta-vf1-landing .ta-vf1-hero { background:var(--vf1-brand); color:var(--vf1-on-brand); border-radius:24px; padding:40px 40px 36px; display:grid; grid-template-columns:1.4fr 1fr; gap:32px; align-items:center; position:relative; overflow:hidden; }
.ta-vf1-landing .ta-vf1-hero::after { content:""; position:absolute; right:-70px; top:-70px; width:260px; height:260px; border-radius:50%; border:42px solid rgba(255,255,255,.12); }
.ta-vf1-landing .ta-vf1-hero-title { margin:0 0 12px; font-size:clamp(28px,4.4vw,44px); line-height:1.15; font-weight:800; letter-spacing:-.02em; color:var(--vf1-on-brand); }
.ta-vf1-landing .ta-vf1-hero-sub { margin:0; max-width:46ch; font-size:17px; opacity:.92; }
.ta-vf1-landing .ta-vf1-facts { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; position:relative; z-index:1; }
.ta-vf1-landing .ta-vf1-fact { background:rgba(255,255,255,.16); border-radius:16px; padding:14px 12px; text-align:center; }
.ta-vf1-landing .ta-vf1-fact b { display:block; font-size:30px; line-height:1.1; font-weight:800; }
.ta-vf1-landing .ta-vf1-fact span { font-size:13px; opacity:.92; }
@media (prefers-color-scheme:dark) { .ta-vf1-landing .ta-vf1-fact { background:rgba(8,32,13,.18); } }
@media (max-width:820px) { .ta-vf1-landing .ta-vf1-hero { grid-template-columns:1fr; padding:28px 22px; } }
.ta-vf1-landing .ta-vf1-sec-title { margin:36px 0 6px; font-size:22px; font-weight:700; color:var(--vf1-ink); }
.ta-vf1-landing .ta-vf1-sec-sub { margin:0 0 18px; color:var(--vf1-muted); }
.ta-vf1-landing .ta-vf1-modes { display:grid; grid-template-columns:1.15fr 1fr; grid-template-rows:auto auto; gap:18px; }
.ta-vf1-landing .ta-vf1-mode { display:flex; flex-direction:column; gap:12px; padding:26px; background:var(--vf1-card); border:1px solid var(--vf1-line); border-radius:20px; box-shadow:var(--vf1-shadow); text-decoration:none; color:var(--vf1-ink); transition:border-color .15s,transform .15s; }
.ta-vf1-landing .ta-vf1-mode:hover { border-color:var(--vf1-brand); transform:translateY(-3px); }
.ta-vf1-landing .ta-vf1-mode:first-child { grid-row:span 2; }
@media (max-width:860px) { .ta-vf1-landing .ta-vf1-modes { grid-template-columns:1fr; } .ta-vf1-landing .ta-vf1-mode:first-child { grid-row:auto; } }
@media (prefers-reduced-motion:reduce) { .ta-vf1-landing .ta-vf1-mode { transition:none; } .ta-vf1-landing .ta-vf1-mode:hover { transform:none; } .ta-vf1-landing .ta-vf1-mode:hover .ta-vf1-mode-cta svg { transform:none; } }
.ta-vf1-landing .ta-vf1-mode-top { display:flex; align-items:center; gap:14px; }
.ta-vf1-landing .ta-vf1-mode-head { display:block; }
.ta-vf1-landing .ta-vf1-mode-ic { flex:none; width:54px; height:54px; border-radius:16px; background:var(--vf1-soft); color:var(--vf1-brand); display:grid; place-items:center; }
.ta-vf1-landing .ta-vf1-mode-ic svg { width:28px; height:28px; }
.ta-vf1-landing .ta-vf1-mode-no { display:block; font-size:13px; font-weight:600; color:var(--vf1-brand-dark); }
.ta-vf1-landing .ta-vf1-mode-title { display:block; font-size:21px; line-height:1.25; font-weight:700; }
.ta-vf1-landing .ta-vf1-mode-desc { color:var(--vf1-muted); margin:0; }
.ta-vf1-landing .ta-vf1-overall { display:flex; align-items:center; gap:12px; font-size:14px; color:var(--vf1-muted); }
.ta-vf1-landing .ta-vf1-bar { flex:1; height:8px; border-radius:99px; background:var(--vf1-line); overflow:hidden; display:block; }
.ta-vf1-landing .ta-vf1-bar i { display:block; height:100%; border-radius:99px; background:var(--vf1-brand); }
.ta-vf1-landing .ta-vf1-mode-list { display:grid; gap:10px; margin:4px 0 6px; }
.ta-vf1-landing .ta-vf1-mode-li { display:grid; grid-template-columns:34px 1fr auto; align-items:center; gap:12px; padding:12px 14px; border:1px solid var(--vf1-line); border-radius:14px; }
.ta-vf1-landing .ta-vf1-mode-li:hover { background:var(--vf1-soft); border-color:var(--vf1-line-soft); }
.ta-vf1-landing .ta-vf1-letter { width:34px; height:34px; border-radius:10px; background:var(--vf1-brand); color:var(--vf1-on-brand); display:grid; place-items:center; font-weight:700; }
.ta-vf1-landing .ta-vf1-li-name { font-weight:500; line-height:1.35; }
.ta-vf1-landing .ta-vf1-li-name .ta-vf1-bar { margin-top:7px; height:6px; }
.ta-vf1-landing .ta-vf1-mode-li b { font-size:14px; color:var(--vf1-muted); font-weight:600; white-space:nowrap; }
.ta-vf1-landing .ta-vf1-chips { display:flex; flex-wrap:wrap; gap:8px; }
.ta-vf1-landing .ta-vf1-chip { padding:5px 12px; border-radius:999px; background:var(--vf1-soft); color:var(--vf1-brand-dark); border:1px solid var(--vf1-line-soft); font-size:13px; font-weight:600; }
.ta-vf1-landing .ta-vf1-mode-status { margin:0; font-size:14px; color:var(--vf1-muted); }
.ta-vf1-landing .ta-vf1-mode-cta { margin-top:auto; display:flex; align-items:center; justify-content:space-between; padding:12px 18px; border-radius:12px; background:var(--vf1-brand); color:var(--vf1-on-brand); font-weight:600; }
.ta-vf1-landing .ta-vf1-mode-cta svg { width:20px; height:20px; transition:transform .15s; flex:none; }
.ta-vf1-landing .ta-vf1-mode:hover .ta-vf1-mode-cta { background:var(--vf1-brand-dark); }
.ta-vf1-landing .ta-vf1-mode:hover .ta-vf1-mode-cta svg { transform:translateX(4px); }
.ta-vf1-landing .ta-vf1-tips { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-top:8px; }
.ta-vf1-landing .ta-vf1-tip { background:var(--vf1-card); border:1px solid var(--vf1-line); border-left:5px solid var(--vf1-brand); border-radius:14px; padding:16px 18px; }
.ta-vf1-landing .ta-vf1-tip b { display:block; margin-bottom:2px; }
.ta-vf1-landing .ta-vf1-tip span { color:var(--vf1-muted); font-size:15px; }
@media (max-width:760px) { .ta-vf1-landing .ta-vf1-tips { grid-template-columns:1fr; } }

/* ===== 0.14.0: Các màn hình trong cánh Visa F-1 theo mẫu Claude ===== */
.ta-vf1-screen { --vf1s-brand:#1c9b2e; --vf1s-brand-dark:#14701f; --vf1s-soft:#e8f6ea; --vf1s-line-soft:#c6e8cb; --vf1s-ink:#13261a; --vf1s-muted:#5d7164; --vf1s-line:#e1ebe3; --vf1s-card:#fff; --vf1s-on-brand:#fff; --vf1s-warn:#9a5b00; --vf1s-warn-soft:#fff3d9; --vf1s-rec:#d93025; --vf1s-shadow:0 1px 2px rgba(19,38,26,.06),0 12px 28px -14px rgba(19,38,26,.22); color:var(--vf1s-ink); }
@media (prefers-color-scheme:dark) {
  .ta-vf1-screen { --vf1s-brand:#34c04a; --vf1s-brand-dark:#5ad06c; --vf1s-soft:#16301b; --vf1s-line-soft:#245a2e; --vf1s-ink:#e9f3ec; --vf1s-muted:#9db2a3; --vf1s-line:#25392b; --vf1s-card:#15221a; --vf1s-on-brand:#08200d; --vf1s-warn:#f4c26a; --vf1s-warn-soft:#3a2d12; --vf1s-rec:#ff6b5e; --vf1s-shadow:0 1px 2px rgba(0,0,0,.4); }
}
.ta-vf1-screen .ta-vf1-crumb { margin:0 0 14px; }
.ta-vf1-screen .ta-vf1-crumb a { display:inline-flex; align-items:center; gap:6px; color:var(--vf1s-brand-dark); text-decoration:none; font-weight:600; font-size:15px; padding:6px 12px 6px 8px; border-radius:999px; }
.ta-vf1-screen .ta-vf1-crumb a:hover { background:var(--vf1s-soft); }
.ta-vf1-screen .ta-vf1-crumb svg { width:18px; height:18px; }
.ta-vf1-screen .ta-vf1-page-h { display:flex; align-items:center; gap:16px; margin-bottom:10px; }
.ta-vf1-screen .ta-vf1-badge-no { flex:none; width:56px; height:56px; border-radius:16px; background:var(--vf1s-brand); color:var(--vf1s-on-brand); display:grid; place-items:center; }
.ta-vf1-screen .ta-vf1-badge-no svg { width:28px; height:28px; }
.ta-vf1-screen .ta-vf1-page-htext { display:block; }
.ta-vf1-screen .ta-vf1-page-htext small { display:block; font-weight:600; color:var(--vf1s-brand-dark); font-size:14px; }
.ta-vf1-screen .ta-vf1-page-title { display:block; margin:0; font-size:clamp(24px,4vw,32px); line-height:1.2; font-weight:800; letter-spacing:-.01em; }
.ta-vf1-screen .ta-vf1-set-title { font-size:clamp(20px,3vw,26px); font-weight:800; margin:0 0 14px; }
.ta-vf1-screen .ta-vf1-lead { margin:0 0 22px; color:var(--vf1s-muted); max-width:68ch; }
.ta-vf1-screen .ta-vf1-subh { margin:26px 0 10px; font-size:17px; font-weight:700; }
.ta-vf1-screen .ta-vf1-note { display:flex; gap:10px; padding:14px 16px; border-radius:14px; background:var(--vf1s-warn-soft); color:var(--vf1s-warn); font-size:15px; margin:0 0 18px; }
.ta-vf1-screen .ta-vf1-note svg { flex:none; width:20px; height:20px; margin-top:2px; }
.ta-vf1-screen .ta-vf1-chiprow { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.ta-vf1-screen .ta-vf1-chip { padding:5px 12px; border-radius:999px; background:var(--vf1s-soft); color:var(--vf1s-brand-dark); border:1px solid var(--vf1s-line-soft); font-size:13px; font-weight:600; }
.ta-vf1-screen .ta-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:11px 20px; border-radius:12px; border:1px solid var(--vf1s-brand); background:var(--vf1s-brand); color:var(--vf1s-on-brand); font-weight:600; cursor:pointer; white-space:nowrap; text-decoration:none; }
.ta-vf1-screen .ta-btn:hover:not(:disabled) { background:var(--vf1s-brand-dark); border-color:var(--vf1s-brand-dark); }
.ta-vf1-screen .ta-btn:disabled { opacity:.4; cursor:not-allowed; }
.ta-vf1-screen .ta-btn-ghost { background:transparent; color:var(--vf1s-brand-dark); }
.ta-vf1-screen .ta-btn-ghost:hover:not(:disabled) { background:var(--vf1s-soft); color:var(--vf1s-brand-dark); border-color:var(--vf1s-brand); }
.ta-vf1-screen .ta-btn-white { background:#fff; border-color:#fff; color:#14701f; }
.ta-vf1-screen .ta-btn-white:hover:not(:disabled) { background:var(--vf1s-soft); border-color:var(--vf1s-soft); color:#14701f; }
.ta-vf1-screen .ta-vf1-sbar { height:6px; border-radius:99px; background:var(--vf1s-line); overflow:hidden; flex:0 1 180px; width:180px; display:block; }
.ta-vf1-screen .ta-vf1-sbar i { display:block; height:100%; border-radius:99px; background:var(--vf1s-brand); }
.ta-vf1-screen .ta-vf1-sbar-light { background:rgba(255,255,255,.28); }
.ta-vf1-screen .ta-vf1-sbar-light i { background:#fff; }
@media (prefers-color-scheme:dark) { .ta-vf1-screen .ta-vf1-sbar-light { background:rgba(8,32,13,.25); } .ta-vf1-screen .ta-vf1-sbar-light i { background:#08200d; } .ta-vf1-screen .ta-btn-white { background:#08200d; border-color:#08200d; color:var(--vf1s-brand); } }
.ta-vf1-screen .ta-vf1-topics { display:grid; gap:14px; }
.ta-vf1-screen .ta-vf1-topic { display:grid; grid-template-columns:52px 1fr auto; align-items:center; gap:16px; padding:18px 20px; background:var(--vf1s-card); border:1px solid var(--vf1s-line); border-radius:18px; box-shadow:var(--vf1s-shadow); text-decoration:none; color:var(--vf1s-ink); transition:border-color .15s,transform .15s; }
.ta-vf1-screen a.ta-vf1-topic:hover { border-color:var(--vf1s-brand); transform:translateY(-2px); }
.ta-vf1-screen .ta-vf1-topic.is-doing { border-color:var(--vf1s-line-soft); }
.ta-vf1-screen .ta-vf1-letter { width:52px; height:52px; border-radius:14px; background:var(--vf1s-soft); color:var(--vf1s-brand-dark); display:grid; place-items:center; font-size:22px; font-weight:800; }
.ta-vf1-screen .is-doing .ta-vf1-letter { background:var(--vf1s-brand); color:var(--vf1s-on-brand); }
.ta-vf1-screen .ta-vf1-topic-main { display:block; }
.ta-vf1-screen .ta-vf1-topic-name { display:block; font-weight:700; line-height:1.35; }
.ta-vf1-screen .ta-vf1-topic-name em { display:block; font-style:normal; font-weight:400; color:var(--vf1s-muted); font-size:15px; }
.ta-vf1-screen .ta-vf1-topic-count { display:flex; align-items:center; gap:10px; margin-top:9px; font-size:13px; color:var(--vf1s-muted); }
.ta-vf1-screen .ta-vf1-status { display:inline-block; padding:2px 10px; border-radius:999px; background:var(--vf1s-warn-soft); color:var(--vf1s-warn); font-weight:600; font-size:12px; }
.ta-vf1-screen .ta-vf1-go { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; background:var(--vf1s-soft); color:var(--vf1s-brand-dark); }
.ta-vf1-screen .ta-vf1-go svg { width:20px; height:20px; }
.ta-vf1-screen a.ta-vf1-topic:hover .ta-vf1-go { background:var(--vf1s-brand); color:var(--vf1s-on-brand); }
@media (max-width:620px) {
  .ta-vf1-screen .ta-vf1-topic { grid-template-columns:44px 1fr; padding:16px; }
  .ta-vf1-screen .ta-vf1-letter { width:44px; height:44px; font-size:19px; }
  .ta-vf1-screen .ta-vf1-topic .ta-vf1-go { grid-column:1/-1; width:100%; border-radius:12px; height:38px; }
  .ta-vf1-screen .ta-vf1-topic .ta-btn { grid-column:1/-1; }
  .ta-vf1-screen .ta-vf1-sbar { flex:1; width:auto; }
}
@media (prefers-reduced-motion:reduce) { .ta-vf1-screen .ta-vf1-topic { transition:none; } .ta-vf1-screen a.ta-vf1-topic:hover { transform:none; } }
.ta-vf1-screen .ta-vf1-resume { display:grid; grid-template-columns:1fr auto; gap:18px; align-items:center; background:var(--vf1s-brand); color:var(--vf1s-on-brand); border-radius:20px; padding:22px 24px; margin-bottom:22px; }
.ta-vf1-screen .ta-vf1-resume-main { display:block; }
.ta-vf1-screen .ta-vf1-resume-main b { display:block; font-size:19px; line-height:1.3; margin-bottom:2px; }
.ta-vf1-screen .ta-vf1-resume .ta-vf1-sbar { margin-top:12px; height:8px; width:auto; flex:none; }
@media (max-width:620px) { .ta-vf1-screen .ta-vf1-resume { grid-template-columns:1fr; } }
.ta-vf1-screen .ta-vf1-startrow { margin:0 0 22px; }
.ta-vf1-screen .ta-vf1-steps { list-style:none; margin:0 0 22px; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:12px; counter-reset:vf1step; }
.ta-vf1-screen .ta-vf1-steps li { counter-increment:vf1step; background:var(--vf1s-card); border:1px solid var(--vf1s-line); border-radius:16px; padding:16px; font-size:15px; line-height:1.45; }
.ta-vf1-screen .ta-vf1-steps li::before { content:counter(vf1step); display:grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--vf1s-brand); color:var(--vf1s-on-brand); font-weight:700; margin-bottom:10px; }
.ta-vf1-screen .ta-vf1-steps b { display:block; margin-bottom:2px; }
.ta-vf1-screen .ta-vf1-steps span { color:var(--vf1s-muted); }
@media (max-width:760px) { .ta-vf1-screen .ta-vf1-steps { grid-template-columns:1fr 1fr; } }
.ta-vf1-screen .ta-vf1-run-head { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:10px; }
.ta-vf1-screen .ta-vf1-run-title { font-size:22px; font-weight:800; }
.ta-vf1-screen .ta-setrun-head { color:var(--vf1s-muted); font-size:15px; }
.ta-vf1-screen .ta-vf1-dots { display:grid; grid-template-columns:repeat(auto-fit,minmax(14px,1fr)); gap:6px; margin-bottom:18px; }
.ta-vf1-screen .ta-vf1-dots i { height:8px; border-radius:99px; background:var(--vf1s-line); display:block; }
.ta-vf1-screen .ta-vf1-dots i.done { background:var(--vf1s-brand); }
.ta-vf1-screen .ta-vf1-dots i.now { background:var(--vf1s-line-soft); box-shadow:0 0 0 2px var(--vf1s-brand); }
.ta-vf1-screen .ta-vf1-qcard, .ta-vf1-screen .ta-setrun-rec { background:var(--vf1s-card); border:1px solid var(--vf1s-line); border-radius:20px; box-shadow:var(--vf1s-shadow); padding:22px; margin-bottom:16px; }
.ta-vf1-screen .ta-vf1-qhead { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; gap:10px; }
.ta-vf1-screen .ta-vf1-listen-label { display:flex; align-items:center; gap:8px; font-weight:600; }
.ta-vf1-screen .ta-vf1-listen-label svg { width:20px; height:20px; color:var(--vf1s-brand); }
.ta-vf1-screen .ta-vf1-qid { font-size:13px; color:var(--vf1s-muted); background:var(--vf1s-soft); border-radius:8px; padding:2px 10px; font-weight:600; }
.ta-vf1-screen .ta-vf1-listen audio { width:100%; height:44px; display:block; }
.ta-vf1-screen .ta-vf1-qtext { margin:16px 0 0; padding:16px 18px; border-radius:14px; background:var(--vf1s-soft); border:1px solid var(--vf1s-line-soft); font-size:20px; line-height:1.4; font-weight:600; }
.ta-vf1-screen .ta-vf1-toggle-text { margin-top:14px; padding:8px 16px; font-size:14px; }
.ta-vf1-screen .ta-rec-controls { display:grid; grid-template-columns:auto 1fr; gap:20px; align-items:center; }
.ta-vf1-screen .ta-timer { font-size:44px; font-weight:800; font-variant-numeric:tabular-nums; line-height:1; min-width:2.4em; }
.ta-vf1-screen .ta-timer.ta-rec-on { color:var(--vf1s-rec); }
.ta-vf1-screen .ta-vf1-rec-btns { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.ta-vf1-screen .ta-btn-record { background:var(--vf1s-rec); border-color:var(--vf1s-rec); color:#fff; }
.ta-vf1-screen .ta-btn-record:hover:not(:disabled) { background:#b3261b; border-color:#b3261b; }
@media (prefers-color-scheme:dark) { .ta-vf1-screen .ta-btn-record { color:#2a0805; } }
.ta-vf1-screen .ta-btn-record::before { content:""; width:12px; height:12px; border-radius:50%; background:currentColor; }
.ta-vf1-screen .ta-btn-record.ta-rec-on::before { animation:ta-vf1-pulse 1s infinite; }
@keyframes ta-vf1-pulse { 50% { opacity:.25; } }
@media (prefers-reduced-motion:reduce) { .ta-vf1-screen .ta-btn-record.ta-rec-on::before { animation:none; } }
.ta-vf1-screen .ta-rec-msg { min-height:1.5em; margin:12px 0 0; color:var(--vf1s-muted); font-size:15px; }
.ta-vf1-screen .ta-upload-alt { display:inline-block; margin-top:10px; font-size:14px; color:var(--vf1s-muted); }
.ta-vf1-screen .ta-upload-alt input { display:block; margin-top:6px; font-size:14px; max-width:100%; }
.ta-vf1-screen .ta-setrun-nav { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:18px; padding-top:18px; border-top:1px solid var(--vf1s-line); flex-wrap:wrap; }
.ta-vf1-screen .ta-setrun-abandon { background:none; border:0; color:var(--vf1s-muted); text-decoration:underline; cursor:pointer; padding:8px 4px; font-size:14px; }
.ta-vf1-screen .ta-setrun-abandon:hover { color:var(--vf1s-rec); }
@media (max-width:560px) { .ta-vf1-screen .ta-rec-controls { grid-template-columns:1fr; } .ta-vf1-screen .ta-vf1-rec-btns { justify-content:flex-start; } .ta-vf1-screen .ta-setrun-nav .ta-btn { width:100%; } }
.ta-vf1-screen .ta-set-msg { min-height:1.5em; color:var(--vf1s-muted); font-size:15px; margin:14px 0 0; }

/* ===== 0.14.1: Chặn rò rỉ CSS cũ vào các màn hình 0.14.0 =====
   Các rule gốc từ 0.5.x/0.6.0 dùng chung tên class (.ta-vf1-topics,
   .ta-vf1-topic-name, .ta-vf1-qtext, .ta-setrun-rec...) — thuộc tính nào
   khối .ta-vf1-screen không đặt lại thì rule cũ vẫn thắng theo cascade.
   Bản 0.14.0 thiếu grid-template-columns nên lưới cũ auto-fit 230px đã
   ép thẻ topic thành nhiều cột gây tràn viền (Cậu chủ chụp lại 13/11).
   Khối này đặt lại tường minh mọi thuộc tính bị rò. */
.ta-vf1-screen .ta-vf1-topics { grid-template-columns:1fr; margin:0; }
.ta-vf1-screen a.ta-vf1-topic:hover { background:var(--vf1s-card); }
.ta-vf1-screen .ta-vf1-topic-main { min-width:0; }
.ta-vf1-screen .ta-vf1-topic-name { color:var(--vf1s-ink); margin:0; }
.ta-vf1-screen .ta-vf1-topic .ta-set-start { margin-top:0; }
.ta-vf1-screen .ta-vf1-note { border:0; }
.ta-vf1-screen .ta-vf1-qcard { margin-top:0; }
.ta-vf1-screen .ta-vf1-qtext { color:var(--vf1s-ink); }
.ta-vf1-screen .ta-vf1-listen { display:block; margin:0; }
.ta-vf1-screen .ta-vf1-listen audio { flex:none; max-width:none; }
.ta-vf1-screen .ta-vf1-listen-label { font-size:16px; color:var(--vf1s-ink); }
.ta-vf1-screen .ta-setrun-head { font-weight:400; margin:0; }
.ta-vf1-screen .ta-setrun-rec { max-width:none; margin-top:0; }

/* ===== 0.15.0: Cột điều hướng bên trái cánh Visa F-1 ===== */
.ta-vf1-layout { --vf1l-brand:#1c9b2e; --vf1l-brand-dark:#14701f; --vf1l-soft:#e8f6ea; --vf1l-line:#e1ebe3; --vf1l-card:#fff; --vf1l-ink:#13261a; --vf1l-muted:#5d7164; --vf1l-on-brand:#fff; --vf1l-shadow:0 1px 2px rgba(19,38,26,.06),0 12px 28px -14px rgba(19,38,26,.22); display:grid; grid-template-columns:248px minmax(0,1fr); gap:22px; align-items:start; }
@media (prefers-color-scheme:dark) {
  .ta-vf1-layout { --vf1l-brand:#34c04a; --vf1l-brand-dark:#5ad06c; --vf1l-soft:#16301b; --vf1l-line:#25392b; --vf1l-card:#15221a; --vf1l-ink:#e9f3ec; --vf1l-muted:#9db2a3; --vf1l-on-brand:#08200d; --vf1l-shadow:0 1px 2px rgba(0,0,0,.4); }
}
.ta-vf1-main { min-width:0; }
.ta-vf1-side { position:sticky; top:24px; background:var(--vf1l-card); border:1px solid var(--vf1l-line); border-radius:18px; box-shadow:var(--vf1l-shadow); padding:16px; }
.ta-vf1-side-title { margin:0 0 10px; font-size:13px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:var(--vf1l-muted); }
.ta-vf1-sidenav { display:grid; gap:8px; }
.ta-vf1-sidelink { display:flex; align-items:center; gap:10px; padding:11px 12px; border-radius:12px; text-decoration:none; color:var(--vf1l-ink); font-weight:600; font-size:15px; line-height:1.35; border:1px solid transparent; }
.ta-vf1-sidelink svg { width:20px; height:20px; flex:none; color:var(--vf1l-brand-dark); }
.ta-vf1-sidelink:hover { background:var(--vf1l-soft); }
.ta-vf1-sidelink.is-active { background:var(--vf1l-brand); color:var(--vf1l-on-brand); }
.ta-vf1-sidelink.is-active svg { color:var(--vf1l-on-brand); }
.ta-vf1-sidelink.is-active:hover { background:var(--vf1l-brand-dark); }
@media (max-width:1100px) {
  .ta-vf1-layout { grid-template-columns:1fr; gap:14px; }
  .ta-vf1-side { position:static; padding:12px; }
  .ta-vf1-side-title { display:none; }
  .ta-vf1-sidenav { display:flex; gap:8px; overflow-x:auto; padding-bottom:2px; }
  .ta-vf1-sidelink { white-space:nowrap; border-color:var(--vf1l-line); flex:none; }
}
