/* Tài khoản khách "Hồ sơ của tôi" (21/10/2026): hộp đăng nhập, nút đầu trang, khối "Lưu bản xem trước", trang /tai-khoan/.
   Dùng biến màu của form.css (--son, --muc, --vien...), có giá trị dự phòng cho trang không nạp form.css (trang chủ).
   Hành vi ở tai-khoan.js. Nguồn: app/public/nhan-dien/tai-khoan.css. */
.tm-tk, .tm-xt-luu, .tm-tk-trang, .tm-xn { --tk-son: var(--son, #C8382B); --tk-son-dam: var(--son-dam, #A92D22); --tk-muc: var(--muc, #1F1D1A); --tk-mo: var(--mo, #7A7266);
  --tk-vien: var(--vien, #E3D8C6); --tk-nen: var(--nen, #F4EEE4); --tk-serif: var(--serif, 'Noto Serif', Georgia, serif); --tk-sans: var(--sans, 'Be Vietnam Pro', system-ui, sans-serif); }

/* ===== Nút đầu trang ===== */
.tm-tk-dau { display: inline-flex; align-items: center; gap: 8px; font: 500 14.5px var(--sans, system-ui); text-decoration: none; color: var(--muc-2, #46413A); min-height: 44px; }
.tm-tk-vong { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--son, #C8382B); color: #fff; font: 600 13px var(--sans, system-ui); }
.tm-menu a.tm-tk-dau::after { display: none; }
/* Menu xổ tài khoản (21/10/2026): cùng kiểu menu "Các hồ sơ" (.mhs-ds) */
.tm-tk-mn { position: relative; }
.tm-tk-mn button.tm-tk-dau { background: none; border: 0; padding: 0; cursor: pointer; white-space: nowrap; }
.tm-tk-dau { white-space: nowrap; }
.tm-tk-dau .mui { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.tm-tk-mn.mo .tm-tk-dau .mui { transform: rotate(180deg); }
.tm-tk-mn .tm-tk-dau:hover, .tm-tk-mn.mo .tm-tk-dau { color: var(--son, #C8382B); }
.tm-tk-mn .tm-tk-dau:focus-visible, .tm-tk-xo a:focus-visible, .tm-tk-xo button:focus-visible { outline: 2px solid var(--son, #C8382B); outline-offset: 3px; border-radius: 8px; }
.tm-tk-xo { position: absolute; top: calc(100% + 12px); right: -12px; width: 280px; background: #fff; border: 1px solid #E3D8C6; border-radius: 16px; box-shadow: 0 24px 50px rgba(31,29,26,.16); padding: 8px; display: none; z-index: 60; text-align: left; }
.tm-tk-mn.mo .tm-tk-xo { display: block; animation: tmTkHien .16s ease-out; }
.tm-tk-xo .dau { padding: 10px 12px 12px; border-bottom: 1px solid #EFE8DC; margin-bottom: 6px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tm-tk-xo .dau b { font: 600 15px var(--serif, Georgia, serif); color: var(--muc, #1F1D1A); }
.tm-tk-xo .dau span { font: 400 13px var(--sans, system-ui); color: var(--mo, #7A7266); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
nav .tm-tk-xo a, .tm-tk-xo button.thoat { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: none; text-decoration: none; color: var(--muc, #1F1D1A); font: 500 14.5px/1.3 var(--sans, system-ui); cursor: pointer; text-align: left; }
nav .tm-tk-xo a::after { display: none !important; content: none !important; }
nav .tm-tk-xo a:hover, .tm-tk-xo button.thoat:hover { background: #F6F1E9; }
.tm-tk-xo svg { width: 20px; height: 20px; flex: none; color: var(--son, #C8382B); }
.tm-tk-xo button.thoat { border-top: 1px solid #EFE8DC; border-radius: 0 0 10px 10px; margin-top: 6px; color: var(--mo, #7A7266); }
.tm-tk-xo button.thoat svg { color: var(--mo, #7A7266); }

/* ===== Hộp đăng nhập ===== */
html.tm-tk-mo { overflow: hidden; }
.tm-tk.tm-tk-ngam { display: none; }
.tm-tk { position: fixed; inset: 0; z-index: 400; background: rgba(31,29,26,.55); display: grid; place-items: center; padding: 16px; animation: tmTkHien .18s ease-out; }
@keyframes tmTkHien { from { opacity: 0; } }
.tm-tk-hop { position: relative; width: min(420px, 100%); max-height: calc(100dvh - 32px); overflow: auto; background: #fff; border-radius: 18px; padding: 36px 28px 24px;
  box-shadow: 0 24px 60px rgba(31,29,26,.28); color: var(--tk-muc); font-family: var(--tk-sans); text-align: center; outline: none; }
.tm-tk-dong { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--tk-mo); cursor: pointer; border-radius: 50%; }
.tm-tk-dong:hover { background: var(--tk-nen); color: var(--tk-muc); }
.tm-tk-logo { display: block; margin: 0 auto 14px; border-radius: 12px; }
.tm-tk h2 { font: 600 24px/1.3 var(--tk-serif); margin: 0 0 8px; }
.tm-tk-chu { margin: 0 auto 22px; color: var(--tk-mo); font-size: 15px; line-height: 1.55; max-width: 34ch; }
.tm-tk-ds { display: grid; gap: 12px; }
.tm-tk-nut { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; padding: 0 18px; border: 1px solid #D9D2C6; border-radius: 14px;
  background: #fff; color: var(--tk-muc); font: 600 16px var(--tk-sans); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tm-tk-nut svg { width: 22px; height: 22px; flex: none; }
.tm-tk-nut:hover { border-color: #B9AE9C; box-shadow: 0 4px 14px rgba(31,29,26,.08); transform: translateY(-1px); }
.tm-tk-nut:focus-visible, .tm-tk-chinh:focus-visible, .tm-tk-dong:focus-visible, .tm-tk-lui:focus-visible, .tm-tk-gui-lai:focus-visible, .tm-xt-luu button:focus-visible { outline: 2px solid var(--tk-son); outline-offset: 2px; }
.tm-tk-nhung { margin: 2px 0 0; padding: 10px 12px; background: var(--tk-nen); border-radius: 10px; font-size: 13.5px; line-height: 1.5; color: var(--tk-mo); text-align: left; }
.tm-tk-nho { margin: 18px 0 0; font-size: 13px; color: var(--tk-mo); line-height: 1.5; }
.tm-tk-nho a { color: var(--tk-mo); }
.tm-tk-bao { min-height: 0; margin: 10px 0 0; font-size: 14px; }
.tm-tk-bao:empty { display: none; }
.tm-tk-bao.sai { color: var(--loi, #B3261E); }
.tm-tk-bao.cho { color: var(--tk-mo); }
/* bước email / mã */
.tm-tk-buoc[data-buoc="email"], .tm-tk-buoc[data-buoc="ma"] { text-align: left; }
.tm-tk-buoc[data-buoc="email"] h2, .tm-tk-buoc[data-buoc="ma"] h2 { margin-top: 6px; }
.tm-tk-buoc .tm-tk-chu { margin-left: 0; max-width: none; margin-bottom: 18px; }
.tm-tk-lui { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin: -10px 0 0 -8px; padding: 0 8px; border: 0; background: none; color: var(--tk-mo); font: 500 14px var(--tk-sans); cursor: pointer; border-radius: 8px; }
.tm-tk-lui svg { width: 18px; height: 18px; }
.tm-tk label[for] { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.tm-tk input[type=email], .tm-tk .tm-tk-o-ma { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid #CFC6B6; border-radius: 12px; font: 400 17px var(--tk-sans); color: var(--tk-muc); background: #fff; }
.tm-tk input[type=email]:focus, .tm-tk .tm-tk-o-ma:focus { outline: none; border-color: var(--tk-son); box-shadow: 0 0 0 3px rgba(200,56,43,.15); }
.tm-tk .tm-tk-o-ma { font: 600 26px/1 'Courier New', monospace; letter-spacing: .45em; text-align: center; padding-left: .45em; }
.tm-tk-dong-y { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--tk-mo); cursor: pointer; }
.tm-tk-dong-y input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--tk-son); flex: none; }
.tm-tk-chinh { width: 100%; min-height: 52px; margin-top: 18px; border: 0; border-radius: 14px; background: var(--tk-son); color: #fff; font: 600 16px var(--tk-sans); cursor: pointer; transition: background .15s; }
.tm-tk-chinh:hover { background: var(--tk-son-dam); }
.tm-tk-chinh:disabled, .tm-tk-gui-lai:disabled { opacity: .6; cursor: default; }
.tm-tk-gui-lai { display: block; margin: 10px auto 0; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--tk-son); font: 600 14.5px var(--tk-sans); cursor: pointer; border-radius: 8px; }
.tm-tk-gui-lai:disabled { color: var(--tk-mo); }
/* Điện thoại: hộp trượt lên từ đáy */
@media (max-width: 560px) {
  .tm-tk { place-items: end center; padding: 0; }
  .tm-tk-hop { width: 100%; border-radius: 20px 20px 0 0; padding: 32px 20px calc(20px + env(safe-area-inset-bottom)); max-height: 92dvh; animation: tmTkLen .22s ease-out; }
  @keyframes tmTkLen { from { transform: translateY(40px); opacity: .4; } }
}
@media (prefers-reduced-motion: reduce) { .tm-tk, .tm-tk-hop { animation: none; } .tm-tk-nut:hover { transform: none; } }

/* Form điền sẵn từ lần trước */
.tm-tk-dien { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: #EEF4EC; color: #2F6B3A; font-size: 14.5px; }
.tm-tk-xoa-nhap { margin-left: 6px; padding: 0; min-height: 32px; border: 0; background: none; color: #2F6B3A; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ===== Khối "Lưu bản xem trước này" trong bản xem trước ===== */
.tm-xt-luu { display: grid; grid-template-columns: 1fr auto; gap: 16px 24px; align-items: center; margin: 28px 0; padding: 20px 22px; border: 1px dashed #CDBFA8; border-radius: 14px; background: #FBF8F2; }
.tm-xt-luu h3 { font: 600 18px/1.35 var(--tk-serif); margin: 0 0 4px; }
.tm-xt-luu p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--tk-mo); }
.tm-xt-luu-nut { display: flex; gap: 8px; flex-wrap: wrap; }
.tm-xt-luu-nut button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 1px solid #D9D2C6; border-radius: 12px; background: #fff; font: 600 14.5px var(--tk-sans); color: var(--tk-muc); cursor: pointer; }
.tm-xt-luu-nut button:hover { border-color: #B9AE9C; }
.tm-xt-luu-nut svg { width: 20px; height: 20px; }
.tm-xt-luu-ok { display: flex; gap: 10px; align-items: flex-start; color: var(--tk-muc) !important; }
.tm-xt-luu-ok > span:first-child { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #2F6B3A; color: #fff; font-size: 14px; flex: none; }
.tm-xt-luu > a { color: var(--tk-son); font-weight: 600; text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 640px) { .tm-xt-luu { grid-template-columns: 1fr; padding: 18px; } .tm-xt-luu-nut button { flex: 1 1 0; justify-content: center; } }

/* ===== Trang Hồ sơ của tôi (/tai-khoan/) ===== */
.tm-tk-trang { width: min(960px, 100% - 32px); margin: 0 auto; padding: 40px 0 72px; font-family: var(--tk-sans); color: var(--tk-muc); }
.tm-tk-trang h1 { font: 600 clamp(28px, 4vw, 38px)/1.2 var(--tk-serif); margin: 0 0 6px; }
.tm-tk-trang .phu { margin: 0 0 28px; color: var(--tk-mo); }
.tm-tk-trang .phu button { border: 0; background: none; color: var(--tk-son); font: 600 15px var(--tk-sans); cursor: pointer; padding: 0 6px; min-height: 44px; }
.tm-tk-trang h2 { font: 600 20px/1.3 var(--tk-serif); margin: 36px 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.tm-tk-trang h2 small { font: 500 14px var(--tk-sans); color: var(--tk-mo); }
.tk-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tk-the { background: #fff; border: 1px solid var(--tk-vien); border-top: 3px solid var(--g, var(--tk-son)); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.tk-the .loai { font: 600 12px var(--tk-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--g, var(--tk-son)); }
.tk-the b { font: 600 17px/1.35 var(--tk-serif); }
.tk-the .ngay { font-size: 14px; color: var(--tk-mo); }
.tk-the .nut { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tk-the .nut a, .tk-the .nut button { flex: 1 1 auto; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 11px; font: 600 14.5px var(--tk-sans); text-decoration: none; cursor: pointer; }
.tk-the .nut .chinh { background: var(--g, var(--tk-son)); color: #fff; border: 0; }
.tk-the .nut .phu2 { background: #fff; color: var(--g, var(--tk-son)); border: 1.5px solid var(--g, var(--tk-son)); }
/* Hồ sơ đã lưu dạng danh sách (22/10/2026, làm lại theo ui-ux-pro-max): biểu tượng hồ sơ làm điểm nhìn, cột trạng thái + ngày
   thẳng hàng để dò dọc, nút luôn ở cột phải; lọc trạng thái bằng chip có số đếm (bấm một lần), loại hồ sơ bằng ô chọn */
.tk-ds { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--tk-vien); border-radius: 16px; overflow: hidden; box-shadow: 0 1px 2px rgba(31,29,26,.04); }
.tk-dong { display: grid; grid-template-columns: 44px minmax(0, 1fr) 190px 270px; gap: 4px 16px; align-items: center; padding: 14px 18px; border-top: 1px solid #F0EAE0; transition: background-color .15s; }
.tk-dong:first-child { border-top: 0; }
.tk-dong:hover { background: #FCFAF6; }
.tk-dong[hidden] { display: none; }
.tk-dong .bt { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gn); color: var(--g); }
.tk-dong .bt svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tk-dong .chu { min-width: 0; }
.tk-dong p { margin: 0; }
.tk-dong .ten { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
.tk-dong .ten b { font: 600 17px/1.35 var(--tk-serif); color: var(--tk-muc); overflow-wrap: anywhere; }
.tk-dong .sinh { font-size: 14px; color: var(--tk-mo); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-dong .loai { margin-top: 2px; font: 600 14px var(--tk-sans); color: var(--g, var(--tk-son)); }
.tk-dong .tt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.tk-dong .nhan { display: inline-flex; align-items: center; gap: 5px; min-height: 26px; padding: 0 10px 0 8px; border-radius: 999px; font: 600 13px var(--tk-sans); }
.tk-dong .nhan svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tk-dong .nhan.xong { background: #E7F1E9; color: #2F6B3A; }
.tk-dong .nhan.dang { background: #F5EBD9; color: #7A4E10; }
.tk-dong .nhan.gio { background: #FBE6E3; color: #A92D22; }
.tk-dong .nhan.xem { background: #F1ECE4; color: #5F574C; }
.tk-dong .ngay { font-size: 13.5px; color: var(--tk-mo); font-variant-numeric: tabular-nums; }
.tk-dong .nut { display: flex; justify-content: flex-end; gap: 8px; }
.tk-dong .nut a, .tk-dong .nut button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 11px; font: 600 14.5px var(--tk-sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, transform .1s; touch-action: manipulation; }
.tk-dong .nut .chinh { background: var(--g, var(--tk-son)); color: #fff; border: 0; }
.tk-dong .nut .chinh:hover { filter: brightness(.92); }
.tk-dong .nut .phu2 { background: #fff; color: var(--g, var(--tk-son)); border: 1.5px solid color-mix(in srgb, var(--g, var(--tk-son)) 55%, #fff); }
.tk-dong .nut .phu2:hover { background: var(--gn); }
.tk-dong .nut a:active, .tk-dong .nut button:active { transform: scale(.98); }
.tk-dong .nut a:focus-visible, .tk-dong .nut button:focus-visible, .tk-loc button:focus-visible, .tk-loc select:focus-visible, .tk-bo-loc:focus-visible { outline: 3px solid rgba(200,56,43,.4); outline-offset: 2px; }
.tk-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 12px; }
.tk-loc .chip { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-loc .chip button { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1px solid var(--tk-vien); border-radius: 999px; background: #fff; color: var(--tk-muc); font: 500 14.5px var(--tk-sans); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.tk-loc .chip button span { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: #F1ECE4; font: 600 12.5px var(--tk-sans); color: var(--tk-mo); font-variant-numeric: tabular-nums; text-align: center; }
.tk-loc .chip button:hover { border-color: #CDBFA8; }
.tk-loc .chip button[aria-pressed="true"] { background: var(--tk-muc); border-color: var(--tk-muc); color: #fff; }
.tk-loc .chip button[aria-pressed="true"] span { background: rgba(255,255,255,.18); color: #fff; }
.tk-loc .loai-chon { margin-left: auto; }
.tk-loc select { min-height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--tk-vien); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%237A7266' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; -webkit-appearance: none; appearance: none; font: 500 14.5px var(--tk-sans); color: var(--tk-muc); cursor: pointer; }
.tk-loc-trong { margin-top: 12px; }
.tk-bo-loc { margin-left: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--tk-vien); border-radius: 999px; background: #fff; color: var(--tk-son); font: 600 14px var(--tk-sans); cursor: pointer; }
@media (max-width: 900px) { .tk-dong { grid-template-columns: 44px minmax(0, 1fr) auto; } .tk-dong .tt { grid-column: 2; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 10px; } .tk-dong .nut { grid-column: 3; grid-row: 1 / span 2; } }
@media (max-width: 640px) {
  .tk-dong { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; padding: 14px; }
  .tk-dong .bt { width: 40px; height: 40px; border-radius: 11px; } .tk-dong .bt svg { width: 23px; height: 23px; }
  .tk-dong .tt { grid-column: 2; }
  .tk-dong .nut { grid-column: 1 / -1; grid-row: auto; margin-top: 8px; }
  .tk-dong .nut:empty { display: none; }
  .tk-dong .nut a, .tk-dong .nut button { flex: 1 1 0; padding: 0 10px; }
  .tk-loc .chip { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .tk-loc .chip::-webkit-scrollbar { display: none; }
  .tk-loc .chip button { flex: none; }
  .tk-loc .loai-chon { margin-left: 0; width: 100%; } .tk-loc select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tk-dong, .tk-dong .nut a, .tk-dong .nut button, .tk-loc .chip button { transition: none; } }
.tk-trong { padding: 22px; border: 1px dashed #CDBFA8; border-radius: 14px; color: var(--tk-mo); background: #FBF8F2; }
.tk-trong a { color: var(--tk-son); font-weight: 600; }
/* Ưu đãi */
.tk-ma { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border: 2px dashed var(--tk-son); border-radius: 14px; background: #fff; }
.tk-ma code { font: 700 22px 'Courier New', monospace; letter-spacing: .12em; }
.tk-ma span { color: var(--tk-mo); font-size: 14.5px; }
.tk-ma button { min-height: 44px; padding: 0 16px; border: 1.5px solid var(--tk-son); border-radius: 11px; background: #fff; color: var(--tk-son); font: 600 14.5px var(--tk-sans); cursor: pointer; }
/* Nhịp tháng */
.tk-nhip { background: #fff; border: 1px solid var(--tk-vien); border-radius: 14px; padding: 20px; margin-bottom: 14px; }
.tk-nhip .dau { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; margin-bottom: 14px; }
.tk-nhip .dau b { font: 600 17px var(--tk-serif); }
.tk-nhip .dau span { font-size: 14px; color: var(--tk-mo); }
.tk-thang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tk-thang div { border-radius: 12px; background: var(--tk-nen); padding: 14px 12px; text-align: center; }
.tk-thang div.nay { background: #9A6418; color: #fff; }
.tk-thang small { display: block; font-size: 13px; opacity: .85; }
.tk-thang strong { display: block; font: 600 30px/1.2 var(--tk-serif); margin: 4px 0; }
.tk-thang span { font-size: 13.5px; line-height: 1.35; display: block; }
.tk-nho { font-size: 13.5px; color: var(--tk-mo); margin: 8px 0 0; }
/* Cài đặt */
.tk-cai { background: #fff; border: 1px solid var(--tk-vien); border-radius: 14px; padding: 6px 18px; }
.tk-cai > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #EFE8DC; }
.tk-cai > div:last-child { border-bottom: 0; }
.tk-cai p { margin: 0; font-size: 15px; } .tk-cai p small { display: block; color: var(--tk-mo); font-size: 13.5px; }
.tk-cai button { min-height: 44px; padding: 0 14px; border-radius: 11px; border: 1px solid #D9D2C6; background: #fff; font: 600 14px var(--tk-sans); cursor: pointer; color: var(--tk-muc); white-space: nowrap; }
.tk-cai button.nguy { color: var(--loi, #B3261E); border-color: #E7B9B4; }
.tk-cong { position: relative; width: 52px; height: 30px; flex: none; }
.tk-cong input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tk-cong i { position: absolute; inset: 0; border-radius: 99px; background: #CFC6B6; transition: background .15s; pointer-events: none; }
.tk-cong i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .15s; }
.tk-cong input:checked + i { background: #2F6B3A; } .tk-cong input:checked + i::after { transform: translateX(22px); }
.tk-cong input:focus-visible + i { outline: 2px solid var(--tk-son); outline-offset: 2px; }
.tk-cho { color: var(--tk-mo); padding: 40px 0; }
.tk-chua { max-width: 520px; padding: 32px 0; }
.tk-chua .tm-tk-chinh { max-width: 320px; }
@media (max-width: 560px) { .tm-tk-trang { padding-top: 28px; } .tk-thang strong { font-size: 26px; } .tk-cai > div { flex-wrap: wrap; } }
/* Menu điện thoại: mục "Hồ sơ của tôi" canh trái như các mục khác */
@media (max-width: 900px) {
  .tm-menu a.tm-tk-dau { justify-content: flex-start; gap: 10px; }
  /* Điện thoại: xổ tại chỗ trong menu, như "Các hồ sơ" */
  .tm-tk-mn { border-bottom: 1px solid var(--vien, #E3D8C6); }
  .tm-tk-mn button.tm-tk-dau { width: 100%; padding: 16px 2px; font: 500 16.5px var(--sans, system-ui); color: var(--muc, #1F1D1A); gap: 10px; }
  .tm-tk-mn .tm-tk-dau .mui { width: 18px; height: 18px; margin-left: auto; color: var(--son, #C8382B); }
  .tm-tk-xo { position: static; width: auto; border: 0; box-shadow: none; padding: 0 0 10px; border-radius: 0; animation: none !important; }
  .tm-tk-xo .dau { padding: 0 6px 10px; }
  nav .tm-tk-xo a, .tm-tk-xo button.thoat { padding: 10px 6px; border-bottom: 0; font-size: 15.5px; }
}
/* Trang Hồ sơ của tôi: mục Thông tin tài khoản (21/10/2026) */
.tm-tk-trang h2[id] { scroll-margin-top: 84px; }
.tk-ten { display: flex; gap: 8px; flex: none; }
.tk-ten input { width: 200px; min-height: 44px; padding: 0 12px; border: 1px solid #CFC6B6; border-radius: 11px; font: 400 15px var(--tk-sans); color: var(--tk-muc); background: #fff; }
.tk-ten input:focus { outline: none; border-color: var(--tk-son); box-shadow: 0 0 0 3px rgba(200,56,43,.15); }
.tk-cai .tk-ten button { background: var(--tk-son); color: #fff; border-color: var(--tk-son); }
.an { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 560px) { .tk-ten { width: 100%; } .tk-ten input { flex: 1; width: auto; } }
/* Cửa đăng nhập giữa bài (21/10/2026): phần năm nay chỉ hiện nửa trên, mờ dần, rồi hộp đăng nhập */
.tm-xt-nam3 .mat-mo.tm-tk-nua [data-o="trich"] { max-height: var(--nua, 7.5em); overflow: hidden; -webkit-mask-image: linear-gradient(#000 45%, transparent); mask-image: linear-gradient(#000 45%, transparent); }
.tm-tk-cua { margin: 6px 0 0; padding: 18px 16px; border-radius: 12px; background: #FBF8F2; border: 1px solid #E3D8C6; text-align: center; }
.tm-tk-cua .tieu { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 4px; font: 600 17px/1.35 var(--serif, Georgia, serif); color: var(--muc, #1F1D1A); }
.tm-tk-cua .tieu svg { width: 20px; height: 20px; color: var(--son, #C8382B); flex: none; }
.tm-tk-cua .phu { margin: 0 auto 14px; max-width: 42ch; font-size: 14.5px; line-height: 1.5; color: var(--mo, #7A7266); }
.tm-tk-cua .tm-xt-luu-nut { justify-content: center; }
.tm-tk-cua .tm-xt-luu-nut button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #D9D2C6; border-radius: 12px; background: #fff; font: 600 14.5px var(--sans, system-ui); color: var(--muc, #1F1D1A); cursor: pointer; }
.tm-tk-cua .tm-xt-luu-nut button:hover { border-color: #B9AE9C; }
.tm-tk-cua .tm-xt-luu-nut svg { width: 20px; height: 20px; }
.tm-tk-cua button:focus-visible { outline: 2px solid var(--son, #C8382B); outline-offset: 2px; }
@media (max-width: 640px) { .tm-tk-cua .tm-xt-luu-nut button { flex: 1 1 0; justify-content: center; padding: 0 10px; } }
/* Đăng ký trong hộp đăng nhập (21/10/2026) */
.tm-tk-dk { margin: 16px 0 0; font-size: 14.5px; color: var(--tk-mo); }
.tm-tk-dk button { border: 0; background: none; padding: 0 4px; min-height: 44px; font: 600 14.5px var(--tk-sans); color: var(--tk-son); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.tm-tk-dk button:focus-visible { outline: 2px solid var(--tk-son); outline-offset: 2px; border-radius: 6px; }
.tm-tk-dk-email { text-align: center; margin-top: 8px; }
.tm-tk-nho { margin-top: 6px; }
/* Mật khẩu (21/10/2026): ô mật khẩu có nút Hiện / Ẩn, link Quên mật khẩu */
.tm-tk-o-mk { margin-top: 14px; }
.tm-tk-o-mk label span { font-weight: 400; color: var(--tk-mo); }
.tm-tk-o-mk .o { position: relative; }
.tm-tk .tm-tk-o-mk input { width: 100%; min-height: 50px; padding: 0 70px 0 14px; border: 1px solid #CFC6B6; border-radius: 12px; font: 400 17px var(--tk-sans); color: var(--tk-muc); background: #fff; }
.tm-tk .tm-tk-o-mk input:focus { outline: none; border-color: var(--tk-son); box-shadow: 0 0 0 3px rgba(200,56,43,.15); }
.tm-tk-o-mk .hien { position: absolute; right: 4px; top: 3px; min-width: 60px; min-height: 44px; border: 0; background: none; color: var(--tk-son); font: 600 14px var(--tk-sans); cursor: pointer; border-radius: 10px; }
.tm-tk-quen[hidden] { display: none; }
.tm-tk-quen { display: block; margin: 4px 0 0 auto; min-height: 40px; padding: 0 2px; border: 0; background: none; color: var(--tk-son); font: 500 14px var(--tk-sans); cursor: pointer; }
.tm-tk-o-mk .hien:focus-visible, .tm-tk-quen:focus-visible { outline: 2px solid var(--tk-son); outline-offset: 2px; }
.tm-tk-dk-co { text-align: center; margin-top: 8px; }
.tk-mk { display: flex; gap: 8px; flex-wrap: wrap; flex: none; justify-content: flex-end; }
.tk-mk input { width: 180px; min-height: 44px; padding: 0 12px; border: 1px solid #CFC6B6; border-radius: 11px; font: 400 15px var(--tk-sans); color: var(--tk-muc); background: #fff; }
.tk-mk input:focus { outline: none; border-color: var(--tk-son); box-shadow: 0 0 0 3px rgba(200,56,43,.15); }
.tk-cai .tk-mk button { background: var(--tk-son); color: #fff; border-color: var(--tk-son); }
@media (max-width: 560px) { .tk-mk { width: 100%; } .tk-mk input { flex: 1 1 100%; width: auto; } .tk-mk button { width: 100%; } }
/* Bản xem trước có đầu trang + chân trang (21/10/2026): đầu trang thật ghim trên cùng, nổi trên màn xem trước;
   màn xem trước bắt đầu ngay dưới đầu trang (top đặt bằng JS theo chiều cao đầu trang); chân trang chép vào cuối phần cuộn */
html.tm-xt-mo .tm-dau { position: fixed; top: 0; left: 0; right: 0; z-index: 95; }
.tm-xt.tm-xt-co-dau { border-top: 1px solid #D6C8AF; }
.tm-xt-cuon > footer.tm-chan { margin-top: 24px; }
/* Khoá hết phần dưới cửa đăng nhập (21/10/2026) + danh sách phần còn khoá trong cửa */
.tm-xt .tm-tk-an { display: none !important; }
.tm-tk-con { margin: 16px auto 0; max-width: 360px; text-align: left; border-top: 1px solid #E3D8C6; padding-top: 12px; }
.tm-tk-con p { margin: 0 0 6px; font: 600 13.5px var(--sans, system-ui); color: var(--mo, #7A7266); }
.tm-tk-con ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tm-tk-con li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.4; color: var(--muc, #1F1D1A); }
.tm-tk-con li::before { content: ""; position: absolute; left: 2px; top: 3px; width: 12px; height: 12px; border-radius: 3px; border: 1.6px solid #9A7B4F; box-sizing: border-box; }
.tm-tk-con li::after { content: ""; position: absolute; left: 5px; top: -1px; width: 6px; height: 6px; border: 1.6px solid #9A7B4F; border-bottom: 0; border-radius: 4px 4px 0 0; box-sizing: border-box; }
/* Hộp Xác nhận hồ sơ trước khi sang mã QR (21/10/2026, dựng theo ui-ux-pro-max: một nút chính, biểu tượng SVG,
   vùng bấm ≥ 44px, máy tính = thẻ giữa màn phóng nhẹ, điện thoại = hộp trượt từ đáy có vạch kéo; tắt chuyển động khi máy yêu cầu) */
.tm-xn { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; background: rgba(23,21,18,0); transition: background-color .2s ease-out; -webkit-tap-highlight-color: transparent; }
.tm-xn.mo { background: rgba(23,21,18,.58); }
.tm-xn.dong { background: rgba(23,21,18,0); transition-duration: .14s; }
.tm-xn-hop { position: relative; display: flex; flex-direction: column; width: min(448px, 100%); max-height: calc(100dvh - 32px); overflow: hidden; background: #fff; border-radius: 22px; padding: 0; box-shadow: 0 30px 80px rgba(23,21,18,.28), 0 2px 6px rgba(23,21,18,.08); color: var(--tk-muc); font-family: var(--tk-sans); text-align: left;
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .22s ease-out, transform .26s cubic-bezier(.2,.9,.3,1.15); }
.tm-xn-hop:focus { outline: none; }
.tm-xn.mo .tm-xn-hop { opacity: 1; transform: none; }
.tm-xn.dong .tm-xn-hop { opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .14s ease-in, transform .14s ease-in; }
.tm-xn-keo { display: none; }
.tm-xn-than { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 16px; }
.tm-xn-chan { flex: none; padding: 0 22px 14px; background: #fff; }
.tm-xn-than.cuon + .tm-xn-chan { box-shadow: 0 -10px 20px -12px rgba(31,29,26,.25); }
.tm-xn-dinh { display: flex; align-items: center; justify-content: space-between; margin: 0 -8px 10px 0; }
.tm-xn-buoc { margin: 0; display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px var(--tk-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--tk-son); }
.tm-xn-buoc::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.tm-xn-dong { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: var(--tk-mo); cursor: pointer; transition: background-color .15s, color .15s; }
.tm-xn-dong svg { width: 20px; height: 20px; }
.tm-xn-dong:hover { background: #F3EEE6; color: var(--tk-muc); }
/* Thẻ hồ sơ: bìa mẫu + tên + lập cho ai + số trang / phút */
.tm-xn-sp { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 16px; background: linear-gradient(180deg, #F8F3EB, #F3ECE1); border: 1px solid #EAE0D0; }
.tm-xn-bia { width: 72px; height: auto; aspect-ratio: 84 / 119; object-fit: cover; border-radius: 5px; display: block; box-shadow: 0 10px 22px rgba(31,29,26,.22), 0 1px 2px rgba(31,29,26,.2); transform: rotate(-2.5deg); }
.tm-xn-sp-chu { min-width: 0; }
.tm-xn-sp h2 { margin: 0; font: 600 20px/1.25 var(--tk-serif); color: var(--tk-muc); text-wrap: balance; }
.tm-xn-cho { margin: 4px 0 0; font-size: 14.5px; line-height: 1.4; color: var(--tk-mo); overflow-wrap: anywhere; }
.tm-xn-cho b { font-weight: 600; color: var(--tk-muc); }
.tm-xn-so { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tm-xn-so span { display: inline-flex; align-items: baseline; gap: 4px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid #E3D8C6; font-size: 13px; color: var(--tk-mo); white-space: nowrap; }
.tm-xn-so span b { font-weight: 600; color: var(--tk-muc); font-variant-numeric: tabular-nums; }
/* Bạn nhận được */
.tm-xn-co { margin: 18px 0 0; }
.tm-xn-co h3 { margin: 0 0 10px; font: 600 13.5px var(--tk-sans); color: var(--tk-mo); }
.tm-xn-co ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tm-xn-co li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; }
.tm-xn-co li svg { width: 20px; height: 20px; margin-top: 1px; fill: #2F6B3A; }
.tm-xn-gui { margin: 16px 0 0; display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; padding: 11px 12px; border-radius: 12px; background: #F7F4EE; font-size: 14px; line-height: 1.45; color: var(--tk-mo); }
.tm-xn-gui svg { width: 20px; height: 20px; color: var(--tk-mo); }
.tm-xn-gui b { font-weight: 600; color: var(--tk-muc); overflow-wrap: anywhere; }
/* Tổng + nút */
.tm-xn-tien { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; padding-top: 14px; border-top: 1px solid #EFE8DC; }
.tm-xn-tien > span { font-size: 15px; color: var(--tk-mo); }
.tm-xn-tien p { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.tm-xn-tien b { font: 600 28px/1 var(--tk-serif); color: var(--tk-muc); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.tm-xn-tien s { font-size: 14px; color: var(--tk-mo); font-variant-numeric: tabular-nums; }
.tm-xn-tiep { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin-top: 12px; padding: 0 20px; border: 0; border-radius: 14px; background: var(--tk-son); color: #fff; font: 600 16.5px var(--tk-sans); cursor: pointer; box-shadow: 0 10px 24px rgba(200,56,43,.28); transition: background-color .15s, transform .1s, box-shadow .15s; touch-action: manipulation; }
.tm-xn-tiep svg { width: 20px; height: 20px; transition: transform .18s ease-out; }
.tm-xn-tiep:hover { background: var(--tk-son-dam); box-shadow: 0 12px 28px rgba(169,45,34,.32); }
.tm-xn-tiep:hover svg { transform: translateX(3px); }
.tm-xn-tiep:active { transform: scale(.985); }
.tm-xn-tiep:focus-visible, .tm-xn-lai:focus-visible, .tm-xn-dong:focus-visible { outline: 3px solid rgba(200,56,43,.45); outline-offset: 3px; }
.tm-xn-lai { display: block; width: 100%; min-height: 44px; margin-top: 4px; border: 0; border-radius: 12px; background: transparent; color: var(--tk-mo); font: 500 14.5px var(--tk-sans); cursor: pointer; }
.tm-xn-lai:hover { color: var(--tk-muc); text-decoration: underline; text-underline-offset: 3px; }
.tm-xn-cam { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.tm-xn-cam li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; font-size: 13px; line-height: 1.4; color: var(--tk-mo); }
.tm-xn-cam svg { width: 18px; height: 18px; color: #2F6B3A; }
/* Điện thoại: hộp trượt từ đáy */
@media (max-width: 560px) {
  .tm-xn { place-items: end stretch; padding: 0; }
  .tm-xn-hop { width: 100%; max-height: 94dvh; border-radius: 22px 22px 0 0; padding: 0; transform: translateY(100%); opacity: 1; transition: transform .3s cubic-bezier(.2,.85,.3,1); }
  .tm-xn.dong .tm-xn-hop { transform: translateY(100%); opacity: 1; transition: transform .18s ease-in; }
  .tm-xn-keo { display: block; flex: none; width: 40px; height: 4px; margin: 8px auto 0; border-radius: 4px; background: #DCD3C5; }
  .tm-xn-than { padding: 4px 16px 14px; }
  .tm-xn-chan { padding: 0 16px max(8px, env(safe-area-inset-bottom)); }
  .tm-xn-tien { padding-top: 12px; }
  .tm-xn-tiep { margin-top: 10px; }
  .tm-xn-lai { margin-top: 0; }
  .tm-xn-dinh { margin-bottom: 8px; }
  .tm-xn-sp { grid-template-columns: 60px 1fr; gap: 14px; padding: 12px; }
  .tm-xn-bia { width: 60px; }
  .tm-xn-sp h2 { font-size: 18.5px; }
  .tm-xn-co { margin-top: 16px; }
  .tm-xn-co ul { gap: 8px; }
  .tm-xn-co li { font-size: 14.5px; }
  .tm-xn-tien b { font-size: 26px; }
  .tm-xn-cam { grid-template-columns: 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .tm-xn, .tm-xn-hop, .tm-xn.dong .tm-xn-hop, .tm-xn-tiep, .tm-xn-tiep svg { transition: none !important; }
  .tm-xn-hop { transform: none !important; }
}

/* Tài khoản đăng ký chưa xác nhận email (21/10/2026): khung nhắc ở trang Hồ sơ của tôi */
.tk-xac { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; padding: 16px 18px; border: 1.5px solid #E7C9A6; border-radius: 14px; background: #FFF7EC; }
.tk-xac p { margin: 0; flex: 1 1 260px; font-size: 15px; }
.tk-xac button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 11px; background: var(--tk-son); color: #fff; font: 600 15px var(--tk-sans); cursor: pointer; }
.tk-xac button:focus-visible { outline: 2px solid var(--tk-son); outline-offset: 2px; }
/* Hồ sơ của tôi chia tab (22/10/2026, anh đưa mẫu trang Cài đặt tài khoản; dựng theo ui-ux-pro-max): thanh tab gạch chân,
   biểu tượng + chữ + số đếm, điện thoại vuốt ngang; mỗi tab là các khối thẻ trắng có tiêu đề */
.tk-tab { display: flex; gap: 4px; margin: 8px 0 22px; border-bottom: 1px solid var(--tk-vien); overflow-x: auto; scrollbar-width: none; }
.tk-tab::-webkit-scrollbar { display: none; }
.tk-tab button { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 48px; padding: 0 14px; border: 0; background: none; color: var(--tk-mo); font: 500 15.5px var(--tk-sans); cursor: pointer; white-space: nowrap; transition: color .15s; }
.tk-tab button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tk-tab button small { min-width: 20px; padding: 1px 7px; border-radius: 999px; background: #F1ECE4; font: 600 12px var(--tk-sans); color: var(--tk-mo); text-align: center; font-variant-numeric: tabular-nums; }
.tk-tab button:hover { color: var(--tk-muc); }
.tk-tab button[aria-selected="true"] { color: var(--tk-muc); font-weight: 600; }
.tk-tab button[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2.5px; border-radius: 2px; background: var(--tk-muc); }
.tk-tab button[aria-selected="true"] small { background: var(--tk-muc); color: #fff; }
.tk-tab button:focus-visible { outline: 3px solid rgba(200,56,43,.4); outline-offset: -3px; border-radius: 10px; }
.tk-ngan[hidden] { display: none; }
.tk-ngan:focus { outline: none; }
.tk-khoi { background: #fff; border: 1px solid var(--tk-vien); border-radius: 18px; padding: 22px 24px; margin-bottom: 16px; }
.tk-khoi > h2 { margin: 0 0 6px !important; font: 600 19px/1.3 var(--tk-serif); }
.tk-khoi .dan { margin: 0 0 16px; color: var(--tk-mo); font-size: 15px; }
.tk-khoi .tk-cai { border: 0; padding: 0; background: none; }
.tk-the-mk form { display: grid; gap: 14px; max-width: 560px; }
.tk-truong { display: grid; gap: 6px; }
.tk-truong > span:first-child { font: 600 14.5px var(--tk-sans); color: var(--tk-muc); }
.tk-truong .o { position: relative; display: flex; align-items: center; }
.tk-truong .kh { position: absolute; left: 14px; width: 19px; height: 19px; fill: none; stroke: var(--tk-mo); stroke-width: 1.7; stroke-linecap: round; pointer-events: none; }
.tk-truong input { width: 100%; min-height: 50px; padding: 0 50px 0 44px; border: 1px solid #D9D2C6; border-radius: 13px; background: #fff; font: 400 16px var(--tk-sans); color: var(--tk-muc); }
.tk-truong input::placeholder { color: #A39A8C; }
.tk-truong input:focus { outline: none; border-color: var(--tk-son); box-shadow: 0 0 0 3px rgba(200,56,43,.14); }
.tk-truong .mat { position: absolute; right: 4px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: none; color: var(--tk-mo); cursor: pointer; }
.tk-truong .mat svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.tk-truong .mat[aria-pressed="true"] { color: var(--tk-son); }
.tk-truong .mat:focus-visible { outline: 2px solid var(--tk-son); }
.tk-mk-bao { margin: -4px 0 0; min-height: 20px; font-size: 14px; color: var(--loi, #B3261E); }
.tk-mk-bao.ok { color: #2F6B3A; }
.tk-mk-nut { min-height: 50px; border: 0; border-radius: 13px; background: var(--tk-son); color: #fff; font: 600 16px var(--tk-sans); cursor: pointer; transition: background-color .15s, opacity .15s; }
.tk-mk-nut:hover:not(:disabled) { background: var(--tk-son-dam); }
.tk-mk-nut:disabled { background: #EDE7DD; color: #8C8476; cursor: not-allowed; }
.tk-mk-nut:focus-visible { outline: 3px solid rgba(200,56,43,.4); outline-offset: 2px; }
.tk-nguy { border-color: #F0D2CD; }
.tk-nguy .nguy { min-height: 46px; padding: 0 18px; border-radius: 12px; border: 1px solid #E7B9B4; background: #fff; color: var(--loi, #B3261E); font: 600 15px var(--tk-sans); cursor: pointer; }
.tk-nguy .nguy:hover { background: #FBECEA; }
@media (max-width: 640px) {
  .tk-tab { margin: 4px -16px 18px; padding: 0 8px; }
  .tk-tab button { padding: 0 10px; font-size: 15px; }
  .tk-khoi { padding: 18px 16px; border-radius: 16px; }
}
@media (max-width: 420px) { .tk-tab { gap: 0; } .tk-tab button { padding: 0 9px; gap: 6px; } .tk-tab button svg, .tk-tab .dai { display: none; } }
@media (prefers-reduced-motion: reduce) { .tk-tab button, .tk-mk-nut { transition: none; } }
