/* Kiểu "Dễ dùng" (mặc định): trang Cầm đồ có các ô việc lớn thay cho các ô số liệu. Chỉ ảnh hưởng trang Cầm đồ. */
.de-dung { max-width: 980px; margin: 0 auto; padding: 8px 4px 0; }
.viec-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.viec-lon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px 16px; font: inherit; text-align: center; cursor: pointer;
  background: #fff; border: 2px solid #dfe3ea; border-radius: 14px; box-shadow: 0 2px 6px rgba(0, 0, 0, .06); transition: transform .12s, box-shadow .12s, border-color .12s; }
.viec-lon:hover { transform: translateY(-2px); border-color: var(--mau); box-shadow: 0 6px 14px rgba(0, 0, 0, .1); }
.viec-lon .tron { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--mau) 16%, #fff); color: var(--mau); }
.viec-lon .tron svg.bt { width: 30px; height: 30px; }
.viec-lon b { font-size: 18px; color: var(--chu); }
.viec-lon small { font-size: 13px; color: var(--chu-mo); line-height: 1.3; }
.viec-lon.chon { border-color: var(--mau); background: color-mix(in srgb, var(--mau) 10%, #fff); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mau) 30%, transparent); }
.viec-lon.chon::after { content: "✓ Đang chọn"; position: absolute; top: 8px; right: 10px; font-size: 12px; font-weight: 700; color: var(--mau); }
.de-dung .huong-dan { margin: 8px 2px 0; color: var(--chu-mo); font-size: 14px; }
.khoi-cam-do { margin-bottom: 18px; padding: 0; max-width: none; }

/* Ô chọn kiểu giao diện trong menu tài khoản */
.xo-ra .chon-kieu > span { flex-basis: 100%; font-size: 12px; color: var(--chu-mo); }
.xo-ra:not(.trai):not(.viec) .chon-kieu button:not(:disabled) { width: auto; flex: 1 1 auto; margin: 0; padding: 6px 10px; text-align: center; background: #fff; color: var(--chu); border: 1px solid var(--vien-o); border-radius: 4px; font-size: 13px; }
.xo-ra:not(.trai):not(.viec) .chon-kieu button.chon:not(:disabled) { background: var(--lam); color: var(--tren-lam); border-color: var(--lam); font-weight: 600; }

/* ---- Phối màu thêm (chọn ở ô "Giao diện" trong menu tài khoản) ---- */
:root[data-giao-dien="xanh-bien"] { --lam: #0b7dda; --ben: #123456; --ben-dam: #0a1f36; }
:root[data-giao-dien="hong-dao"] { --lam: #d6457a; --ben: #4a2237; --ben-dam: #2a1020; }
:root[data-giao-dien="vang-dong"] { --lam: #a16207; --ben: #3b2f1a; --ben-dam: #211a0d; }

/* ---- Dễ dùng: làm mới theo phong cách hiện đại, màu theo giao diện đã chọn ---- */
.khoi-cam-do { max-width: none; margin-bottom: 20px; padding: 18px !important; border-radius: 18px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--lam) 8%, #fff), color-mix(in srgb, var(--lam) 2%, #fff));
  border: 1px solid color-mix(in srgb, var(--lam) 16%, #fff); box-shadow: 0 6px 18px rgba(20, 30, 60, .07); }
.viec-lon { border-radius: 16px; border: 2px solid color-mix(in srgb, var(--mau) 20%, #e6e9f0); box-shadow: 0 2px 8px rgba(20, 30, 60, .08); }
.viec-lon .tron { background: linear-gradient(135deg, color-mix(in srgb, var(--mau) 24%, #fff), color-mix(in srgb, var(--mau) 8%, #fff)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--mau) 9%, transparent); }
.viec-lon:hover { transform: translateY(-3px); box-shadow: 0 12px 24px color-mix(in srgb, var(--mau) 26%, transparent); }
.viec-lon.chon { background: linear-gradient(180deg, color-mix(in srgb, var(--mau) 16%, #fff), #fff); }
.viec-lon b { font-size: 17px; letter-spacing: .1px; }
#noi-dung:has(.khoi-cam-do) .the { border-radius: 14px; box-shadow: 0 3px 12px rgba(20, 30, 60, .07); }
#noi-dung:has(.khoi-cam-do) th { background: color-mix(in srgb, var(--lam) 10%, #fff); color: var(--lam-dam); border-bottom: 2px solid color-mix(in srgb, var(--lam) 28%, #fff); }
#noi-dung:has(.khoi-cam-do) tbody tr:hover td { background: color-mix(in srgb, var(--lam) 6%, #fff); }
#noi-dung:has(.khoi-cam-do) .nut.xanh, #noi-dung:has(.khoi-cam-do) .nut.lam { border-radius: 8px; box-shadow: 0 2px 6px color-mix(in srgb, var(--lam) 35%, transparent); }

.chon-giao-dien > div { flex-wrap: wrap; }
.viec-luoi { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* ---- Dải việc hôm nay, màu trạng thái trong danh sách, cỡ to cho màn hình cảm ứng ---- */
.dai-han { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.dai-han .nhan-han { font-weight: 600; color: var(--chu-mo); }
.chip-han { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: 14px; cursor: pointer; border: 1px solid; transition: transform .12s, box-shadow .12s; }
.chip-han b { font-size: 17px; }
.chip-han:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(20, 30, 60, .15); }
.chip-han.vang { background: #fff7e0; color: #8a5a00; border-color: #f2c14e; }
.chip-han.do { background: #ffecec; color: #b42318; border-color: #f3a5a5; }
.chip-han.rong { background: #f3f5f8; color: #868e96; border-color: #dfe3ea; }
#noi-dung:has(.khoi-cam-do) tbody tr:has(.nhan.qua_han) td:first-child { box-shadow: inset 5px 0 0 #e5484d; }
#noi-dung:has(.khoi-cam-do) tbody tr:has(.nhan.cham_lai) td:first-child { box-shadow: inset 5px 0 0 #f5821f; }
#noi-dung:has(.khoi-cam-do) tbody tr:has(.nhan.den_ngay) td:first-child { box-shadow: inset 5px 0 0 #f2b705; }
@media (pointer: coarse) {
  .viec-lon { padding: 24px 12px 20px; }
  .viec-lon .tron { width: 64px; height: 64px; }
  body.kieu-2gold .nut, body.kieu-de-dung .nut { min-height: 44px; }
}

/* ---- Bảng điều hành (đầu trang chủ chủ tiệm) và nhật ký thao tác ---- */
.dieu-hanh { margin-bottom: 18px; }
.dh-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 14px; }
.dh-the { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: #fff; border: 1px solid #e3e7ee; border-left: 5px solid #cfd5df; border-radius: 12px; box-shadow: 0 2px 8px rgba(20, 30, 60, .06); color: var(--chu); text-decoration: none; transition: transform .12s, box-shadow .12s; }
a.dh-the:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(20, 30, 60, .14); }
.dh-the small { color: var(--chu-mo); font-weight: 600; }
.dh-the b { font-size: 24px; line-height: 1.2; }
.dh-the span { font-size: 12.5px; color: var(--chu-mo); }
.dh-the.xanh { border-left-color: #1f9d6b; }
.dh-the.xanh b { color: #1f9d6b; }
.dh-the.vang { border-left-color: #f2b705; background: #fffaf0; }
.dh-the.do { border-left-color: #e5484d; background: #fff4f4; }
.dh-the.do b { color: #c62828; }
.dh-the.rong b { color: #9aa3b2; }
.dh-rr { padding: 8px 0; border-bottom: 1px dashed #e3e7ee; }
tr.dong-rui-ro td { background: #fff4f4; }

@media (pointer: coarse) and (min-width: 901px) { body.kieu-2gold .thanh-ben a:not(.ten-tiem), body.kieu-2gold .thanh-ben .cha { height: 78px; width: 104px; font-size: 13px; } }

/* ---- Dễ dùng: ô việc nhỏ gọn, tô màu đậm, nhường chỗ cho phần thông tin ---- */
.khoi-cam-do { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 8px 10px !important; margin-bottom: 10px; border-radius: 12px; }
.khoi-cam-do .viec-luoi { display: flex; flex-wrap: wrap; flex-basis: 100%; gap: 8px; }
.khoi-cam-do .viec-lon { flex-direction: row; align-items: center; gap: 10px; padding: 8px 18px 8px 10px; min-height: 48px; min-width: 150px; border: 0.5px solid #dfe3ea; border-left: 4px solid var(--mau); border-radius: 8px; color: var(--chu);
  background: #fff; box-shadow: 0 1px 3px rgba(20, 30, 60, .08); transition: transform .12s, box-shadow .12s; }
.khoi-cam-do .viec-lon .tron { width: 32px; height: 32px; border-radius: 8px; background: color-mix(in srgb, var(--mau) 14%, #fff); box-shadow: none; color: var(--mau); }
.khoi-cam-do .viec-lon .tron svg.bt { width: 19px; height: 19px; }
.khoi-cam-do .viec-lon b { font-size: 17px; font-weight: 600; color: var(--chu); letter-spacing: 0; }
.khoi-cam-do .viec-lon small { display: none; }
.khoi-cam-do .viec-lon:hover { transform: translateY(-2px); box-shadow: 0 6px 14px color-mix(in srgb, var(--mau) 22%, transparent); }
.khoi-cam-do .viec-lon.chon { background: color-mix(in srgb, var(--mau) 9%, #fff); border-color: var(--mau); box-shadow: 0 0 0 2px color-mix(in srgb, var(--mau) 35%, transparent); }
.khoi-cam-do .viec-lon.chon::after { position: static; content: "✓"; font-size: 17px; font-weight: 700; color: var(--mau); margin-left: 2px; }
.khoi-cam-do .huong-dan { margin: 0; font-size: 12px; }
.khoi-cam-do .dai-han { margin: 0; gap: 8px; }
.khoi-cam-do .dai-han .nhan-han { font-size: 12px; }
.khoi-cam-do .chip-han { padding: 2px 10px; font-size: 12px; }
.khoi-cam-do .chip-han b { font-size: 14px; }
@media (pointer: coarse) { .khoi-cam-do .viec-lon { padding: 13px 23px 13px 13px; } }

/* ---- Trang hợp đồng (Dễ dùng và skin): bỏ dòng tiêu đề "Hợp đồng cầm đồ...", nội dung đưa lên sát đỉnh ---- */
#noi-dung:has(.khoi-cam-do) .tieu-de, body.kieu-2gold #noi-dung:has(#khung-nhap) .tieu-de { display: none; }
body.kieu-de-dung #noi-dung:has(.khoi-cam-do) { padding-top: 4px; }
body.kieu-2gold #noi-dung:has(#khung-nhap) { padding-top: 4px; }
#noi-dung:has(.khoi-cam-do) .khoi-cam-do { margin-top: 0; }

/* ---- Cảnh báo Zalo không gửi được tin: đưa lên thanh trên cùng, ngang hàng Báo xấu và cảnh báo quá hạn; bỏ khung cảnh báo to trong trang ---- */
body.kieu-de-dung .zalo-canh-bao, body.kieu-2gold .zalo-canh-bao { display: none; }
.dh-zalo { display: inline-flex; align-items: center; }
.dh-zalo .chip-zalo { font-size: 12.5px; font-weight: 600; color: #b42318; }
.dh-zalo .chip-zalo b { background: var(--do); color: #fff; padding: 0 7px; border-radius: 999px; font-size: 12px; }
.dh-zalo .chip-zalo img { width: 22px; height: 22px; display: block; }
body.kieu-2gold .dh-zalo .chip-zalo { color: #b42318; }

/* ---- Trang danh sách hợp đồng: nút việc, dòng tìm kiếm, thanh Zalo đứng yên khi lăn chuột (chỉ máy tính; vị trí do UD.canDinh đo) ---- */
@media (min-width: 901px) {
  body.kieu-de-dung #noi-dung .khoi-cam-do, body.kieu-2gold #noi-dung #khung-nhap .hang-ma-hd { position: sticky; top: var(--d1, 70px); z-index: 4; }
  body.kieu-de-dung #noi-dung:has(.khoi-cam-do) .the > form.loc, body.kieu-2gold #noi-dung:has(#khung-nhap) .the > form.loc { position: sticky; top: var(--d2, 120px); z-index: 3; background: var(--the); margin: 0 -20px; padding: 8px 20px 8px; }
  body.kieu-de-dung #noi-dung:has(.khoi-cam-do) .the > .dai-zalo, body.kieu-2gold #noi-dung:has(#khung-nhap) .the > .dai-zalo { position: sticky; top: var(--d3, 170px); z-index: 2; background: var(--the); margin: 0 -20px 10px; padding: 6px 20px 8px; }
}

body.pc-ios .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #c7d2fe 0, transparent 45%), radial-gradient(circle at 88% 30%, #a7e3d3 0, transparent 45%), radial-gradient(circle at 50% 110%, #fde3b0 0, transparent 50%), #eef1f8 !important; border-radius: 18px !important; }
body.pc-ios .khoi-cam-do .viec-luoi { display: inline-flex; flex-wrap: wrap; flex-basis: auto; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .16), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
body.pc-ios .khoi-cam-do .viec-lon { flex-direction: row; align-items: center; gap: 8px; padding: 0 22px 0 14px; min-height: 46px; min-width: 130px; border: 0; border-radius: 999px; color: var(--chu); background: transparent; box-shadow: none; transition: all .18s; }
body.pc-ios .khoi-cam-do .viec-lon .tron { width: 28px; height: 28px; border-radius: 50%; background: transparent; box-shadow: none; color: var(--mau); }
body.pc-ios .khoi-cam-do .viec-lon .tron svg.bt { width: 22px; height: 22px; }
body.pc-ios .khoi-cam-do .viec-lon b { font-size: 16.5px; font-weight: 600; color: var(--chu); letter-spacing: 0; }
body.pc-ios .khoi-cam-do .viec-lon small { display: none; }
body.pc-ios .khoi-cam-do .viec-lon:hover { transform: none; background: rgba(255, 255, 255, .6); box-shadow: none; }
body.pc-ios .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .92); border: 0; box-shadow: 0 2px 8px rgba(40, 50, 90, .22), inset 0 1px 0 #fff; }
body.pc-ios .khoi-cam-do .viec-lon.chon::after { content: none; }
/* ---- Phong cách iOS: Liquid Glass (chọn trong menu Giao diện). Muốn bỏ: xóa từ dòng này đến dòng "Phong cách Samsung". ---- */
body.kieu-de-dung.pc-ios { background: fixed radial-gradient(circle at 10% 15%, #c7d2fe 0, transparent 42%), radial-gradient(circle at 90% 25%, #a7e3d3 0, transparent 42%), radial-gradient(circle at 55% 105%, #fde3b0 0, transparent 48%), #eef1f8; }
body.kieu-de-dung.pc-ios .than { background: transparent; }
body.kieu-de-dung.pc-ios .thanh-ben { margin: 10px 0 10px 10px; height: calc(100vh - 20px); border-radius: 22px; background: color-mix(in srgb, var(--ben) 78%, transparent); border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 10px 30px rgba(20, 30, 60, .25), inset 0 1px 0 rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
body.kieu-de-dung.pc-ios .thanh-ben a, body.kieu-de-dung.pc-ios .thanh-ben .cha { border-radius: 14px; }
body.kieu-de-dung.pc-ios .dau-trang { margin: 10px 10px 0; height: 60px; border-radius: 999px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); top: 10px; }
body.kieu-de-dung.pc-ios .the { border-radius: 22px; padding: 22px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 8px 28px rgba(40, 50, 90, .1), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
body.kieu-de-dung.pc-ios .nut { border-radius: 999px; }
body.kieu-de-dung.pc-ios .nut.vuong { border-radius: 12px; }
body.kieu-de-dung.pc-ios .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(40, 50, 90, .12); }
body.kieu-de-dung.pc-ios input, body.kieu-de-dung.pc-ios select, body.kieu-de-dung.pc-ios textarea { border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 3px rgba(40, 50, 90, .1); }
body.kieu-de-dung.pc-ios th { background: rgba(255, 255, 255, .45); }
body.kieu-de-dung.pc-ios th:first-child { border-top-left-radius: 14px; }
body.kieu-de-dung.pc-ios th:last-child { border-top-right-radius: 14px; }
body.kieu-de-dung.pc-ios td, body.kieu-de-dung.pc-ios th { border-bottom-color: rgba(31, 36, 48, .08); }
body.kieu-de-dung.pc-ios .xo-ra, body.kieu-de-dung.pc-ios .hop, body.kieu-de-dung.pc-ios dialog { border-radius: 20px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }


/* ---- Phong cách Samsung: One UI 9 (khối đặc, bo góc lớn, nhiều khoảng trắng, màu nhấn dịu) ---- */
body.kieu-de-dung.pc-samsung { background: #f2f3f7; }
body.kieu-de-dung.pc-samsung .than { background: transparent; }
body.kieu-de-dung.pc-samsung .thanh-ben { margin: 12px 0 12px 12px; height: calc(100vh - 24px); border-radius: 30px; box-shadow: none; }
body.kieu-de-dung.pc-samsung .thanh-ben a, body.kieu-de-dung.pc-samsung .thanh-ben .cha { border-radius: 18px; }
body.kieu-de-dung.pc-samsung .dau-trang { margin: 12px 12px 0; height: 64px; border-radius: 30px; background: #fff; box-shadow: none; top: 12px; }
body.kieu-de-dung.pc-samsung .the { border-radius: 30px; padding: 24px; background: #fff; border: 0; box-shadow: none; }
body.kieu-de-dung.pc-samsung .the > h3, body.kieu-de-dung.pc-samsung #noi-dung .tieu-de h2 { font-size: 24px; font-weight: 600; letter-spacing: -.2px; }
body.kieu-de-dung.pc-samsung .nut { border-radius: 18px; border-color: transparent; }
body.kieu-de-dung.pc-samsung .nut.vuong { border-radius: 14px; }
body.kieu-de-dung.pc-samsung .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: #eef0f6; box-shadow: none; }
body.kieu-de-dung.pc-samsung input, body.kieu-de-dung.pc-samsung select, body.kieu-de-dung.pc-samsung textarea { border-radius: 16px; background: #f0f1f6; border: 1.5px solid transparent; box-shadow: none; }
body.kieu-de-dung.pc-samsung input:focus, body.kieu-de-dung.pc-samsung select:focus, body.kieu-de-dung.pc-samsung textarea:focus { background: #fff; border-color: var(--lam); }
body.kieu-de-dung.pc-samsung th { background: #f4f5f9; }
body.kieu-de-dung.pc-samsung th:first-child { border-top-left-radius: 16px; }
body.kieu-de-dung.pc-samsung th:last-child { border-top-right-radius: 16px; }
body.kieu-de-dung.pc-samsung td, body.kieu-de-dung.pc-samsung th { border-bottom-color: #eef0f4; }
body.kieu-de-dung.pc-samsung .xo-ra, body.kieu-de-dung.pc-samsung .hop, body.kieu-de-dung.pc-samsung dialog { border-radius: 28px; background: #fff; border: 0; box-shadow: 0 12px 40px rgba(20, 30, 60, .18); }
.chon-phong-cach { padding: 6px 18px 8px; }
.chon-phong-cach > span { display: block; margin-bottom: 6px; font-size: 12px; color: var(--chu-mo); }
.chon-phong-cach > div { display: flex; flex-wrap: wrap; gap: 6px; }
.chon-phong-cach button { border: 1px solid var(--vien-o); background: #fff; color: var(--chu); border-radius: 10px; padding: 5px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.chon-phong-cach button.chon { background: var(--lam); border-color: var(--lam); color: var(--tren-lam); }

/* ---- Menu bên theo phong cách: iOS = kính sáng trong mờ; Samsung = khối trắng đặc, mục chọn là viên bo tròn xanh nhạt ---- */
body.kieu-de-dung.pc-ios .thanh-ben { background: rgba(255, 255, 255, .45); border-color: rgba(255, 255, 255, .85); box-shadow: 0 10px 30px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .95); }
body.kieu-de-dung.pc-samsung .thanh-ben { background: #fff; border: 0; }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem { color: var(--lam); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem:hover { color: var(--lam-dam); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .nhom { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben a, :is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .cha { color: var(--chu); border-color: transparent; }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben svg.bt { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover, :is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover { color: var(--chu); background: rgba(31, 36, 48, .06); border-color: transparent; }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover svg, :is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon, :is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo { color: var(--lam-dam); font-weight: 600; border-color: transparent; background: var(--lam-nhat); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon svg, :is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .chan { border-top-color: rgba(31, 36, 48, .1); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .chan h6 { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .chan div { color: var(--chu); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung) .thanh-ben .chan svg.bt { color: var(--chu-mo); }
body.kieu-de-dung.pc-ios .thanh-ben a, body.kieu-de-dung.pc-ios .thanh-ben .cha { border-radius: 999px; }
body.kieu-de-dung.pc-ios .thanh-ben a.chon, body.kieu-de-dung.pc-ios .thanh-ben .cha.mo { background: rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(40, 50, 90, .18), inset 0 1px 0 #fff; }
body.kieu-de-dung.pc-samsung .thanh-ben a, body.kieu-de-dung.pc-samsung .thanh-ben .cha { border-radius: 20px; min-height: 46px; }

/* ---- Di chuột ở iOS / Samsung: bỏ phóng to và bóng vuông của kiểu cũ, chỉ nổi nhẹ và đổi nền theo góc bo của từng ô ---- */
:is(body.pc-ios, body.pc-samsung) :is(button:not(:disabled), select, summary, [onclick]:not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body)):hover { transform: translateY(-1px); box-shadow: none; z-index: auto; }
:is(body.pc-ios, body.pc-samsung) :is(.nut:hover, .the-tab button:hover, .nut-dau:hover, .thanh-ben a:hover, .thanh-ben .cha:hover) { transform: translateY(-1px); box-shadow: none; }
:is(body.pc-ios, body.pc-samsung) .thanh-ben a:hover svg, :is(body.pc-ios, body.pc-samsung) .thanh-ben .cha:hover svg, :is(body.pc-ios, body.pc-samsung) .nut-dau:hover svg { transform: none; filter: none; }
:is(body.pc-ios, body.pc-samsung) .thanh-ben a.ten-tiem:hover { transform: none; }
:is(body.pc-ios, body.pc-samsung) :is(button, [onclick]):not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body):not(.nut):not(.nut-dau):not(.viec-lon):not(.cha):not(a) { border-radius: 14px; }
body.pc-ios .the-tab button, body.pc-ios .nut-dau { border-radius: 999px; }
body.pc-samsung .the-tab button, body.pc-samsung .nut-dau { border-radius: 16px; }
:is(body.pc-ios, body.pc-samsung) .the-tab button:hover, :is(body.pc-ios, body.pc-samsung) .nut-dau:hover { background: var(--lam-nhat); }

/* ---- Chế độ tối (nút chọn Sáng / Tối / Tự động trong menu) ---- */
:root.toi { color-scheme: dark; --nen: #12141a; --the: #1c1f27; --vien: #2a2e38; --vien-o: #3a3f4c; --chu: #e8eaf0; --chu-ro: #f2f4f8; --chu-mo: #9aa0ae; --lam-nhat: color-mix(in srgb, var(--lam) 26%, #1c1f27); }
:root.toi input, :root.toi select, :root.toi textarea { background: #242833; color: var(--chu); border-color: #3a3f4c; }
:root.toi th { background: #232733; color: var(--chu-ro); }
:root.toi .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: #2a2e38; color: var(--chu); }
:root.toi .the-tab button { background: #232733; border-color: #2f3340; color: var(--chu); }
:root.toi .hop, :root.toi .xo-ra, :root.toi dialog { background: #1c1f27; color: var(--chu); }
:root.toi .viec-lon, :root.toi .khoi-cam-do .viec-lon { background: #232733; color: var(--chu); }
:root.toi .viec-lon b, :root.toi .khoi-cam-do .viec-lon b { color: var(--chu); }
:root.toi .dau-trang { background: var(--the); color: var(--chu); }
:root.toi .chon-phong-cach button { background: #232733; color: var(--chu); border-color: #3a3f4c; }
:root.toi .chon-phong-cach button.chon { background: var(--lam); color: var(--tren-lam); }
:root.toi body.kieu-de-dung.pc-ios { background: fixed radial-gradient(circle at 10% 15%, #2b2f5c 0, transparent 42%), radial-gradient(circle at 90% 25%, #14423a 0, transparent 42%), radial-gradient(circle at 55% 105%, #4a3516 0, transparent 48%), #0e1016; }
:root.toi body.kieu-de-dung.pc-ios .thanh-ben, :root.toi body.kieu-de-dung.pc-ios .dau-trang { background: rgba(30, 34, 44, .55); border-color: rgba(255, 255, 255, .12); box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1); }
:root.toi body.kieu-de-dung.pc-ios .the { background: rgba(30, 34, 44, .6); border-color: rgba(255, 255, 255, .1); box-shadow: 0 8px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
:root.toi body.kieu-de-dung.pc-ios input, :root.toi body.kieu-de-dung.pc-ios select, :root.toi body.kieu-de-dung.pc-ios textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
:root.toi body.kieu-de-dung.pc-ios th { background: rgba(255, 255, 255, .07); }
:root.toi body.kieu-de-dung.pc-ios .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
:root.toi body.kieu-de-dung.pc-ios .xo-ra, :root.toi body.kieu-de-dung.pc-ios .hop, :root.toi body.kieu-de-dung.pc-ios dialog { background: rgba(28, 31, 39, .92); }
:root.toi body.pc-ios .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #2b2f5c 0, transparent 45%), radial-gradient(circle at 88% 30%, #14423a 0, transparent 45%), #12141a !important; }
:root.toi body.pc-ios .khoi-cam-do .viec-luoi { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); }
:root.toi body.pc-ios .khoi-cam-do .viec-lon { background: transparent; }
:root.toi body.pc-ios .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .16); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
:root.toi body.kieu-de-dung.pc-ios .thanh-ben a.chon, :root.toi body.kieu-de-dung.pc-ios .thanh-ben .cha.mo { background: rgba(255, 255, 255, .16); }
:root.toi body.kieu-de-dung.pc-samsung { background: #0a0b0f; }
:root.toi body.kieu-de-dung.pc-samsung .thanh-ben, :root.toi body.kieu-de-dung.pc-samsung .dau-trang, :root.toi body.kieu-de-dung.pc-samsung .the { background: #1b1d24; }
:root.toi body.kieu-de-dung.pc-samsung input, :root.toi body.kieu-de-dung.pc-samsung select, :root.toi body.kieu-de-dung.pc-samsung textarea { background: #262a35; }
:root.toi body.kieu-de-dung.pc-samsung input:focus, :root.toi body.kieu-de-dung.pc-samsung select:focus, :root.toi body.kieu-de-dung.pc-samsung textarea:focus { background: #1b1d24; }
:root.toi body.kieu-de-dung.pc-samsung th { background: #232733; }
:root.toi body.kieu-de-dung.pc-samsung td, :root.toi body.kieu-de-dung.pc-samsung th { border-bottom-color: #2a2e38; }
:root.toi body.kieu-de-dung.pc-samsung .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: #262a35; }
:root.toi body.kieu-de-dung.pc-samsung .xo-ra, :root.toi body.kieu-de-dung.pc-samsung .hop, :root.toi body.kieu-de-dung.pc-samsung dialog { background: #1b1d24; }
:root.toi .thanh-ben { background: var(--ben); }
.chon-che-do { padding: 6px 18px 8px; }
.chon-che-do > span { display: block; margin-bottom: 6px; font-size: 12px; color: var(--chu-mo); }
.chon-che-do > div { display: flex; gap: 6px; }
.chon-che-do button { border: 1px solid var(--vien-o); background: var(--the); color: var(--chu); border-radius: 10px; padding: 5px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.chon-che-do button.chon { background: var(--lam); border-color: var(--lam); color: var(--tren-lam); }

/* ---- Phong cách Huawei: HarmonyOS 6 (kính sáng, thẻ việc có biểu tượng vuông bo góc) ---- */
body.kieu-de-dung.pc-huawei { background: fixed radial-gradient(circle at 10% 15%, #c7d2fe 0, transparent 42%), radial-gradient(circle at 90% 25%, #a7e3d3 0, transparent 42%), radial-gradient(circle at 55% 105%, #fde3b0 0, transparent 48%), #eef1f8; }
body.kieu-de-dung.pc-huawei .than { background: transparent; }
body.kieu-de-dung.pc-huawei .thanh-ben { margin: 10px 0 10px 10px; height: calc(100vh - 20px); border-radius: 22px; background: color-mix(in srgb, var(--ben) 78%, transparent); border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 10px 30px rgba(20, 30, 60, .25), inset 0 1px 0 rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
body.kieu-de-dung.pc-huawei .thanh-ben a, body.kieu-de-dung.pc-huawei .thanh-ben .cha { border-radius: 14px; }
body.kieu-de-dung.pc-huawei .dau-trang { margin: 10px 10px 0; height: 60px; border-radius: 999px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); top: 10px; }
body.kieu-de-dung.pc-huawei .the { border-radius: 22px; padding: 22px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 8px 28px rgba(40, 50, 90, .1), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
body.kieu-de-dung.pc-huawei .nut { border-radius: 999px; }
body.kieu-de-dung.pc-huawei .nut.vuong { border-radius: 12px; }
body.kieu-de-dung.pc-huawei .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(40, 50, 90, .12); }
body.kieu-de-dung.pc-huawei input, body.kieu-de-dung.pc-huawei select, body.kieu-de-dung.pc-huawei textarea { border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 3px rgba(40, 50, 90, .1); }
body.kieu-de-dung.pc-huawei th { background: rgba(255, 255, 255, .45); }
body.kieu-de-dung.pc-huawei th:first-child { border-top-left-radius: 14px; }
body.kieu-de-dung.pc-huawei th:last-child { border-top-right-radius: 14px; }
body.kieu-de-dung.pc-huawei td, body.kieu-de-dung.pc-huawei th { border-bottom-color: rgba(31, 36, 48, .08); }
body.kieu-de-dung.pc-huawei .xo-ra, body.kieu-de-dung.pc-huawei .hop, body.kieu-de-dung.pc-huawei dialog { border-radius: 20px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
body.kieu-de-dung.pc-huawei .thanh-ben { background: rgba(255, 255, 255, .45); border-color: rgba(255, 255, 255, .85); box-shadow: 0 10px 30px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .95); }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem { color: var(--lam); }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem:hover { color: var(--lam-dam); }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .nhom { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben a, :is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .cha { color: var(--chu); border-color: transparent; }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben svg.bt { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover, :is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover { color: var(--chu); background: rgba(31, 36, 48, .06); border-color: transparent; }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover svg, :is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon, :is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo { color: var(--lam-dam); font-weight: 600; border-color: transparent; background: var(--lam-nhat); }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon svg, :is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .chan { border-top-color: rgba(31, 36, 48, .1); }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .chan h6 { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .chan div { color: var(--chu); }
:is(body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-samsung) .thanh-ben .chan svg.bt { color: var(--chu-mo); }
body.kieu-de-dung.pc-huawei .thanh-ben a, body.kieu-de-dung.pc-huawei .thanh-ben .cha { border-radius: 999px; }
body.kieu-de-dung.pc-huawei .thanh-ben a.chon, body.kieu-de-dung.pc-huawei .thanh-ben .cha.mo { background: rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(40, 50, 90, .18), inset 0 1px 0 #fff; }
:is(body.pc-huawei, body.pc-samsung) :is(button:not(:disabled), select, summary, [onclick]:not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body)):hover { transform: translateY(-1px); box-shadow: none; z-index: auto; }
:is(body.pc-huawei, body.pc-samsung) :is(.nut:hover, .the-tab button:hover, .nut-dau:hover, .thanh-ben a:hover, .thanh-ben .cha:hover) { transform: translateY(-1px); box-shadow: none; }
:is(body.pc-huawei, body.pc-samsung) .thanh-ben a:hover svg, :is(body.pc-huawei, body.pc-samsung) .thanh-ben .cha:hover svg, :is(body.pc-huawei, body.pc-samsung) .nut-dau:hover svg { transform: none; filter: none; }
:is(body.pc-huawei, body.pc-samsung) .thanh-ben a.ten-tiem:hover { transform: none; }
:is(body.pc-huawei, body.pc-samsung) :is(button, [onclick]):not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body):not(.nut):not(.nut-dau):not(.viec-lon):not(.cha):not(a) { border-radius: 14px; }
body.pc-huawei .the-tab button, body.pc-huawei .nut-dau { border-radius: 999px; }
:is(body.pc-huawei, body.pc-samsung) .the-tab button:hover, :is(body.pc-huawei, body.pc-samsung) .nut-dau:hover { background: var(--lam-nhat); }
:root.toi body.kieu-de-dung.pc-huawei { background: fixed radial-gradient(circle at 10% 15%, #2b2f5c 0, transparent 42%), radial-gradient(circle at 90% 25%, #14423a 0, transparent 42%), radial-gradient(circle at 55% 105%, #4a3516 0, transparent 48%), #0e1016; }
:root.toi body.kieu-de-dung.pc-huawei .thanh-ben, :root.toi body.kieu-de-dung.pc-huawei .dau-trang { background: rgba(30, 34, 44, .55); border-color: rgba(255, 255, 255, .12); box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1); }
:root.toi body.kieu-de-dung.pc-huawei .the { background: rgba(30, 34, 44, .6); border-color: rgba(255, 255, 255, .1); box-shadow: 0 8px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
:root.toi body.kieu-de-dung.pc-huawei input, :root.toi body.kieu-de-dung.pc-huawei select, :root.toi body.kieu-de-dung.pc-huawei textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
:root.toi body.kieu-de-dung.pc-huawei th { background: rgba(255, 255, 255, .07); }
:root.toi body.kieu-de-dung.pc-huawei .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
:root.toi body.kieu-de-dung.pc-huawei .xo-ra, :root.toi body.kieu-de-dung.pc-huawei .hop, :root.toi body.kieu-de-dung.pc-huawei dialog { background: rgba(28, 31, 39, .92); }
:root.toi body.kieu-de-dung.pc-huawei .thanh-ben a.chon, :root.toi body.kieu-de-dung.pc-huawei .thanh-ben .cha.mo { background: rgba(255, 255, 255, .16); }
body.kieu-de-dung.pc-huawei { background: fixed linear-gradient(160deg, #cfe3ff 0, #e9e4ff 45%, #ffe6d5 100%); }
:root.toi body.kieu-de-dung.pc-huawei { background: fixed linear-gradient(160deg, #101a33 0, #1d1836 45%, #2a1b18 100%); }
body.kieu-de-dung.pc-huawei .the { border-radius: 24px; }
body.kieu-de-dung.pc-huawei .dau-trang { border-radius: 28px; }

/* ---- Phong cách Xiaomi: HyperOS 4 (kính khúc xạ, biểu tượng nổi 2.5D, màu nhấn cam) ---- */
body.kieu-de-dung.pc-xiaomi { background: fixed radial-gradient(circle at 10% 15%, #c7d2fe 0, transparent 42%), radial-gradient(circle at 90% 25%, #a7e3d3 0, transparent 42%), radial-gradient(circle at 55% 105%, #fde3b0 0, transparent 48%), #eef1f8; }
body.kieu-de-dung.pc-xiaomi .than { background: transparent; }
body.kieu-de-dung.pc-xiaomi .thanh-ben { margin: 10px 0 10px 10px; height: calc(100vh - 20px); border-radius: 22px; background: color-mix(in srgb, var(--ben) 78%, transparent); border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 10px 30px rgba(20, 30, 60, .25), inset 0 1px 0 rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
body.kieu-de-dung.pc-xiaomi .thanh-ben a, body.kieu-de-dung.pc-xiaomi .thanh-ben .cha { border-radius: 14px; }
body.kieu-de-dung.pc-xiaomi .dau-trang { margin: 10px 10px 0; height: 60px; border-radius: 999px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); top: 10px; }
body.kieu-de-dung.pc-xiaomi .the { border-radius: 22px; padding: 22px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 8px 28px rgba(40, 50, 90, .1), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
body.kieu-de-dung.pc-xiaomi .nut { border-radius: 999px; }
body.kieu-de-dung.pc-xiaomi .nut.vuong { border-radius: 12px; }
body.kieu-de-dung.pc-xiaomi .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(40, 50, 90, .12); }
body.kieu-de-dung.pc-xiaomi input, body.kieu-de-dung.pc-xiaomi select, body.kieu-de-dung.pc-xiaomi textarea { border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 3px rgba(40, 50, 90, .1); }
body.kieu-de-dung.pc-xiaomi th { background: rgba(255, 255, 255, .45); }
body.kieu-de-dung.pc-xiaomi th:first-child { border-top-left-radius: 14px; }
body.kieu-de-dung.pc-xiaomi th:last-child { border-top-right-radius: 14px; }
body.kieu-de-dung.pc-xiaomi td, body.kieu-de-dung.pc-xiaomi th { border-bottom-color: rgba(31, 36, 48, .08); }
body.kieu-de-dung.pc-xiaomi .xo-ra, body.kieu-de-dung.pc-xiaomi .hop, body.kieu-de-dung.pc-xiaomi dialog { border-radius: 20px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
body.kieu-de-dung.pc-xiaomi .thanh-ben { background: rgba(255, 255, 255, .45); border-color: rgba(255, 255, 255, .85); box-shadow: 0 10px 30px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .95); }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem { color: var(--lam); }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem:hover { color: var(--lam-dam); }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .nhom { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben a, :is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .cha { color: var(--chu); border-color: transparent; }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben svg.bt { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover, :is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover { color: var(--chu); background: rgba(31, 36, 48, .06); border-color: transparent; }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover svg, :is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon, :is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo { color: var(--lam-dam); font-weight: 600; border-color: transparent; background: var(--lam-nhat); }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon svg, :is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .chan { border-top-color: rgba(31, 36, 48, .1); }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .chan h6 { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .chan div { color: var(--chu); }
:is(body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-samsung) .thanh-ben .chan svg.bt { color: var(--chu-mo); }
body.kieu-de-dung.pc-xiaomi .thanh-ben a, body.kieu-de-dung.pc-xiaomi .thanh-ben .cha { border-radius: 999px; }
body.kieu-de-dung.pc-xiaomi .thanh-ben a.chon, body.kieu-de-dung.pc-xiaomi .thanh-ben .cha.mo { background: rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(40, 50, 90, .18), inset 0 1px 0 #fff; }
:is(body.pc-xiaomi, body.pc-samsung) :is(button:not(:disabled), select, summary, [onclick]:not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body)):hover { transform: translateY(-1px); box-shadow: none; z-index: auto; }
:is(body.pc-xiaomi, body.pc-samsung) :is(.nut:hover, .the-tab button:hover, .nut-dau:hover, .thanh-ben a:hover, .thanh-ben .cha:hover) { transform: translateY(-1px); box-shadow: none; }
:is(body.pc-xiaomi, body.pc-samsung) .thanh-ben a:hover svg, :is(body.pc-xiaomi, body.pc-samsung) .thanh-ben .cha:hover svg, :is(body.pc-xiaomi, body.pc-samsung) .nut-dau:hover svg { transform: none; filter: none; }
:is(body.pc-xiaomi, body.pc-samsung) .thanh-ben a.ten-tiem:hover { transform: none; }
:is(body.pc-xiaomi, body.pc-samsung) :is(button, [onclick]):not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body):not(.nut):not(.nut-dau):not(.viec-lon):not(.cha):not(a) { border-radius: 14px; }
body.pc-xiaomi .the-tab button, body.pc-xiaomi .nut-dau { border-radius: 999px; }
:is(body.pc-xiaomi, body.pc-samsung) .the-tab button:hover, :is(body.pc-xiaomi, body.pc-samsung) .nut-dau:hover { background: var(--lam-nhat); }
:root.toi body.kieu-de-dung.pc-xiaomi { background: fixed radial-gradient(circle at 10% 15%, #2b2f5c 0, transparent 42%), radial-gradient(circle at 90% 25%, #14423a 0, transparent 42%), radial-gradient(circle at 55% 105%, #4a3516 0, transparent 48%), #0e1016; }
:root.toi body.kieu-de-dung.pc-xiaomi .thanh-ben, :root.toi body.kieu-de-dung.pc-xiaomi .dau-trang { background: rgba(30, 34, 44, .55); border-color: rgba(255, 255, 255, .12); box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1); }
:root.toi body.kieu-de-dung.pc-xiaomi .the { background: rgba(30, 34, 44, .6); border-color: rgba(255, 255, 255, .1); box-shadow: 0 8px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
:root.toi body.kieu-de-dung.pc-xiaomi input, :root.toi body.kieu-de-dung.pc-xiaomi select, :root.toi body.kieu-de-dung.pc-xiaomi textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
:root.toi body.kieu-de-dung.pc-xiaomi th { background: rgba(255, 255, 255, .07); }
:root.toi body.kieu-de-dung.pc-xiaomi .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
:root.toi body.kieu-de-dung.pc-xiaomi .xo-ra, :root.toi body.kieu-de-dung.pc-xiaomi .hop, :root.toi body.kieu-de-dung.pc-xiaomi dialog { background: rgba(28, 31, 39, .92); }
:root.toi body.pc-xiaomi .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #2b2f5c 0, transparent 45%), radial-gradient(circle at 88% 30%, #14423a 0, transparent 45%), #12141a !important; }
:root.toi body.pc-xiaomi .khoi-cam-do .viec-luoi { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); }
:root.toi body.pc-xiaomi .khoi-cam-do .viec-lon { background: transparent; }
:root.toi body.pc-xiaomi .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .16); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
:root.toi body.kieu-de-dung.pc-xiaomi .thanh-ben a.chon, :root.toi body.kieu-de-dung.pc-xiaomi .thanh-ben .cha.mo { background: rgba(255, 255, 255, .16); }
body.kieu-de-dung.pc-xiaomi { background: fixed radial-gradient(circle at 15% 10%, #ffe3cf 0, transparent 40%), radial-gradient(circle at 90% 30%, #d9e6ff 0, transparent 42%), #f3f4f7; }
:root.toi body.kieu-de-dung.pc-xiaomi { background: fixed radial-gradient(circle at 15% 10%, #3a2414 0, transparent 40%), radial-gradient(circle at 90% 30%, #18253f 0, transparent 42%), #0e0f13; }
body.kieu-de-dung.pc-xiaomi .the, body.kieu-de-dung.pc-xiaomi .dau-trang { border-radius: 26px; box-shadow: 0 10px 30px rgba(30, 40, 70, .12), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .5); }
body.pc-xiaomi .khoi-cam-do { background: transparent !important; padding: 0 !important; box-shadow: none; }
body.pc-xiaomi .khoi-cam-do .viec-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); flex-basis: 100%; width: 100%; gap: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.pc-xiaomi .khoi-cam-do .viec-lon { flex-direction: column; justify-content: center; gap: 8px; padding: 14px 10px; min-height: 104px; min-width: 0; border-radius: 26px; background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 10px 24px rgba(30, 40, 70, .12), inset 0 1px 0 #fff, inset 0 -2px 6px rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5); }
body.pc-xiaomi .khoi-cam-do .viec-lon .tron { position: relative; overflow: hidden; width: 50px; height: 50px; border-radius: 17px; background: linear-gradient(150deg, color-mix(in srgb, var(--mau) 70%, #fff), var(--mau) 55%, color-mix(in srgb, var(--mau) 80%, #000)); color: #fff;
  box-shadow: 0 8px 14px color-mix(in srgb, var(--mau) 45%, transparent), 0 2px 0 color-mix(in srgb, var(--mau) 60%, #000), inset 0 2px 3px rgba(255, 255, 255, .6); }
body.pc-xiaomi .khoi-cam-do .viec-lon .tron::after { content: ""; position: absolute; left: 8%; right: 8%; top: 4%; height: 42%; border-radius: 50%; background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
body.pc-xiaomi .khoi-cam-do .viec-lon .tron svg.bt { position: relative; z-index: 1; width: 26px; height: 26px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .25)); }
body.pc-xiaomi .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .9); box-shadow: 0 0 0 2px #ff6900, 0 10px 24px rgba(255, 105, 0, .2); }
:root.toi body.pc-xiaomi .khoi-cam-do .viec-lon { background: rgba(30, 34, 44, .62); border-color: rgba(255, 255, 255, .1); box-shadow: 0 10px 24px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .08); }
:root.toi body.pc-xiaomi .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .14); }

/* ---- Phong cách OPPO: ColorOS 16 (kính nhám, ánh sáng bóng đổ mềm, màu nhấn xanh lá) ---- */
body.kieu-de-dung.pc-oppo { background: fixed radial-gradient(circle at 10% 15%, #c7d2fe 0, transparent 42%), radial-gradient(circle at 90% 25%, #a7e3d3 0, transparent 42%), radial-gradient(circle at 55% 105%, #fde3b0 0, transparent 48%), #eef1f8; }
body.kieu-de-dung.pc-oppo .than { background: transparent; }
body.kieu-de-dung.pc-oppo .thanh-ben { margin: 10px 0 10px 10px; height: calc(100vh - 20px); border-radius: 22px; background: color-mix(in srgb, var(--ben) 78%, transparent); border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 10px 30px rgba(20, 30, 60, .25), inset 0 1px 0 rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
body.kieu-de-dung.pc-oppo .thanh-ben a, body.kieu-de-dung.pc-oppo .thanh-ben .cha { border-radius: 14px; }
body.kieu-de-dung.pc-oppo .dau-trang { margin: 10px 10px 0; height: 60px; border-radius: 999px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); top: 10px; }
body.kieu-de-dung.pc-oppo .the { border-radius: 22px; padding: 22px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 8px 28px rgba(40, 50, 90, .1), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
body.kieu-de-dung.pc-oppo .nut { border-radius: 999px; }
body.kieu-de-dung.pc-oppo .nut.vuong { border-radius: 12px; }
body.kieu-de-dung.pc-oppo .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(40, 50, 90, .12); }
body.kieu-de-dung.pc-oppo input, body.kieu-de-dung.pc-oppo select, body.kieu-de-dung.pc-oppo textarea { border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 3px rgba(40, 50, 90, .1); }
body.kieu-de-dung.pc-oppo th { background: rgba(255, 255, 255, .45); }
body.kieu-de-dung.pc-oppo th:first-child { border-top-left-radius: 14px; }
body.kieu-de-dung.pc-oppo th:last-child { border-top-right-radius: 14px; }
body.kieu-de-dung.pc-oppo td, body.kieu-de-dung.pc-oppo th { border-bottom-color: rgba(31, 36, 48, .08); }
body.kieu-de-dung.pc-oppo .xo-ra, body.kieu-de-dung.pc-oppo .hop, body.kieu-de-dung.pc-oppo dialog { border-radius: 20px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
body.kieu-de-dung.pc-oppo .thanh-ben { background: rgba(255, 255, 255, .45); border-color: rgba(255, 255, 255, .85); box-shadow: 0 10px 30px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .95); }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem { color: var(--lam); }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem:hover { color: var(--lam-dam); }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .nhom { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben a, :is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .cha { color: var(--chu); border-color: transparent; }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben svg.bt { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover, :is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover { color: var(--chu); background: rgba(31, 36, 48, .06); border-color: transparent; }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover svg, :is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon, :is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo { color: var(--lam-dam); font-weight: 600; border-color: transparent; background: var(--lam-nhat); }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon svg, :is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .chan { border-top-color: rgba(31, 36, 48, .1); }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .chan h6 { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .chan div { color: var(--chu); }
:is(body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-samsung) .thanh-ben .chan svg.bt { color: var(--chu-mo); }
body.kieu-de-dung.pc-oppo .thanh-ben a, body.kieu-de-dung.pc-oppo .thanh-ben .cha { border-radius: 999px; }
body.kieu-de-dung.pc-oppo .thanh-ben a.chon, body.kieu-de-dung.pc-oppo .thanh-ben .cha.mo { background: rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(40, 50, 90, .18), inset 0 1px 0 #fff; }
:is(body.pc-oppo, body.pc-samsung) :is(button:not(:disabled), select, summary, [onclick]:not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body)):hover { transform: translateY(-1px); box-shadow: none; z-index: auto; }
:is(body.pc-oppo, body.pc-samsung) :is(.nut:hover, .the-tab button:hover, .nut-dau:hover, .thanh-ben a:hover, .thanh-ben .cha:hover) { transform: translateY(-1px); box-shadow: none; }
:is(body.pc-oppo, body.pc-samsung) .thanh-ben a:hover svg, :is(body.pc-oppo, body.pc-samsung) .thanh-ben .cha:hover svg, :is(body.pc-oppo, body.pc-samsung) .nut-dau:hover svg { transform: none; filter: none; }
:is(body.pc-oppo, body.pc-samsung) .thanh-ben a.ten-tiem:hover { transform: none; }
:is(body.pc-oppo, body.pc-samsung) :is(button, [onclick]):not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body):not(.nut):not(.nut-dau):not(.viec-lon):not(.cha):not(a) { border-radius: 14px; }
body.pc-oppo .the-tab button, body.pc-oppo .nut-dau { border-radius: 999px; }
:is(body.pc-oppo, body.pc-samsung) .the-tab button:hover, :is(body.pc-oppo, body.pc-samsung) .nut-dau:hover { background: var(--lam-nhat); }
:root.toi body.kieu-de-dung.pc-oppo { background: fixed radial-gradient(circle at 10% 15%, #2b2f5c 0, transparent 42%), radial-gradient(circle at 90% 25%, #14423a 0, transparent 42%), radial-gradient(circle at 55% 105%, #4a3516 0, transparent 48%), #0e1016; }
:root.toi body.kieu-de-dung.pc-oppo .thanh-ben, :root.toi body.kieu-de-dung.pc-oppo .dau-trang { background: rgba(30, 34, 44, .55); border-color: rgba(255, 255, 255, .12); box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1); }
:root.toi body.kieu-de-dung.pc-oppo .the { background: rgba(30, 34, 44, .6); border-color: rgba(255, 255, 255, .1); box-shadow: 0 8px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
:root.toi body.kieu-de-dung.pc-oppo input, :root.toi body.kieu-de-dung.pc-oppo select, :root.toi body.kieu-de-dung.pc-oppo textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
:root.toi body.kieu-de-dung.pc-oppo th { background: rgba(255, 255, 255, .07); }
:root.toi body.kieu-de-dung.pc-oppo .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
:root.toi body.kieu-de-dung.pc-oppo .xo-ra, :root.toi body.kieu-de-dung.pc-oppo .hop, :root.toi body.kieu-de-dung.pc-oppo dialog { background: rgba(28, 31, 39, .92); }
:root.toi body.pc-oppo .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #2b2f5c 0, transparent 45%), radial-gradient(circle at 88% 30%, #14423a 0, transparent 45%), #12141a !important; }
:root.toi body.pc-oppo .khoi-cam-do .viec-luoi { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); }
:root.toi body.pc-oppo .khoi-cam-do .viec-lon { background: transparent; }
:root.toi body.pc-oppo .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .16); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
:root.toi body.kieu-de-dung.pc-oppo .thanh-ben a.chon, :root.toi body.kieu-de-dung.pc-oppo .thanh-ben .cha.mo { background: rgba(255, 255, 255, .16); }
body.kieu-de-dung.pc-oppo { background: fixed radial-gradient(circle at 12% 12%, #d8f3e6 0, transparent 42%), radial-gradient(circle at 92% 28%, #e3ecff 0, transparent 42%), radial-gradient(circle at 50% 108%, #fff0d6 0, transparent 48%), #f4f6f5; }
:root.toi body.kieu-de-dung.pc-oppo { background: fixed radial-gradient(circle at 12% 12%, #123a2b 0, transparent 42%), radial-gradient(circle at 92% 28%, #1a2540 0, transparent 42%), #0d1110; }
body.kieu-de-dung.pc-oppo .the, body.kieu-de-dung.pc-oppo .dau-trang { border-radius: 24px; background: rgba(255, 255, 255, .6); -webkit-backdrop-filter: blur(26px) saturate(1.2); backdrop-filter: blur(26px) saturate(1.2); box-shadow: 0 14px 32px rgba(30, 60, 50, .1), 0 2px 6px rgba(30, 60, 50, .06), inset 0 1px 0 rgba(255, 255, 255, .95); }
body.pc-oppo .khoi-cam-do { background: transparent !important; padding: 0 !important; box-shadow: none; }
body.pc-oppo .khoi-cam-do .viec-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); flex-basis: 100%; width: 100%; gap: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.pc-oppo .khoi-cam-do .viec-lon { flex-direction: column; justify-content: center; gap: 8px; padding: 14px 10px; min-height: 100px; min-width: 0; border-radius: 24px; background: rgba(255, 255, 255, .66); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 12px 26px rgba(30, 60, 50, .1), 0 2px 5px rgba(30, 60, 50, .06), inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(26px) saturate(1.2); backdrop-filter: blur(26px) saturate(1.2); }
body.pc-oppo .khoi-cam-do .viec-lon .tron { position: relative; overflow: hidden; width: 48px; height: 48px; border-radius: 16px; background: linear-gradient(145deg, color-mix(in srgb, var(--mau) 35%, #fff), color-mix(in srgb, var(--mau) 75%, #fff)); color: var(--mau); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 4px 10px color-mix(in srgb, var(--mau) 22%, transparent); }
body.pc-oppo .khoi-cam-do .viec-lon .tron::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 55%); }
body.pc-oppo .khoi-cam-do .viec-lon .tron svg.bt { position: relative; z-index: 1; width: 25px; height: 25px; }
body.pc-oppo .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 2px #1ba784, 0 12px 26px rgba(27, 167, 132, .2); }
:root.toi body.pc-oppo .khoi-cam-do .viec-lon { background: rgba(28, 34, 32, .66); border-color: rgba(255, 255, 255, .1); box-shadow: 0 12px 26px rgba(0, 0, 0, .4); }
:root.toi body.pc-oppo .khoi-cam-do .viec-lon .tron { background: linear-gradient(145deg, color-mix(in srgb, var(--mau) 45%, #222), color-mix(in srgb, var(--mau) 70%, #222)); color: #fff; }
:root.toi body.pc-oppo .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .14); }

/* ---- Chữ và biểu tượng đậm MÀU hơn cho giao diện sáng (không đổi độ dày nét) ---- */
body.kieu-de-dung { --chu: #0d1220; --chu-ro: #000; --chu-mo: #424a5c; }
body.kieu-de-dung ::placeholder { color: #5b6377; opacity: 1; }
body.kieu-de-dung .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { color: var(--lam-dam); }
body.kieu-de-dung .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) svg.bt { color: var(--lam-dam); }
body.kieu-de-dung .nut.vien { color: var(--lam-dam); border-color: var(--lam-dam); }
body.kieu-de-dung .nut-dau, body.kieu-de-dung .nut-dau svg.bt { color: var(--lam-dam); }
body.kieu-de-dung .the-tab button { color: #0d1220; }
body.kieu-de-dung .the-tab button svg.bt { color: var(--lam); }
body.kieu-de-dung .the-tab button.chon, body.kieu-de-dung .the-tab button.chon svg.bt { color: var(--tren-lam); }
body.kieu-de-dung .ghi-chu, body.kieu-de-dung small { color: #424a5c; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha { color: #0d1220; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben svg.bt { color: var(--lam-dam); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .nhom { color: var(--lam-dam); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a.chon, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha.mo, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a.chon svg.bt, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha.mo svg.bt { color: var(--lam-dam); }
body.kieu-de-dung .khoi-cam-do .viec-lon b { color: #0d1220; }
:is(body.pc-ios, body.pc-samsung, body.pc-oppo) .khoi-cam-do .viec-lon .tron { color: color-mix(in srgb, var(--mau) 72%, #000); }
:is(body.pc-ios, body.pc-samsung, body.pc-oppo) .khoi-cam-do .viec-lon .tron { background: color-mix(in srgb, var(--mau) 22%, #fff); }

/* ---- Màu vàng (chữ, biểu tượng) trên nền sáng đổi sang xanh đậm cho nổi; cam đổi sang cam đậm. Menu tối của kiểu Cổ điển giữ vàng. ---- */
body.kieu-de-dung .viec-lon, body.kieu-de-dung .nut.vang { --vang: #16307f; --cam: #b3470a; }
body.kieu-de-dung .nut.vang { background: rgba(22, 48, 127, .1); color: #16307f; }

/* ---- Thanh kéo "Màu giao diện": từ sáng đến đậm. Từ giữa thanh trở đi là giao diện tối, chữ và biểu tượng chuyển sang vàng. ---- */
body.kieu-de-dung::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #05060a; opacity: calc(var(--do-toi, 0) * .55); }
:root.toi { --chu: #ffd75e; --chu-ro: #ffe27a; --chu-mo: #c9b26a; }
:root.toi body.kieu-de-dung { --chu: #ffd75e; --chu-ro: #ffe27a; --chu-mo: #c9b26a; }
:root.toi body.kieu-de-dung ::placeholder { color: #a8955a; }
:root.toi body.kieu-de-dung .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang), :root.toi body.kieu-de-dung .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) svg.bt,
:root.toi body.kieu-de-dung .nut.vien, :root.toi body.kieu-de-dung .nut-dau, :root.toi body.kieu-de-dung .nut-dau svg.bt, :root.toi body.kieu-de-dung .the-tab button, :root.toi body.kieu-de-dung .the-tab button svg.bt,
:root.toi body.kieu-de-dung .khoi-cam-do .viec-lon b, :root.toi body.kieu-de-dung .ghi-chu, :root.toi body.kieu-de-dung small { color: #ffd75e; }
:root.toi body.kieu-de-dung .nut.vien { border-color: #ffd75e; }
:root.toi body.kieu-de-dung .the-tab button.chon, :root.toi body.kieu-de-dung .the-tab button.chon svg.bt { color: var(--tren-lam); }
:root.toi body.kieu-de-dung .thanh-ben a, :root.toi body.kieu-de-dung .thanh-ben .cha, :root.toi body.kieu-de-dung .thanh-ben svg.bt, :root.toi body.kieu-de-dung .thanh-ben .nhom,
:root.toi body.kieu-de-dung .thanh-ben a.chon, :root.toi body.kieu-de-dung .thanh-ben .cha.mo, :root.toi body.kieu-de-dung .thanh-ben a.chon svg.bt, :root.toi body.kieu-de-dung .thanh-ben .cha.mo svg.bt,
:root.toi body.kieu-de-dung .thanh-ben .ten-tiem, :root.toi body.kieu-de-dung .thanh-ben .chan div, :root.toi body.kieu-de-dung .thanh-ben .chan h6 { color: #ffd75e; }
:root.toi body.kieu-de-dung .khoi-cam-do .viec-lon .tron { color: #ffd75e; }
.chon-do-sang { padding: 6px 18px 10px; }
.chon-do-sang > span { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 12px; color: var(--chu-mo); }
.chon-do-sang input[type=range] { width: 100%; padding: 0; background: linear-gradient(90deg, #f8f8fb, #8a90a0 50%, #12141a); height: 8px; border-radius: 8px; border: 1px solid var(--vien-o); -webkit-appearance: none; appearance: none; box-shadow: none; }
.chon-do-sang input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--lam); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); cursor: pointer; }
.chon-do-sang input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--lam); border: 2px solid #fff; cursor: pointer; }

/* ---- Cổ điển: cùng màu với iOS (nền pastel, menu kính sáng) nhưng giữ dáng vuông vức cũ ---- */
body.pc-thuong .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #c7d2fe 0, transparent 45%), radial-gradient(circle at 88% 30%, #a7e3d3 0, transparent 45%), radial-gradient(circle at 50% 110%, #fde3b0 0, transparent 50%), #eef1f8 !important; border-radius: 18px !important; }
body.pc-thuong .khoi-cam-do .viec-luoi { display: inline-flex; flex-wrap: wrap; flex-basis: auto; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .16), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
body.pc-thuong .khoi-cam-do .viec-lon { flex-direction: row; align-items: center; gap: 8px; padding: 0 22px 0 14px; min-height: 46px; min-width: 130px; border: 0; border-radius: 999px; color: var(--chu); background: transparent; box-shadow: none; transition: all .18s; }
body.pc-thuong .khoi-cam-do .viec-lon .tron { width: 28px; height: 28px; border-radius: 50%; background: transparent; box-shadow: none; color: var(--mau); }
body.pc-thuong .khoi-cam-do .viec-lon .tron svg.bt { width: 22px; height: 22px; }
body.pc-thuong .khoi-cam-do .viec-lon b { font-size: 16.5px; font-weight: 600; color: var(--chu); letter-spacing: 0; }
body.pc-thuong .khoi-cam-do .viec-lon small { display: none; }
body.pc-thuong .khoi-cam-do .viec-lon:hover { transform: none; background: rgba(255, 255, 255, .6); box-shadow: none; }
body.pc-thuong .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .92); border: 0; box-shadow: 0 2px 8px rgba(40, 50, 90, .22), inset 0 1px 0 #fff; }
body.pc-thuong .khoi-cam-do .viec-lon.chon::after { content: none; }
body.kieu-de-dung.pc-thuong { background: fixed radial-gradient(circle at 10% 15%, #c7d2fe 0, transparent 42%), radial-gradient(circle at 90% 25%, #a7e3d3 0, transparent 42%), radial-gradient(circle at 55% 105%, #fde3b0 0, transparent 48%), #eef1f8; }
body.kieu-de-dung.pc-thuong .than { background: transparent; }
body.kieu-de-dung.pc-thuong .thanh-ben { margin: 10px 0 10px 10px; height: calc(100vh - 20px); border-radius: 22px; background: color-mix(in srgb, var(--ben) 78%, transparent); border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 10px 30px rgba(20, 30, 60, .25), inset 0 1px 0 rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
body.kieu-de-dung.pc-thuong .thanh-ben a, body.kieu-de-dung.pc-thuong .thanh-ben .cha { border-radius: 14px; }
body.kieu-de-dung.pc-thuong .dau-trang { margin: 10px 10px 0; height: 60px; border-radius: 999px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); top: 10px; }
body.kieu-de-dung.pc-thuong .the { border-radius: 22px; padding: 22px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 8px 28px rgba(40, 50, 90, .1), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
body.kieu-de-dung.pc-thuong .nut { border-radius: 999px; }
body.kieu-de-dung.pc-thuong .nut.vuong { border-radius: 12px; }
body.kieu-de-dung.pc-thuong .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(40, 50, 90, .12); }
body.kieu-de-dung.pc-thuong input, body.kieu-de-dung.pc-thuong select, body.kieu-de-dung.pc-thuong textarea { border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 3px rgba(40, 50, 90, .1); }
body.kieu-de-dung.pc-thuong th { background: rgba(255, 255, 255, .45); }
body.kieu-de-dung.pc-thuong th:first-child { border-top-left-radius: 14px; }
body.kieu-de-dung.pc-thuong th:last-child { border-top-right-radius: 14px; }
body.kieu-de-dung.pc-thuong td, body.kieu-de-dung.pc-thuong th { border-bottom-color: rgba(31, 36, 48, .08); }
body.kieu-de-dung.pc-thuong .xo-ra, body.kieu-de-dung.pc-thuong .hop, body.kieu-de-dung.pc-thuong dialog { border-radius: 20px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
body.kieu-de-dung.pc-thuong .thanh-ben { background: rgba(255, 255, 255, .45); border-color: rgba(255, 255, 255, .85); box-shadow: 0 10px 30px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .95); }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem { color: var(--lam); }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem:hover { color: var(--lam-dam); }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .nhom { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben a, :is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .cha { color: var(--chu); border-color: transparent; }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben svg.bt { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover, :is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover { color: var(--chu); background: rgba(31, 36, 48, .06); border-color: transparent; }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover svg, :is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon, :is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo { color: var(--lam-dam); font-weight: 600; border-color: transparent; background: var(--lam-nhat); }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon svg, :is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .chan { border-top-color: rgba(31, 36, 48, .1); }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .chan h6 { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .chan div { color: var(--chu); }
:is(body.kieu-de-dung.pc-thuong, body.kieu-de-dung.pc-samsung) .thanh-ben .chan svg.bt { color: var(--chu-mo); }
body.kieu-de-dung.pc-thuong .thanh-ben a, body.kieu-de-dung.pc-thuong .thanh-ben .cha { border-radius: 999px; }
body.kieu-de-dung.pc-thuong .thanh-ben a.chon, body.kieu-de-dung.pc-thuong .thanh-ben .cha.mo { background: rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(40, 50, 90, .18), inset 0 1px 0 #fff; }
:is(body.pc-thuong, body.pc-samsung) :is(button:not(:disabled), select, summary, [onclick]:not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body)):hover { transform: translateY(-1px); box-shadow: none; z-index: auto; }
:is(body.pc-thuong, body.pc-samsung) :is(.nut:hover, .the-tab button:hover, .nut-dau:hover, .thanh-ben a:hover, .thanh-ben .cha:hover) { transform: translateY(-1px); box-shadow: none; }
:is(body.pc-thuong, body.pc-samsung) .thanh-ben a:hover svg, :is(body.pc-thuong, body.pc-samsung) .thanh-ben .cha:hover svg, :is(body.pc-thuong, body.pc-samsung) .nut-dau:hover svg { transform: none; filter: none; }
:is(body.pc-thuong, body.pc-samsung) .thanh-ben a.ten-tiem:hover { transform: none; }
:is(body.pc-thuong, body.pc-samsung) :is(button, [onclick]):not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body):not(.nut):not(.nut-dau):not(.viec-lon):not(.cha):not(a) { border-radius: 14px; }
body.pc-thuong .the-tab button, body.pc-thuong .nut-dau { border-radius: 999px; }
:is(body.pc-thuong, body.pc-samsung) .the-tab button:hover, :is(body.pc-thuong, body.pc-samsung) .nut-dau:hover { background: var(--lam-nhat); }
:root.toi body.kieu-de-dung.pc-thuong { background: fixed radial-gradient(circle at 10% 15%, #2b2f5c 0, transparent 42%), radial-gradient(circle at 90% 25%, #14423a 0, transparent 42%), radial-gradient(circle at 55% 105%, #4a3516 0, transparent 48%), #0e1016; }
:root.toi body.kieu-de-dung.pc-thuong .thanh-ben, :root.toi body.kieu-de-dung.pc-thuong .dau-trang { background: rgba(30, 34, 44, .55); border-color: rgba(255, 255, 255, .12); box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1); }
:root.toi body.kieu-de-dung.pc-thuong .the { background: rgba(30, 34, 44, .6); border-color: rgba(255, 255, 255, .1); box-shadow: 0 8px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
:root.toi body.kieu-de-dung.pc-thuong input, :root.toi body.kieu-de-dung.pc-thuong select, :root.toi body.kieu-de-dung.pc-thuong textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
:root.toi body.kieu-de-dung.pc-thuong th { background: rgba(255, 255, 255, .07); }
:root.toi body.kieu-de-dung.pc-thuong .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
:root.toi body.kieu-de-dung.pc-thuong .xo-ra, :root.toi body.kieu-de-dung.pc-thuong .hop, :root.toi body.kieu-de-dung.pc-thuong dialog { background: rgba(28, 31, 39, .92); }
:root.toi body.pc-thuong .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #2b2f5c 0, transparent 45%), radial-gradient(circle at 88% 30%, #14423a 0, transparent 45%), #12141a !important; }
:root.toi body.pc-thuong .khoi-cam-do .viec-luoi { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); }
:root.toi body.pc-thuong .khoi-cam-do .viec-lon { background: transparent; }
:root.toi body.pc-thuong .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .16); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
:root.toi body.kieu-de-dung.pc-thuong .thanh-ben a.chon, :root.toi body.kieu-de-dung.pc-thuong .thanh-ben .cha.mo { background: rgba(255, 255, 255, .16); }
:is(body.pc-thuong, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a, :is(body.pc-thuong, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha { color: #0d1220; }
:is(body.pc-thuong, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben svg.bt { color: var(--lam-dam); }
:is(body.pc-thuong, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .nhom { color: var(--lam-dam); }
:is(body.pc-thuong, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a.chon, :is(body.pc-thuong, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha.mo, :is(body.pc-thuong, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a.chon svg.bt, :is(body.pc-thuong, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha.mo svg.bt { color: var(--lam-dam); }
:is(body.pc-thuong, body.pc-samsung, body.pc-oppo) .khoi-cam-do .viec-lon .tron { color: color-mix(in srgb, var(--mau) 72%, #000); }
:is(body.pc-thuong, body.pc-samsung, body.pc-oppo) .khoi-cam-do .viec-lon .tron { background: color-mix(in srgb, var(--mau) 22%, #fff); }
body.kieu-de-dung.pc-thuong .thanh-ben { margin: 0; height: 100vh; border-radius: 0; }
body.kieu-de-dung.pc-thuong .thanh-ben a, body.kieu-de-dung.pc-thuong .thanh-ben .cha { border-radius: 6px; }
body.kieu-de-dung.pc-thuong .dau-trang { margin: 0; height: 70px; border-radius: 0; top: 0; }
body.kieu-de-dung.pc-thuong .the { border-radius: 8px; padding: 20px; }
body.kieu-de-dung.pc-thuong .nut { border-radius: 6px; }
body.kieu-de-dung.pc-thuong .nut.vuong { border-radius: 4px; }
body.kieu-de-dung.pc-thuong input, body.kieu-de-dung.pc-thuong select, body.kieu-de-dung.pc-thuong textarea { border-radius: 6px; }
body.kieu-de-dung.pc-thuong th:first-child, body.kieu-de-dung.pc-thuong th:last-child { border-radius: 0; }
body.pc-thuong .the-tab button, body.pc-thuong .nut-dau { border-radius: 6px; }
body.kieu-de-dung.pc-thuong .thanh-ben a.chon, body.kieu-de-dung.pc-thuong .thanh-ben .cha.mo { border-radius: 6px; }

/* ---- Menu bên: kéo dài sát đáy màn hình, bo tròn hai góc bên phải; chữ các mục chức năng đậm màu hơn ---- */
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-thuong) .thanh-ben { margin: 0 12px 0 0; height: 100vh; border-radius: 0 28px 28px 0; border-left: 0; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben a, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben .cha { color: color-mix(in srgb, var(--lam) 50%, #000); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben svg.bt { color: color-mix(in srgb, var(--lam) 78%, #000); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben a.chon, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben .cha.mo { color: color-mix(in srgb, var(--lam) 60%, #000); background: color-mix(in srgb, var(--lam) 16%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben a.chon svg.bt, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben .cha.mo svg.bt { color: var(--lam); }

/* ---- Menu bên: tô nền đậm màu cho từng ô chức năng; ô đang chọn tô đặc màu chủ đạo, chữ trắng ---- */
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben a:not(.ten-tiem), :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben .cha { background: color-mix(in srgb, var(--lam) 17%, #fff); border: 1px solid color-mix(in srgb, var(--lam) 26%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben .con a:not(.ten-tiem) { background: color-mix(in srgb, var(--lam) 9%, #fff); border-color: color-mix(in srgb, var(--lam) 14%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben a:not(.ten-tiem):hover, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben .cha:hover { background: color-mix(in srgb, var(--lam) 30%, #fff); border-color: color-mix(in srgb, var(--lam) 45%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben .cha.mo { background: color-mix(in srgb, var(--lam) 34%, #fff); border-color: color-mix(in srgb, var(--lam) 50%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben a.chon:not(.ten-tiem) { background: var(--lam); border-color: var(--lam); color: var(--tren-lam); box-shadow: 0 4px 12px color-mix(in srgb, var(--lam) 40%, transparent); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .thanh-ben a.chon:not(.ten-tiem) svg.bt { color: var(--tren-lam); }
:root.toi body.kieu-de-dung .thanh-ben a:not(.ten-tiem), :root.toi body.kieu-de-dung .thanh-ben .cha { background: color-mix(in srgb, var(--lam) 28%, #1c1f27); border-color: color-mix(in srgb, var(--lam) 40%, #1c1f27); }
:root.toi body.kieu-de-dung .thanh-ben .con a:not(.ten-tiem) { background: color-mix(in srgb, var(--lam) 16%, #1c1f27); }
:root.toi body.kieu-de-dung .thanh-ben a.chon:not(.ten-tiem) { background: var(--lam); }

/* ---- Menu bên chạm sát chân màn hình: bỏ bo góc dưới, dùng chiều cao thật của khung nhìn ---- */
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-thuong) .thanh-ben { margin: 0 12px 0 0; height: 100vh; height: 100dvh; min-height: 100vh; max-height: none; border-radius: 0 28px 0 0; align-self: flex-start; position: sticky; top: 0; bottom: 0; }

/* ---- Sửa gốc lỗi menu không chạm đáy: phần mềm phóng/thu theo "cỡ chữ" bằng zoom, nên 100vh bị nhân theo zoom. Chia lại cho zoom để đúng bằng chiều cao màn hình. ---- */
body.kieu-de-dung .thanh-ben, body.kieu-de-dung.thu-gon .thanh-ben { height: calc(100vh / var(--phong-chu, 1)); height: calc(100dvh / var(--phong-chu, 1)); min-height: calc(100vh / var(--phong-chu, 1)); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-thuong) .thanh-ben { height: calc(100vh / var(--phong-chu, 1)); height: calc(100dvh / var(--phong-chu, 1)); min-height: calc(100vh / var(--phong-chu, 1)); }

/* ---- Menu bên bo tròn cả 4 góc, cách mép 8px (chiều cao đã chia lại cho zoom cỡ chữ) ---- */
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-thuong) .thanh-ben { margin: 8px 4px 8px 8px; height: calc(100vh / var(--phong-chu, 1) - 16px); height: calc(100dvh / var(--phong-chu, 1) - 16px); min-height: 0; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .7); top: 8px; }

/* ---- Cổ điển: thanh trên bo nhẹ 12px, cách mép 8px ---- */
body.kieu-de-dung.pc-thuong .dau-trang { margin: 8px 8px 0 4px; height: 62px; border-radius: 12px; top: 8px; }

/* ---- Ô số tiền kèm "VNĐ" (khung đóng lãi, chuộc đồ...): ô nhập và ô đơn vị bo góc liền một khối, theo từng phong cách ---- */
body.pc-ios, body.pc-huawei, body.pc-xiaomi, body.pc-oppo { --r-o: 14px; }
body.pc-samsung { --r-o: 16px; }
body.pc-thuong { --r-o: 6px; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .kem-don-vi input { border-radius: var(--r-o) 0 0 var(--r-o); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .kem-don-vi span { border-radius: 0 var(--r-o) var(--r-o) 0; padding: 0 14px; font-weight: 600; color: color-mix(in srgb, var(--lam) 55%, #000);
  background: color-mix(in srgb, var(--lam) 12%, #fff); border: 1px solid color-mix(in srgb, var(--lam) 22%, #fff); border-left: 0; }
:root.toi body.kieu-de-dung .kem-don-vi span { background: color-mix(in srgb, var(--lam) 28%, #1c1f27); border-color: color-mix(in srgb, var(--lam) 40%, #1c1f27); color: #ffd75e; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-thuong) .o-tien-lon > b { color: color-mix(in srgb, var(--lam) 55%, #000); }

/* ---- Nút "Chụp ảnh" / "Chọn ảnh có sẵn" (thẻ label): chữ và biểu tượng căn giữa, hai nút cùng cao, thẳng hàng ---- */
body.kieu-de-dung label.nut, body.kieu-de-dung .nut.nt-chon { display: inline-flex; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; vertical-align: middle; }
body.kieu-de-dung .nut.nho { min-height: 36px; }
body.kieu-de-dung label.nut > span, body.kieu-de-dung label.nut > svg { line-height: 1; }
body.kieu-de-dung .hang > label.nut { margin: 0; }

/* ---- Phong cách macOS: nền xám nhạt, menu bên mờ kiểu vibrancy, mục chọn tô xanh đặc, nút trắng viền mảnh, góc bo vừa phải ---- */
body.pc-mac .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #c7d2fe 0, transparent 45%), radial-gradient(circle at 88% 30%, #a7e3d3 0, transparent 45%), radial-gradient(circle at 50% 110%, #fde3b0 0, transparent 50%), #eef1f8 !important; border-radius: 18px !important; }
body.pc-mac .khoi-cam-do .viec-luoi { display: inline-flex; flex-wrap: wrap; flex-basis: auto; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .16), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
body.pc-mac .khoi-cam-do .viec-lon { flex-direction: row; align-items: center; gap: 8px; padding: 0 22px 0 14px; min-height: 46px; min-width: 130px; border: 0; border-radius: 999px; color: var(--chu); background: transparent; box-shadow: none; transition: all .18s; }
body.pc-mac .khoi-cam-do .viec-lon .tron { width: 28px; height: 28px; border-radius: 50%; background: transparent; box-shadow: none; color: var(--mau); }
body.pc-mac .khoi-cam-do .viec-lon .tron svg.bt { width: 22px; height: 22px; }
body.pc-mac .khoi-cam-do .viec-lon b { font-size: 16.5px; font-weight: 600; color: var(--chu); letter-spacing: 0; }
body.pc-mac .khoi-cam-do .viec-lon small { display: none; }
body.pc-mac .khoi-cam-do .viec-lon:hover { transform: none; background: rgba(255, 255, 255, .6); box-shadow: none; }
body.pc-mac .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .92); border: 0; box-shadow: 0 2px 8px rgba(40, 50, 90, .22), inset 0 1px 0 #fff; }
body.pc-mac .khoi-cam-do .viec-lon.chon::after { content: none; }
body.kieu-de-dung.pc-mac { background: fixed radial-gradient(circle at 10% 15%, #c7d2fe 0, transparent 42%), radial-gradient(circle at 90% 25%, #a7e3d3 0, transparent 42%), radial-gradient(circle at 55% 105%, #fde3b0 0, transparent 48%), #eef1f8; }
body.kieu-de-dung.pc-mac .than { background: transparent; }
body.kieu-de-dung.pc-mac .thanh-ben { margin: 10px 0 10px 10px; height: calc(100vh - 20px); border-radius: 22px; background: color-mix(in srgb, var(--ben) 78%, transparent); border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 10px 30px rgba(20, 30, 60, .25), inset 0 1px 0 rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
body.kieu-de-dung.pc-mac .thanh-ben a, body.kieu-de-dung.pc-mac .thanh-ben .cha { border-radius: 14px; }
body.kieu-de-dung.pc-mac .dau-trang { margin: 10px 10px 0; height: 60px; border-radius: 999px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); top: 10px; }
body.kieu-de-dung.pc-mac .the { border-radius: 22px; padding: 22px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 8px 28px rgba(40, 50, 90, .1), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
body.kieu-de-dung.pc-mac .nut { border-radius: 999px; }
body.kieu-de-dung.pc-mac .nut.vuong { border-radius: 12px; }
body.kieu-de-dung.pc-mac .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(40, 50, 90, .12); }
body.kieu-de-dung.pc-mac input, body.kieu-de-dung.pc-mac select, body.kieu-de-dung.pc-mac textarea { border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 3px rgba(40, 50, 90, .1); }
body.kieu-de-dung.pc-mac th { background: rgba(255, 255, 255, .45); }
body.kieu-de-dung.pc-mac th:first-child { border-top-left-radius: 14px; }
body.kieu-de-dung.pc-mac th:last-child { border-top-right-radius: 14px; }
body.kieu-de-dung.pc-mac td, body.kieu-de-dung.pc-mac th { border-bottom-color: rgba(31, 36, 48, .08); }
body.kieu-de-dung.pc-mac .xo-ra, body.kieu-de-dung.pc-mac .hop, body.kieu-de-dung.pc-mac dialog { border-radius: 20px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
body.kieu-de-dung.pc-mac .thanh-ben { background: rgba(255, 255, 255, .45); border-color: rgba(255, 255, 255, .85); box-shadow: 0 10px 30px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .95); }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem { color: var(--lam); }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem:hover { color: var(--lam-dam); }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .nhom { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben a, :is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .cha { color: var(--chu); border-color: transparent; }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben svg.bt { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover, :is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover { color: var(--chu); background: rgba(31, 36, 48, .06); border-color: transparent; }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover svg, :is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon, :is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo { color: var(--lam-dam); font-weight: 600; border-color: transparent; background: var(--lam-nhat); }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon svg, :is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .chan { border-top-color: rgba(31, 36, 48, .1); }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .chan h6 { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .chan div { color: var(--chu); }
:is(body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-samsung) .thanh-ben .chan svg.bt { color: var(--chu-mo); }
body.kieu-de-dung.pc-mac .thanh-ben a, body.kieu-de-dung.pc-mac .thanh-ben .cha { border-radius: 999px; }
body.kieu-de-dung.pc-mac .thanh-ben a.chon, body.kieu-de-dung.pc-mac .thanh-ben .cha.mo { background: rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(40, 50, 90, .18), inset 0 1px 0 #fff; }
:is(body.pc-mac, body.pc-samsung) :is(button:not(:disabled), select, summary, [onclick]:not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body)):hover { transform: translateY(-1px); box-shadow: none; z-index: auto; }
:is(body.pc-mac, body.pc-samsung) :is(.nut:hover, .the-tab button:hover, .nut-dau:hover, .thanh-ben a:hover, .thanh-ben .cha:hover) { transform: translateY(-1px); box-shadow: none; }
:is(body.pc-mac, body.pc-samsung) .thanh-ben a:hover svg, :is(body.pc-mac, body.pc-samsung) .thanh-ben .cha:hover svg, :is(body.pc-mac, body.pc-samsung) .nut-dau:hover svg { transform: none; filter: none; }
:is(body.pc-mac, body.pc-samsung) .thanh-ben a.ten-tiem:hover { transform: none; }
:is(body.pc-mac, body.pc-samsung) :is(button, [onclick]):not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body):not(.nut):not(.nut-dau):not(.viec-lon):not(.cha):not(a) { border-radius: 14px; }
body.pc-mac .the-tab button, body.pc-mac .nut-dau { border-radius: 999px; }
:is(body.pc-mac, body.pc-samsung) .the-tab button:hover, :is(body.pc-mac, body.pc-samsung) .nut-dau:hover { background: var(--lam-nhat); }
:root.toi body.kieu-de-dung.pc-mac { background: fixed radial-gradient(circle at 10% 15%, #2b2f5c 0, transparent 42%), radial-gradient(circle at 90% 25%, #14423a 0, transparent 42%), radial-gradient(circle at 55% 105%, #4a3516 0, transparent 48%), #0e1016; }
:root.toi body.kieu-de-dung.pc-mac .thanh-ben, :root.toi body.kieu-de-dung.pc-mac .dau-trang { background: rgba(30, 34, 44, .55); border-color: rgba(255, 255, 255, .12); box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1); }
:root.toi body.kieu-de-dung.pc-mac .the { background: rgba(30, 34, 44, .6); border-color: rgba(255, 255, 255, .1); box-shadow: 0 8px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
:root.toi body.kieu-de-dung.pc-mac input, :root.toi body.kieu-de-dung.pc-mac select, :root.toi body.kieu-de-dung.pc-mac textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
:root.toi body.kieu-de-dung.pc-mac th { background: rgba(255, 255, 255, .07); }
:root.toi body.kieu-de-dung.pc-mac .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
:root.toi body.kieu-de-dung.pc-mac .xo-ra, :root.toi body.kieu-de-dung.pc-mac .hop, :root.toi body.kieu-de-dung.pc-mac dialog { background: rgba(28, 31, 39, .92); }
:root.toi body.pc-mac .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #2b2f5c 0, transparent 45%), radial-gradient(circle at 88% 30%, #14423a 0, transparent 45%), #12141a !important; }
:root.toi body.pc-mac .khoi-cam-do .viec-luoi { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); }
:root.toi body.pc-mac .khoi-cam-do .viec-lon { background: transparent; }
:root.toi body.pc-mac .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .16); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
:root.toi body.kieu-de-dung.pc-mac .thanh-ben a.chon, :root.toi body.kieu-de-dung.pc-mac .thanh-ben .cha.mo { background: rgba(255, 255, 255, .16); }
:is(body.pc-mac, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a, :is(body.pc-mac, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha { color: #0d1220; }
:is(body.pc-mac, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben svg.bt { color: var(--lam-dam); }
:is(body.pc-mac, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .nhom { color: var(--lam-dam); }
:is(body.pc-mac, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a.chon, :is(body.pc-mac, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha.mo, :is(body.pc-mac, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a.chon svg.bt, :is(body.pc-mac, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha.mo svg.bt { color: var(--lam-dam); }
:is(body.pc-mac, body.pc-samsung, body.pc-oppo) .khoi-cam-do .viec-lon .tron { color: color-mix(in srgb, var(--mau) 72%, #000); }
:is(body.pc-mac, body.pc-samsung, body.pc-oppo) .khoi-cam-do .viec-lon .tron { background: color-mix(in srgb, var(--mau) 22%, #fff); }
body.kieu-de-dung.pc-mac .thanh-ben { margin: 0; height: 100vh; border-radius: 0; }
body.kieu-de-dung.pc-mac .thanh-ben a, body.kieu-de-dung.pc-mac .thanh-ben .cha { border-radius: 6px; }
body.kieu-de-dung.pc-mac .dau-trang { margin: 0; height: 70px; border-radius: 0; top: 0; }
body.kieu-de-dung.pc-mac .the { border-radius: 8px; padding: 20px; }
body.kieu-de-dung.pc-mac .nut { border-radius: 6px; }
body.kieu-de-dung.pc-mac .nut.vuong { border-radius: 4px; }
body.kieu-de-dung.pc-mac input, body.kieu-de-dung.pc-mac select, body.kieu-de-dung.pc-mac textarea { border-radius: 6px; }
body.kieu-de-dung.pc-mac th:first-child, body.kieu-de-dung.pc-mac th:last-child { border-radius: 0; }
body.pc-mac .the-tab button, body.pc-mac .nut-dau { border-radius: 6px; }
body.kieu-de-dung.pc-mac .thanh-ben a.chon, body.kieu-de-dung.pc-mac .thanh-ben .cha.mo { border-radius: 6px; }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-mac) .thanh-ben { margin: 0 12px 0 0; height: 100vh; border-radius: 0 28px 28px 0; border-left: 0; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben a, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben .cha { color: color-mix(in srgb, var(--lam) 50%, #000); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben svg.bt { color: color-mix(in srgb, var(--lam) 78%, #000); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben a.chon, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben .cha.mo { color: color-mix(in srgb, var(--lam) 60%, #000); background: color-mix(in srgb, var(--lam) 16%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben a.chon svg.bt, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben .cha.mo svg.bt { color: var(--lam); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben a:not(.ten-tiem), :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben .cha { background: color-mix(in srgb, var(--lam) 17%, #fff); border: 1px solid color-mix(in srgb, var(--lam) 26%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben .con a:not(.ten-tiem) { background: color-mix(in srgb, var(--lam) 9%, #fff); border-color: color-mix(in srgb, var(--lam) 14%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben a:not(.ten-tiem):hover, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben .cha:hover { background: color-mix(in srgb, var(--lam) 30%, #fff); border-color: color-mix(in srgb, var(--lam) 45%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben .cha.mo { background: color-mix(in srgb, var(--lam) 34%, #fff); border-color: color-mix(in srgb, var(--lam) 50%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben a.chon:not(.ten-tiem) { background: var(--lam); border-color: var(--lam); color: var(--tren-lam); box-shadow: 0 4px 12px color-mix(in srgb, var(--lam) 40%, transparent); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .thanh-ben a.chon:not(.ten-tiem) svg.bt { color: var(--tren-lam); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-mac) .thanh-ben { margin: 0 12px 0 0; height: 100vh; height: 100dvh; min-height: 100vh; max-height: none; border-radius: 0 28px 0 0; align-self: flex-start; position: sticky; top: 0; bottom: 0; }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-mac) .thanh-ben { height: calc(100vh / var(--phong-chu, 1)); height: calc(100dvh / var(--phong-chu, 1)); min-height: calc(100vh / var(--phong-chu, 1)); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-mac) .thanh-ben { margin: 8px 4px 8px 8px; height: calc(100vh / var(--phong-chu, 1) - 16px); height: calc(100dvh / var(--phong-chu, 1) - 16px); min-height: 0; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .7); top: 8px; }
body.kieu-de-dung.pc-mac .dau-trang { margin: 8px 8px 0 4px; height: 62px; border-radius: 12px; top: 8px; }
body.pc-mac { --r-o: 6px; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .kem-don-vi input { border-radius: var(--r-o) 0 0 var(--r-o); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .kem-don-vi span { border-radius: 0 var(--r-o) var(--r-o) 0; padding: 0 14px; font-weight: 600; color: color-mix(in srgb, var(--lam) 55%, #000);
  background: color-mix(in srgb, var(--lam) 12%, #fff); border: 1px solid color-mix(in srgb, var(--lam) 22%, #fff); border-left: 0; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac) .o-tien-lon > b { color: color-mix(in srgb, var(--lam) 55%, #000); }
body.kieu-de-dung.pc-mac { background: fixed linear-gradient(#eceef2, #dde0e6); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif; }
body.kieu-de-dung.pc-mac .thanh-ben { margin: 8px 4px 8px 8px; border-radius: 14px; background: rgba(238, 240, 245, .72); border: 1px solid rgba(255, 255, 255, .65); box-shadow: 0 8px 30px rgba(20, 30, 50, .14); -webkit-backdrop-filter: blur(30px) saturate(1.8); backdrop-filter: blur(30px) saturate(1.8); }
body.pc-mac .thanh-ben a:not(.ten-tiem), body.pc-mac .thanh-ben .cha, body.pc-mac .thanh-ben .con a:not(.ten-tiem) { background: transparent; border-color: transparent; border-radius: 8px; }
body.pc-mac .thanh-ben a:not(.ten-tiem):hover, body.pc-mac .thanh-ben .cha:hover { background: rgba(0, 0, 0, .07); border-color: transparent; }
body.pc-mac .thanh-ben .cha.mo { background: rgba(0, 0, 0, .06); border-color: transparent; }
body.pc-mac .thanh-ben a.chon:not(.ten-tiem) { background: var(--lam); border-color: var(--lam); color: var(--tren-lam); box-shadow: none; }
body.kieu-de-dung.pc-mac .dau-trang { margin: 8px 8px 0 4px; height: 56px; border-radius: 12px; background: rgba(246, 247, 250, .78); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 4px 16px rgba(20, 30, 50, .1); -webkit-backdrop-filter: blur(24px) saturate(1.8); backdrop-filter: blur(24px) saturate(1.8); top: 8px; }
body.kieu-de-dung.pc-mac .the { border-radius: 12px; background: #fff; border: 0.5px solid rgba(0, 0, 0, .09); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.kieu-de-dung.pc-mac .nut { border-radius: 7px; }
body.kieu-de-dung.pc-mac .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: #fff; border: 0.5px solid rgba(0, 0, 0, .2); box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
body.kieu-de-dung.pc-mac input, body.kieu-de-dung.pc-mac select, body.kieu-de-dung.pc-mac textarea { border-radius: 7px; background: #fff; border: 1px solid #cfd2d9; box-shadow: none; }
body.kieu-de-dung.pc-mac th { background: #f4f5f8; }
body.pc-mac { --r-o: 7px; }
body.pc-mac .khoi-cam-do { background: transparent !important; padding: 0 !important; box-shadow: none; }
body.pc-mac .khoi-cam-do .viec-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); flex-basis: 100%; width: 100%; gap: 10px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.pc-mac .khoi-cam-do .viec-lon { flex-direction: column; justify-content: center; gap: 6px; padding: 12px 10px; min-height: 92px; min-width: 0; border-radius: 12px; background: #fff; border: 0.5px solid rgba(0, 0, 0, .1); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.pc-mac .khoi-cam-do .viec-lon:hover { background: #f7f8fb; }
body.pc-mac .khoi-cam-do .viec-lon .tron { position: relative; overflow: hidden; width: 42px; height: 42px; border-radius: 10px; background: linear-gradient(180deg, color-mix(in srgb, var(--mau) 70%, #fff), var(--mau)); color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .45); }
body.pc-mac .khoi-cam-do .viec-lon .tron svg.bt { width: 22px; height: 22px; }
body.pc-mac .khoi-cam-do .viec-lon.chon { background: color-mix(in srgb, var(--lam) 8%, #fff); box-shadow: 0 0 0 2px var(--lam); }

/* ---- Phong cách Windows 11: nền Mica xám nhạt, menu phẳng có vạch xanh ở mục chọn, góc bo 4 đến 8px, nút phẳng viền mảnh ---- */
body.pc-win .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #c7d2fe 0, transparent 45%), radial-gradient(circle at 88% 30%, #a7e3d3 0, transparent 45%), radial-gradient(circle at 50% 110%, #fde3b0 0, transparent 50%), #eef1f8 !important; border-radius: 18px !important; }
body.pc-win .khoi-cam-do .viec-luoi { display: inline-flex; flex-wrap: wrap; flex-basis: auto; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .16), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
body.pc-win .khoi-cam-do .viec-lon { flex-direction: row; align-items: center; gap: 8px; padding: 0 22px 0 14px; min-height: 46px; min-width: 130px; border: 0; border-radius: 999px; color: var(--chu); background: transparent; box-shadow: none; transition: all .18s; }
body.pc-win .khoi-cam-do .viec-lon .tron { width: 28px; height: 28px; border-radius: 50%; background: transparent; box-shadow: none; color: var(--mau); }
body.pc-win .khoi-cam-do .viec-lon .tron svg.bt { width: 22px; height: 22px; }
body.pc-win .khoi-cam-do .viec-lon b { font-size: 16.5px; font-weight: 600; color: var(--chu); letter-spacing: 0; }
body.pc-win .khoi-cam-do .viec-lon small { display: none; }
body.pc-win .khoi-cam-do .viec-lon:hover { transform: none; background: rgba(255, 255, 255, .6); box-shadow: none; }
body.pc-win .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .92); border: 0; box-shadow: 0 2px 8px rgba(40, 50, 90, .22), inset 0 1px 0 #fff; }
body.pc-win .khoi-cam-do .viec-lon.chon::after { content: none; }
body.kieu-de-dung.pc-win { background: fixed radial-gradient(circle at 10% 15%, #c7d2fe 0, transparent 42%), radial-gradient(circle at 90% 25%, #a7e3d3 0, transparent 42%), radial-gradient(circle at 55% 105%, #fde3b0 0, transparent 48%), #eef1f8; }
body.kieu-de-dung.pc-win .than { background: transparent; }
body.kieu-de-dung.pc-win .thanh-ben { margin: 10px 0 10px 10px; height: calc(100vh - 20px); border-radius: 22px; background: color-mix(in srgb, var(--ben) 78%, transparent); border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 10px 30px rgba(20, 30, 60, .25), inset 0 1px 0 rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
body.kieu-de-dung.pc-win .thanh-ben a, body.kieu-de-dung.pc-win .thanh-ben .cha { border-radius: 14px; }
body.kieu-de-dung.pc-win .dau-trang { margin: 10px 10px 0; height: 60px; border-radius: 999px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6); top: 10px; }
body.kieu-de-dung.pc-win .the { border-radius: 22px; padding: 22px; background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 8px 28px rgba(40, 50, 90, .1), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
body.kieu-de-dung.pc-win .nut { border-radius: 999px; }
body.kieu-de-dung.pc-win .nut.vuong { border-radius: 12px; }
body.kieu-de-dung.pc-win .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .85); box-shadow: 0 1px 4px rgba(40, 50, 90, .12); }
body.kieu-de-dung.pc-win input, body.kieu-de-dung.pc-win select, body.kieu-de-dung.pc-win textarea { border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .9); box-shadow: inset 0 1px 3px rgba(40, 50, 90, .1); }
body.kieu-de-dung.pc-win th { background: rgba(255, 255, 255, .45); }
body.kieu-de-dung.pc-win th:first-child { border-top-left-radius: 14px; }
body.kieu-de-dung.pc-win th:last-child { border-top-right-radius: 14px; }
body.kieu-de-dung.pc-win td, body.kieu-de-dung.pc-win th { border-bottom-color: rgba(31, 36, 48, .08); }
body.kieu-de-dung.pc-win .xo-ra, body.kieu-de-dung.pc-win .hop, body.kieu-de-dung.pc-win dialog { border-radius: 20px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
body.kieu-de-dung.pc-win .thanh-ben { background: rgba(255, 255, 255, .45); border-color: rgba(255, 255, 255, .85); box-shadow: 0 10px 30px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .95); }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem { color: var(--lam); }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .ten-tiem:hover { color: var(--lam-dam); }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .nhom { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben a, :is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .cha { color: var(--chu); border-color: transparent; }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben svg.bt { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover, :is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover { color: var(--chu); background: rgba(31, 36, 48, .06); border-color: transparent; }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben a:hover svg, :is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .cha:hover svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon, :is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo { color: var(--lam-dam); font-weight: 600; border-color: transparent; background: var(--lam-nhat); }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben a.chon svg, :is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .cha.mo svg { color: var(--lam); }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .chan { border-top-color: rgba(31, 36, 48, .1); }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .chan h6 { color: var(--chu-mo); }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .chan div { color: var(--chu); }
:is(body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-samsung) .thanh-ben .chan svg.bt { color: var(--chu-mo); }
body.kieu-de-dung.pc-win .thanh-ben a, body.kieu-de-dung.pc-win .thanh-ben .cha { border-radius: 999px; }
body.kieu-de-dung.pc-win .thanh-ben a.chon, body.kieu-de-dung.pc-win .thanh-ben .cha.mo { background: rgba(255, 255, 255, .9); box-shadow: 0 2px 8px rgba(40, 50, 90, .18), inset 0 1px 0 #fff; }
:is(body.pc-win, body.pc-samsung) :is(button:not(:disabled), select, summary, [onclick]:not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body)):hover { transform: translateY(-1px); box-shadow: none; z-index: auto; }
:is(body.pc-win, body.pc-samsung) :is(.nut:hover, .the-tab button:hover, .nut-dau:hover, .thanh-ben a:hover, .thanh-ben .cha:hover) { transform: translateY(-1px); box-shadow: none; }
:is(body.pc-win, body.pc-samsung) .thanh-ben a:hover svg, :is(body.pc-win, body.pc-samsung) .thanh-ben .cha:hover svg, :is(body.pc-win, body.pc-samsung) .nut-dau:hover svg { transform: none; filter: none; }
:is(body.pc-win, body.pc-samsung) .thanh-ben a.ten-tiem:hover { transform: none; }
:is(body.pc-win, body.pc-samsung) :is(button, [onclick]):not(tr):not(td):not(th):not(.nen-hop):not(.hop):not(body):not(.nut):not(.nut-dau):not(.viec-lon):not(.cha):not(a) { border-radius: 14px; }
body.pc-win .the-tab button, body.pc-win .nut-dau { border-radius: 999px; }
:is(body.pc-win, body.pc-samsung) .the-tab button:hover, :is(body.pc-win, body.pc-samsung) .nut-dau:hover { background: var(--lam-nhat); }
:root.toi body.kieu-de-dung.pc-win { background: fixed radial-gradient(circle at 10% 15%, #2b2f5c 0, transparent 42%), radial-gradient(circle at 90% 25%, #14423a 0, transparent 42%), radial-gradient(circle at 55% 105%, #4a3516 0, transparent 48%), #0e1016; }
:root.toi body.kieu-de-dung.pc-win .thanh-ben, :root.toi body.kieu-de-dung.pc-win .dau-trang { background: rgba(30, 34, 44, .55); border-color: rgba(255, 255, 255, .12); box-shadow: 0 10px 30px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1); }
:root.toi body.kieu-de-dung.pc-win .the { background: rgba(30, 34, 44, .6); border-color: rgba(255, 255, 255, .1); box-shadow: 0 8px 28px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
:root.toi body.kieu-de-dung.pc-win input, :root.toi body.kieu-de-dung.pc-win select, :root.toi body.kieu-de-dung.pc-win textarea { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
:root.toi body.kieu-de-dung.pc-win th { background: rgba(255, 255, 255, .07); }
:root.toi body.kieu-de-dung.pc-win .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .14); }
:root.toi body.kieu-de-dung.pc-win .xo-ra, :root.toi body.kieu-de-dung.pc-win .hop, :root.toi body.kieu-de-dung.pc-win dialog { background: rgba(28, 31, 39, .92); }
:root.toi body.pc-win .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #2b2f5c 0, transparent 45%), radial-gradient(circle at 88% 30%, #14423a 0, transparent 45%), #12141a !important; }
:root.toi body.pc-win .khoi-cam-do .viec-luoi { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); }
:root.toi body.pc-win .khoi-cam-do .viec-lon { background: transparent; }
:root.toi body.pc-win .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .16); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
:root.toi body.kieu-de-dung.pc-win .thanh-ben a.chon, :root.toi body.kieu-de-dung.pc-win .thanh-ben .cha.mo { background: rgba(255, 255, 255, .16); }
:is(body.pc-win, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a, :is(body.pc-win, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha { color: #0d1220; }
:is(body.pc-win, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben svg.bt { color: var(--lam-dam); }
:is(body.pc-win, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .nhom { color: var(--lam-dam); }
:is(body.pc-win, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a.chon, :is(body.pc-win, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha.mo, :is(body.pc-win, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben a.chon svg.bt, :is(body.pc-win, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo) .thanh-ben .cha.mo svg.bt { color: var(--lam-dam); }
:is(body.pc-win, body.pc-samsung, body.pc-oppo) .khoi-cam-do .viec-lon .tron { color: color-mix(in srgb, var(--mau) 72%, #000); }
:is(body.pc-win, body.pc-samsung, body.pc-oppo) .khoi-cam-do .viec-lon .tron { background: color-mix(in srgb, var(--mau) 22%, #fff); }
body.kieu-de-dung.pc-win .thanh-ben { margin: 0; height: 100vh; border-radius: 0; }
body.kieu-de-dung.pc-win .thanh-ben a, body.kieu-de-dung.pc-win .thanh-ben .cha { border-radius: 6px; }
body.kieu-de-dung.pc-win .dau-trang { margin: 0; height: 70px; border-radius: 0; top: 0; }
body.kieu-de-dung.pc-win .the { border-radius: 8px; padding: 20px; }
body.kieu-de-dung.pc-win .nut { border-radius: 6px; }
body.kieu-de-dung.pc-win .nut.vuong { border-radius: 4px; }
body.kieu-de-dung.pc-win input, body.kieu-de-dung.pc-win select, body.kieu-de-dung.pc-win textarea { border-radius: 6px; }
body.kieu-de-dung.pc-win th:first-child, body.kieu-de-dung.pc-win th:last-child { border-radius: 0; }
body.pc-win .the-tab button, body.pc-win .nut-dau { border-radius: 6px; }
body.kieu-de-dung.pc-win .thanh-ben a.chon, body.kieu-de-dung.pc-win .thanh-ben .cha.mo { border-radius: 6px; }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-win) .thanh-ben { margin: 0 12px 0 0; height: 100vh; border-radius: 0 28px 28px 0; border-left: 0; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben a, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben .cha { color: color-mix(in srgb, var(--lam) 50%, #000); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben svg.bt { color: color-mix(in srgb, var(--lam) 78%, #000); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben a.chon, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben .cha.mo { color: color-mix(in srgb, var(--lam) 60%, #000); background: color-mix(in srgb, var(--lam) 16%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben a.chon svg.bt, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben .cha.mo svg.bt { color: var(--lam); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben a:not(.ten-tiem), :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben .cha { background: color-mix(in srgb, var(--lam) 17%, #fff); border: 1px solid color-mix(in srgb, var(--lam) 26%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben .con a:not(.ten-tiem) { background: color-mix(in srgb, var(--lam) 9%, #fff); border-color: color-mix(in srgb, var(--lam) 14%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben a:not(.ten-tiem):hover, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben .cha:hover { background: color-mix(in srgb, var(--lam) 30%, #fff); border-color: color-mix(in srgb, var(--lam) 45%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben .cha.mo { background: color-mix(in srgb, var(--lam) 34%, #fff); border-color: color-mix(in srgb, var(--lam) 50%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben a.chon:not(.ten-tiem) { background: var(--lam); border-color: var(--lam); color: var(--tren-lam); box-shadow: 0 4px 12px color-mix(in srgb, var(--lam) 40%, transparent); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .thanh-ben a.chon:not(.ten-tiem) svg.bt { color: var(--tren-lam); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-win) .thanh-ben { margin: 0 12px 0 0; height: 100vh; height: 100dvh; min-height: 100vh; max-height: none; border-radius: 0 28px 0 0; align-self: flex-start; position: sticky; top: 0; bottom: 0; }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-win) .thanh-ben { height: calc(100vh / var(--phong-chu, 1)); height: calc(100dvh / var(--phong-chu, 1)); min-height: calc(100vh / var(--phong-chu, 1)); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-win) .thanh-ben { margin: 8px 4px 8px 8px; height: calc(100vh / var(--phong-chu, 1) - 16px); height: calc(100dvh / var(--phong-chu, 1) - 16px); min-height: 0; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .7); top: 8px; }
body.kieu-de-dung.pc-win .dau-trang { margin: 8px 8px 0 4px; height: 62px; border-radius: 12px; top: 8px; }
body.pc-win { --r-o: 6px; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .kem-don-vi input { border-radius: var(--r-o) 0 0 var(--r-o); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .kem-don-vi span { border-radius: 0 var(--r-o) var(--r-o) 0; padding: 0 14px; font-weight: 600; color: color-mix(in srgb, var(--lam) 55%, #000);
  background: color-mix(in srgb, var(--lam) 12%, #fff); border: 1px solid color-mix(in srgb, var(--lam) 22%, #fff); border-left: 0; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-win) .o-tien-lon > b { color: color-mix(in srgb, var(--lam) 55%, #000); }
body.kieu-de-dung.pc-win { background: fixed linear-gradient(135deg, #eef1f7, #f3f3f3 45%, #f1ede9); font-family: "Segoe UI Variable", "Segoe UI", system-ui, Roboto, Arial, sans-serif; }
body.kieu-de-dung.pc-win .thanh-ben { margin: 8px 4px 8px 8px; border-radius: 8px; background: rgba(243, 243, 243, .82); border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); -webkit-backdrop-filter: blur(40px) saturate(1.6); backdrop-filter: blur(40px) saturate(1.6); }
body.pc-win .thanh-ben a:not(.ten-tiem), body.pc-win .thanh-ben .cha, body.pc-win .thanh-ben .con a:not(.ten-tiem) { position: relative; background: transparent; border-color: transparent; border-radius: 4px; }
body.pc-win .thanh-ben a:not(.ten-tiem):hover, body.pc-win .thanh-ben .cha:hover { background: rgba(0, 0, 0, .055); border-color: transparent; }
body.pc-win .thanh-ben .cha.mo { background: rgba(0, 0, 0, .045); border-color: transparent; }
body.pc-win .thanh-ben a.chon:not(.ten-tiem) { background: rgba(0, 0, 0, .06); border-color: transparent; color: var(--chu); box-shadow: none; }
body.pc-win .thanh-ben a.chon:not(.ten-tiem) svg.bt { color: var(--lam); }
body.pc-win .thanh-ben a.chon:not(.ten-tiem)::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 18px; border-radius: 3px; background: var(--lam); }
body.kieu-de-dung.pc-win .dau-trang { margin: 8px 8px 0 4px; height: 56px; border-radius: 8px; background: rgba(251, 251, 251, .85); border: 1px solid rgba(0, 0, 0, .06); box-shadow: 0 2px 8px rgba(0, 0, 0, .07); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); top: 8px; }
body.kieu-de-dung.pc-win .the { border-radius: 8px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(0, 0, 0, .07); box-shadow: 0 2px 4px rgba(0, 0, 0, .05); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.kieu-de-dung.pc-win .nut { border-radius: 4px; }
body.kieu-de-dung.pc-win .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: #fdfdfd; border: 1px solid #d6d6d6; border-bottom-color: #bcbcbc; box-shadow: none; }
body.kieu-de-dung.pc-win .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang):hover { background: #f6f6f6; }
body.kieu-de-dung.pc-win input, body.kieu-de-dung.pc-win select, body.kieu-de-dung.pc-win textarea { border-radius: 4px; background: #fdfdfd; border: 1px solid #d6d6d6; border-bottom: 1px solid #8a8a8a; box-shadow: none; }
body.kieu-de-dung.pc-win input:focus, body.kieu-de-dung.pc-win select:focus, body.kieu-de-dung.pc-win textarea:focus { border-bottom: 2px solid var(--lam); }
body.kieu-de-dung.pc-win th { background: #f6f6f6; }
body.pc-win { --r-o: 4px; }
body.pc-win .khoi-cam-do { background: transparent !important; padding: 0 !important; box-shadow: none; }
body.pc-win .khoi-cam-do .viec-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); flex-basis: 100%; width: 100%; gap: 8px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.pc-win .khoi-cam-do .viec-lon { flex-direction: column; justify-content: center; gap: 6px; padding: 12px 10px; min-height: 92px; min-width: 0; border-radius: 8px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(0, 0, 0, .07); box-shadow: 0 2px 4px rgba(0, 0, 0, .05); -webkit-backdrop-filter: none; backdrop-filter: none; }
body.pc-win .khoi-cam-do .viec-lon:hover { background: #f6f6f6; }
body.pc-win .khoi-cam-do .viec-lon .tron { width: 40px; height: 40px; border-radius: 8px; background: var(--mau); color: #fff; box-shadow: none; }
body.pc-win .khoi-cam-do .viec-lon .tron svg.bt { width: 22px; height: 22px; }
body.pc-win .khoi-cam-do .viec-lon.chon { background: color-mix(in srgb, var(--lam) 8%, #fff); box-shadow: inset 0 -3px 0 var(--lam), 0 2px 4px rgba(0, 0, 0, .05); }

/* ---- Bảng chọn giao diện (menu tài khoản góc phải): thu hẹp bề ngang còn khoảng 40%, các nút tự xuống dòng ---- */
.xo-ra:has(.chon-phong-cach) { width: 290px; min-width: 0; max-width: calc(100vw - 16px); }
.xo-ra .chon-phong-cach, .xo-ra .chon-giao-dien, .xo-ra .chon-co-chu, .xo-ra .chon-do-sang { padding-left: 12px; padding-right: 12px; }
.xo-ra .chon-phong-cach > div { display: flex; flex-wrap: wrap; gap: 4px; }
.xo-ra .chon-phong-cach button { width: auto; padding: 4px 8px; font-size: 11.5px; }
.xo-ra .chon-giao-dien > div { flex-wrap: wrap; gap: 6px; }

/* ---- Bảng chọn giao diện: sắp xếp cân đối, mỗi mục có tiêu đề phía trên, nút chia đều cột ---- */
.xo-ra .chon-co-chu, .xo-ra .chon-giao-dien, .xo-ra .chon-phong-cach, .xo-ra .chon-do-sang { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 7px; margin: 0; padding: 10px 14px; border-top: 1px solid var(--vien); }
.xo-ra .chon-co-chu > span, .xo-ra .chon-giao-dien > span, .xo-ra .chon-phong-cach > span, .xo-ra .chon-do-sang > span { margin: 0; font-size: 12px; font-weight: 600; color: var(--chu-mo); }
.xo-ra .chon-co-chu > div { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.xo-ra .chon-co-chu button { width: 100%; padding: 5px 0; justify-content: center; text-align: center; font-size: 12px; }
.xo-ra .chon-giao-dien > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); justify-items: center; gap: 8px; }
.xo-ra .chon-phong-cach > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
.xo-ra .chon-phong-cach button { width: 100%; padding: 6px 4px; justify-content: center; text-align: center; }
.xo-ra .chon-do-sang { padding-bottom: 12px; }

/* ---- Hai dải lọc/Zalo ở danh sách hợp đồng: bo góc nhẹ 10px, thụt vào trong khung thay vì tràn sát mép ---- */
@media (min-width: 901px) {
  :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) #noi-dung:has(.khoi-cam-do) .the > form.loc { margin: 0 0 6px; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--lam) 6%, var(--the)); }
  :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) #noi-dung:has(.khoi-cam-do) .the > .dai-zalo { margin: 0 0 10px; padding: 6px 12px 8px; border-radius: 10px; background: color-mix(in srgb, var(--lam) 6%, var(--the)); }
}

/* ---- Danh sách dạng bảng ở các trang: mỗi dòng là một ô bo góc, cách nhau một khoảng nhỏ ---- */
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) { border-collapse: separate; border-spacing: 0 6px; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) :is(td, th) { border-bottom: 0; }
:where(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :where(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: color-mix(in srgb, var(--lam) 5%, #fff); }
:where(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :where(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody tr:hover td { background: color-mix(in srgb, var(--lam) 11%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) :is(td, th):first-child { border-radius: 12px 0 0 12px; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) :is(td, th):last-child { border-radius: 0 12px 12px 0; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) td:only-child { border-radius: 12px; }

/* ---- Bảng danh sách gọn hơn: dòng thấp hơn, khoảng cách nhỏ hơn để hiện được nhiều dòng ---- */
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) { border-spacing: 0 3px; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) :is(td, th) { padding-top: 4px; padding-bottom: 4px; line-height: 1.3; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) td .nut { min-height: 28px; padding-top: 2px; padding-bottom: 2px; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) td .nut.vuong { width: 28px; height: 28px; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) :is(td, th):first-child { border-radius: 10px 0 0 10px; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) :is(td, th):last-child { border-radius: 0 10px 10px 0; }

/* ---- Rà soát độ rõ chữ (đo tương phản trên giao diện thật): chân menu, chữ xanh/xám nhạt, số đỏ trên chuông ---- */
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) .thanh-ben .chan :is(div, span, small, b, a, button, .muc-chan) { color: color-mix(in srgb, var(--lam) 55%, #000); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) .thanh-ben .chan .ma-tiem { color: var(--chu-mo); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) .thanh-ben .chan .muc-chan { background: color-mix(in srgb, var(--lam) 10%, #fff); border: 1px solid color-mix(in srgb, var(--lam) 22%, #fff); }
:root.toi body.kieu-de-dung .thanh-ben .chan :is(div, span, small, b, a, button, .muc-chan, .ma-tiem) { color: #ffd75e; }
body.kieu-de-dung .dh-the.rong b { color: #5b6377; }
body.kieu-de-dung .dh-the.xanh b { color: #12794f; }
body.kieu-de-dung .bd-doi.bd-tot { color: #067a58; }
body.kieu-de-dung .bd-doi.bd-xau { color: #b5370a; }
body.kieu-de-dung .nut-dau .so { background: #d92020; }
:root.toi body.kieu-de-dung .dh-the.rong b { color: #aab2c3; }
:root.toi body.kieu-de-dung .dh-the.xanh b, :root.toi body.kieu-de-dung .bd-doi.bd-tot { color: #6ee7b7; }
:root.toi body.kieu-de-dung .bd-doi.bd-xau { color: #ffab7a; }

/* ---- Thanh trên không tràn ngang: nút gọn lại, tên tài khoản rút gọn; tên tiệm ở đầu menu đúng màu ---- */
body.kieu-de-dung .dau-trang { min-width: 0; padding: 0 8px; gap: 2px; }
body.kieu-de-dung .dau-trang .nut-dau { padding: 0 7px; flex-shrink: 1; min-width: 0; }
body.kieu-de-dung .dau-trang .nut-dau .an-nho { max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.kieu-de-dung .dau-trang .nut-dau.chinh span { max-width: 150px; }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) .thanh-ben .ten-tiem, :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) .thanh-ben .ten-tiem * { color: color-mix(in srgb, var(--lam) 60%, #000); }
:root.toi body.kieu-de-dung .thanh-ben .ten-tiem, :root.toi body.kieu-de-dung .thanh-ben .ten-tiem * { color: #ffd75e; }


/* ---- Rà soát form hợp đồng (đo trên giao diện thật): nút xanh đậm hơn để chữ trắng rõ, chữ cảnh báo đậm hơn, ô nhập cùng chiều cao ---- */
body.kieu-de-dung .nut.xanh { background: #0c8467; border-color: #0c8467; color: #fff; }
body.kieu-de-dung .nut.xanh:hover { background: #0a7058; }
body.kieu-de-dung .ghi-chu[style*="e8890c"], body.kieu-de-dung .ghi-chu.canh-bao { color: #9a5200; }
body.kieu-de-dung .canh-bao-lai { color: #c01818; }
body.kieu-de-dung .ma-hd { color: #a31f1f; }
body.kieu-de-dung input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]), body.kieu-de-dung select { min-height: 40px; }
body.kieu-de-dung #anh-hd-nhac { color: #9a5200 !important; font-weight: 500; }

/* ---- Màu trạng thái đậm hơn (đo trên khung chi tiết hợp đồng): đỏ, xanh ngọc, xanh dương dùng làm chữ hoặc nền chữ trắng đều đủ rõ ---- */
body.kieu-de-dung { --do: #c81d1d; --xanh: #0c8467; --troi: #1766b8; }
body.kieu-de-dung .nhan.dang_cam { background: #1766b8; color: #fff; }
body.kieu-de-dung .nut.do { background: #c81d1d; border-color: #c81d1d; color: #fff; }
body.kieu-de-dung .hop b[style*="b45f06"], body.kieu-de-dung .hop [style*="180, 95, 6"] { color: #8f4a00 !important; }
:root.toi body.kieu-de-dung { --do: #ff6b6b; --xanh: #3ddbb0; --troi: #6cb4ff; }
:root.toi body.kieu-de-dung .nut.xanh, :root.toi body.kieu-de-dung .nut.do { color: #0d1220; }
:root.toi body.kieu-de-dung .nhan.dang_cam { background: #6cb4ff; color: #0d1220; }
body.kieu-de-dung { --xanh: #0a7258; }
body.kieu-de-dung .nut.xanh { background: #0a7258; border-color: #0a7258; }
body.kieu-de-dung .thu, body.kieu-de-dung b.thu { color: #0a7258; }
body.kieu-de-dung .nhac-anh, body.kieu-de-dung .nhac-anh span, body.kieu-de-dung .nhac-anh b { color: #8f4a00; }
:root.toi body.kieu-de-dung .thu, :root.toi body.kieu-de-dung b.thu { color: #3ddbb0; }
:root.toi body.kieu-de-dung .nhac-anh, :root.toi body.kieu-de-dung .nhac-anh span, :root.toi body.kieu-de-dung .nhac-anh b { color: #ffd75e; }
:root.toi body.kieu-de-dung { --xanh: #3ddbb0; }
:root.toi body.kieu-de-dung .nut.xanh { background: #3ddbb0; border-color: #3ddbb0; }

/* ---- Hai dải lọc/Zalo: nền kính trong pha màu chủ đạo (cùng tông với các nút chức năng), viền màu mảnh, chữ đậm rõ ---- */
@media (min-width: 901px) {
  :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) {
    background: linear-gradient(180deg, color-mix(in srgb, var(--lam) 13%, rgba(255, 255, 255, .86)), color-mix(in srgb, var(--lam) 8%, rgba(255, 255, 255, .78)));
    border: 1px solid color-mix(in srgb, var(--lam) 24%, rgba(255, 255, 255, .6));
    box-shadow: 0 3px 10px color-mix(in srgb, var(--lam) 14%, transparent), inset 0 1px 0 rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #0d1220;
  }
  :root.toi body.kieu-de-dung #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) { background: color-mix(in srgb, var(--lam) 22%, #1c1f27); border-color: color-mix(in srgb, var(--lam) 40%, #1c1f27); color: #ffd75e; }
}

/* ---- Phần "Người thân" trong form hợp đồng: phối màu cùng tông với phần thông tin người vay (tiêu đề màu chủ đạo, khối nhạt, vạch màu bên trái) ---- */
body.kieu-de-dung .the.nguoi-than { background: color-mix(in srgb, var(--lam) 6%, rgba(255, 255, 255, .85)); border: 1px solid color-mix(in srgb, var(--lam) 20%, rgba(255, 255, 255, .6)); border-left: 4px solid var(--lam); border-radius: 12px; box-shadow: none; padding: 12px 14px; margin: 10px 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.kieu-de-dung .nguoi-than .nt-dau b { color: color-mix(in srgb, var(--lam) 70%, #000); font-size: 14px; }
body.kieu-de-dung .nguoi-than .nt-canh-bao { color: #8f4a00; background: #fff3d6; border: 1px solid #f0d28a; }
:root.toi body.kieu-de-dung .the.nguoi-than { background: color-mix(in srgb, var(--lam) 14%, #1c1f27); border-color: color-mix(in srgb, var(--lam) 35%, #1c1f27); border-left-color: var(--lam); }
:root.toi body.kieu-de-dung .nguoi-than .nt-dau b { color: #ffd75e; }
:root.toi body.kieu-de-dung .nguoi-than .nt-canh-bao { background: #3a2c10; color: #ffd75e; border-color: #6b5320; }

/* ---- Thanh trên cùng (thanh thông báo): dài đúng bằng các khung bên dưới (lề 12px hai bên) và phối màu vàng ánh kim ---- */
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-thuong) .dau-trang {
  margin-left: 12px; margin-right: 12px;
  background: linear-gradient(135deg, #f9eab0 0%, #e8c866 24%, #c99a2e 50%, #f3dc86 72%, #b98a22 100%);
  border: 1px solid #b98a22; color: #3a2800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(120, 80, 0, .35), 0 6px 18px rgba(150, 110, 20, .32);
}
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-thuong) .dau-trang :is(.nut-dau, .nut-dau svg.bt, .nut-dau span, .xo > button, .nut-dau.chinh) { color: #3a2800; }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-thuong) .dau-trang .nut-dau:hover { background: rgba(255, 255, 255, .35); }
:root.toi body.kieu-de-dung .dau-trang { background: linear-gradient(135deg, #e8c866 0%, #b98a22 50%, #8f6a14 100%); border-color: #d9b765; }
:root.toi body.kieu-de-dung .dau-trang :is(.nut-dau, .nut-dau svg.bt, .nut-dau span, .xo > button, .nut-dau.chinh) { color: #1c1400; }
@media (min-width: 901px) {
  :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) { border-color: #d4a72c; box-shadow: 0 3px 10px rgba(185, 138, 34, .22), inset 0 1px 0 rgba(255, 255, 255, .9); }
}

/* ---- Hai dải lọc/Zalo phía dưới thanh trên: cùng màu vàng ánh kim với thanh trên cùng ---- */
@media (min-width: 901px) {
  :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) {
    background: linear-gradient(135deg, #f9eab0 0%, #e8c866 24%, #c99a2e 50%, #f3dc86 72%, #b98a22 100%);
    border: 1px solid #b98a22; color: #3a2800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(120, 80, 0, .35), 0 4px 12px rgba(150, 110, 20, .28);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) :is(label, span, .ghi-chu) { color: #3a2800; }
  :root.toi body.kieu-de-dung #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) { background: linear-gradient(135deg, #e8c866 0%, #b98a22 50%, #8f6a14 100%); border-color: #d9b765; color: #1c1400; }
}

/* ---- Màn hình rộng: lề hai bên của khung nội dung là 24px, thanh trên cùng lấy cùng lề để dài đều bằng các khung bên dưới ---- */
@media (min-width: 901px) {
  :is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-thuong) .dau-trang { margin-left: 24px; margin-right: 24px; }
}

/* ---- Thanh trên cùng: cùng màu kính trong mờ với thanh nút việc ngay bên dưới (thanh thứ 2 từ trên xuống) ---- */
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-thuong) .dau-trang {
  background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .8); color: var(--chu);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .16), inset 0 1px 0 rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
}
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-thuong) .dau-trang :is(.nut-dau, .nut-dau svg.bt, .nut-dau span, .xo > button, .nut-dau.chinh) { color: var(--lam-dam); }
:is(body.kieu-de-dung.pc-ios, body.kieu-de-dung.pc-samsung, body.kieu-de-dung.pc-huawei, body.kieu-de-dung.pc-xiaomi, body.kieu-de-dung.pc-oppo, body.kieu-de-dung.pc-mac, body.kieu-de-dung.pc-win, body.kieu-de-dung.pc-thuong) .dau-trang .nut-dau:hover { background: rgba(255, 255, 255, .6); }
:root.toi body.kieu-de-dung .dau-trang { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); }
:root.toi body.kieu-de-dung .dau-trang :is(.nut-dau, .nut-dau svg.bt, .nut-dau span, .xo > button, .nut-dau.chinh) { color: #ffd75e; }

/* ---- Bỏ màu vàng ở hai dải lọc và Zalo: cùng nền kính trong mờ với thanh trên và thanh nút việc ---- */
@media (min-width: 901px) {
  :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) {
    background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .8); color: var(--chu);
    box-shadow: 0 6px 18px rgba(40, 50, 90, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  }
  :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) :is(label, span, .ghi-chu) { color: var(--chu); }
  :root.toi body.kieu-de-dung #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #ffd75e; }
}


/* ---- Thanh trên cùng và hai dải lọc/Zalo: cùng màu với thanh nút việc (trắng ngả tím nhạt, viền trắng, bóng mềm) ---- */
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) .dau-trang {
  background: linear-gradient(180deg, rgba(246, 247, 254, .92), rgba(231, 235, 250, .88)); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 8px 22px rgba(60, 70, 130, .16), inset 0 1px 0 #fff;
}
@media (min-width: 901px) {
  :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) {
    background: linear-gradient(180deg, rgba(246, 247, 254, .92), rgba(231, 235, 250, .88)); border: 1px solid rgba(255, 255, 255, .95); border-radius: 18px;
    box-shadow: 0 6px 18px rgba(60, 70, 130, .13), inset 0 1px 0 #fff;
  }
}
:root.toi body.kieu-de-dung .dau-trang { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); }
@media (min-width: 901px) { :root.toi body.kieu-de-dung #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); } }

/* ---- Danh sách hợp đồng (các dòng bảng): cùng màu trắng ngả tím nhạt với thanh nút việc ---- */
:where(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :where(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: linear-gradient(180deg, #f6f7fe, #eceffb); }
:where(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :where(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody tr:hover td { background: linear-gradient(180deg, #eaeefc, #dfe5fa); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: linear-gradient(180deg, #e9edfb, #dde3f8); color: #0d1220; }
:root.toi body.kieu-de-dung :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: rgba(255, 255, 255, .07); }
:root.toi body.kieu-de-dung :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody tr:hover td { background: rgba(255, 255, 255, .14); }
:root.toi body.kieu-de-dung :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: rgba(255, 255, 255, .12); color: #ffd75e; }

/* ---- Tông tím nhạt đậm hơn cho thanh trên, hai dải lọc/Zalo, thanh nút việc và các dòng danh sách ---- */
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) .dau-trang { background: linear-gradient(180deg, #dfe4fb, #cdd5f6); border-color: rgba(255, 255, 255, .9); box-shadow: 0 8px 22px rgba(60, 70, 150, .24), inset 0 1px 0 rgba(255, 255, 255, .85); }
:is(body.pc-ios, body.pc-thuong) .khoi-cam-do .viec-luoi { background: linear-gradient(180deg, #dfe4fb, #cdd5f6); border-color: rgba(255, 255, 255, .9); }
@media (min-width: 901px) {
  :is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) { background: linear-gradient(180deg, #dfe4fb, #cdd5f6); border-color: rgba(255, 255, 255, .9); box-shadow: 0 6px 18px rgba(60, 70, 150, .2), inset 0 1px 0 rgba(255, 255, 255, .85); }
}
:where(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :where(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: linear-gradient(180deg, #e3e8fb, #d4dbf7); }
:where(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :where(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody tr:hover td { background: linear-gradient(180deg, #d3dbf8, #c3cdf3); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: linear-gradient(180deg, #c9d2f5, #b9c4f0); }
:root.toi body.kieu-de-dung .dau-trang { background: rgba(255, 255, 255, .1); }
@media (min-width: 901px) { :root.toi body.kieu-de-dung #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) { background: rgba(255, 255, 255, .1); } }
:root.toi body.kieu-de-dung :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: rgba(255, 255, 255, .07); }
:root.toi body.kieu-de-dung :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: rgba(255, 255, 255, .12); }

/* ---- Danh sách hợp đồng: trả về màu ban đầu (nền dòng pha 5% màu chủ đạo, tiêu đề kính trắng mờ) ---- */
:where(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :where(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: color-mix(in srgb, var(--lam) 5%, #fff); }
:where(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :where(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody tr:hover td { background: color-mix(in srgb, var(--lam) 11%, #fff); }
:is(body.pc-ios, body.pc-samsung, body.pc-huawei, body.pc-xiaomi, body.pc-oppo, body.pc-mac, body.pc-win, body.pc-thuong) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: rgba(255, 255, 255, .45); color: var(--chu-ro); }
body.pc-samsung :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: #f4f5f9; }

/* ---- Thanh "Màu giao diện": mặt phẳng chính tối dần liên tục từ sáng đến tối nhất (giá trị do ung-dung.js đặt vào các biến --k-*) ---- */
body.kieu-de-dung::before { opacity: calc(var(--do-toi, 0) * .92); }
:root:root:root:root body.kieu-de-dung.kieu-de-dung .the { background: var(--k-card, rgba(255, 255, 255, .55)); }
:root:root:root:root body.kieu-de-dung.kieu-de-dung .thanh-ben { background: var(--k-side, rgba(255, 255, 255, .45)); }
:root:root:root:root body.kieu-de-dung.kieu-de-dung .dau-trang, :root:root:root:root body.kieu-de-dung.kieu-de-dung .khoi-cam-do .viec-luoi { background: var(--k-bar, #d6dcf8); }
@media (min-width: 901px) { :root:root:root:root body.kieu-de-dung.kieu-de-dung #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) { background: var(--k-bar, #d6dcf8); } }
:root:root:root:root body.kieu-de-dung.kieu-de-dung :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: var(--k-row, #f3f4fd); }
:root:root:root:root body.kieu-de-dung.kieu-de-dung :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: var(--k-th, #f0f1f9); }
:root:root:root:root body.kieu-de-dung.kieu-de-dung input, :root:root:root:root body.kieu-de-dung.kieu-de-dung select, :root:root:root:root body.kieu-de-dung.kieu-de-dung textarea { background: var(--k-input, rgba(255, 255, 255, .72)); }
:root:root:root:root body.kieu-de-dung.kieu-de-dung .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) { background: var(--k-btn, rgba(255, 255, 255, .7)); }

/* ---- Thanh chỉnh MÀU CHỮ: khi người dùng đã chọn (class chu-tc), mọi chữ và biểu tượng chính lấy màu --k-chu ---- */
:root.chu-tc body.kieu-de-dung { --chu: var(--k-chu); --chu-ro: var(--k-chu); --chu-mo: var(--k-chu); }
:root.chu-tc body.kieu-de-dung :is(label, th, td, h1, h2, h3, h4, p, small, .ghi-chu, .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang), .nut-dau, .the-tab button, .khoi-cam-do .viec-lon b, .thanh-ben a, .thanh-ben .cha, .thanh-ben .nhom, .thanh-ben .ten-tiem, .thanh-ben .chan :is(div, span, small, b, a, button), .dau-trang :is(.nut-dau, .xo > button), .chon-do-sang span, .chon-phong-cach > span, .chon-giao-dien > span, .chon-co-chu > span, input, select, textarea),
:root.chu-tc body.kieu-de-dung :is(.nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang), .nut-dau, .the-tab button, .thanh-ben a, .thanh-ben .cha, .thanh-ben .chan, .dau-trang .nut-dau) svg.bt,
:root.chu-tc body.kieu-de-dung #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) :is(label, span, .ghi-chu) { color: var(--k-chu) !important; }
.chon-mau-chu input[type=range] { background: linear-gradient(90deg, #0d1220, #16307f 33%, #f2f4f8 66%, #ffd75e); }
.chon-mau-chu .tu-dong { width: auto; padding: 2px 8px; font-size: 11px; border-radius: 8px; border: 1px solid var(--vien-o); background: var(--the); color: var(--chu); cursor: pointer; }

/* ---- Thanh nút việc (thanh thứ 2 từ trên xuống) của Samsung One UI 9 và Huawei: sửa màu và bo góc, bỏ lớp nền vuông nằm sau các ô ---- */
/* Samsung: khung bo 28px màu tím xanh nhạt, các ô trắng bo 20px */
/* Huawei: mỗi ô là một thẻ kính bo 26px pha chút xanh nhạt, viền trắng, không có khung vuông phía sau */

/* ---- Huawei: các nút Cầm đồ mới, Chuộc đồ, Chứng từ... giống kiểu iOS (thanh kính nằm ngang, biểu tượng bên trái chữ) ---- */
body.pc-huawei .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #c7d2fe 0, transparent 45%), radial-gradient(circle at 88% 30%, #a7e3d3 0, transparent 45%), radial-gradient(circle at 50% 110%, #fde3b0 0, transparent 50%), #eef1f8 !important; border-radius: 18px !important; }
body.pc-huawei .khoi-cam-do .viec-luoi { display: inline-flex; flex-wrap: wrap; flex-basis: auto; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .16), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
body.pc-huawei .khoi-cam-do .viec-lon { flex-direction: row; align-items: center; gap: 8px; padding: 0 22px 0 14px; min-height: 46px; min-width: 130px; border: 0; border-radius: 999px; color: var(--chu); background: transparent; box-shadow: none; transition: all .18s; }
body.pc-huawei .khoi-cam-do .viec-lon .tron { width: 28px; height: 28px; border-radius: 50%; background: transparent; box-shadow: none; color: var(--mau); }
body.pc-huawei .khoi-cam-do .viec-lon .tron svg.bt { width: 22px; height: 22px; }
body.pc-huawei .khoi-cam-do .viec-lon b { font-size: 16.5px; font-weight: 600; color: var(--chu); letter-spacing: 0; }
body.pc-huawei .khoi-cam-do .viec-lon small { display: none; }
body.pc-huawei .khoi-cam-do .viec-lon:hover { transform: none; background: rgba(255, 255, 255, .6); box-shadow: none; }
body.pc-huawei .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .92); border: 0; box-shadow: 0 2px 8px rgba(40, 50, 90, .22), inset 0 1px 0 #fff; }
body.pc-huawei .khoi-cam-do .viec-lon.chon::after { content: none; }
:root.toi body.pc-huawei .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #2b2f5c 0, transparent 45%), radial-gradient(circle at 88% 30%, #14423a 0, transparent 45%), #12141a !important; }
:root.toi body.pc-huawei .khoi-cam-do .viec-luoi { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); }
:root.toi body.pc-huawei .khoi-cam-do .viec-lon { background: transparent; }
:root.toi body.pc-huawei .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .16); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
:is(body.pc-huawei, body.pc-samsung, body.pc-oppo) .khoi-cam-do .viec-lon .tron { color: color-mix(in srgb, var(--mau) 72%, #000); }
:is(body.pc-huawei, body.pc-samsung, body.pc-oppo) .khoi-cam-do .viec-lon .tron { background: color-mix(in srgb, var(--mau) 22%, #fff); }
:is(body.pc-huawei, body.pc-thuong) .khoi-cam-do .viec-luoi { background: linear-gradient(180deg, #dfe4fb, #cdd5f6); border-color: rgba(255, 255, 255, .9); }

/* ---- Huawei: giữ ô biểu tượng vuông bo góc màu đặc có vệt sáng của Huawei, nhưng xếp thanh nằm ngang như iOS ---- */
:root:root body.pc-huawei .khoi-cam-do .viec-lon .tron { position: relative; overflow: hidden; width: 38px; height: 38px; border-radius: 12px; background: var(--mau); color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
:root:root body.pc-huawei .khoi-cam-do .viec-lon .tron::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 55%); }
:root:root body.pc-huawei .khoi-cam-do .viec-lon .tron svg.bt { position: relative; z-index: 1; width: 21px; height: 21px; color: #fff; }
:root:root body.pc-huawei .khoi-cam-do .viec-lon { gap: 10px; padding: 0 22px 0 8px; min-height: 52px; }
:root.toi:root body.pc-huawei .khoi-cam-do .viec-lon .tron { color: #fff; }

/* ---- Samsung One UI 9: các nút Cầm đồ mới, Chuộc đồ... liền nhau trong một thanh nằm ngang giống iOS ---- */
body.pc-samsung .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #c7d2fe 0, transparent 45%), radial-gradient(circle at 88% 30%, #a7e3d3 0, transparent 45%), radial-gradient(circle at 50% 110%, #fde3b0 0, transparent 50%), #eef1f8 !important; border-radius: 18px !important; }
body.pc-samsung .khoi-cam-do .viec-luoi { display: inline-flex; flex-wrap: wrap; flex-basis: auto; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .42); border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 8px 24px rgba(40, 50, 90, .16), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }
body.pc-samsung .khoi-cam-do .viec-lon { flex-direction: row; align-items: center; gap: 8px; padding: 0 22px 0 14px; min-height: 46px; min-width: 130px; border: 0; border-radius: 999px; color: var(--chu); background: transparent; box-shadow: none; transition: all .18s; }
body.pc-samsung .khoi-cam-do .viec-lon .tron { width: 28px; height: 28px; border-radius: 50%; background: transparent; box-shadow: none; color: var(--mau); }
body.pc-samsung .khoi-cam-do .viec-lon .tron svg.bt { width: 22px; height: 22px; }
body.pc-samsung .khoi-cam-do .viec-lon b { font-size: 16.5px; font-weight: 600; color: var(--chu); letter-spacing: 0; }
body.pc-samsung .khoi-cam-do .viec-lon small { display: none; }
body.pc-samsung .khoi-cam-do .viec-lon:hover { transform: none; background: rgba(255, 255, 255, .6); box-shadow: none; }
body.pc-samsung .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .92); border: 0; box-shadow: 0 2px 8px rgba(40, 50, 90, .22), inset 0 1px 0 #fff; }
body.pc-samsung .khoi-cam-do .viec-lon.chon::after { content: none; }
:root.toi body.pc-samsung .khoi-cam-do { background: radial-gradient(circle at 12% 20%, #2b2f5c 0, transparent 45%), radial-gradient(circle at 88% 30%, #14423a 0, transparent 45%), #12141a !important; }
:root.toi body.pc-samsung .khoi-cam-do .viec-luoi { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); }
:root.toi body.pc-samsung .khoi-cam-do .viec-lon { background: transparent; }
:root.toi body.pc-samsung .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .16); box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
:is(body.pc-samsung, body.pc-thuong) .khoi-cam-do .viec-luoi { background: linear-gradient(180deg, #dfe4fb, #cdd5f6); border-color: rgba(255, 255, 255, .9); }

/* ---- Phối màu 4 ô: nền giao diện, thanh công cụ, nút bấm (chữ dùng lại cơ chế chu-tc ở trên). Chỉ có hiệu lực khi người dùng đã chọn màu. ---- */
:root:root:root:root:root:root.phoi-nen body.kieu-de-dung { background: var(--p-nen) !important; }
:root:root:root:root:root:root.phoi-nen body.kieu-de-dung::before { display: none; }
:root:root:root:root:root:root.phoi-thanh body.kieu-de-dung :is(.the, .thanh-ben, .dau-trang, .khoi-cam-do .viec-luoi) { background: var(--p-thanh) !important; background-image: none !important; }
:root:root:root:root:root:root.phoi-thanh body.kieu-de-dung .khoi-cam-do { background: transparent !important; }
:root:root:root:root:root:root.phoi-thanh body.kieu-de-dung :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: var(--p-thanh) !important; background-image: none !important; }
:root:root:root:root:root:root.phoi-thanh body.kieu-de-dung :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: color-mix(in srgb, var(--p-thanh) 85%, #000) !important; background-image: none !important; }
@media (min-width: 901px) { :root:root:root:root:root:root.phoi-thanh body.kieu-de-dung #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) { background: var(--p-thanh) !important; background-image: none !important; } }
:root:root:root:root:root:root.phoi-nut body.kieu-de-dung :is(.nut:not(.do), .the-tab button, .khoi-cam-do .viec-lon:not(.chon)) { background: var(--p-nut) !important; background-image: none !important; color: var(--p-nut-chu) !important; }
:root:root:root:root:root:root.phoi-nut body.kieu-de-dung :is(.nut:not(.do), .the-tab button) svg.bt, :root:root:root:root:root:root.phoi-nut body.kieu-de-dung .khoi-cam-do .viec-lon b { color: var(--p-nut-chu) !important; }
.phoi-4 { padding: 6px 14px 10px; border-top: 1px solid var(--vien); }
.phoi-4 > span { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 12px; color: var(--chu-mo); }
.phoi-4 > span button { width: auto; padding: 2px 8px; font-size: 11px; border-radius: 8px; border: 1px solid var(--vien-o); background: var(--the); color: var(--chu); cursor: pointer; }
.phoi-4 > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.phoi-4 label { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border: 1px solid var(--vien-o); border-radius: 10px; background: var(--the); cursor: pointer; }
.phoi-4 label em { font-style: normal; font-size: 12px; color: var(--chu); }
.phoi-4 input[type=color] { width: 30px; height: 26px; padding: 0; border: 1px solid var(--vien-o); border-radius: 8px; background: none; cursor: pointer; flex: none; }

/* ---- Thanh trên cùng: các mục (chọn cửa hàng, tài khoản, chuông...) cao 70px nhưng thanh chỉ cao 56-62px nên bị lệch; đặt cùng chiều cao và căn giữa ---- */
body.kieu-de-dung .dau-trang { align-items: center; }
body.kieu-de-dung .dau-trang > .xo { height: 44px; display: flex; align-items: center; }
body.kieu-de-dung .dau-trang .nut-dau { height: 44px; align-items: center; }
body.kieu-de-dung .dau-trang > .dh-zalo { height: 44px; display: inline-flex; align-items: center; }

/* ---- Số thông báo trên chuông và Zalo: to rõ hơn, nền đỏ tươi / xanh Zalo, viền trắng dày, chữ trắng đậm, nằm ở góc trên bên phải biểu tượng ---- */
body.kieu-de-dung .dau-trang .nut-dau .so { top: 1px; left: auto; right: 0; min-width: 19px; height: 19px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: 0;
  background: #e11d2e; color: #fff; border: 2px solid #fff; border-radius: 999px; box-shadow: 0 2px 5px rgba(0, 0, 0, .3); }
body.kieu-de-dung .dau-trang .dh-zalo .chip-zalo { position: relative; display: inline-flex; align-items: center; }
body.kieu-de-dung .dau-trang .dh-zalo .chip-zalo b { position: absolute; top: -9px; right: -11px; min-width: 19px; height: 19px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; font-size: 11px; font-weight: 700; line-height: 1;
  background: #0068ff; color: #fff; border: 2px solid #fff; border-radius: 999px; box-shadow: 0 2px 5px rgba(0, 0, 0, .3); }
body.kieu-de-dung .dau-trang .dh-zalo { margin: 0 8px; }
body.kieu-de-dung .dau-trang .dh-zalo .chip-zalo .so { background: #0068ff; }

/* ---- Thanh trên cùng: chữ (tên cửa hàng, tài khoản, Báo xấu...) màu đen; số thông báo giữ chữ trắng ---- */
:root:not(.toi):not(.chu-tc):root:root body.kieu-de-dung .dau-trang :is(.nut-dau, .xo > button, .nut-dau.chinh) :is(span:not(.so), b, small) { color: #000; }
:root:not(.toi):not(.chu-tc):root:root body.kieu-de-dung .dau-trang :is(.xo > button, .nut-dau.chinh, .nut-dau.an-nho) { color: #000; }

/* ---- Chấm tròn số thông báo (chuông, Zalo): nền vàng đậm, chữ đen đậm ---- */
:root:root body.kieu-de-dung .dau-trang .nut-dau .so, :root:root body.kieu-de-dung .dau-trang .dh-zalo .chip-zalo .so { background: #f2a900; color: #000; border: 2px solid #fff; font-weight: 800; }

/* ---- Chấm tròn số thông báo: nền xanh dương sáng, chữ đen đậm (đủ tương phản) ---- */
:root:root body.kieu-de-dung .dau-trang .nut-dau .so, :root:root body.kieu-de-dung .dau-trang .dh-zalo .chip-zalo .so { background: #4aa3ff; color: #000; border: 2px solid #fff; font-weight: 800; }

/* ---- Chấm tròn số thông báo: quay lại nền vàng đậm, chữ đen đậm ---- */
:root:root body.kieu-de-dung .dau-trang .nut-dau .so, :root:root body.kieu-de-dung .dau-trang .dh-zalo .chip-zalo .so { background: #f2a900; color: #000; border: 2px solid #fff; font-weight: 800; }

/* ---- Nút gạt (công tắc) kiểu iOS mới nhất: viên thuốc 51x31, nền xám khi tắt, xanh lá iOS khi bật, núm trắng 27px có bóng, chuyển động mượt ---- */
body.kieu-de-dung input[type=checkbox].cong-tac { width: 51px; height: 31px; min-width: 51px; border-radius: 999px; background: rgba(120, 120, 128, .32); box-shadow: none; transition: background .25s ease; }
body.kieu-de-dung input[type=checkbox].cong-tac::after { top: 2px; left: 2px; width: 27px; height: 27px; background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .15), 0 1px 1px rgba(0, 0, 0, .16), 0 3px 1px rgba(0, 0, 0, .1); transition: transform .3s cubic-bezier(.3, 1.3, .5, 1), width .2s; }
body.kieu-de-dung input[type=checkbox].cong-tac:active::after { width: 31px; }
body.kieu-de-dung input[type=checkbox].cong-tac:checked { background: #34c759; box-shadow: none; }
body.kieu-de-dung input[type=checkbox].cong-tac:checked::after { transform: translateX(20px); }
body.kieu-de-dung input[type=checkbox].cong-tac:checked:active::after { transform: translateX(16px); }
body.kieu-de-dung input[type=checkbox].cong-tac:focus-visible { outline: 3px solid color-mix(in srgb, #34c759 45%, transparent); outline-offset: 2px; }
body.kieu-de-dung input[type=checkbox].cong-tac:disabled { opacity: .4; }
:root.toi body.kieu-de-dung input[type=checkbox].cong-tac { background: rgba(120, 120, 128, .5); }
:root.toi body.kieu-de-dung input[type=checkbox].cong-tac:checked { background: #30d158; }
/* các luật nền ô nhập có độ ưu tiên cao nên nút gạt cần luật riêng cùng mức */
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac { background: rgba(120, 120, 128, .32); }
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac:checked { background: #34c759; }
:root.toi:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac { background: rgba(120, 120, 128, .5); }
:root.toi:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac:checked { background: #30d158; }

/* ---- Nút gạt nhỏ lại 40% (cao 31 -> 19px) và dài thêm (tỉ lệ 1,9 : 1 thay vì 1,65 : 1): 36x19px, núm 15px ---- */
body.kieu-de-dung input[type=checkbox].cong-tac { width: 36px; height: 19px; min-width: 36px; margin-right: 6px; }
body.kieu-de-dung input[type=checkbox].cong-tac::after { top: 2px; left: 2px; width: 15px; height: 15px; box-shadow: 0 2px 4px rgba(0, 0, 0, .18), 0 1px 1px rgba(0, 0, 0, .16); }
body.kieu-de-dung input[type=checkbox].cong-tac:active::after { width: 19px; }
body.kieu-de-dung input[type=checkbox].cong-tac:checked::after { transform: translateX(17px); }
body.kieu-de-dung input[type=checkbox].cong-tac:checked:active::after { transform: translateX(13px); }

/* ---- Nút gạt: chiều cao chẵn (20px) để núm tròn luôn cách đều hai mép, nút nâng lên 2px để ngang giữa dòng chữ cạnh nó ---- */
body.kieu-de-dung input[type=checkbox].cong-tac { width: 36px; height: 20px; min-width: 36px; top: -2px; }
body.kieu-de-dung input[type=checkbox].cong-tac::after { top: 2px; left: 2px; width: 16px; height: 16px; transition: transform .25s ease, width .2s ease; }
body.kieu-de-dung input[type=checkbox].cong-tac:active::after { width: 20px; }
body.kieu-de-dung input[type=checkbox].cong-tac:checked::after { transform: translateX(16px); }
body.kieu-de-dung input[type=checkbox].cong-tac:checked:active::after { transform: translateX(12px); }

/* ---- Nút gạt: tắt = trắng (viền xám mảnh, núm trắng có bóng và viền), bật = xanh đậm ---- */
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac { background: #ffffff; box-shadow: inset 0 0 0 1.5px #b9c0cf; }
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac::after { background: #ffffff; box-shadow: 0 0 0 1.5px #b9c0cf, 0 2px 4px rgba(0, 0, 0, .22); }
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac:checked { background: #1448c8; box-shadow: none; }
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac:checked::after { box-shadow: 0 2px 4px rgba(0, 0, 0, .3); }
:root.toi:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac { background: #ffffff; }
:root.toi:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac:checked { background: #3a73ff; }

/* ---- Nút gạt bật: xanh dương (tắt vẫn trắng) ---- */
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac:checked { background: #1677d2; }
:root.toi:root:root:root:root body.kieu-de-dung.kieu-de-dung input[type=checkbox].cong-tac:checked { background: #3a8ee6; }

/* ---- Hai nút "Mẫu in hợp đồng" và "Dung lượng ảnh" (đang là nút viền mờ): tô đặc màu để nổi bật, chữ trắng đậm ---- */
:root:root body.kieu-de-dung button.nut.vien[onclick*="formMauIn"] { background: var(--lam); border-color: var(--lam); color: #fff; font-weight: 700; box-shadow: 0 4px 12px color-mix(in srgb, var(--lam) 40%, transparent); }
:root:root body.kieu-de-dung button.nut.vien[onclick*="moNenAnh"] { background: #0c8467; border-color: #0c8467; color: #fff; font-weight: 700; box-shadow: 0 4px 12px rgba(12, 132, 103, .38); }
:root:root body.kieu-de-dung button.nut.vien[onclick*="formMauIn"]:hover { background: var(--lam-dam); border-color: var(--lam-dam); color: #fff; }
:root:root body.kieu-de-dung button.nut.vien[onclick*="moNenAnh"]:hover { background: #0a6f57; border-color: #0a6f57; color: #fff; }
:root.toi:root body.kieu-de-dung button.nut.vien[onclick*="formMauIn"], :root.toi:root body.kieu-de-dung button.nut.vien[onclick*="moNenAnh"] { color: #fff; }

/* ---- iOS 27: độ mờ nền kính theo thanh "Độ trong suốt kính"; biểu tượng ở các nút việc có nhiều lớp kính (nền tô nhạt, lớp sáng phía trên, viền sáng trong, bóng) ---- */
:root:root:root body.kieu-de-dung.pc-ios :is(.the, .thanh-ben, .dau-trang, .khoi-cam-do .viec-luoi) { -webkit-backdrop-filter: blur(var(--kinh-blur, 18px)) saturate(1.6); backdrop-filter: blur(var(--kinh-blur, 18px)) saturate(1.6); }
:root:root body.pc-ios .khoi-cam-do .viec-lon .tron { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .22) 62%), color-mix(in srgb, var(--mau) 26%, #fff);
  box-shadow: inset 0 1px 0 #fff, inset 0 -7px 10px color-mix(in srgb, var(--mau) 24%, transparent), 0 3px 8px color-mix(in srgb, var(--mau) 28%, transparent); }
:root:root body.pc-ios .khoi-cam-do .viec-lon .tron svg.bt { width: 18px; height: 18px; }

/* ---- iOS 27: nút bấm và biểu tượng nhiều lớp kính. Nút thường = kính trắng có vệt sáng phía trên; nút màu = kính nhuộm màu (sáng ở trên, đậm dần xuống dưới) có viền sáng bên trong và bóng cùng tông; biểu tượng menu nằm trong ô vuông bo kính tô nhạt. ---- */
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung.pc-ios .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang) {
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 65%), var(--k-btn, rgba(255, 255, 255, .7)); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 6px rgba(60, 70, 130, .06), 0 2px 6px rgba(40, 50, 100, .14); }
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung.pc-ios .nut.xanh { background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%), #0a7258; border: 1px solid rgba(255, 255, 255, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -4px 8px rgba(0, 0, 0, .15), 0 5px 12px rgba(10, 114, 88, .35); }
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung.pc-ios .nut.lam { background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%), var(--lam); border: 1px solid rgba(255, 255, 255, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -4px 8px rgba(0, 0, 0, .15), 0 5px 12px color-mix(in srgb, var(--lam) 38%, transparent); }
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung.pc-ios .nut.do { background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%), #c81d1d; border: 1px solid rgba(255, 255, 255, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -4px 8px rgba(0, 0, 0, .15), 0 5px 12px rgba(200, 29, 29, .35); }
:root:root:root:root:root body.kieu-de-dung.kieu-de-dung.pc-ios .nut.vien { background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .2)), color-mix(in srgb, var(--lam) 10%, #fff); border: 1px solid color-mix(in srgb, var(--lam) 40%, #fff); box-shadow: inset 0 1px 0 #fff, 0 2px 6px color-mix(in srgb, var(--lam) 18%, transparent); }
:root:root body.pc-ios .nut:active { transform: scale(.97); }
:root:root body.pc-ios .thanh-ben a:not(.ten-tiem) svg.bt, :root:root body.pc-ios .thanh-ben .cha svg.bt { box-sizing: border-box; width: 28px; height: 28px; padding: 5px; border-radius: 9px; flex: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .2) 62%), color-mix(in srgb, var(--lam) 22%, #fff); box-shadow: inset 0 1px 0 #fff, inset 0 -5px 8px color-mix(in srgb, var(--lam) 18%, transparent), 0 2px 5px color-mix(in srgb, var(--lam) 22%, transparent); }
:root:root body.pc-ios .thanh-ben a.chon svg.bt { background: linear-gradient(160deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, .05) 62%), rgba(255, 255, 255, .22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); color: #fff; }

/* ---- iOS 27: biểu tượng kiểu SF Symbols "hierarchical": nét tròn đầu mảnh hơn và phần thân có lớp tô nhạt phía sau (chuông, người, lịch, tài liệu, khiên...) ---- */
:root:root body.pc-ios svg.bt { stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:root:root body.pc-ios svg.bt:is([data-i="chuong"], [data-i="chuong-tien"], [data-i="chuong-chuoc"], [data-i="chuong-cham"], [data-i="ghim"], [data-i="nguoi"], [data-i="lich"], [data-i="cuahang"], [data-i="tien"], [data-i="hopdong"], [data-i="baocao"], [data-i="tep"], [data-i="biennhan"], [data-i="tinchap"], [data-i="tragop"], [data-i="anh"], [data-i="vi"], [data-i="dongho"], [data-i="canhbao"], [data-i="mayin"], [data-i="tinnhan"], [data-i="xe"], [data-i="nhom"], [data-i="nhanvien"], [data-i="mokhoa"], [data-i="lichsu"]) { fill: currentColor; fill-opacity: .17; }
:root:root body.pc-ios .dau-trang .nut-dau svg.bt { width: 24px; height: 24px; }
:root:root body.pc-ios .thanh-ben a.chon svg.bt:is([data-i="chuong"], [data-i="chuong-tien"], [data-i="chuong-chuoc"], [data-i="chuong-cham"], [data-i="ghim"], [data-i="nguoi"], [data-i="lich"], [data-i="cuahang"], [data-i="tien"], [data-i="hopdong"], [data-i="baocao"], [data-i="tep"], [data-i="biennhan"], [data-i="tinchap"], [data-i="tragop"], [data-i="anh"], [data-i="vi"], [data-i="dongho"], [data-i="canhbao"], [data-i="mayin"], [data-i="tinnhan"], [data-i="xe"], [data-i="nhom"], [data-i="nhanvien"], [data-i="mokhoa"], [data-i="lichsu"]) { fill-opacity: .3; }

/* ---- Bộ biểu tượng kiểu iOS 27 (tự vẽ): chỉ hiện ở phong cách iOS, các phong cách khác giữ bộ nét cũ ---- */
svg.bt .ic-ios { display: none; fill: none; }
body.pc-ios svg.bt .ic-co { display: none; }
body.pc-ios svg.bt .ic-ios { display: inline; }
:root:root body.pc-ios svg.bt .ic-ios .f { fill: currentColor; fill-opacity: .18; }
:root:root body.pc-ios .thanh-ben a.chon svg.bt .ic-ios .f { fill-opacity: .32; }

/* ---- Kính mờ (frosted glass) đậm hơn ở iOS 27: nút, ô nhập, hai dải lọc/Zalo, menu thả xuống cũng mờ nền phía sau theo thanh "Độ trong suốt kính" ---- */
:root:root:root body.kieu-de-dung.pc-ios :is(.nut, input, select, textarea, .xo-ra, .hop, .khoi-cam-do .viec-lon, form.loc, .dai-zalo) { -webkit-backdrop-filter: blur(var(--kinh-blur, 24px)) saturate(1.7); backdrop-filter: blur(var(--kinh-blur, 24px)) saturate(1.7); }
:root:root:root body.kieu-de-dung.pc-ios :is(.the, .thanh-ben, .dau-trang) { box-shadow: 0 10px 34px rgba(50, 60, 120, .14), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(255, 255, 255, .35); border: 1px solid rgba(255, 255, 255, .8); }

/* ---- Cột chức năng dính bên phải: phải đặc (không trong suốt) để chữ của cột bên dưới không lộ xuyên qua khi cuộn ngang ---- */
:root:root:root:root:root:root body.kieu-de-dung.kieu-de-dung td.dinh-phai { background: color-mix(in srgb, var(--the, #fff) 88%, #dfe4fb) !important; background-image: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root:root:root:root:root:root body.kieu-de-dung.kieu-de-dung th.dinh-phai { background: color-mix(in srgb, var(--the, #fff) 80%, #c9d2f5) !important; background-image: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root.toi:root:root:root:root:root body.kieu-de-dung td.dinh-phai, :root.toi:root:root:root:root:root body.kieu-de-dung th.dinh-phai { background: #262a38 !important; }

/* ===== iOS 27 Kính trong: kính trắng trong suốt trên nền xoáy nhiều màu, chữ trắng, biểu tượng ứng dụng dạng ô kính bo lớn (theo ảnh mẫu của iOS). Chỉ áp khi chọn phong cách này. ===== */
html.nen-xanh body.kieu-de-dung.pc-kt { background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20420%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22a%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f7f93%22%2F%3E%3Cstop%20offset%3D%22.6%22%20stop-color%3D%22%231b4f9c%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230b1f5c%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22300%22%20height%3D%22420%22%20fill%3D%22url(%23a)%22%2F%3E%3Cpath%20d%3D%22M-20%20330%20C60%20230%20120%20350%20200%20240%20S300%20150%20330%2070%20L330%20440%20L-20%20440Z%22%20fill%3D%22%2357c2b0%22%20opacity%3D%22.55%22%2F%3E%3Cpath%20d%3D%22M150%20-10%20C130%2080%20210%20120%20250%20200%20S230%20320%20180%20430%20L330%20430%20L330%20-10Z%22%20fill%3D%22%2312307d%22%20opacity%3D%22.75%22%2F%3E%3Ccircle%20cx%3D%2260%22%20cy%3D%22120%22%20r%3D%2290%22%20fill%3D%22%237fe0cf%22%20opacity%3D%22.22%22%2F%3E%3C%2Fsvg%3E') center / 100% 100% fixed no-repeat, #0b1f5c !important; }
html.nen-kem body.kieu-de-dung.pc-kt { background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20420%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22a%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23c9bfb4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238d8378%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22300%22%20height%3D%22420%22%20fill%3D%22url(%23a)%22%2F%3E%3Cpath%20d%3D%22M-20%20300%20C60%20200%20110%20330%20190%20220%20S300%20120%20330%2040%20L330%20-10%20L-20%20-10Z%22%20fill%3D%22%23e9e2d9%22%20opacity%3D%22.75%22%2F%3E%3Cpath%20d%3D%22M-20%20420%20C80%20330%20160%20400%20230%20300%20S310%20250%20330%20210%20L330%20430Z%22%20fill%3D%22%236f665c%22%20opacity%3D%22.7%22%2F%3E%3Cpath%20d%3D%22M60%20-10%20C40%2090%20130%20120%20170%20200%20S120%20330%2060%20430%22%20fill%3D%22none%22%20stroke%3D%22%23f4eee6%22%20stroke-width%3D%2228%22%20opacity%3D%22.35%22%2F%3E%3C%2Fsvg%3E') center / 100% 100% fixed no-repeat, #8d8378 !important; }
:root:root body.kieu-de-dung.pc-kt::before { display: none; }
body.kieu-de-dung.pc-kt { --chu: #fff; --chu-ro: #fff; --chu-mo: rgba(255, 255, 255, .82); --the: rgba(255, 255, 255, .16); --vien: rgba(255, 255, 255, .3); --vien-o: rgba(255, 255, 255, .5); --lam-nhat: rgba(255, 255, 255, .22); --lam-dam: #fff; color-scheme: dark; }
:root:root:root body.kieu-de-dung.pc-kt :is(label, th, td, h1, h2, h3, h4, p, small, .ghi-chu, .nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang), .nut-dau, .the-tab button, .khoi-cam-do .viec-lon b, .thanh-ben a, .thanh-ben .cha, .thanh-ben .nhom, .thanh-ben .ten-tiem, .thanh-ben .chan :is(div, span, small, b, a, button), .dau-trang :is(.nut-dau, .xo > button), .chon-do-sang span, .chon-phong-cach > span, .chon-giao-dien > span, .chon-co-chu > span, input, select, textarea),
:root:root:root body.kieu-de-dung.pc-kt :is(.nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang), .nut-dau, .the-tab button, .thanh-ben a, .thanh-ben .cha, .thanh-ben .chan, .dau-trang .nut-dau) svg.bt,
:root:root:root body.kieu-de-dung.pc-kt #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) :is(label, span, .ghi-chu) { color: #fff !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.the, .thanh-ben, .dau-trang, .khoi-cam-do .viec-luoi, .xo-ra, .hop) { background: linear-gradient(160deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .1)) !important; border: 1px solid rgba(255, 255, 255, .55) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 30px rgba(0, 0, 0, .18) !important; -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .thanh-ben a:not(.ten-tiem), :root:root:root:root:root:root body.kieu-de-dung.pc-kt .thanh-ben .cha, :root:root:root:root:root:root body.kieu-de-dung.pc-kt .thanh-ben .con a:not(.ten-tiem) { background: rgba(255, 255, 255, .1) !important; border: 1px solid rgba(255, 255, 255, .28) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .thanh-ben a.chon:not(.ten-tiem) { background: rgba(255, 255, 255, .38) !important; border-color: rgba(255, 255, 255, .8) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .thanh-ben a:not(.ten-tiem):hover, :root:root:root:root:root:root body.kieu-de-dung.pc-kt .thanh-ben .cha:hover { background: rgba(255, 255, 255, .25) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang), .the-tab button) { background: linear-gradient(160deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, .12)) !important; border: 1px solid rgba(255, 255, 255, .55) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 4px 12px rgba(0, 0, 0, .15) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .the-tab button.chon { background: rgba(255, 255, 255, .5) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(input, select, textarea) { background: rgba(255, 255, 255, .2) !important; border: 1px solid rgba(255, 255, 255, .5) !important; color: #fff !important; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt ::placeholder { color: rgba(255, 255, 255, .72) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt select option { color: #0d1220; background: #fff; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: rgba(255, 255, 255, .14) !important; background-image: none !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody tr:hover td { background: rgba(255, 255, 255, .26) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: rgba(255, 255, 255, .3) !important; background-image: none !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt td.dinh-phai { background: rgba(70, 110, 160, .85) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt th.dinh-phai { background: rgba(80, 120, 170, .95) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) { background: rgba(255, 255, 255, .16) !important; border: 1px solid rgba(255, 255, 255, .45) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6) !important; }
/* nút việc: ô kính bo lớn có nhãn bên dưới, như biểu tượng ứng dụng iOS */
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-luoi { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px !important; border-radius: 26px !important; width: 100%; flex-basis: 100%; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-lon { flex-direction: column; justify-content: center; align-items: center; gap: 6px; min-width: 78px; min-height: 0; padding: 4px 6px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 18px; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-lon .tron { width: 56px; height: 56px; border-radius: 17px; background: linear-gradient(155deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .12) 60%), rgba(255, 255, 255, .1) !important; border: 1px solid rgba(255, 255, 255, .6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 -8px 14px rgba(255, 255, 255, .1), 0 6px 14px rgba(0, 0, 0, .2) !important; color: #fff !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-lon .tron svg.bt { width: 28px; height: 28px; color: #fff !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-lon b { font-size: 12px; font-weight: 500; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-lon.chon .tron { background: linear-gradient(155deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .3) 60%) !important; box-shadow: 0 0 0 2px #fff, 0 6px 14px rgba(0, 0, 0, .25) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-lon.chon::after { content: none; }
/* biểu tượng kiểu iOS dùng chung với phong cách iOS */
body.pc-kt svg.bt .ic-co { display: none; }
body.pc-kt svg.bt .ic-ios { display: inline; }
:root:root body.pc-kt svg.bt .ic-ios .f { fill: currentColor; fill-opacity: .22; }
body.pc-kt svg.bt { stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.thanh-ben, .dau-trang) svg.bt { color: #fff !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .nut-dau .so { color: #000; }
.chon-nen-kt { padding: 6px 14px 8px; border-top: 1px solid var(--vien); }
.chon-nen-kt > span { display: block; margin-bottom: 6px; font-size: 12px; color: var(--chu-mo); }
.chon-nen-kt > div { display: flex; gap: 6px; }
.chon-nen-kt button { flex: 1; border: 1px solid var(--vien-o); background: var(--the); color: var(--chu); border-radius: 10px; padding: 5px 8px; font: inherit; font-size: 12px; cursor: pointer; }
.chon-nen-kt button.chon { background: var(--lam); border-color: var(--lam); color: var(--tren-lam); }
/* iOS 27 Kính trong: ô tiêu đề cột, tên khách và số ảnh trong bảng cần sáng lên để đọc được trên nền kính */
:root:root:root:root:root:root body.kieu-de-dung.pc-kt th .o-cot { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .55); color: #fff; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt th.sap:hover .o-cot { background: rgba(255, 255, 255, .4); color: #fff; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt th.sap.len .o-cot, :root:root:root:root:root:root body.kieu-de-dung.pc-kt th.sap.xuong .o-cot { background: rgba(255, 255, 255, .55); color: #0d1220; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ma-hd { color: #fff !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .anh-bieu, :root:root:root:root:root:root body.kieu-de-dung.pc-kt .anh-bieu b { color: #b9fbe3 !important; background: rgba(0, 0, 0, .2); }
/* iOS 27 Kính trong: các thanh dính khi cuộn (nút việc, dải lọc, Zalo, thanh trên) phải đủ đặc để dòng bảng cuộn qua phía sau không lộ chữ xuyên qua; nền nhuộm tối nhẹ theo nền đang chọn */
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .06)), rgba(20, 44, 96, .78) !important; -webkit-backdrop-filter: blur(34px) saturate(1.5); backdrop-filter: blur(34px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .5) !important; border-radius: 22px; }
html.nen-kem:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .06)), rgba(84, 74, 64, .78) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do { padding: 12px !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .22) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-luoi { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .dau-trang { border-radius: 999px; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .dai-zalo :is(.zalo-nut-loi, .zalo-nut-loi *) { color: #ffb199 !important; }
/* iOS 27 Kính trong: thanh trên cùng thụt vào 24px hai bên (màn hình rộng) để dài đúng bằng thanh nút việc và các khung bên dưới */
@media (min-width: 901px) { :root:root:root:root:root:root body.kieu-de-dung.pc-kt .dau-trang { margin-left: 24px; margin-right: 24px; } }

/* ===== iOS 27 (kính) dùng kiểu kính trong suốt, nền xoáy, chữ trắng của "Kính trong" nhưng giữ nguyên bố cục và kiểu cách riêng. Bật/tắt bằng nút "Kính trong suốt" trong bảng giao diện (class kt-ios). ===== */
html.nen-xanh body.kieu-de-dung.pc-ios.kt-ios { background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20420%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22a%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%232f7f93%22%2F%3E%3Cstop%20offset%3D%22.6%22%20stop-color%3D%22%231b4f9c%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230b1f5c%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22300%22%20height%3D%22420%22%20fill%3D%22url(%23a)%22%2F%3E%3Cpath%20d%3D%22M-20%20330%20C60%20230%20120%20350%20200%20240%20S300%20150%20330%2070%20L330%20440%20L-20%20440Z%22%20fill%3D%22%2357c2b0%22%20opacity%3D%22.55%22%2F%3E%3Cpath%20d%3D%22M150%20-10%20C130%2080%20210%20120%20250%20200%20S230%20320%20180%20430%20L330%20430%20L330%20-10Z%22%20fill%3D%22%2312307d%22%20opacity%3D%22.75%22%2F%3E%3Ccircle%20cx%3D%2260%22%20cy%3D%22120%22%20r%3D%2290%22%20fill%3D%22%237fe0cf%22%20opacity%3D%22.22%22%2F%3E%3C%2Fsvg%3E') center / 100% 100% fixed no-repeat, #0b1f5c !important; }
html.nen-kem body.kieu-de-dung.pc-ios.kt-ios { background: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20300%20420%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22a%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%221%22%20y2%3D%221%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23c9bfb4%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%238d8378%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22300%22%20height%3D%22420%22%20fill%3D%22url(%23a)%22%2F%3E%3Cpath%20d%3D%22M-20%20300%20C60%20200%20110%20330%20190%20220%20S300%20120%20330%2040%20L330%20-10%20L-20%20-10Z%22%20fill%3D%22%23e9e2d9%22%20opacity%3D%22.75%22%2F%3E%3Cpath%20d%3D%22M-20%20420%20C80%20330%20160%20400%20230%20300%20S310%20250%20330%20210%20L330%20430Z%22%20fill%3D%22%236f665c%22%20opacity%3D%22.7%22%2F%3E%3Cpath%20d%3D%22M60%20-10%20C40%2090%20130%20120%20170%20200%20S120%20330%2060%20430%22%20fill%3D%22none%22%20stroke%3D%22%23f4eee6%22%20stroke-width%3D%2228%22%20opacity%3D%22.35%22%2F%3E%3C%2Fsvg%3E') center / 100% 100% fixed no-repeat, #8d8378 !important; }
:root:root body.kieu-de-dung.pc-ios.kt-ios::before { display: none; }
body.kieu-de-dung.pc-ios.kt-ios { --chu: #fff; --chu-ro: #fff; --chu-mo: rgba(255, 255, 255, .82); --the: rgba(255, 255, 255, .16); --vien: rgba(255, 255, 255, .3); --vien-o: rgba(255, 255, 255, .5); --lam-nhat: rgba(255, 255, 255, .22); --lam-dam: #fff; color-scheme: dark; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.the, .thanh-ben, .dau-trang, .khoi-cam-do .viec-luoi, .xo-ra, .hop) { background: linear-gradient(160deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .1)) !important; border: 1px solid rgba(255, 255, 255, .55) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 10px 30px rgba(0, 0, 0, .18) !important; -webkit-backdrop-filter: blur(22px) saturate(1.5); backdrop-filter: blur(22px) saturate(1.5); }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .khoi-cam-do { background: transparent !important; box-shadow: none !important; padding: 0 !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .thanh-ben a:not(.ten-tiem), :root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .thanh-ben .cha, :root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .thanh-ben .con a:not(.ten-tiem) { background: rgba(255, 255, 255, .1) !important; border: 1px solid rgba(255, 255, 255, .28) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .thanh-ben a.chon:not(.ten-tiem) { background: rgba(255, 255, 255, .38) !important; border-color: rgba(255, 255, 255, .8) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .thanh-ben a:not(.ten-tiem):hover, :root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .thanh-ben .cha:hover { background: rgba(255, 255, 255, .25) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.nut:not(.xanh):not(.lam):not(.do):not(.vien):not(.vang), .the-tab button) { background: linear-gradient(160deg, rgba(255, 255, 255, .4), rgba(255, 255, 255, .12)) !important; border: 1px solid rgba(255, 255, 255, .55) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 4px 12px rgba(0, 0, 0, .15) !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .the-tab button.chon { background: rgba(255, 255, 255, .5) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(input, select, textarea) { background: rgba(255, 255, 255, .2) !important; border: 1px solid rgba(255, 255, 255, .5) !important; color: #fff !important; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .12) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios ::placeholder { color: rgba(255, 255, 255, .72) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios select option { color: #0d1220; background: #fff; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: rgba(255, 255, 255, .14) !important; background-image: none !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody tr:hover td { background: rgba(255, 255, 255, .26) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: rgba(255, 255, 255, .3) !important; background-image: none !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios td.dinh-phai { background: rgba(70, 110, 160, .85) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios th.dinh-phai { background: rgba(80, 120, 170, .95) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo) { background: rgba(255, 255, 255, .16) !important; border: 1px solid rgba(255, 255, 255, .45) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6) !important; }
body.pc-ios.kt-ios svg.bt .ic-co { display: none; }
body.pc-ios.kt-ios svg.bt .ic-ios { display: inline; }
:root:root body.pc-ios.kt-ios svg.bt .ic-ios .f { fill: currentColor; fill-opacity: .22; }
body.pc-ios.kt-ios svg.bt { stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.thanh-ben, .dau-trang) svg.bt { color: #fff !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .nut-dau .so { color: #000; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios th .o-cot { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .55); color: #fff; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios th.sap:hover .o-cot { background: rgba(255, 255, 255, .4); color: #fff; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios th.sap.len .o-cot, :root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios th.sap.xuong .o-cot { background: rgba(255, 255, 255, .55); color: #0d1220; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ma-hd { color: #fff !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .anh-bieu, :root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .anh-bieu b { color: #b9fbe3 !important; background: rgba(0, 0, 0, .2); }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .06)), rgba(20, 44, 96, .78) !important; -webkit-backdrop-filter: blur(34px) saturate(1.5); backdrop-filter: blur(34px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .5) !important; border-radius: 22px; }
html.nen-kem:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .06)), rgba(84, 74, 64, .78) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .khoi-cam-do { padding: 12px !important; box-shadow: 0 10px 30px rgba(0, 0, 0, .22) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .dau-trang { border-radius: 999px; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .dai-zalo :is(.zalo-nut-loi, .zalo-nut-loi *) { color: #ffb199 !important; }

/* biểu tượng trong thanh nút việc của iOS 27 (kính): ô kính trong, biểu tượng trắng; nút đang chọn sáng hơn */
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .khoi-cam-do .viec-lon { background: transparent !important; box-shadow: none !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .khoi-cam-do .viec-lon .tron { background: linear-gradient(155deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .12) 62%), rgba(255, 255, 255, .1) !important; border: 1px solid rgba(255, 255, 255, .6) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 3px 8px rgba(0, 0, 0, .2) !important; color: #fff !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .khoi-cam-do .viec-lon .tron svg.bt { color: #fff !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .khoi-cam-do .viec-lon.chon { background: rgba(255, 255, 255, .34) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .khoi-cam-do .viec-lon b { color: #fff !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }

/* ---- Kính trong thật hơn (pc-kt): nền phía sau bị mờ mạnh, khúc xạ nhẹ và sáng lên; viền sáng hai lớp; lớp nhuộm trên thanh dính mỏng đi ---- */
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.dau-trang, .khoi-cam-do .viec-luoi, .xo-ra, .hop, .khoi-cam-do .viec-lon .tron, .thanh-ben) { -webkit-backdrop-filter: blur(20px) saturate(1.8) brightness(1.12); backdrop-filter: blur(20px) saturate(1.8) brightness(1.12); -webkit-backdrop-filter: url(#kinh-long) blur(14px) saturate(1.8) brightness(1.12); backdrop-filter: url(#kinh-long) blur(14px) saturate(1.8) brightness(1.12); }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.the, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { -webkit-backdrop-filter: blur(30px) saturate(1.8) brightness(1.1); backdrop-filter: blur(30px) saturate(1.8) brightness(1.1); }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .06) 55%), rgba(20, 44, 96, .34) !important; border: 1px solid rgba(255, 255, 255, .62) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 -14px 24px rgba(255, 255, 255, .06), 0 14px 36px rgba(0, 0, 0, .22) !important; }
html.nen-kem:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .06) 55%), rgba(84, 74, 64, .34) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.the, .thanh-ben, .xo-ra, .hop) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 -16px 28px rgba(255, 255, 255, .05), 0 14px 36px rgba(0, 0, 0, .2) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-lon .tron { box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 -10px 16px rgba(255, 255, 255, .12), 0 8px 18px rgba(0, 0, 0, .22) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: rgba(255, 255, 255, .1) !important; }

/* ---- Kính trong thật hơn (pc-ios.kt-ios): nền phía sau bị mờ mạnh, khúc xạ nhẹ và sáng lên; viền sáng hai lớp; lớp nhuộm trên thanh dính mỏng đi ---- */
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.dau-trang, .khoi-cam-do .viec-luoi, .xo-ra, .hop, .khoi-cam-do .viec-lon .tron, .thanh-ben) { -webkit-backdrop-filter: blur(20px) saturate(1.8) brightness(1.12); backdrop-filter: blur(20px) saturate(1.8) brightness(1.12); -webkit-backdrop-filter: url(#kinh-long) blur(14px) saturate(1.8) brightness(1.12); backdrop-filter: url(#kinh-long) blur(14px) saturate(1.8) brightness(1.12); }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.the, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { -webkit-backdrop-filter: blur(30px) saturate(1.8) brightness(1.1); backdrop-filter: blur(30px) saturate(1.8) brightness(1.1); }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .06) 55%), rgba(20, 44, 96, .34) !important; border: 1px solid rgba(255, 255, 255, .62) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 0 0 1px rgba(255, 255, 255, .12), inset 0 -14px 24px rgba(255, 255, 255, .06), 0 14px 36px rgba(0, 0, 0, .22) !important; }
html.nen-kem:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .06) 55%), rgba(84, 74, 64, .34) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.the, .thanh-ben, .xo-ra, .hop) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 -16px 28px rgba(255, 255, 255, .05), 0 14px 36px rgba(0, 0, 0, .2) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .khoi-cam-do .viec-lon .tron { box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 -10px 16px rgba(255, 255, 255, .12), 0 8px 18px rgba(0, 0, 0, .22) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: rgba(255, 255, 255, .1) !important; }

/* ---- iOS 27: bóng kính khi rê chuột vào ô chức năng, nút, mục menu: vệt sáng tròn đi theo con trỏ, viền phát sáng, biểu tượng nổi lên và sáng hơn ---- */
:root:root :is(body.pc-ios, body.pc-kt) :is(.viec-lon, .nut, .thanh-ben a:not(.ten-tiem), .thanh-ben .cha, .the-tab button, .nut-dau) { position: relative; }
:root:root :is(body.pc-ios, body.pc-kt) :is(.viec-lon, .nut, .thanh-ben a:not(.ten-tiem), .thanh-ben .cha, .the-tab button, .nut-dau)::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .22s ease;
  background: radial-gradient(circle 110px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .62), rgba(255, 255, 255, .18) 45%, rgba(255, 255, 255, 0) 72%); }
:root:root :is(body.pc-ios, body.pc-kt) :is(.viec-lon, .nut, .thanh-ben a:not(.ten-tiem), .thanh-ben .cha, .the-tab button, .nut-dau):hover::before { opacity: 1; }
:root:root :is(body.pc-ios, body.pc-kt) :is(.nut, .the-tab button, .nut-dau, .thanh-ben a:not(.ten-tiem), .thanh-ben .cha):hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 1px rgba(255, 255, 255, .85), 0 0 16px rgba(255, 255, 255, .5), 0 8px 18px rgba(0, 0, 0, .18) !important; filter: brightness(1.08) saturate(1.1); }
:root:root :is(body.pc-ios, body.pc-kt) .viec-lon .tron { transition: transform .22s cubic-bezier(.3, 1.3, .5, 1), box-shadow .22s ease, filter .22s ease; }
:root:root :is(body.pc-ios, body.pc-kt) .viec-lon:hover .tron { transform: translateY(-3px) scale(1.04); filter: brightness(1.18) saturate(1.15); box-shadow: inset 0 1.5px 0 #fff, 0 0 0 1.5px rgba(255, 255, 255, .85), 0 0 22px rgba(255, 255, 255, .55), 0 12px 22px rgba(0, 0, 0, .25) !important; }
:root:root :is(body.pc-ios, body.pc-kt) .viec-lon:hover { filter: none; }

/* ---- iOS 27: con chuột đi đến đâu thì chỗ đó phóng lớn và phát sáng (như kính lúp). Ô chức năng phóng 12% (biểu tượng 22%), nút và tab 8%, mục menu 4% (menu bị cắt ở hai mép nên phóng ít hơn). ---- */
:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.viec-lon, .nut, .the-tab button, .nut-dau, .thanh-ben a:not(.ten-tiem), .thanh-ben .cha) { transition: transform .24s cubic-bezier(.3, 1.45, .5, 1), box-shadow .24s ease, filter .24s ease, opacity .22s ease; transform-origin: center; }
:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) .viec-lon:hover { transform: scale(1.12); z-index: 6; filter: none; }
:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) .viec-lon:hover .tron { transform: translateY(-2px) scale(1.22); filter: brightness(1.22) saturate(1.2); box-shadow: inset 0 1.5px 0 #fff, 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 30px color-mix(in srgb, var(--mau, #fff) 55%, #fff), 0 0 12px rgba(255, 255, 255, .8), 0 14px 24px rgba(0, 0, 0, .28) !important; }
:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) .viec-lon:hover b { text-shadow: 0 0 12px rgba(255, 255, 255, .9); }
:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.nut, .the-tab button, .nut-dau):hover { transform: scale(1.08); z-index: 6; box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 26px rgba(255, 255, 255, .7), 0 10px 22px rgba(0, 0, 0, .22) !important; filter: brightness(1.12) saturate(1.15); }
:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.thanh-ben a:not(.ten-tiem), .thanh-ben .cha):hover { transform: scale(1.04); z-index: 6; box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 22px rgba(255, 255, 255, .6), 0 8px 18px rgba(0, 0, 0, .2) !important; filter: brightness(1.12) saturate(1.12); }
:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.thanh-ben a:not(.ten-tiem), .thanh-ben .cha):hover svg.bt { transform: scale(1.18); filter: drop-shadow(0 0 8px rgba(255, 255, 255, .9)); transition: transform .24s cubic-bezier(.3, 1.45, .5, 1), filter .24s ease; }
/* dòng bảng danh sách: sáng lên khi rê chuột */
:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody tr:hover td { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), inset 0 -1px 0 rgba(255, 255, 255, .35), 0 0 18px rgba(255, 255, 255, .35); filter: brightness(1.1); }

/* ---- Máy đang bật "giảm chuyển động" (Windows Server tắt hiệu ứng hoạt ảnh): giao-dien.css mặc định chặn mọi phóng to khi rê chuột bằng "*:hover { transform: none !important }", nên hiệu ứng phóng lớn không hiện. Ở phong cách iOS 27 cho phép lại, vì anh đã chọn dùng hiệu ứng này. ---- */
@media (prefers-reduced-motion: reduce) {
  :root:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) .viec-lon:hover { transform: scale(1.12) !important; }
  :root:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) .viec-lon:hover .tron { transform: translateY(-2px) scale(1.22) !important; }
  :root:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.nut, .the-tab button, .nut-dau):hover { transform: scale(1.08) !important; }
  :root:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.thanh-ben a:not(.ten-tiem), .thanh-ben .cha):hover { transform: scale(1.04) !important; }
  :root:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.thanh-ben a:not(.ten-tiem), .thanh-ben .cha):hover svg.bt { transform: scale(1.18) !important; }
  :root:root :is(body.pc-ios, body.pc-kt) :is(.viec-lon, .nut, .the-tab button, .nut-dau, .thanh-ben a:not(.ten-tiem), .thanh-ben .cha), :root:root :is(body.pc-ios, body.pc-kt) .viec-lon .tron { transition: transform .24s cubic-bezier(.3, 1.45, .5, 1), box-shadow .24s ease, filter .24s ease; }
}

/* ---- Thanh "Độ trong suốt kính" điều khiển phong cách pc-kt: độ đặc của kính, lớp nhuộm thanh dính, nền dòng bảng và độ mờ nền sau ---- */
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.the, .thanh-ben, .dau-trang, .khoi-cam-do .viec-luoi, .xo-ra, .hop) { background: linear-gradient(160deg, rgba(255, 255, 255, var(--kt-w, .34)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .3))) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, calc(var(--kt-w, .34) * .9)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .18))), rgba(20, 44, 96, var(--kt-tint, .34)) !important; }
html.nen-kem:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, calc(var(--kt-w, .34) * .9)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .18))), rgba(84, 74, 64, var(--kt-tint, .34)) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: rgba(255, 255, 255, var(--kt-row, .1)) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody tr:hover td { background: rgba(255, 255, 255, calc(var(--kt-row, .1) + .14)) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: rgba(255, 255, 255, calc(var(--kt-row, .1) + .18)) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.dau-trang, .khoi-cam-do .viec-luoi, .xo-ra, .hop, .khoi-cam-do .viec-lon .tron, .thanh-ben) { -webkit-backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .7)) saturate(1.8) brightness(1.12); backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .7)) saturate(1.8) brightness(1.12); -webkit-backdrop-filter: url(#kinh-long) blur(calc(var(--kinh-blur, 24px) * .5)) saturate(1.8) brightness(1.12); backdrop-filter: url(#kinh-long) blur(calc(var(--kinh-blur, 24px) * .5)) saturate(1.8) brightness(1.12); }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.the, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { -webkit-backdrop-filter: blur(var(--kinh-blur, 24px)) saturate(1.8) brightness(1.1); backdrop-filter: blur(var(--kinh-blur, 24px)) saturate(1.8) brightness(1.1); }

/* ---- Thanh "Độ trong suốt kính" điều khiển phong cách pc-ios.kt-ios: độ đặc của kính, lớp nhuộm thanh dính, nền dòng bảng và độ mờ nền sau ---- */
:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.the, .thanh-ben, .dau-trang, .khoi-cam-do .viec-luoi, .xo-ra, .hop) { background: linear-gradient(160deg, rgba(255, 255, 255, var(--kt-w, .34)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .3))) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, calc(var(--kt-w, .34) * .9)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .18))), rgba(20, 44, 96, var(--kt-tint, .34)) !important; }
html.nen-kem:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, calc(var(--kt-w, .34) * .9)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .18))), rgba(84, 74, 64, var(--kt-tint, .34)) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: rgba(255, 255, 255, var(--kt-row, .1)) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody tr:hover td { background: rgba(255, 255, 255, calc(var(--kt-row, .1) + .14)) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: rgba(255, 255, 255, calc(var(--kt-row, .1) + .18)) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.dau-trang, .khoi-cam-do .viec-luoi, .xo-ra, .hop, .khoi-cam-do .viec-lon .tron, .thanh-ben) { -webkit-backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .7)) saturate(1.8) brightness(1.12); backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .7)) saturate(1.8) brightness(1.12); -webkit-backdrop-filter: url(#kinh-long) blur(calc(var(--kinh-blur, 24px) * .5)) saturate(1.8) brightness(1.12); backdrop-filter: url(#kinh-long) blur(calc(var(--kinh-blur, 24px) * .5)) saturate(1.8) brightness(1.12); }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.the, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { -webkit-backdrop-filter: blur(var(--kinh-blur, 24px)) saturate(1.8) brightness(1.1); backdrop-filter: blur(var(--kinh-blur, 24px)) saturate(1.8) brightness(1.1); }

/* ---- pc-kt: hai thanh chỉnh màu hoạt động trở lại. "Màu nền giao diện" làm tối dần hình nền xoáy; "Màu các thanh công cụ" làm kính ngả khói tối dần (lớp nhuộm đen xanh thêm vào các khung, thanh, dòng bảng). ---- */
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt::before { display: block !important; content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #05060a; opacity: calc(var(--do-toi, 0) * .9); }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.the, .thanh-ben, .dau-trang, .khoi-cam-do .viec-luoi, .xo-ra, .hop) { background: linear-gradient(160deg, rgba(255, 255, 255, var(--kt-w, .34)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .3))), linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(255, 255, 255, 0) !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, calc(var(--kt-w, .34) * .9)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .18))), linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(20, 44, 96, var(--kt-tint, .34)) !important; }
html.nen-kem:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, calc(var(--kt-w, .34) * .9)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .18))), linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(84, 74, 64, var(--kt-tint, .34)) !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(255, 255, 255, var(--kt-row, .1)) !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(255, 255, 255, calc(var(--kt-row, .1) + .18)) !important; }

/* ---- pc-ios.kt-ios: hai thanh chỉnh màu hoạt động trở lại. "Màu nền giao diện" làm tối dần hình nền xoáy; "Màu các thanh công cụ" làm kính ngả khói tối dần (lớp nhuộm đen xanh thêm vào các khung, thanh, dòng bảng). ---- */
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios::before { display: block !important; content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #05060a; opacity: calc(var(--do-toi, 0) * .9); }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.the, .thanh-ben, .dau-trang, .khoi-cam-do .viec-luoi, .xo-ra, .hop) { background: linear-gradient(160deg, rgba(255, 255, 255, var(--kt-w, .34)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .3))), linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(255, 255, 255, 0) !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, calc(var(--kt-w, .34) * .9)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .18))), linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(20, 44, 96, var(--kt-tint, .34)) !important; }
html.nen-kem:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.dau-trang, .khoi-cam-do, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: linear-gradient(160deg, rgba(255, 255, 255, calc(var(--kt-w, .34) * .9)), rgba(255, 255, 255, calc(var(--kt-w, .34) * .18))), linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(84, 74, 64, var(--kt-tint, .34)) !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) tbody td { background: linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(255, 255, 255, var(--kt-row, .1)) !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.bang-cuon, .the) > table:not(.bang-chi-tiet):not(.bn-bang) th { background: linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(255, 255, 255, calc(var(--kt-row, .1) + .18)) !important; }


/* ---- pc-kt: mọi nút chức năng chuyển sang nền kính trong, chỉ còn khung viền sáng và chữ trắng (nút có ý nghĩa màu như Lưu, Xóa chỉ ngả màu rất nhẹ và viền cùng màu) ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.nut, .the-tab button, .dai-zalo button, .hop > header button, .xo-ra button) { background: rgba(255, 255, 255, calc(var(--kt-w, .34) * .4)) !important; background-image: none !important; border: 1px solid rgba(255, 255, 255, .7) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 12px rgba(0, 0, 0, .14) !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .6)) saturate(1.6); backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .6)) saturate(1.6); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.nut, .the-tab button, .dai-zalo button) svg, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.nut, .the-tab button, .dai-zalo button) svg.bt { color: #fff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .nut.vien { background: transparent !important; border-color: rgba(255, 255, 255, .85) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .nut.xanh { background: rgba(16, 185, 129, .3) !important; border-color: rgba(110, 231, 183, .95) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .nut.lam { background: rgba(96, 165, 250, .3) !important; border-color: rgba(191, 219, 254, .95) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .nut.do { background: rgba(239, 68, 68, .32) !important; border-color: rgba(252, 165, 165, .95) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .nut.vang { background: rgba(250, 204, 21, .28) !important; border-color: rgba(253, 224, 71, .95) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.the-tab button.chon, .dai-zalo button.chon, .nut.chon) { background: rgba(255, 255, 255, .34) !important; border-color: #fff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.nut, .the-tab button, .dai-zalo button):hover { background: rgba(255, 255, 255, .3) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.nut, .the-tab button, .dai-zalo button):hover { box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 24px rgba(255, 255, 255, .6), 0 8px 18px rgba(0, 0, 0, .2) !important; }

/* ---- pc-ios.kt-ios: mọi nút chức năng chuyển sang nền kính trong, chỉ còn khung viền sáng và chữ trắng (nút có ý nghĩa màu như Lưu, Xóa chỉ ngả màu rất nhẹ và viền cùng màu) ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.nut, .the-tab button, .dai-zalo button, .hop > header button, .xo-ra button) { background: rgba(255, 255, 255, calc(var(--kt-w, .34) * .4)) !important; background-image: none !important; border: 1px solid rgba(255, 255, 255, .7) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 4px 12px rgba(0, 0, 0, .14) !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); -webkit-backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .6)) saturate(1.6); backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .6)) saturate(1.6); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.nut, .the-tab button, .dai-zalo button) svg, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.nut, .the-tab button, .dai-zalo button) svg.bt { color: #fff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .nut.vien { background: transparent !important; border-color: rgba(255, 255, 255, .85) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .nut.xanh { background: rgba(16, 185, 129, .3) !important; border-color: rgba(110, 231, 183, .95) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .nut.lam { background: rgba(96, 165, 250, .3) !important; border-color: rgba(191, 219, 254, .95) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .nut.do { background: rgba(239, 68, 68, .32) !important; border-color: rgba(252, 165, 165, .95) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .nut.vang { background: rgba(250, 204, 21, .28) !important; border-color: rgba(253, 224, 71, .95) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.the-tab button.chon, .dai-zalo button.chon, .nut.chon) { background: rgba(255, 255, 255, .34) !important; border-color: #fff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.nut, .the-tab button, .dai-zalo button):hover { background: rgba(255, 255, 255, .3) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.nut, .the-tab button, .dai-zalo button):hover { box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 24px rgba(255, 255, 255, .6), 0 8px 18px rgba(0, 0, 0, .2) !important; }

/* ---- Hiệu ứng rê chuột (phóng lớn, phát sáng, vệt kính theo con trỏ) cho cả các chip lọc, nút trong menu thả xuống, nút chọn phong cách và nút đóng hộp thoại ---- */
:root:root:root:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.dai-zalo button, .xo-ra button, .chon-phong-cach button, .chon-nen-kt button, .hop > header button) { position: relative; transition: transform .24s cubic-bezier(.3, 1.45, .5, 1), box-shadow .24s ease, filter .24s ease, background .2s ease; transform-origin: center; }
:root:root:root:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.dai-zalo button, .xo-ra button, .chon-phong-cach button, .chon-nen-kt button, .hop > header button)::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .22s ease; background: radial-gradient(circle 90px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .62), rgba(255, 255, 255, .16) 45%, rgba(255, 255, 255, 0) 72%); }
:root:root:root:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.dai-zalo button, .xo-ra button, .chon-phong-cach button, .chon-nen-kt button, .hop > header button):hover::before { opacity: 1; }
:root:root:root:root:root:root:root:root:root:root :is(body.pc-ios, body.pc-kt) :is(.dai-zalo button, .xo-ra button, .chon-phong-cach button, .chon-nen-kt button, .hop > header button):hover { transform: scale(1.1) !important; z-index: 6; filter: brightness(1.12) saturate(1.15); box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px rgba(255, 255, 255, .95), 0 0 24px rgba(255, 255, 255, .6), 0 8px 18px rgba(0, 0, 0, .2) !important; }

/* ---- pc-kt: trang "Hỏi trợ lý AI": khung trả lời và các bong bóng chat chuyển sang kính trong, chữ trắng ---- */
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt #ai-khung { background: linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(255, 255, 255, calc(var(--kt-row, .1) + .06)) !important; border: 1px solid rgba(255, 255, 255, .55) !important; color: #fff; -webkit-backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .8)) saturate(1.6); backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .8)) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 30px rgba(0, 0, 0, .15); }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt #ai-khung .ghi-chu { color: rgba(255, 255, 255, .85) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin.ai { background: rgba(255, 255, 255, calc(var(--kt-w, .34) * .55)) !important; border: 1px solid rgba(255, 255, 255, .55) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin.chu { background: rgba(120, 190, 255, .34) !important; border: 1px solid rgba(190, 225, 255, .8) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin.dang-nghi { color: rgba(255, 255, 255, .8) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin :is(p, li, b, strong, span, div, td, th, h1, h2, h3, h4) { color: #fff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin :is(summary, a) { color: #bfe3ff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin table { background: transparent !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin :is(td, th) { background: rgba(255, 255, 255, .1) !important; border-color: rgba(255, 255, 255, .3) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin pre, :root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin code { background: rgba(0, 0, 0, .25) !important; color: #fff !important; }

/* ---- pc-ios.kt-ios: trang "Hỏi trợ lý AI": khung trả lời và các bong bóng chat chuyển sang kính trong, chữ trắng ---- */
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #ai-khung { background: linear-gradient(rgba(10, 16, 40, var(--kt-dark, 0)), rgba(10, 16, 40, var(--kt-dark, 0))), rgba(255, 255, 255, calc(var(--kt-row, .1) + .06)) !important; border: 1px solid rgba(255, 255, 255, .55) !important; color: #fff; -webkit-backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .8)) saturate(1.6); backdrop-filter: blur(calc(var(--kinh-blur, 24px) * .8)) saturate(1.6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 10px 30px rgba(0, 0, 0, .15); }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #ai-khung .ghi-chu { color: rgba(255, 255, 255, .85) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin.ai { background: rgba(255, 255, 255, calc(var(--kt-w, .34) * .55)) !important; border: 1px solid rgba(255, 255, 255, .55) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin.chu { background: rgba(120, 190, 255, .34) !important; border: 1px solid rgba(190, 225, 255, .8) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5); }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin.dang-nghi { color: rgba(255, 255, 255, .8) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin :is(p, li, b, strong, span, div, td, th, h1, h2, h3, h4) { color: #fff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin :is(summary, a) { color: #bfe3ff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin table { background: transparent !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin :is(td, th) { background: rgba(255, 255, 255, .1) !important; border-color: rgba(255, 255, 255, .3) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin pre, :root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin code { background: rgba(0, 0, 0, .25) !important; color: #fff !important; }

/* ---- pc-kt: trang Hỏi trợ lý AI trong hơn và dễ đọc hơn: khung trả lời và bong bóng nhuộm khói nhẹ (đọc rõ chữ trắng) nhưng vẫn trong suốt; phần "Số liệu đã dùng" khi bấm mở ra cũng thành kính trong, hết nền trắng ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt #ai-khung { background: rgba(255, 255, 255, .05) !important; background-image: none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin.ai { background: rgba(10, 24, 70, .30) !important; border: 1px solid rgba(255, 255, 255, .5) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin.chu { background: rgba(60, 140, 255, .36) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin, :root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin .ai-chu { text-shadow: 0 1px 2px rgba(0, 0, 0, .45); font-weight: 500; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .ai-tin details { background: transparent !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .sl-bao-cao { background: rgba(10, 24, 70, .34) !important; background-image: none !important; border: 1px solid rgba(255, 255, 255, .45) !important; color: #fff !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.sl-ten, .sl-muc, .sl-muc > b, .sl-bao-cao b, .sl-bao-cao div, .sl-bao-cao span, .ai-so-nho, .ai-so-nho b) { color: #fff !important; background-color: transparent !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .sl-bao-cao .bang-cuon { background: transparent !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .sl-bao-cao table :is(td, th) { background: rgba(255, 255, 255, .1) !important; background-image: none !important; color: #fff !important; border-color: rgba(255, 255, 255, .3) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .sl-bao-cao table th { background: rgba(255, 255, 255, .24) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .sl-bao-cao table th .o-cot { background: transparent !important; border-color: transparent !important; color: #fff !important; }

/* ---- pc-ios.kt-ios: trang Hỏi trợ lý AI trong hơn và dễ đọc hơn: khung trả lời và bong bóng nhuộm khói nhẹ (đọc rõ chữ trắng) nhưng vẫn trong suốt; phần "Số liệu đã dùng" khi bấm mở ra cũng thành kính trong, hết nền trắng ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #ai-khung { background: rgba(255, 255, 255, .05) !important; background-image: none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin.ai { background: rgba(10, 24, 70, .30) !important; border: 1px solid rgba(255, 255, 255, .5) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin.chu { background: rgba(60, 140, 255, .36) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin, :root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin .ai-chu { text-shadow: 0 1px 2px rgba(0, 0, 0, .45); font-weight: 500; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .ai-tin details { background: transparent !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .sl-bao-cao { background: rgba(10, 24, 70, .34) !important; background-image: none !important; border: 1px solid rgba(255, 255, 255, .45) !important; color: #fff !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(.sl-ten, .sl-muc, .sl-muc > b, .sl-bao-cao b, .sl-bao-cao div, .sl-bao-cao span, .ai-so-nho, .ai-so-nho b) { color: #fff !important; background-color: transparent !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .sl-bao-cao .bang-cuon { background: transparent !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .sl-bao-cao table :is(td, th) { background: rgba(255, 255, 255, .1) !important; background-image: none !important; color: #fff !important; border-color: rgba(255, 255, 255, .3) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .sl-bao-cao table th { background: rgba(255, 255, 255, .24) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .sl-bao-cao table th .o-cot { background: transparent !important; border-color: transparent !important; color: #fff !important; }


/* ---- Gọn như Samsung One UI 9: khung chứa thanh nút việc, dòng chữ mô tả và "Việc hôm nay" cùng nằm trong một khung nhỏ gọn (đệm 8px 10px, thanh cao 60px, hai dòng chữ cùng một hàng) ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .khoi-cam-do { padding: 8px 10px !important; gap: 6px 16px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-luoi { padding: 6px !important; gap: 6px !important; border-radius: 999px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-lon { flex-direction: row !important; align-items: center !important; min-width: 130px !important; min-height: 46px !important; padding: 0 22px 0 12px !important; gap: 8px !important; border-radius: 999px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-lon .tron { width: 30px !important; height: 30px !important; border-radius: 10px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-lon .tron svg.bt { width: 18px !important; height: 18px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-lon b { font-size: 16px !important; }


/* ---- iOS 27 Kính trong: thanh nút co theo nội dung như UI 9, nên dòng chữ mô tả và hai ô "Việc hôm nay" nằm đúng vị trí như bên UI 9 và Huawei ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-luoi { flex-basis: auto !important; width: auto !important; display: flex !important; }


/* ---- Nút "Giao diện" nổi sát mép trái màn hình và bảng chọn giao diện/độ trong suốt đặt sát mép trái, đi theo khi lăn chuột ---- */
.nut-giao-dien { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 70; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 7px; border: 1px solid rgba(255, 255, 255, .5); border-left: 0; border-radius: 0 14px 14px 0; background: rgba(32, 44, 92, .78); color: #fff; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, .3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: padding .18s ease, background .18s ease; }
.nut-giao-dien span { writing-mode: vertical-rl; letter-spacing: .5px; }
.nut-giao-dien svg.bt { width: 20px; height: 20px; stroke: #fff; }
.nut-giao-dien:hover { padding-left: 11px; background: rgba(48, 66, 130, .9); }
body.trang-dang-nhap .nut-giao-dien { display: none; }
:root:root .xo.xo-giao-dien > .xo-ra { display: block; position: fixed !important; left: 0 !important; right: auto !important; top: 64px !important; bottom: auto !important; width: 310px; max-height: calc(100vh - 80px); overflow-y: auto; z-index: 75; border-radius: 0 18px 18px 0; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
:root:root .xo.xo-giao-dien > .xo-ra > :not(.chon-co-chu):not(.chon-giao-dien):not(.chon-phong-cach):not(.chon-nen-kt):not(.chon-do-sang):not(.phoi-4):not(hr):not(.chon-kt-ios) { }

/* ---- Bảng chọn giao diện nổi: dán sát mép trái màn hình, cao gần hết màn hình, đi theo khi lăn chuột (position: fixed gắn thẳng vào trang) ---- */
#bang-giao-dien { position: fixed; left: 0; top: 60px; bottom: 12px; width: 310px; overflow-y: auto; z-index: 75; display: none; background: #fff; color: #1c2230; border-radius: 0 18px 18px 0; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); padding: 4px 0 12px; }
#bang-giao-dien.mo { display: block; }
#bang-giao-dien .bgd-dau { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px 6px; font-size: 14px; }
#bang-giao-dien .bgd-dau button { width: auto; border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: inherit; padding: 0 4px; }
:root:root:root body.kieu-de-dung.pc-kt #bang-giao-dien, :root:root:root body.kieu-de-dung.pc-ios.kt-ios #bang-giao-dien { background: rgba(14, 26, 66, .93); color: #fff; border: 1px solid rgba(255, 255, 255, .4); border-left: 0; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }

/* Sao chép kiểu các thanh chọn từ ô xổ sang bảng nổi */
#bang-giao-dien .chon-kieu > span { flex-basis: 100%; font-size: 12px; color: var(--chu-mo); }
#bang-giao-dien:has(.chon-phong-cach) { width: 290px; min-width: 0; max-width: calc(100vw - 16px); }
#bang-giao-dien .chon-phong-cach, #bang-giao-dien .chon-giao-dien, #bang-giao-dien .chon-co-chu, #bang-giao-dien .chon-do-sang { padding-left: 12px; padding-right: 12px; }
#bang-giao-dien .chon-phong-cach > div { display: flex; flex-wrap: wrap; gap: 4px; }
#bang-giao-dien .chon-phong-cach button { width: auto; padding: 4px 8px; font-size: 11.5px; }
#bang-giao-dien .chon-giao-dien > div { flex-wrap: wrap; gap: 6px; }
#bang-giao-dien .chon-co-chu, #bang-giao-dien .chon-giao-dien, #bang-giao-dien .chon-phong-cach, #bang-giao-dien .chon-do-sang { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 7px; margin: 0; padding: 10px 14px; border-top: 1px solid var(--vien); }
#bang-giao-dien .chon-co-chu > span, #bang-giao-dien .chon-giao-dien > span, #bang-giao-dien .chon-phong-cach > span, #bang-giao-dien .chon-do-sang > span { margin: 0; font-size: 12px; font-weight: 600; color: var(--chu-mo); }
#bang-giao-dien .chon-co-chu > div { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
#bang-giao-dien .chon-co-chu button { width: 100%; padding: 5px 0; justify-content: center; text-align: center; font-size: 12px; }
#bang-giao-dien .chon-giao-dien > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); justify-items: center; gap: 8px; }
#bang-giao-dien .chon-phong-cach > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 5px; }
#bang-giao-dien .chon-phong-cach button { width: 100%; padding: 6px 4px; justify-content: center; text-align: center; }
#bang-giao-dien .chon-do-sang { padding-bottom: 12px; }
/* Bảng giao diện nổi ở kiểu kính trong: các nút chưa chọn là kính trong có viền, chữ trắng (nền trắng mặc định làm chữ trắng biến mất) */
:root:root:root:root:root body.kieu-de-dung.pc-kt #bang-giao-dien button:not(.chon):not(.bgd-dau button), :root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #bang-giao-dien button:not(.chon):not(.bgd-dau button) { background: rgba(255, 255, 255, .16) !important; color: #fff !important; border: 1px solid rgba(255, 255, 255, .55) !important; }
:root:root:root:root:root body.kieu-de-dung.pc-kt #bang-giao-dien button.chon, :root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #bang-giao-dien button.chon { background: rgba(255, 255, 255, .4) !important; color: #fff !important; border-color: #fff !important; }
:root:root:root:root:root body.kieu-de-dung.pc-kt #bang-giao-dien .bgd-dau button, :root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #bang-giao-dien .bgd-dau button { background: none !important; border: 0 !important; color: #fff !important; }

/* ---- Nút "Giao diện" và bảng chọn giao diện chuyển sang sát mép PHẢI màn hình (vẫn bám theo khi lăn chuột) ---- */
:root:root:root:root body .nut-giao-dien { left: auto !important; right: 0 !important; border-left: 1px solid rgba(255, 255, 255, .5); border-right: 0; border-radius: 14px 0 0 14px; }
:root:root:root:root body .nut-giao-dien:hover { padding-left: 7px; padding-right: 11px; }
:root:root:root:root body #bang-giao-dien { left: auto !important; right: 0 !important; border-radius: 18px 0 0 18px; }
:root:root:root:root body.kieu-de-dung.pc-kt #bang-giao-dien, :root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #bang-giao-dien { border-left: 1px solid rgba(255, 255, 255, .4); border-right: 0; }

/* ---- Bấm biểu tượng tài khoản: ô chỉnh giao diện mở ra dán sát mép phải màn hình, cao gần hết màn hình, đứng yên khi lăn chuột (không tự đóng) ---- */
.nut-giao-dien, #bang-giao-dien { display: none !important; }
:root:root:root:root:root .xo > .xo-ra:has(.chon-phong-cach) { position: fixed !important; right: 0 !important; left: auto !important; top: 60px !important; bottom: 12px !important; width: 310px; max-height: none !important; overflow-y: auto; z-index: 75; border-radius: 18px 0 0 18px !important; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
:root:root:root:root:root body.kieu-de-dung.pc-kt .xo > .xo-ra:has(.chon-phong-cach), :root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .xo > .xo-ra:has(.chon-phong-cach) { background: rgba(14, 26, 66, .93) !important; color: #fff; border: 1px solid rgba(255, 255, 255, .4) !important; border-right: 0 !important; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }

/* Thanh trên cùng có hiệu ứng kính (backdrop-filter) nên làm vị trí "cố định" của ô xổ bị tính theo thanh đó, ô xổ co lại còn 18px. Khi ô chỉnh giao diện đang mở thì tạm bỏ hiệu ứng kính ở thanh trên để ô xổ dán đúng mép phải màn hình. */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body .dau-trang:has(.xo.mo .chon-phong-cach) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; filter: none !important; transform: none !important; }
/* Ô chỉnh giao diện ở kiểu kính trong: nền kính tối đặc hơn để chữ trắng đọc rõ khi nằm trên bảng dữ liệu */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .xo > .xo-ra:has(.chon-phong-cach), :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .xo > .xo-ra:has(.chon-phong-cach) { background: rgba(14, 26, 66, .93) !important; background-image: none !important; border: 1px solid rgba(255, 255, 255, .4) !important; border-right: 0 !important; color: #fff; }

/* ---- Nút "Góp ý" ở chân thanh bên: cùng kiểu kính, bo tròn như các mục menu ở iOS 27 / Kính trong ---- */
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .thanh-ben .chan button.muc-chan, :root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .thanh-ben .chan button.muc-chan { background: rgba(255, 255, 255, .1) !important; border: 1px solid rgba(255, 255, 255, .28) !important; border-radius: 999px !important; color: #fff !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .thanh-ben .chan button.muc-chan:hover, :root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .thanh-ben .chan button.muc-chan:hover { background: rgba(255, 255, 255, .25) !important; }
:root:root:root:root:root:root body.kieu-de-dung.pc-kt .thanh-ben .chan button.muc-chan *, :root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios .thanh-ben .chan button.muc-chan * { color: #fff !important; stroke: #fff; }

/* ---- Nút "Góp ý": bo góc theo đúng từng giao diện, giống các mục menu ---- */
:root:root:root:root body.kieu-de-dung.pc-samsung .thanh-ben .chan button.muc-chan { border-radius: 20px; }
:root:root:root:root body.kieu-de-dung.pc-huawei .thanh-ben .chan button.muc-chan { border-radius: 999px; }

/* ---- Nút "Góp ý" ở iOS 27 Kính trong: bo 6px như các mục menu của kiểu này ---- */
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .thanh-ben .chan button.muc-chan { border-radius: 6px !important; }

/* ---- iOS 27 Kính trong: thanh tìm kiếm/lọc gộp vào khối thanh nút việc, nằm ngay dưới hàng nút; các phần khác giữ nguyên vị trí ---- */
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do.gop-dong > form.loc { flex: 1 1 100%; width: 100%; min-width: 0; margin: 0 !important; position: static !important; align-items: center; padding: 8px 16px !important; border-radius: 26px !important; background: linear-gradient(160deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .1)) !important; border: 1px solid rgba(255, 255, 255, .5) !important; -webkit-backdrop-filter: blur(var(--kinh-blur, 24px)) saturate(1.8); backdrop-filter: blur(var(--kinh-blur, 24px)) saturate(1.8); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 24px rgba(0, 0, 0, .18) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do.gop-dong > form.loc :is(label, span, .ghi-chu) { color: #fff !important; }

/* ---- Danh sách xổ ra của các ô chọn (nhân viên, loại hình, trạng thái...): theo màu từng giao diện thay vì trắng ---- */
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(select option, select optgroup), :root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios :is(select option, select optgroup) { background: #1d4a8f !important; color: #fff !important; }
:root:root:root:root:root:root:root html.nen-kem body.kieu-de-dung.pc-kt :is(select option, select optgroup), :root:root:root:root:root:root:root html.nen-kem body.kieu-de-dung.pc-ios.kt-ios :is(select option, select optgroup) { background: #6b6258 !important; color: #fff !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-samsung, .pc-huawei) :is(select option, select optgroup) { background: #eaf0ff !important; color: #0d1220 !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-samsung, .pc-huawei) select { color-scheme: light; }

/* ---- Danh sách xổ của ô chọn (#tuy-ds): kính mờ và bo góc theo từng giao diện ---- */
#tuy-ds { position: fixed; z-index: 100000; box-sizing: border-box; overflow-y: auto; padding: 6px; font: inherit; font-size: 14px; -webkit-backdrop-filter: blur(26px) saturate(1.8); backdrop-filter: blur(26px) saturate(1.8); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); scrollbar-width: thin; }
#tuy-ds .tuy-muc { padding: 9px 14px; cursor: pointer; white-space: nowrap; transition: background .12s ease; }
#tuy-ds .tuy-muc.tat { opacity: .45; cursor: default; }
body.pc-ios.kt-ios #tuy-ds, body.pc-kt #tuy-ds { background: linear-gradient(160deg, rgba(60, 110, 200, .72), rgba(20, 50, 120, .62)); border: 1px solid rgba(255, 255, 255, .5); color: #fff; border-radius: 18px; }
body.pc-ios.kt-ios #tuy-ds .tuy-muc, body.pc-kt #tuy-ds .tuy-muc { border-radius: 12px; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
body.pc-kt #tuy-ds { border-radius: 8px; }
body.pc-kt #tuy-ds .tuy-muc { border-radius: 6px; }
body.pc-ios.kt-ios #tuy-ds .tuy-muc:not(.tat):hover, body.pc-kt #tuy-ds .tuy-muc:not(.tat):hover { background: rgba(255, 255, 255, .25); }
body.pc-ios.kt-ios #tuy-ds .tuy-muc.chon, body.pc-kt #tuy-ds .tuy-muc.chon { background: rgba(255, 255, 255, .38); font-weight: 700; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
html.nen-kem body.pc-ios.kt-ios #tuy-ds, html.nen-kem body.pc-kt #tuy-ds { background: linear-gradient(160deg, rgba(130, 118, 104, .78), rgba(86, 76, 66, .7)); }
body.pc-ios:not(.kt-ios) #tuy-ds { background: rgba(255, 255, 255, .86); border: 1px solid rgba(255, 255, 255, .9); color: #0d1220; border-radius: 18px; }
body.pc-ios:not(.kt-ios) #tuy-ds .tuy-muc { border-radius: 12px; }
body.pc-ios:not(.kt-ios) #tuy-ds .tuy-muc:not(.tat):hover { background: rgba(60, 90, 200, .12); }
body.pc-ios:not(.kt-ios) #tuy-ds .tuy-muc.chon { background: rgba(60, 90, 200, .22); font-weight: 700; }
body.pc-samsung #tuy-ds, body.pc-huawei #tuy-ds { background: rgba(244, 247, 255, .9); border: 1px solid rgba(59, 80, 223, .25); color: #0d1220; border-radius: 20px; }
body.pc-samsung #tuy-ds .tuy-muc { border-radius: 14px; }
body.pc-huawei #tuy-ds { border-radius: 18px; }
body.pc-huawei #tuy-ds .tuy-muc { border-radius: 14px; }
body.pc-samsung #tuy-ds .tuy-muc:not(.tat):hover, body.pc-huawei #tuy-ds .tuy-muc:not(.tat):hover { background: rgba(59, 80, 223, .12); }
body.pc-samsung #tuy-ds .tuy-muc.chon, body.pc-huawei #tuy-ds .tuy-muc.chon { background: #3b50df; color: #fff; font-weight: 700; }

/* ---- Hai chip "Việc hôm nay" (đến hạn đóng lãi, quá hạn): màu theo từng giao diện ---- */
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) #dai-han-hom-nay .chip-han.vang { background: linear-gradient(160deg, rgba(255, 214, 90, .5), rgba(255, 170, 30, .28)) !important; border: 1px solid rgba(255, 226, 140, .95) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) #dai-han-hom-nay .chip-han.do { background: linear-gradient(160deg, rgba(255, 120, 120, .52), rgba(235, 50, 60, .3)) !important; border: 1px solid rgba(255, 170, 170, .95) !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) #dai-han-hom-nay .chip-han :is(b, span, em, small) { color: #fff !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-samsung, .pc-huawei) #dai-han-hom-nay .chip-han.vang { background: rgba(255, 193, 7, .2) !important; border: 1px solid #e0a000 !important; color: #5c3d00 !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-samsung, .pc-huawei) #dai-han-hom-nay .chip-han.do { background: rgba(229, 57, 53, .14) !important; border: 1px solid #e53935 !important; color: #8e1a14 !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-samsung, .pc-huawei) #dai-han-hom-nay .chip-han.vang :is(b, span, em, small) { color: #5c3d00 !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-samsung, .pc-huawei) #dai-han-hom-nay .chip-han.do :is(b, span, em, small) { color: #8e1a14 !important; }

/* ---- Chip "Việc hôm nay": màu lấy theo bảng màu riêng của từng giao diện (ghi đè khối vàng/đỏ ở trên) ---- */
:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) #dai-han-hom-nay .chip-han.vang { background: linear-gradient(160deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .12)) !important; border: 1px solid rgba(255, 255, 255, .6) !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) #dai-han-hom-nay .chip-han.do { background: linear-gradient(160deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .3)) !important; border: 1px solid rgba(255, 255, 255, .95) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 0 1px rgba(255, 255, 255, .25); }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung #dai-han-hom-nay .chip-han.vang { background: color-mix(in srgb, var(--lam, #3b50df) 14%, #fff) !important; border: 1px solid var(--lam, #3b50df) !important; color: #1b2a8a !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung #dai-han-hom-nay .chip-han.vang :is(b, span, em, small) { color: #1b2a8a !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung #dai-han-hom-nay .chip-han.do { background: var(--lam, #3b50df) !important; border: 1px solid var(--lam, #3b50df) !important; color: #fff !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung #dai-han-hom-nay .chip-han.do :is(b, span, em, small) { color: #fff !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei #dai-han-hom-nay .chip-han.vang { background: rgba(10, 114, 88, .14) !important; border: 1px solid #0a7258 !important; color: #064d3c !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei #dai-han-hom-nay .chip-han.vang :is(b, span, em, small) { color: #064d3c !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei #dai-han-hom-nay .chip-han.do { background: #0a7258 !important; border: 1px solid #0a7258 !important; color: #fff !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei #dai-han-hom-nay .chip-han.do :is(b, span, em, small) { color: #fff !important; }

/* ---- Thẻ số liệu Tổng quan (Thu hôm nay, Chi hôm nay, Quỹ, Đến hạn, Quá hạn...): màu và kiểu theo từng giao diện ---- */
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .dh-the { background: linear-gradient(160deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .1)) !important; border: 1px solid rgba(255, 255, 255, .5) !important; border-left: 5px solid rgba(255, 255, 255, .6) !important; border-radius: 22px !important; color: #fff !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 24px rgba(0, 0, 0, .18) !important; -webkit-backdrop-filter: blur(var(--kinh-blur, 24px)) saturate(1.8); backdrop-filter: blur(var(--kinh-blur, 24px)) saturate(1.8); }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .dh-the { border-radius: 10px !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .dh-the :is(small, span, b) { color: #fff !important; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .dh-the:is(.rong) :is(small, span, b) { opacity: .75; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .dh-the.xanh { border-left-color: #6ee7b7 !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .dh-the.vang { border-left-color: #ffd75e !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .dh-the.do { border-left-color: #ff8f8f !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .dh-the.xanh b { color: #8ff0c8 !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .dh-the.vang b { color: #ffe08a !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .dh-the.do b { color: #ffb3b3 !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung .dh-the { background: color-mix(in srgb, var(--lam, #3b50df) 6%, #fff) !important; border: 1px solid color-mix(in srgb, var(--lam, #3b50df) 30%, #fff) !important; border-left: 5px solid var(--lam, #3b50df) !important; border-radius: 20px !important; box-shadow: 0 4px 14px rgba(40, 60, 160, .12) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei .dh-the { background: rgba(10, 114, 88, .07) !important; border: 1px solid rgba(10, 114, 88, .3) !important; border-left: 5px solid #0a7258 !important; border-radius: 18px !important; box-shadow: 0 4px 14px rgba(10, 114, 88, .12) !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-samsung, .pc-huawei) .dh-the.vang { border-left-color: #e0a000 !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-samsung, .pc-huawei) .dh-the.do { border-left-color: #e53935 !important; }
:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-samsung, .pc-huawei) .dh-the.xanh { border-left-color: #1f9d6b !important; }

/* ---- Thẻ số liệu Tổng quan: bỏ dải màu ở mép trái ô ---- */
:root:root:root:root:root:root:root:root body.kieu-de-dung:not(.pc-thuong) .dh-the { border-left-width: 1px !important; border-left-color: inherit !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .dh-the { border-left-color: rgba(255, 255, 255, .5) !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung .dh-the { border-left-color: color-mix(in srgb, var(--lam, #3b50df) 30%, #fff) !important; }
:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei .dh-the { border-left-color: rgba(10, 114, 88, .3) !important; }

/* ---- Hộp "Bù ảnh nhanh": các nút xuống dòng gọn trong khung, nút chụp ảnh không quá to và không tràn ra ngoài ---- */
:root:root:root:root:root body .hop .bu-anh .chan-form { flex-wrap: wrap !important; margin: 14px 0 0 !important; padding: 0 !important; gap: 8px !important; justify-content: flex-start !important; width: auto !important; }
:root:root:root:root:root body .hop .bu-anh .chan-form > .nut { padding: 9px 16px !important; font-size: 14px !important; min-height: 0 !important; height: auto !important; }

/* ---- iOS 27 Kính trong: bỏ màu nền của 3 thanh (hàng nút việc, thanh tìm kiếm/lọc, thanh thống kê Zalo); chỉ giữ viền mảnh ---- */
:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.khoi-cam-do .viec-luoi, .khoi-cam-do > form.loc, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; box-shadow: none !important; }
:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.khoi-cam-do .viec-luoi, .khoi-cam-do > form.loc, #noi-dung:has(.khoi-cam-do) .the > :is(form.loc, .dai-zalo)) { border: 0 !important; }

/* ---- iOS 27 Kính trong: một đường kẻ mảnh thẳng ngăn dãy ô chức năng (Cầm đồ mới...Lịch sử) với phần bên dưới ---- */
:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .khoi-cam-do .viec-luoi { border-bottom: 1px solid rgba(255, 255, 255, .55) !important; border-radius: 0 !important; padding-bottom: 10px !important; }
:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt #noi-dung .khoi-cam-do .viec-luoi { border-bottom: 1px solid rgba(255, 255, 255, .55) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt #noi-dung .khoi-cam-do .viec-luoi { border-bottom: 1px solid rgba(255, 255, 255, .55) !important; }

/* ---- iOS 27 (kính), Samsung One UI 9, Huawei: bỏ nền và viền 3 thanh (hàng nút việc, tìm kiếm/lọc, Zalo) và kẻ một đường mảnh ngăn dãy ô chức năng ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #noi-dung .khoi-cam-do .viec-luoi, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #noi-dung .khoi-cam-do > form.loc, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #noi-dung .the > form.loc, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #noi-dung .the > .dai-zalo { background: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #noi-dung .khoi-cam-do .viec-luoi { border-bottom: 1px solid rgba(255, 255, 255, .55) !important; border-radius: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung #noi-dung .khoi-cam-do .viec-luoi, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung #noi-dung .khoi-cam-do > form.loc, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung #noi-dung .the > form.loc, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung #noi-dung .the > .dai-zalo { background: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung #noi-dung .khoi-cam-do .viec-luoi { border-bottom: 1px solid rgba(59, 80, 223, .35) !important; border-radius: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei #noi-dung .khoi-cam-do .viec-luoi, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei #noi-dung .khoi-cam-do > form.loc, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei #noi-dung .the > form.loc, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei #noi-dung .the > .dai-zalo { background: transparent !important; border: 0 !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei #noi-dung .khoi-cam-do .viec-luoi { border-bottom: 1px solid rgba(10, 114, 88, .4) !important; border-radius: 0 !important; }

/* ---- Mọi giao diện: thanh tìm kiếm/lọc gộp vào khối thanh nút việc, nằm ngay dưới hàng nút ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung .khoi-cam-do.gop-dong { flex-wrap: wrap; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung .khoi-cam-do.gop-dong > form.loc { flex: 1 1 100%; width: 100%; min-width: 0; margin: 0 !important; position: static !important; }

/* ---- Đường kẻ ngăn dãy ô chức năng: cong hai đầu như ở Kính trong ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-ios.kt-ios #noi-dung .khoi-cam-do .viec-luoi { border-radius: 999px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung #noi-dung .khoi-cam-do .viec-luoi { border-radius: 999px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-huawei #noi-dung .khoi-cam-do .viec-luoi { border-radius: 999px !important; }

/* ---- Kính trong và iOS kính: hộp thoại (tạo hợp đồng, chuộc đồ, đóng lãi...) bớt trong suốt, nền xanh đậm phủ lên để chữ và số tiền rõ ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop { background: linear-gradient(160deg, rgba(22, 52, 122, .9), rgba(12, 30, 78, .88)) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root html.nen-kem body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop { background: linear-gradient(160deg, rgba(104, 94, 82, .92), rgba(70, 62, 54, .9)) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop :is(label, p, small, .ghi-chu, h2, h3, h4, td, th, b, strong, li, dt, dd, span:not(.nhan):not(.so)) { color: #fff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop :is(input, select, textarea) { background: rgba(255, 255, 255, .16) !important; border: 1px solid rgba(255, 255, 255, .45) !important; color: #fff !important; }

:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop .muc { color: #ffe08a !important; border-color: rgba(255, 255, 255, .35) !important; }

/* ---- Hộp thoại kính: mờ nhẹ hơn (nhìn xuyên được), ô nhập và chữ vẫn rõ ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop { background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .1)), rgba(16, 34, 80, .36) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root html.nen-kem body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop { background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .1)), rgba(60, 50, 40, .36) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop :is(label, p, small, .ghi-chu, h2, h3, h4, td, th, b, strong, li, dt, dd, span:not(.nhan):not(.so)) { text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop :is(input, select, textarea) { background: rgba(255, 255, 255, .3) !important; border: 1px solid rgba(255, 255, 255, .65) !important; color: #fff !important; font-weight: 600; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop :is(input, textarea)::placeholder { color: rgba(255, 255, 255, .8) !important; }

/* ---- Hộp lớn (Cầm đồ mới, chi tiết hợp đồng): kính xanh xám hơi mờ nhòe, nhìn mờ được nền phía sau nhưng chữ và số vẫn rõ ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop.rong { -webkit-backdrop-filter: blur(40px) saturate(1.5) !important; backdrop-filter: blur(40px) saturate(1.5) !important; background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .1)), rgba(48, 84, 150, .68) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root html.nen-kem body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop.rong { background: linear-gradient(160deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .1)), rgba(110, 98, 86, .7) !important; }

/* ---- Kính trong và iOS kính: các ô trong bảng cách nhau bằng đường kẻ trắng mảnh, nét ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) :is(#noi-dung, .hop) table :is(td, th) { border-bottom: 1px solid rgba(255, 255, 255, .7) !important; border-right: 1px solid rgba(255, 255, 255, .45) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) :is(#noi-dung, .hop) table :is(td, th):last-child { border-right: 0 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) :is(#noi-dung, .hop) table tbody tr:last-child :is(td, th) { border-bottom: 1px solid rgba(255, 255, 255, .7) !important; }

/* ---- Kính trong và iOS kính: ô đơn vị (VNĐ, %, ngày...) gắn cạnh ô nhập: nền kính, chữ trắng, không còn nền trắng chữ trắng ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) :is(.hop, #noi-dung) .kem-don-vi > span { background: rgba(255, 255, 255, .28) !important; color: #fff !important; border-color: rgba(255, 255, 255, .6) !important; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }

/* ---- Kính trong và iOS kính: tab Chứng từ, ngày và chú thích dưới mỗi ảnh chữ trắng đậm, có bóng cho nổi trên nền ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .o-anh > :is(div, span, small, p):not(.nut) { color: #fff !important; font-size: 12px; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .65); }

/* ---- Kính trong và iOS kính: chữ xanh (liên kết Đóng lãi tùy biến theo ngày) và số tiền đỏ trong hộp thoại đổi sang màu sáng, đậm, có bóng ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop button.mo-rong { color: #cfe6ff !important; font-weight: 700; text-decoration: underline; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop .tong-tien { color: #ffd0d0 !important; font-weight: 800; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop .tong-tien :is(b, span, strong) { color: #ffd0d0 !important; }

/* ---- Kính trong và iOS kính: ô xổ nút 3 chấm / Xuất, in bớt trong suốt (kính xanh xám đục hơn), chữ trắng rõ ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi { background: linear-gradient(160deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08)), rgba(48, 84, 150, .9) !important; border: 1px solid rgba(255, 255, 255, .55) !important; color: #fff !important; -webkit-backdrop-filter: blur(30px) saturate(1.5); backdrop-filter: blur(30px) saturate(1.5); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi :is(a, button) { color: #fff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi :is(a, button):hover { background: rgba(255, 255, 255, .25) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root html.nen-kem body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi { background: linear-gradient(160deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08)), rgba(110, 98, 86, .92) !important; }

/* ---- Kính trong và iOS kính: biểu tượng trong ô xổ 3 chấm màu trắng sáng (xoá hợp đồng hồng nhạt thay vì đỏ nhòe); biểu tượng máy ảnh trên từng hợp đồng màu trắng nổi ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi :is(a, button) { background: rgba(255, 255, 255, .18) !important; border: 1px solid rgba(255, 255, 255, .5) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi :is(a, button) svg, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi :is(a, button) svg * { stroke: #fff !important; color: #fff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi :is(a, button):has(svg[data-i=thung], svg[data-i=xoa]) svg, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi :is(a, button):last-child svg { stroke: #ffc9c9 !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) #noi-dung .anh-bieu { background: rgba(255, 255, 255, .28) !important; border: 1px solid rgba(255, 255, 255, .7) !important; color: #fff !important; font-weight: 700; text-shadow: 0 1px 2px rgba(0, 0, 0, .45); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) #noi-dung .anh-bieu svg, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) #noi-dung .anh-bieu svg * { stroke: #fff !important; color: #fff !important; }

/* ---- Samsung One UI 9: hình nền chuyển màu từ xanh dương sang xanh ngọc rồi xanh bạc hà, theo mẫu hình nền One UI 9 ---- */
:root:root:root:not(.toi) body.kieu-de-dung.pc-samsung { background: radial-gradient(ellipse 60% 50% at 12% 8%, rgba(120, 200, 255, .55), transparent 70%), radial-gradient(ellipse 55% 55% at 92% 92%, rgba(190, 245, 215, .7), transparent 70%), linear-gradient(135deg, #3fa6f3 0%, #45b9df 38%, #4fcdc4 68%, #7fe0b9 100%) fixed; min-height: 100vh; }

/* ---- Samsung One UI 9: phong cách kính mờ pastel bo góc lớn như mẫu — khung kính trắng mờ, bóng nhẹ xanh, nút tròn trịa ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:not(.toi) body.kieu-de-dung.pc-samsung :is(.the, .thanh-ben, .dau-trang, .hop, .xo-ra, .dh-the) { background: rgba(255, 255, 255, .58) !important; -webkit-backdrop-filter: blur(26px) saturate(1.5) !important; backdrop-filter: blur(26px) saturate(1.5) !important; border: 1px solid rgba(255, 255, 255, .8) !important; border-radius: 26px !important; box-shadow: 0 10px 30px rgba(20, 100, 150, .16), inset 0 1px 0 rgba(255, 255, 255, .9) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:not(.toi) body.kieu-de-dung.pc-samsung .dh-the { border-radius: 22px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:not(.toi) body.kieu-de-dung.pc-samsung :is(.nut:not(.xanh):not(.lam):not(.do):not(.vang), .the-tab button, .chip-han) { background: rgba(255, 255, 255, .7) !important; border-radius: 999px !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:not(.toi) body.kieu-de-dung.pc-samsung :is(input, select, textarea) { background: rgba(255, 255, 255, .75) !important; border: 1px solid rgba(255, 255, 255, .95) !important; border-radius: 18px !important; box-shadow: inset 0 1px 3px rgba(30, 90, 140, .12); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:not(.toi) body.kieu-de-dung.pc-samsung .khoi-cam-do .viec-lon .tron { border-radius: 50% !important; box-shadow: 0 6px 14px rgba(20, 100, 150, .22); }

/* ---- iOS 27 Kính trong theo mẫu iOS 26 trong suốt: nền xám nâu có đường cong sáng, kính phẳng hơn, ít bão hòa, viền sáng mảnh và vệt sáng ở góc, vẫn giữ hiệu ứng kính chiếu ---- */
:root:root:root:root:not(.toi) body.kieu-de-dung.pc-kt, :root:root:root:root:not(.toi) html.nen-xanh body.kieu-de-dung.pc-kt, html.nen-xanh:root:root:root:root:not(.toi) body.kieu-de-dung.pc-kt, html.nen-kem:root:root:root:root:not(.toi) body.kieu-de-dung.pc-kt { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201200%201200%27%20preserveAspectRatio%3D%27xMidYMid%20slice%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27g%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%271%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%239b8e88%27%2F%3E%3Cstop%20offset%3D%27.45%27%20stop-color%3D%27%237d7471%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%234d4949%27%2F%3E%3C%2FlinearGradient%3E%3Cfilter%20id%3D%27b%27%20x%3D%27-20%25%27%20y%3D%27-20%25%27%20width%3D%27140%25%27%20height%3D%27140%25%27%3E%3CfeGaussianBlur%20stdDeviation%3D%2722%27%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Crect%20width%3D%271200%27%20height%3D%271200%27%20fill%3D%27url(%23g)%27%2F%3E%3Cg%20filter%3D%27url(%23b)%27%20fill%3D%27none%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M-100%20300%20C%20250%20120%20420%20520%20700%20380%20S%201100%20120%201300%20300%27%20stroke%3D%27%23e9ddd6%27%20stroke-opacity%3D%27.55%27%20stroke-width%3D%2790%27%2F%3E%3Cpath%20d%3D%27M-100%20780%20C%20220%20560%20520%201020%20820%20760%20S%201100%20640%201300%20860%27%20stroke%3D%27%23d9ccc5%27%20stroke-opacity%3D%27.4%27%20stroke-width%3D%27120%27%2F%3E%3Cpath%20d%3D%27M200%201300%20C%20340%20980%20640%20940%20760%20640%20S%20980%20140%201010%20-100%27%20stroke%3D%27%23f3e9e3%27%20stroke-opacity%3D%27.45%27%20stroke-width%3D%2770%27%2F%3E%3Cpath%20d%3D%27M-100%201050%20C%20300%201000%20520%201150%20900%201020%27%20stroke%3D%27%232f2c2c%27%20stroke-opacity%3D%27.35%27%20stroke-width%3D%27140%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / cover fixed no-repeat !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.the, .thanh-ben, .dau-trang, .dh-the, .xo-ra) { background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)) !important; border: 1px solid rgba(255, 255, 255, .32) !important; box-shadow: inset 1.5px 1.5px 0 rgba(255, 255, 255, .5), inset -1px -1px 0 rgba(255, 255, 255, .1), 0 10px 28px rgba(0, 0, 0, .2) !important; -webkit-backdrop-filter: url(#kinh-long) blur(16px) saturate(1.1) brightness(1.08) !important; backdrop-filter: url(#kinh-long) blur(16px) saturate(1.1) brightness(1.08) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .hop { background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)), rgba(60, 55, 54, .5) !important; border: 1px solid rgba(255, 255, 255, .34) !important; box-shadow: inset 1.5px 1.5px 0 rgba(255, 255, 255, .45), 0 18px 48px rgba(0, 0, 0, .35) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .hop.rong { background: linear-gradient(145deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .05)), rgba(62, 57, 56, .72) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .xo-ra.xo-ra-noi { background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)), rgba(66, 60, 59, .9) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt #tuy-ds { }
body.pc-kt #tuy-ds { background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06)), rgba(66, 60, 59, .88); border: 1px solid rgba(255, 255, 255, .4); }

/* ---- Kính trong: khi ô chọn giao diện đang mở, đầu trang không dùng hiệu ứng kính (hiệu ứng này làm ô chọn giao diện bị tính vị trí lệch và biến mất) ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .dau-trang:has(.xo.mo .chon-phong-cach) { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; transform: none !important; filter: none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt .xo > .xo-ra:has(.chon-phong-cach) { position: fixed !important; right: 0 !important; left: auto !important; top: 60px !important; bottom: 12px !important; width: 310px !important; background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06)), rgba(60, 55, 54, .88) !important; }

/* ---- Kính trong: mặt kính phẳng, sáng đều như kính mờ, viền sáng mảnh và vệt sáng ở mép, nền phía sau bị uốn cong ở sát mép ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.the, .thanh-ben, .dau-trang, .dh-the, .xo-ra) { background: rgba(255, 255, 255, .17) !important; border: 1px solid rgba(255, 255, 255, .26) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), inset 0 1.5px 1px rgba(255, 255, 255, .55), inset 0 -1px 1px rgba(255, 255, 255, .12), 0 8px 24px rgba(0, 0, 0, .16) !important; -webkit-backdrop-filter: url(#kinh-long) blur(18px) saturate(1.05) brightness(1.22) !important; backdrop-filter: url(#kinh-long) blur(18px) saturate(1.05) brightness(1.22) !important; }

/* ---- iOS 27 Kính trong, nền "Xanh ngọc" theo mẫu iOS 27: nền xanh bạc với đường cong sáng, kính trong băng giá, viền sáng; "Kem xám" vẫn giữ nền xám nâu ---- */
:root:root:root:root:root:root:not(.toi):not(.nen-kem) body.kieu-de-dung.pc-kt { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%201200%201200%27%20preserveAspectRatio%3D%27xMidYMid%20slice%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27g%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%271%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%239ab5bc%27%2F%3E%3Cstop%20offset%3D%27.5%27%20stop-color%3D%27%23789399%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%234f6a73%27%2F%3E%3C%2FlinearGradient%3E%3Cfilter%20id%3D%27b%27%20x%3D%27-20%25%27%20y%3D%27-20%25%27%20width%3D%27140%25%27%20height%3D%27140%25%27%3E%3CfeGaussianBlur%20stdDeviation%3D%2726%27%2F%3E%3C%2Ffilter%3E%3Cfilter%20id%3D%27s%27%3E%3CfeGaussianBlur%20stdDeviation%3D%272%27%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Crect%20width%3D%271200%27%20height%3D%271200%27%20fill%3D%27url(%23g)%27%2F%3E%3Cg%20filter%3D%27url(%23b)%27%20fill%3D%27none%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M-100%20260%20C%20300%2040%20500%20560%20800%20330%20S%201150%2060%201320%20240%27%20stroke%3D%27%23eef8f9%27%20stroke-opacity%3D%27.55%27%20stroke-width%3D%27110%27%2F%3E%3Cpath%20d%3D%27M-120%20760%20C%20240%20520%20560%201040%20860%20720%20S%201120%20600%201320%20820%27%20stroke%3D%27%23dcecee%27%20stroke-opacity%3D%27.4%27%20stroke-width%3D%27140%27%2F%3E%3Cpath%20d%3D%27M180%201320%20C%20380%20960%20620%20900%20760%20600%20S%20960%20100%201040%20-120%27%20stroke%3D%27%23f5fcfc%27%20stroke-opacity%3D%27.5%27%20stroke-width%3D%2780%27%2F%3E%3Cpath%20d%3D%27M-120%201060%20C%20280%20980%20560%201160%20940%201000%27%20stroke%3D%27%233a5660%27%20stroke-opacity%3D%27.4%27%20stroke-width%3D%27150%27%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%27%23ffffff%27%20filter%3D%27url(%23s)%27%3E%3Ccircle%20cx%3D%27140%27%20cy%3D%27880%27%20r%3D%273%27%20opacity%3D%27.8%27%2F%3E%3Ccircle%20cx%3D%271010%27%20cy%3D%27160%27%20r%3D%272.5%27%20opacity%3D%27.7%27%2F%3E%3Ccircle%20cx%3D%27620%27%20cy%3D%2790%27%20r%3D%272%27%20opacity%3D%27.6%27%2F%3E%3Ccircle%20cx%3D%271090%27%20cy%3D%27620%27%20r%3D%273%27%20opacity%3D%27.7%27%2F%3E%3Ccircle%20cx%3D%27330%27%20cy%3D%271090%27%20r%3D%272%27%20opacity%3D%27.6%27%2F%3E%3Ccircle%20cx%3D%27880%27%20cy%3D%27930%27%20r%3D%272.5%27%20opacity%3D%27.6%27%2F%3E%3Ccircle%20cx%3D%27470%27%20cy%3D%27400%27%20r%3D%272%27%20opacity%3D%27.5%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / cover fixed no-repeat !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:not(.nen-kem) body.kieu-de-dung.pc-kt :is(.the, .thanh-ben, .dau-trang, .dh-the, .xo-ra) { background: linear-gradient(145deg, rgba(235, 248, 250, .26), rgba(235, 248, 250, .08)) !important; border: 1px solid rgba(255, 255, 255, .5) !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 0 2px 1px rgba(255, 255, 255, .7), inset 0 -1px 1px rgba(255, 255, 255, .2), 0 10px 30px rgba(20, 50, 60, .22) !important; -webkit-backdrop-filter: url(#kinh-long) blur(18px) saturate(1.1) brightness(1.15) !important; backdrop-filter: url(#kinh-long) blur(18px) saturate(1.1) brightness(1.15) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:not(.nen-kem) body.kieu-de-dung.pc-kt .hop { background: linear-gradient(145deg, rgba(235, 248, 250, .22), rgba(235, 248, 250, .06)), rgba(48, 72, 82, .5) !important; border: 1px solid rgba(255, 255, 255, .5) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:not(.nen-kem) body.kieu-de-dung.pc-kt .hop.rong { background: linear-gradient(145deg, rgba(235, 248, 250, .2), rgba(235, 248, 250, .05)), rgba(50, 74, 84, .74) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:not(.nen-kem) body.kieu-de-dung.pc-kt .xo-ra.xo-ra-noi { background: linear-gradient(145deg, rgba(235, 248, 250, .22), rgba(235, 248, 250, .06)), rgba(50, 74, 84, .92) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:not(.nen-kem) body.pc-kt #tuy-ds { background: linear-gradient(145deg, rgba(235, 248, 250, .24), rgba(235, 248, 250, .06)), rgba(50, 74, 84, .9); border: 1px solid rgba(255, 255, 255, .5); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:not(.nen-kem) body.kieu-de-dung.pc-kt .xo > .xo-ra:has(.chon-phong-cach) { background: linear-gradient(145deg, rgba(235, 248, 250, .22), rgba(235, 248, 250, .06)), rgba(48, 72, 82, .9) !important; }

/* ---- Nút gạt ở mọi giao diện và phong cách: tắt = trắng, bật = xanh dương. Dùng :not(#x) (độ ưu tiên cấp id) để thắng các luật nền ô nhập có !important của từng phong cách ---- */
input[type=checkbox].cong-tac:not(#x):not(#x) { background: #ffffff !important; box-shadow: inset 0 0 0 1.5px #b9c0cf !important; }
input[type=checkbox].cong-tac:not(#x):not(#x)::after { background: #ffffff !important; box-shadow: 0 0 0 1.5px #b9c0cf, 0 2px 4px rgba(0, 0, 0, .22) !important; }
input[type=checkbox].cong-tac:checked:not(#x):not(#x) { background: #1677d2 !important; box-shadow: none !important; }
input[type=checkbox].cong-tac:checked:not(#x):not(#x)::after { box-shadow: 0 2px 4px rgba(0, 0, 0, .3) !important; }
:root.toi input[type=checkbox].cong-tac:checked:not(#x):not(#x) { background: #3a8ee6 !important; }

/* ---- Cửa sổ in hợp đồng / biên nhận: nền trắng đặc, chữ đen rõ nét, bất kể phong cách (kể cả Kính trong, iOS kính) và nền tối ----
   Các phong cách kính ép chữ trắng và nền mờ bằng !important với độ ưu tiên rất cao, nên ở đây dùng :not(#x) (độ ưu tiên cấp id) để thắng. */
html body .hop:is(:has(.hop-dong-a4), :has(.bien-nhan)):not(#x):not(#x) {
  background: #fff !important; color: #000 !important; opacity: 1 !important; border: 1px solid #c9d1dc !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; filter: none !important; box-shadow: 0 12px 40px rgba(0, 0, 0, .45) !important;
}
html body .hop:is(:has(.hop-dong-a4), :has(.bien-nhan)) *:not(button):not(.nut):not(svg):not(svg *):not(input):not(select):not(textarea):not(#x) { color: #000 !important; text-shadow: none !important; opacity: 1; filter: none; }
html body .hop:is(:has(.hop-dong-a4), :has(.bien-nhan)) :is(input, select, textarea):not(#x):not(#x) { background: #fff !important; color: #000 !important; border: 1px solid #8a94a6 !important; text-shadow: none !important; }
html body .hop:is(:has(.hop-dong-a4), :has(.bien-nhan)) :is(.nut, button):not(#x):not(#x) { background: #1677d2 !important; background-image: none !important; color: #fff !important; border: 1px solid #1677d2 !important; text-shadow: none !important; box-shadow: none !important; }
html body .hop:is(:has(.hop-dong-a4), :has(.bien-nhan)) :is(.nut.vien, header button):not(#x):not(#x):not(#x) { background: #fff !important; color: #1677d2 !important; border: 1px solid #1677d2 !important; }
html body .hop:is(:has(.hop-dong-a4), :has(.bien-nhan)) .hop-dong-a4 *:not(#x):not(#x), html body .hop:is(:has(.hop-dong-a4), :has(.bien-nhan)) .bien-nhan *:not(#x):not(#x) { -webkit-font-smoothing: auto; text-rendering: optimizeLegibility; }
html body .hop-dong-a4 b, html body .hop-dong-a4 strong, html body .bien-nhan b, html body .bien-nhan strong { font-weight: 700; }

/* ---- iOS, Samsung, Kính trong: menu trái kéo sát mép trên và dưới, bo góc bên phải (10/11). Chỉ màn rộng. ---- */
@media (min-width: 901px) {
  :root:root:root body.kieu-de-dung:is(.pc-ios, .pc-samsung, .pc-kt) .thanh-ben { margin: 0 12px 0 0 !important; height: 100vh !important; height: calc(100dvh / var(--phong-chu, 1)) !important; min-height: calc(100vh / var(--phong-chu, 1)) !important; max-height: none !important; align-self: flex-start; top: 0; border-radius: 0 28px 28px 0 !important; border-left: 0 !important; }
}

/* ---- iOS (kính) và iOS Kính trong: khung hộp (cửa sổ chi tiết hợp đồng...) nền đặc, không trong suốt (10/11). ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop.rong { background: linear-gradient(145deg, rgb(54, 76, 88), rgb(34, 50, 60)) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root.nen-kem body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop, :root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root.nen-kem body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop.rong { background: linear-gradient(145deg, rgb(160, 148, 144), rgb(126, 116, 114)) !important; }

/* ---- iOS kính và Kính trong: ô "Màu thanh bên" (phối màu) phải đổi được màu menu, thanh trên, khung lọc (10/11). ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root.phoi-thanh body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) :is(.the, .thanh-ben, .dau-trang, .khoi-cam-do .viec-luoi) { background: linear-gradient(160deg, color-mix(in srgb, var(--p-thanh) 88%, transparent), color-mix(in srgb, var(--p-thanh) 74%, transparent)) !important; }


/* ---- Samsung One UI 9: ô phối màu 4 ô (nền, thanh công cụ) đổi được màu các khung kính (10/11). ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root.phoi-thanh body.kieu-de-dung.pc-samsung :is(.the, .thanh-ben, .dau-trang, .xo-ra) { background: color-mix(in srgb, var(--p-thanh) 88%, transparent) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root.phoi-nen body.kieu-de-dung.pc-samsung { background: var(--p-nen) !important; }

/* ---- Phối màu: ô "Khung nút công cụ" đổi màu khung lớn chứa các nút (ô việc trang chủ cầm đồ, khung lọc danh sách hợp đồng) (10/11). ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root.phoi-khung body.kieu-de-dung.kieu-de-dung.kieu-de-dung.kieu-de-dung.kieu-de-dung :is(.khoi-cam-do .viec-luoi, .the:has(> form.loc), .the:has(> .dai-zalo)) { background: color-mix(in srgb, var(--p-khung) 88%, transparent) !important; background-image: none !important; }

/* ---- Đã bỏ các nút chỉnh màu (giao diện màu, phối màu, nền kính, độ sáng, độ trong suốt) — 10/11. ---- */
/* (đã xóa hẳn các ô chỉnh màu khỏi menu tài khoản) */

/* ---- Samsung One UI 9: bảng màu xám nâu hồng - than chì như hình nền One UI 9 mới (10/11). ---- */
:root:not(.toi):root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung { background: linear-gradient(118deg, transparent 54%, rgba(70, 64, 66, .5) 54.2%, rgba(70, 64, 66, .12) 100%), radial-gradient(ellipse 62% 55% at 14% 88%, rgba(28, 28, 30, .92), transparent 72%), radial-gradient(ellipse 55% 42% at 62% 22%, rgba(206, 180, 176, .95), transparent 72%), linear-gradient(160deg, #a99d9f, #8f8587 58%, #6f6c6e) fixed !important; background-attachment: fixed !important; }
:root:not(.toi):root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung :is(.the, .thanh-ben, .dau-trang, .xo-ra, .dh-the) { background: rgba(247, 241, 239, .66) !important; border: 1px solid rgba(255, 255, 255, .72) !important; box-shadow: 0 10px 30px rgba(40, 30, 32, .2), inset 0 1px 0 rgba(255, 255, 255, .85) !important; }
:root:not(.toi):root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung .thanh-ben :is(a.chon, .cha.mo) { background: rgba(62, 56, 58, .86) !important; color: #fff !important; border-color: transparent !important; }
:root:not(.toi):root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung .thanh-ben :is(a.chon, .cha.mo) svg { color: #fff !important; }
:root:not(.toi):root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung .khoi-cam-do .viec-luoi { background: rgba(66, 60, 62, .6) !important; background-image: none !important; border: 1px solid rgba(255, 255, 255, .35) !important; }
:root:not(.toi):root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung .thanh-ben :is(a:not(.chon):not(.ten-tiem), .cha:not(.mo)) { background: rgba(255, 255, 255, .42) !important; }
:root:not(.toi):root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-samsung .khoi-cam-do { background: rgba(247, 241, 239, .5) !important; background-image: none !important; border: 1px solid rgba(255, 255, 255, .6) !important; }

/* ---- iOS Kính trong: chữ trắng thay cho chữ đen ở menu, thanh trên và nội dung (10/11). ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.thanh-ben, .dau-trang, #noi-dung) :is(a:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), span:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), div:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), b:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), strong:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), em:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), i:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), td:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), th:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), label:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), p:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), h1:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), h2:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), h3:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), h4:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), li:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), small:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), button:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu)) { color: #fff !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung.pc-kt :is(.thanh-ben, .dau-trang, #noi-dung) svg.bt { color: #fff !important; }

/* ---- iOS (kính) có kính trong suốt và iOS Kính trong: toàn bộ chữ màu trắng, kể cả hộp chi tiết và danh sách xổ (10/11). ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) :is(.thanh-ben, .dau-trang, #noi-dung, .hop, .xo-ra, .nen-hop) :is(a:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), span:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), div:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), b:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), strong:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), em:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), i:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), td:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), th:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), label:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), p:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), h1:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), h2:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), h3:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), h4:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), h5:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), h6:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), li:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), small:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), button:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), summary:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), dt:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu), dd:not(.nhan):not(.chi):not(.do):not(.am):not(.xanh):not(.vang):not(.tong-tien):not(.nut):not(.zalo-bieu)) { color: #fff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) :is(.thanh-ben, .dau-trang, #noi-dung, .hop, .xo-ra) svg.bt { color: #fff !important; }

/* ---- iOS Kính trong / iOS kính trong suốt: khung bên trong hộp (khung tab chức năng, thẻ, bảng) nền đục mờ như hộp lớn (10/11). ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop :is(.khung-tab, .the, .bang-cuon) { background: rgb(66, 92, 106) !important; background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root.nen-kem body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop :is(.khung-tab, .the, .bang-cuon) { background: rgb(150, 139, 136) !important; }

/* ---- iOS (kính) có kính trong suốt và iOS Kính trong: hộp In hợp đồng / In biên nhận nền theo màu giao diện (không còn trắng xóa), chữ trắng; bản in thật vẫn trắng chữ đen (10/11). ---- */
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop:is(:has(.hop-dong-a4), :has(.bien-nhan)):not(#x):not(#x):not(#x):not(#x) { background: linear-gradient(145deg, rgb(54, 76, 88), rgb(34, 50, 60)) !important; background-image: linear-gradient(145deg, rgb(54, 76, 88), rgb(34, 50, 60)) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root.nen-kem body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop:is(:has(.hop-dong-a4), :has(.bien-nhan)):not(#x):not(#x):not(#x):not(#x) { background: linear-gradient(145deg, rgb(160, 148, 144), rgb(126, 116, 114)) !important; background-image: linear-gradient(145deg, rgb(160, 148, 144), rgb(126, 116, 114)) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop:is(:has(.hop-dong-a4), :has(.bien-nhan)) :is(.hd-4so, .hd-ky-o) { border-color: rgba(255, 255, 255, .75) !important; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop:is(:has(.hop-dong-a4), :has(.bien-nhan)) .hd-qr-khoi .b-qr { background: #fff; padding: 4px; border-radius: 6px; width: auto; }
:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop .can-chinh:not(#x):not(#x):not(#x):not(#x) { background: rgba(255, 255, 255, .16) !important; background-image: none !important; border: 1px solid rgba(255, 255, 255, .35) !important; }

/* 16/11: ô xổ nền ĐẶC, màu sát nền giao diện (iOS xanh, Kính teal, Kem), bỏ lọc kính (Cốc Cốc vẽ sai). */
html:not(#x):not(#x):not(#x):not(#x):not(#x) body.kieu-de-dung.pc-kt .xo-ra.xo-ra-noi { background: #6f8d95 !important; background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 1px solid rgba(255, 255, 255, .5) !important; box-shadow: 0 12px 30px rgba(0, 0, 0, .3) !important; }
html:not(#x):not(#x):not(#x):not(#x):not(#x) body.kieu-de-dung.pc-kt .xo-ra.xo-ra-noi :is(a, button) { background: #86a4ab !important; background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 1px solid rgba(255, 255, 255, .55) !important; color: #fff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .35) !important; }
html:not(#x):not(#x):not(#x):not(#x):not(#x) body.kieu-de-dung.pc-kt .xo-ra.xo-ra-noi :is(a, button):hover { background: #9bb8be !important; }
html:not(#x):not(#x):not(#x):not(#x):not(#x) body.kieu-de-dung.pc-ios.kt-ios .xo-ra.xo-ra-noi { background: #3b5bab !important; background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 1px solid rgba(255, 255, 255, .5) !important; box-shadow: 0 12px 30px rgba(0, 0, 0, .3) !important; }
html:not(#x):not(#x):not(#x):not(#x):not(#x) body.kieu-de-dung.pc-ios.kt-ios .xo-ra.xo-ra-noi :is(a, button) { background: #5575c4 !important; background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 1px solid rgba(255, 255, 255, .55) !important; color: #fff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .35) !important; }
html:not(#x):not(#x):not(#x):not(#x):not(#x) body.kieu-de-dung.pc-ios.kt-ios .xo-ra.xo-ra-noi :is(a, button):hover { background: #6b8bd8 !important; }
html.nen-kem:not(#x):not(#x):not(#x):not(#x):not(#x) body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi { background: #8a7e72 !important; background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 1px solid rgba(255, 255, 255, .5) !important; box-shadow: 0 12px 30px rgba(0, 0, 0, .3) !important; }
html.nen-kem:not(#x):not(#x):not(#x):not(#x):not(#x) body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi :is(a, button) { background: #a39687 !important; background-image: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; border: 1px solid rgba(255, 255, 255, .55) !important; color: #fff !important; text-shadow: 0 1px 2px rgba(0, 0, 0, .35) !important; }
html.nen-kem:not(#x):not(#x):not(#x):not(#x):not(#x) body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .xo-ra.xo-ra-noi :is(a, button):hover { background: #b8ab9b !important; }

/* Thanh công cụ kéo chuột trên tờ hợp đồng: nền đặc để chữ hợp đồng phía sau không lẫn vào (29/11). */
:root:root:root:root:root:root:root:root body.kieu-de-dung:is(.pc-kt, .pc-ios.kt-ios) .hop #keo-thanh.can-chinh:not(#x):not(#x):not(#x):not(#x) { background: #2f3542 !important; border-color: rgba(255, 255, 255, .45) !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .4) !important; backdrop-filter: none !important; }
