/* Hugo House — bố cục kiểu Lark. Màu theo LOGO chính thức (anh Cường chốt 15/11/2026, docs/chot/chot-2026-11-15-mau-logo.md):
   xanh ngọc #008F89 (lá), xanh đậm #003A45 (dáng người), vàng #FECF07 (lá vàng). Mọi chỗ dùng màu thương hiệu đi qua biến dưới đây — không ghi cứng mã màu. */
:root {
  --brand: #008F89;           /* xanh ngọc lá logo: mảng lớn, vạch, thanh tiến độ, biểu tượng — KHÔNG đặt chữ trắng cỡ thường lên (3,97 : 1) */
  --accent: #007A75;          /* xanh ngọc logo đậm hơn: nút, link, chữ — chữ trắng đạt 5,2 : 1 */
  --accent-soft: #008F8917; --accent-ink: #003A45; --accent-line: #B3DEDB;
  --stage: #003A45;           /* xanh đậm dáng người trong logo: nền "sân khấu", chữ tiêu đề trên nền nhạt */
  --coral: #FF6B57; --sun: #FECF07; --rose: #E0457B; --mint: #9FD6D0;
  --art: linear-gradient(90deg, #008F89 0%, #9FD6D0 45%, #FECF07 100%);
  --display: 'Baloo 2', 'Be Vietnam Pro', system-ui, sans-serif;
  --ink: #1F2329; --ink2: #3B4048; --muted: #5F6368; --line: #E4E6EA; --line2: #F0F1F3;
  --bg: #F4F7F7; --card: #FFFFFF; --late: #C62828; --ok: #1B6B3A; --info: #1F5BA8;
  --radius: 12px; --side: 240px;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink); background: var(--bg); font-size: 14px; line-height: 1.45;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1 { font-family: var(--display); font-size: 32px; line-height: 1.05; margin: 0; font-weight: 800; letter-spacing: -.01em; }
.display { font-family: var(--display); font-weight: 800; }
h2 { font-family: var(--display); font-size: 21px; line-height: 1.15; margin: 0; font-weight: 800; }
h3 { font-size: 14px; margin: 0 0 8px; font-weight: 600; }
input, select, textarea { border: 1px solid #D5D8DD; border-radius: 8px; padding: 0 10px; min-height: 38px; background: #fff; width: 100%; }
textarea { padding: 8px 10px; resize: vertical; }
input[type=checkbox] { width: 18px; height: 18px; min-height: 0; accent-color: var(--accent); flex-shrink: 0; }
/* Nút chọn một (radio): không kéo giãn theo luật chung của ô nhập (width 100%, cao 38px) — trước đây đẩy chữ lệch khỏi nút */
input[type=radio] { width: 18px; height: 18px; min-height: 0; padding: 0; accent-color: var(--accent); flex-shrink: 0; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
select:disabled, input:disabled { background: #F5F6F7; color: var(--muted); }

.muted { color: var(--muted); } .sm { font-size: 13px; } .xs { font-size: 12px; } .b { font-weight: 600; }
.block { display: block; } .grow { flex: 1; min-width: 0; } .late { color: var(--late); } .ok { color: var(--ok); } .info { color: var(--info); }
.pre { white-space: pre-wrap; margin: 0; } .struck { text-decoration: line-through; color: var(--muted); } .r { text-align: right; }
.inline { display: inline-flex; align-items: center; gap: 8px; }
.row-gap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Nút ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px; border-radius: 8px;
  border: 1px solid #D5D8DD; background: #fff; cursor: pointer; font-weight: 500; white-space: nowrap; }
.btn:hover { background: #F7F8FA; } .btn:disabled { opacity: .55; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; } .btn.primary:hover { background: var(--accent-ink); }
.btn.ghost { border-color: transparent; background: transparent; } .btn.sm { min-height: 32px; padding: 0 10px; font-size: 13px; }
.btn.lg { min-height: 46px; padding: 0 22px; font-size: 15px; } .btn.block { width: 100%; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; border: 1px solid transparent;
  background: transparent; cursor: pointer; position: relative; flex-shrink: 0; }
.icon-btn:hover { background: #EEF0F3; }
.icon-btn.star.on { color: #C77700; }
.link { color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; font-weight: 500; max-width: 100%; overflow-wrap: anywhere; text-align: left; }   /* 03/11: tên tệp dài không tràn ngang */
.link-like { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 12px; white-space: nowrap; background: #EEF0F3; color: var(--ink2); }
.chip.grey { background: #EEF0F3; color: var(--ink2); font-weight: 500; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 600; flex-shrink: 0; }
.sq { width: 20px; height: 20px; border-radius: 5px; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sq.lg { width: 32px; height: 32px; font-size: 16px; border-radius: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 36px; padding: 0 14px; border-radius: 18px; border: 1.5px solid #D5D8DD; background: #fff; cursor: pointer; font-weight: 500; font-size: 13px; }
.pill.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Khung ---------- */
.shell { display: flex; min-height: 100vh; min-height: 100svh; }
.side { width: var(--side); flex-shrink: 0; color: #fff; padding: 14px 10px;
  background:
    radial-gradient(120% 40% at 0% 0%, rgba(0,143,137,.55), transparent 70%),
    radial-gradient(90% 30% at 100% 100%, rgba(255,107,87,.28), transparent 70%),
    radial-gradient(70% 25% at 0% 85%, rgba(224,69,123,.18), transparent 70%),
    var(--stage); display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; padding-left: 0; padding-right: 0; padding-bottom: 0; }
/* Đầu menu đứng yên; chỉ danh sách cuộn (chừa đáy cho thanh Safari / vạch home) */
.side-head { flex: none; padding: 0 10px; }
.side-user { display: none; }
.side-scroll { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 1px; padding: 0 10px calc(env(safe-area-inset-bottom) + 24px);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.side-scroll > * { flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 10px; padding: 8px 8px 18px; position: relative; }
.brand::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 3px; border-radius: 2px; background: var(--art); opacity: .9; }
.brand-logo { height: 26px; width: auto; display: block; }
.brand-tag { font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .28em; color: var(--mint); margin-top: 3px; }
.logo-full { height: 34px; width: auto; display: block; margin: 0 auto; }
.logo { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, #3A8F88, var(--accent) 60%, var(--accent-ink)); color: #fff; font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo.lg { width: 56px; height: 56px; font-size: 28px; border-radius: 14px; margin: 0 auto 12px; }
.brand-name { font-weight: 700; font-size: 15px; }
.nl { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px; border-radius: 8px; color: rgba(255,255,255,.82); font-size: 14px; position: relative; }
.nl:hover { background: rgba(255,255,255,.08); color: #fff; }
.nl.on { background: rgba(0,143,137,.32); color: #fff; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(127,227,216,.25); }
.nl.on::before { content: ''; position: absolute; left: -10px; top: 8px; bottom: 8px; width: 4px; border-radius: 0 3px 3px 0; background: linear-gradient(var(--sun), var(--coral)); }
.nb { margin-left: auto; font-size: 12px; background: rgba(255,255,255,.14); color: #fff; border-radius: 10px; padding: 0 8px; font-weight: 600; }
.nb.red { background: var(--coral); color: #2A0F0A; }
.ns { font-size: 11px; font-weight: 600; color: #5F6670; padding: 14px 10px 4px; letter-spacing: .06em; }
.side .ns { font-family: var(--display); font-size: 13px; font-weight: 800; color: var(--mint); padding: 16px 10px 4px; letter-spacing: .14em; opacity: .9; }
.side .sq { box-shadow: 0 0 0 1.5px rgba(255,255,255,.25); }
.side .icon-btn { color: rgba(255,255,255,.85); } .side .icon-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.side-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 14px 6px 0; border-top: 1px solid rgba(255,255,255,.12); }
.side-foot .muted { color: rgba(255,255,255,.6); }
.side .muted { color: rgba(255,255,255,.6); }
.main-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: calc(12px + env(safe-area-inset-top, 0px)) 28px 12px; background: rgba(244,247,247,.92);
  backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.searchbox { display: flex; align-items: center; gap: 8px; flex: 1; max-width: 520px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--muted); cursor: text; text-align: left; }
kbd { font-size: 11px; border: 1px solid #D5D8DD; border-radius: 4px; padding: 1px 6px; font-family: inherit; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bell { border: 1px solid var(--line); background: #fff; }
.badge { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--late); color: #fff; font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: 44px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 6px; min-width: 200px; z-index: 30; }
.menu button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; background: none; border-radius: 6px; cursor: pointer; }
.menu button:hover { background: #F0F1F3; }
.content { flex: 1; padding: 24px 28px 48px; }
.page-head h1 { position: relative; padding-bottom: 6px; }
.page-head h1::after { content: ''; position: absolute; left: 0; bottom: 0; width: 44px; height: 4px; border-radius: 2px; background: var(--art); }
.bottombar { display: none; }
.only-mobile { display: none; }
.scrim { display: none; }

/* ---------- Trang ---------- */
.page { display: flex; flex-direction: column; gap: 18px; min-width: 0; flex: 1; }
.page.narrow { max-width: 1000px; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.crumb { font-size: 13px; color: var(--muted); } .crumb a:hover { color: var(--accent); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.card.pad { padding: 16px 20px; } .pad { padding: 12px 16px; } .pad-sm { padding: 8px; } .pad-x { padding-left: 16px; padding-right: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line2); }
.card-head.flat { padding: 0 0 8px; border: 0; }
.card.pad > h2, .card.pad > h3 { margin-bottom: 10px; }
.cols { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.grow1 { flex: 1 1 300px; min-width: 0; } .grow2 { flex: 2 1 520px; min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.stat { padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.stat:hover { border-color: #C9CDD3; } .stat.sel { border: 2px solid var(--accent); padding: 15px 17px; }
.btnlike { cursor: pointer; font: inherit; color: inherit; }
.num { font-size: 30px; font-weight: 700; line-height: 1.2; } .num-lg { font-size: 30px; font-weight: 700; }
.table-wrap { overflow-x: auto; }
.table-wrap .tbl { min-width: 640px; }
.table-wrap .tbl td:first-child { min-width: 170px; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.tbl tr.clickable { cursor: pointer; } .tbl tr.clickable:hover td { background: #F7F8FA; }
.tbl tr.grp td { background: #F7F8FA; font-weight: 600; font-size: 13px; }
.th-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; font-weight: 600; }
.progress { display: inline-flex; align-items: center; gap: 8px; }
.progress .bar { width: 90px; height: 6px; border-radius: 3px; background: #EEF0F3; overflow: hidden; display: inline-block; }
.progress .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--mint)); }
.progress .pct { font-size: 12px; color: var(--muted); }
.barrow { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.barlabel { width: 92px; font-size: 13px; } .bartrack { flex: 1; height: 10px; border-radius: 5px; background: var(--line2); overflow: hidden; }
.bartrack span { display: block; height: 100%; border-radius: 5px; }
.listrow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.listrow:last-child { border-bottom: 0; }
a.listrow:hover { color: var(--accent); }
.datebox { width: 40px; display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); } .empty-title { font-weight: 600; color: var(--ink); font-size: 16px; margin-bottom: 6px; }
.errorbox { background: #FDE8E4; color: #A33A1F; border-radius: 8px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; }
.spinner { width: 28px; height: 28px; margin: 48px auto; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tabs { display: flex; flex-wrap: wrap; gap: 2px; border-bottom: 1px solid var(--line); }
.tabs button { min-height: 42px; padding: 0 14px; border: 0; background: none; cursor: pointer; border-bottom: 2px solid transparent; color: var(--ink2); }
.tabs button.on { border-bottom-color: var(--accent); color: var(--accent); font-weight: 600; }
.tab-count { margin-left: 6px; font-size: 12px; color: var(--muted); }

/* ---------- Việc của tôi ---------- */
.taskrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 18px; border-bottom: 1px solid var(--line2); }
.taskrow:last-child { border-bottom: 0; } .taskrow.sel { background: var(--accent-soft); }
.taskrow-title { flex: 1 1 260px; min-width: 0; text-align: left; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.taskrow-title:hover span:first-child { color: var(--accent); }
.due { width: 150px; text-align: right; font-size: 13px; white-space: nowrap; }

/* ---------- Thông báo ---------- */
.notif { display: flex; align-items: flex-start; gap: 12px; width: 100%; text-align: left; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line2); background: #fff; cursor: pointer; }
.notif:hover { background: #F7F8FA; } .notif.unread { background: #F5F6FF; } .notif.unread .grow > span:first-child { font-weight: 600; }
.udot { width: 8px; height: 8px; border-radius: 50%; margin-top: 13px; flex-shrink: 0; } .notif.unread .udot { background: var(--accent); }

/* ---------- Show ---------- */
.show-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.show-card { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.h3link { font-size: 16px; font-weight: 600; } .h3link:hover { color: var(--accent); }
.show-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.show-head > .grow { flex: 1 1 420px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink2); margin: 6px 0; }
.head-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.avatars { display: flex; align-items: center; } .avatars .avatar { border: 2px solid var(--bg); margin-left: -6px; }
.stepper { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 16px; }
.step { flex: 1 1 120px; display: flex; flex-direction: column; gap: 4px; }
.step-bar { height: 6px; border-radius: 3px; background: var(--line); }
.step.done .step-bar { background: var(--ok); } .step.now .step-bar { background: var(--accent); } .step.now .b { color: var(--accent); }
.with-drawer { display: flex; gap: 20px; align-items: flex-start; }

.kanban-wrap { display: flex; flex-direction: column; gap: 8px; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(170px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.kcol { background: #EEF0F3; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.kcol.over { outline: 2px dashed var(--accent); background: var(--accent-soft); }
.kcol-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 4px; }
.kcard { display: flex; flex-direction: column; gap: 6px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: grab; }
.kcard:hover { border-color: #B9BEC7; } .kcard.sel { outline: 2px solid var(--accent); }
.kcard-title { font-weight: 500; line-height: 1.35; }
.kcard-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

.mm-wrap { overflow-x: auto; }
.mm { display: flex; align-items: center; min-width: 760px; }
.mm-root { padding: 14px 18px; border-radius: 12px; background: linear-gradient(135deg, var(--accent), var(--accent-ink)); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; margin-right: 32px; position: relative; }
.mm-root::after { content: ''; position: absolute; right: -32px; top: 50%; width: 32px; height: 2px; background: #B9BEC7; }
.mm-branches { display: flex; flex-direction: column; gap: 12px; border-left: 2px solid #B9BEC7; padding: 6px 0; }
.mm-branch { display: flex; align-items: flex-start; position: relative; padding-left: 24px; }
.mm-branch::before { content: ''; position: absolute; left: 0; top: 18px; width: 24px; height: 2px; background: #B9BEC7; }
.mm-team { padding: 7px 12px; border-radius: 10px; border: 2px solid; background: #fff; font-weight: 600; width: 130px; flex-shrink: 0; }
.mm-leaves { display: flex; flex-wrap: wrap; gap: 8px; margin-left: 20px; }
.mm-leaf { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: #F5F6F7; border: 1px solid var(--line); cursor: pointer; font-size: 13px; }
.mm-leaf:hover { border-color: var(--accent); }

.tl-wrap { overflow-x: auto; }
.tl { position: relative; padding-bottom: 8px; }
.tl-head, .tl-row { display: flex; align-items: center; min-height: 34px; border-bottom: 1px solid var(--line2); }
.tl-head { position: sticky; top: 0; background: #fff; z-index: 2; }
.tl-label { width: 220px; flex-shrink: 0; padding: 0 12px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: sticky; left: 0; background: #fff; z-index: 1; }
.tl-row.stage { background: #F7F8FA; } .tl-row.stage .tl-label { background: #F7F8FA; }
.tl-grid { position: relative; height: 34px; }
.tl-grid > span:not(.tl-bar):not(.tl-stage):not(.tl-dep) { position: absolute; top: 0; height: 34px; line-height: 34px; padding-left: 6px; font-size: 11px; color: var(--muted); border-left: 1px solid var(--line2); }
.tl-bar { position: absolute; top: 7px; height: 20px; border-radius: 6px; font-size: 11px; line-height: 20px; padding: 0 8px; white-space: nowrap; overflow: hidden; color: var(--ink2); background: #E8EAED; }
.tl-bar.doing { background: #DCE6F7; color: #1F5BA8; } .tl-bar.review { background: #FFF1DC; color: #8A4B00; } .tl-bar.done { background: #E3F4EA; color: var(--ok); }
.tl-bar.is-late { background: #FDE8E4; color: #A33A1F; }
.tl-stage { position: absolute; top: 12px; height: 10px; border-radius: 5px; background: var(--accent); opacity: .35; }
.tl-dep { position: absolute; top: 8px; font-size: 13px; color: var(--muted); }
.tl-today, .tl-show { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid var(--late); pointer-events: none; }
.tl-show { border-left: 2px solid var(--ink); }

/* ---------- Khung chi tiết việc ---------- */
.drawer { width: 400px; flex-shrink: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; position: sticky; top: 76px;
  max-height: calc(100vh - 96px); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.drawer-head { display: flex; align-items: flex-start; gap: 8px; }
.drawer-head h2 { flex: 1; font-size: 17px; line-height: 1.35; }
.title-input { flex: 1; font-size: 17px; font-weight: 600; border-color: transparent; padding: 4px 6px; }
.title-input:hover { border-color: #D5D8DD; }
.hold-banner { background: #EEF0F3; border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.props { display: grid; grid-template-columns: 92px 1fr; gap: 8px 10px; align-items: center; font-size: 13px; }
.props .pl { color: var(--muted); }
.props select, .props input { min-height: 34px; }
.row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dsec { border-top: 1px solid var(--line2); padding-top: 12px; }
.chips-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.person { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px 3px 3px; border-radius: 16px; background: #F0F1F3; font-size: 13px; }
.x { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 16px; line-height: 1; padding: 2px 4px; }
.inline-form { display: flex; gap: 8px; margin-top: 8px; }
.inline-form input, .inline-form select { min-height: 34px; }
.check-row { display: flex; align-items: center; justify-content: space-between; }
.check-row label, .check { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; }
.dep { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; }
.file { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 6px; font-size: 13px; color: var(--accent); }
.comment { display: flex; gap: 10px; padding: 8px 0; }
.comment-form { position: relative; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; margin-top: 6px; }
.mention-pop { position: absolute; bottom: 100%; left: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.12); padding: 4px; z-index: 5; min-width: 240px; }
.mention-pop button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; border: 0; background: none; cursor: pointer; text-align: left; border-radius: 6px; }
.mention-pop button:hover { background: #F0F1F3; }
.hist { padding: 2px 0; }

/* ---------- Báo cáo & KPI ---------- */
.team-list { flex: 0 1 280px; min-width: 240px; padding: 6px; }
.team-btn, .person-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 8px 12px; border: 0; border-radius: 10px; background: none; cursor: pointer; text-align: left; }
.team-btn:hover, .person-btn:hover { background: #F0F1F3; } .team-btn.on, .person-btn.on { background: var(--accent-soft); }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.li { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.field-inner { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 13px; color: var(--ink2); font-weight: 500; }
.field-hint { font-size: 12px; color: var(--muted); }
.comment-line { padding: 6px 0; border-bottom: 1px solid var(--line2); }
.score-edit { display: inline-flex; align-items: center; gap: 6px; }
.score-edit input { width: 64px; min-height: 32px; text-align: right; }

/* ---------- Hộp thoại ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20,22,26,.42); display: flex; align-items: flex-start; justify-content: center; padding: 8vh 16px 16px; z-index: 50; overflow-y: auto; }
.modal { background: #fff; border-radius: 14px; width: 100%; max-width: 560px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.modal.wide { max-width: 760px; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line2); }
.modal-body { padding: 8px 20px 18px; max-height: 70vh; overflow-y: auto; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--line2); }
.form .field:first-child { margin-top: 6px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input-lg { min-height: 46px; font-size: 16px; margin-top: 10px; }
.search-res { margin-top: 10px; }
.res { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; background: none; border-radius: 8px; cursor: pointer; text-align: left; }
.res:hover, .res.sel { background: #F0F1F3; } .res.sel { outline: 2px solid var(--accent); outline-offset: -2px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.team-pick { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
.team-pick select { width: 130px; margin-left: auto; min-height: 32px; }
.toasts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: #2B2F36; color: #fff; padding: 10px 16px; border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.2); font-size: 14px; }
.toast.err { background: #A33A1F; }

/* ---------- Lời mời bật Face ID ---------- */
.nudge { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: linear-gradient(100deg, #E3F6F4, #FFF4E6 70%, #FFE8E4); border: 1px solid var(--accent-line); border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; }
.nudge > svg { color: var(--accent); }

/* ---------- Đăng nhập ---------- */
.login { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px 16px; position: relative; overflow: hidden;
  background:
    radial-gradient(42vmax 42vmax at 12% 18%, rgba(159,214,208,.45), transparent 60%),
    radial-gradient(34vmax 34vmax at 88% 86%, rgba(247,209,70,.30), transparent 62%),
    linear-gradient(160deg, var(--brand), var(--accent) 55%, var(--accent-ink)); }
.login::before { content: ''; position: absolute; width: 70vmax; height: 70vmax; border-radius: 50%; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 0 0 9vmax rgba(255,255,255,.04), 0 0 0 18vmax rgba(255,255,255,.03); pointer-events: none; }
.login::after { content: none; } /* Hugo House: bỏ dải sóng âm của mã gốc */
.login > * { position: relative; z-index: 1; }
.login-brand { text-align: center; color: #fff; }
.login-brand .logo-full { height: 44px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.18)); }
.login-note { font-size: 12px; color: var(--muted); margin-top: -2px; }
/* Bố cục đối xứng: khối trên (logo + chữ) và khối dưới (Mars) cùng chiều cao, cùng cách khung 36px
   → tâm khung trùng tâm vòng tròn nền. Bản quyền nằm ngoài luồng (không lệch tâm). Màn thấp: thu nhỏ theo --s */
.login { --s: 1; --bh: calc(var(--s) * 82px); gap: 0; padding: 52px 16px; }
.login-brand { height: var(--bh); margin-bottom: calc(var(--s) * 36px); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; flex: none; }
.login-brand .logo-full { height: calc(var(--s) * 44px); }
.login-brand .tag { font-size: calc(var(--s) * 18px); margin-top: calc(var(--s) * 8px); }
.login-mars { position: relative; height: var(--bh); margin-top: calc(var(--s) * 36px); display: flex; flex-direction: column; align-items: center; flex: none; }
.login-mars img { display: block; height: calc(var(--s) * 58px); width: auto; opacity: .95; filter: drop-shadow(0 6px 18px rgba(0,0,0,.18)); }
.login-foot { position: absolute; top: calc(var(--s) * 58px + 14px); left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 12px; color: rgba(255,255,255,.7); text-align: center; }
.login > .login-card { flex: none; }
@media (max-height: 699px) { .login { --s: .8; padding-top: 36px; padding-bottom: 36px; } }
@media (max-height: 599px) { .login { --s: .66; padding-top: 20px; padding-bottom: 20px; } .login-card { padding-top: 20px; padding-bottom: 20px; gap: 8px; }
  .login-card h1 { font-size: 24px; } .login-card .logo.lg { width: 44px; height: 44px; } .login-card p { margin: 0; } }
@media (max-height: 519px) { .login { --s: .56; } }
.login-brand .tag { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: .4em; margin-top: 8px; color: #fff; opacity: .92; }
.login-card h1 { font-size: 30px; }
.login-card { background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.6); box-shadow: 0 30px 60px -20px rgba(4,40,38,.45); border-radius: 20px; padding: 32px; width: 100%; max-width: 420px; text-align: center; display: flex; flex-direction: column; gap: 12px; }
/* Khung đăng nhập / khoá gọn (08/10): rộng tối đa 320px, chữ và nút nhỏ lại; Mars + bản quyền dưới khung, tránh vùng sóng âm */
.login { padding: 120px 16px; }
.login-card { width: min(320px, 100vw - 56px); max-width: none; padding: 22px 20px 20px; border-radius: 20px; gap: 10px; }
.login-card h1, .login-step-head h1 { font-size: 21px; line-height: 1.15; }
.login-sub { font-size: min(13px, 3.4vw); color: var(--muted); white-space: nowrap; margin-top: -4px; }
.login-card p { font-size: 13px; margin: 0; }
.login-card .methods { gap: 10px; margin-top: 4px; }
.login-card .btn.method, .login-card .btn.lg { min-height: 44px; height: 44px; font-size: 14.5px; border-radius: 12px; }
.login-card .btn.method { padding: 0 12px; gap: 8px; white-space: nowrap; }
.login-card .btn.method .mi { position: static; transform: none; flex: none; }
.login-card .btn.method.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.login-card .btn.method.primary:hover { background: var(--brand); }
.login-card .logo.lg { width: 44px; height: 44px; margin-bottom: 4px; border-radius: 12px; }
.login-note { font-size: 12px; line-height: 1.4; }
.login-brand { margin-bottom: calc(var(--s) * 28px); }
.login-mars { margin-top: calc(var(--s) * 28px); }
.login-mars img { height: calc(var(--s) * 48px); }
.login-foot { top: calc(var(--s) * 48px + 18px); color: rgba(255,255,255,.72); font-size: 12px; }
@media (max-height: 699px) { .login { --s: .8; padding-top: 40px; padding-bottom: 80px; } .login::after { height: 80px; } .login-card .logo.lg { display: none; } }
@media (max-height: 599px) { .login { --s: .66; padding-top: 28px; padding-bottom: 56px; } .login::after { height: 56px; } .login-card { padding: 18px 18px 16px; gap: 8px; } }
@media (max-height: 519px) { .login { --s: .56; } }
.btn.google { gap: 10px; }
.dev-login { text-align: left; border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; }
.dev-login summary { cursor: pointer; font-size: 12px; color: var(--muted); list-style: none; text-align: center; }
.dev-login summary::-webkit-details-marker { display: none; }
.dev-login[open] summary { margin-bottom: 8px; }

/* ---------- Điện thoại & máy tính bảng ---------- */
@media (max-width: 1100px) {
  .with-drawer { display: block; }
  .drawer { position: fixed; inset: 0 0 0 auto; width: min(440px, 100%); max-height: none; top: 0; border-radius: 0; z-index: 40; box-shadow: -8px 0 30px rgba(0,0,0,.15); }
}
@media (max-width: 760px) {
  .side { position: fixed; left: 0; top: 0; bottom: auto; z-index: 45; transform: translateX(-100%); transition: transform .2s; width: 280px; box-shadow: none;
    height: 100vh; height: 100dvh; height: min(100dvh, var(--vvh, 100dvh)); max-width: calc(100vw - 56px); touch-action: pan-y; }
  /* Chừa đáy rộng: Safari iOS có thanh công cụ nổi đè lên trang → mục cuối vẫn cuộn lên trên thanh được */
  .side-scroll { padding-bottom: calc(env(safe-area-inset-bottom) + 96px); }
  .side-foot { display: none; }
  .side-head { padding-top: env(safe-area-inset-top); border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 10px; }
  .side-head .brand { padding-bottom: 14px; }
  .side-x { width: 40px; height: 40px; }
  .side-user { display: flex; align-items: center; gap: 6px; padding: 2px 0 0 8px; min-width: 0; }
  .side-user .grow { min-width: 0; margin-left: 4px; }
  .side-user .muted { color: rgba(255,255,255,.6); }
  .side-scroll { padding-top: 8px; }
  .side.open { transform: none; box-shadow: 8px 0 30px rgba(0,0,0,.15); }
  .toasts { left: 16px; right: 16px; bottom: 84px; }
  .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 44; touch-action: none; }
  .only-mobile { display: inline-flex; }
  .topbar { padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px; } /* 16/11: iPhone mở từ màn hình chính — chừa giờ / pin */ .searchbox kbd { display: none; }
  .content { padding: 16px 16px 32px; }   /* thanh dưới không đè lên nội dung nữa (200ac) */
  h1 { font-size: 27px; }
  /* Phiếu 200ac: cả app cao đúng bằng màn hình, chỉ .main-col cuộn, thanh dưới nằm trong luồng (không ghim) —
     iPhone hay tính sai đáy màn hình khi cả trang cuộn, thanh ghim đáy bị kẹt giữa màn hình. */
  .shell { flex-direction: column; height: 100vh; height: 100dvh; min-height: 0; overflow: hidden; }
  .main-col { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }
  .bottombar { display: flex; position: relative; flex: none; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 4px 6px calc(6px + env(safe-area-inset-bottom)); }
  .bottombar a, .bottombar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border: 0; background: none; font-size: 11px; color: var(--muted); position: relative; cursor: pointer; }
  .bottombar .on { color: var(--accent); font-weight: 600; }
  .bottombar .badge { top: 2px; right: auto; left: 52%; }
  /* Kéo xuống: thanh dưới thu nhỏ (chỉ icon), kéo lên hiện lại */
  .bottombar { transition: padding .2s ease; }
  .bottombar a, .bottombar button { transition: min-height .2s ease, font-size .2s ease; }
  .bottombar .fab { transition: transform .2s ease, margin .2s ease; }
  .shell.bar-compact .bottombar { padding-top: 0; padding-bottom: calc(2px + env(safe-area-inset-bottom)); }
  .shell.bar-compact .bottombar a, .shell.bar-compact .bottombar button:not(.fab) { min-height: 38px; font-size: 0; gap: 0; }
  .shell.bar-compact .bottombar .fab { transform: scale(.72); margin-top: -14px; margin-bottom: -10px; }
  .bottombar .fab { flex: 0 0 56px; height: 56px; min-height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent-ink)); color: #fff; margin-top: -22px; box-shadow: 0 6px 16px rgba(0,128,122,.45), 0 0 0 3px #fff; }
  .topbar-right .btn.primary { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .due { width: auto; text-align: left; }
  .taskrow { padding: 10px 14px; }
  .drawer { width: 100%; }
  .kanban { grid-template-columns: repeat(4, 78vw); scroll-snap-type: x mandatory; } .kcol { scroll-snap-align: start; }
  .team-list { flex-basis: 100%; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .num { font-size: 24px; }
}

/* ---------- Điểm nhấn nghệ thuật ---------- */
.stats .stat { position: relative; overflow: hidden; }
.stats .stat::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--brand); }
.stats .stat:nth-child(2)::before { background: var(--coral); }
.stats .stat:nth-child(3)::before { background: var(--sun); }
.stats .stat:nth-child(4)::before { background: var(--rose); }
.stats .stat::after { content: ''; position: absolute; right: -30px; bottom: -40px; width: 110px; height: 110px; border-radius: 50%; background: var(--accent-soft); pointer-events: none; }
.stats .stat:nth-child(2)::after { background: #FF6B5714; } .stats .stat:nth-child(3)::after { background: #F7D1461C; } .stats .stat:nth-child(4)::after { background: #E0457B12; }
::selection { background: #9FD6D066; }

/* ---------- Chat ---------- */
.content:has(> .chat) { padding: 0; }
.shell.in-chat .content { padding: 0; }
.chat { display: grid; grid-template-columns: 320px minmax(0, 1fr); height: calc(100dvh - 65px); background: var(--card); }
.chat-list { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; background: #FAFCFC; }
.chat-list-head { padding: 18px 16px 10px; display: flex; flex-direction: column; gap: 10px; }
.chat-list-head h1 { font-size: 30px; }
.chat-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 0 10px; color: var(--muted); }
.chat-search input { border: 0; min-height: 36px; padding: 0; background: transparent; flex: 1; min-width: 0; }
.chat-search input:focus { outline: none; }
.chat-search:focus-within { outline: 2px solid var(--accent); }
.chat-list-body { overflow-y: auto; padding: 0 8px 16px; flex: 1; }
.chat-list-body .ns { display: flex; padding: 14px 8px 4px; }
.pad-s { padding: 4px 8px 8px; }
.chat-item { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; min-height: 52px; }
.chat-item:hover { background: #EEF4F4; }
.chat-item.on { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--brand); }
.chat-item .grow { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.chat-name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item.unread .chat-name { font-weight: 700; }
.chat-item.unread .clamp1 { color: var(--ink2); }
.clamp1 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cbadge { flex-shrink: 0; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.cbadge.at { background: var(--coral); color: #2A0F0A; }
.ch-show { position: relative; flex-shrink: 0; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--accent-ink)); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ch-show .dot { position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; box-shadow: 0 0 0 2px #fff; }
.icon-btn.sm { width: 28px; height: 28px; }
.chat-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; color: var(--muted);
  background: radial-gradient(60% 50% at 50% 40%, var(--accent-soft), transparent); }
.chat-empty .b { color: var(--ink); font-family: var(--display); font-size: 22px; }

.chat-conv { display: flex; flex-direction: column; min-height: 0; min-width: 0; position: relative; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-bottom: 1px solid var(--line); min-height: 60px; }
.chat-title { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.1; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 12px 0 8px; overscroll-behavior: contain; }
.chat-start { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px 18px; text-align: center; }
.chat-start .b { font-family: var(--display); font-size: 22px; }
.older { display: block; margin: 6px auto 12px; }
.day-sep { display: flex; align-items: center; gap: 10px; margin: 14px 18px 6px; color: var(--muted); font-size: 12px; font-weight: 600; }
.day-sep::before, .day-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.msg { position: relative; display: flex; gap: 10px; padding: 6px 18px 2px; }
.msg.grouped { padding-top: 1px; }
.msg:hover, .msg.sel { background: #F5F9F9; }
.msg-av { width: 34px; flex-shrink: 0; display: flex; justify-content: center; }
.msg-time-s { font-size: 10px; color: var(--muted); visibility: hidden; padding-top: 4px; }
.msg:hover .msg-time-s { visibility: visible; }
.msg-main { min-width: 0; flex: 1; }
.msg-meta { display: flex; align-items: baseline; gap: 8px; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
.msg-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.mention { background: #FFF1D6; color: #8A4B00; border-radius: 4px; padding: 0 3px; font-weight: 600; }
.msg-quote { display: flex; align-items: baseline; gap: 5px; font-size: 12.5px; color: var(--muted); border-left: 3px solid var(--accent-line); padding: 2px 8px; margin: 2px 0 4px; max-width: 560px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.msg-quote svg { flex-shrink: 0; align-self: center; }
.msg.pending { opacity: .65; }
.msg.failed .msg-body { color: var(--late); }
.reacts { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.react { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 1px 8px; font-size: 12.5px; cursor: pointer; min-height: 26px; }
.react.mine { border-color: var(--brand); background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.msg-tools { position: absolute; right: 16px; top: -14px; display: none; gap: 2px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 2px; box-shadow: 0 4px 14px rgba(0,0,0,.08); z-index: 2; }
.msg:hover .msg-tools, .msg.sel .msg-tools, .msg-tools.open { display: flex; }
.msg-tools .emoji { border: 0; background: none; font-size: 18px; width: 34px; height: 32px; border-radius: 8px; cursor: pointer; }
.msg-tools .emoji:hover { background: #F0F3F3; }
.msg-sys { margin: 8px 18px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sys-line { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink2); background: #EEF6F5; border-radius: 14px; padding: 4px 12px; max-width: 100%; }
.sys-line svg { color: var(--accent); flex-shrink: 0; }
.task-card { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: 10px; padding: 8px 10px; margin-top: 6px; background: #fff; max-width: 420px; width: 100%; }
.task-card:hover { border-color: var(--accent-line); background: #FAFDFD; }
.new-below { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 16px; padding: 6px 14px;
  background: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 6px 16px rgba(0,128,122,.35); cursor: pointer; z-index: 3; }

.composer { border-top: 1px solid var(--line); padding: 10px 16px 12px; position: relative; background: var(--card); }
.composer-row { display: flex; align-items: flex-end; gap: 8px; border: 1px solid #D5DCDC; border-radius: 12px; padding: 6px 6px 6px 12px; background: #fff; }
.composer-row:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.composer textarea { border: 0; padding: 6px 0; min-height: 24px; max-height: 180px; resize: none; line-height: 1.45; background: transparent; }
.composer textarea:focus { outline: none; }
.send { flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; border: 0; background: #E3EAEA; color: #8A9696; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.send.ready { background: linear-gradient(135deg, var(--brand), var(--accent-ink)); color: #fff; }
.composer-hint { margin-top: 4px; padding-left: 4px; }
.composer-ctx { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); background: #F2F7F7; border-radius: 8px 8px 0 0; padding: 4px 6px 4px 10px; margin: 0 4px; }
.mention-pop { position: absolute; left: 16px; bottom: calc(100% - 6px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 4px; min-width: 260px; z-index: 5; }
.mention-pop button { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; background: none; padding: 7px 8px; border-radius: 7px; text-align: left; cursor: pointer; }
.mention-pop button.on, .mention-pop button:hover { background: var(--accent-soft); }

@media (max-width: 760px) {
  .chat { grid-template-columns: minmax(0, 1fr); height: calc(100dvh - 59px - 64px - env(safe-area-inset-bottom)); }
  .shell.in-conv .bottombar { display: none; }
  .shell.in-conv .chat { height: calc(100dvh - 59px); }
  .chat.has-conv .chat-list { display: none; }
  .chat:not(.has-conv) .chat-empty { display: none; }
  .chat-head { padding: 8px 10px; }
  .msg { padding-left: 12px; padding-right: 12px; }
  .msg-tools { right: 8px; top: auto; bottom: calc(100% - 6px); }
  .composer { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .composer textarea { font-size: 16px; } /* tránh iPhone tự phóng to khi gõ */
  .chat-head .btn.sm { padding: 0 8px; font-size: 12px; }
}

/* ---------- Cài đặt thông báo ---------- */
.install-hint { background: #FFF8E6; border: 1px solid #F3DDA6; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; }
.install-hint ol { margin: 6px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 3px; }
.prefs { width: 100%; border-collapse: collapse; margin-top: 4px; }
.prefs th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.prefs td { padding: 8px; border-bottom: 1px solid var(--line2); }
.prefs th:not(:first-child), .prefs td:not(:first-child) { text-align: center; width: 110px; }

/* ---------- Nhóm chat tự tạo ---------- */
.ch-group { background: linear-gradient(135deg, #5B2BB5, #1F5BA8); }
.modal .res input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }

/* ---------- Tiện ích dùng chung (trang Đối thủ, Khách hàng) ---------- */
.row { display: flex; align-items: center; } .row.gap { gap: 8px; } .row.wrap { flex-wrap: wrap; } .row.between { justify-content: space-between; gap: 8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.h3 { font-size: 18px; } .up { text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.card.list { padding: 4px 0; } .card.list > .empty { padding: 24px; }
.hint-box { background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-ink); border-radius: 10px; padding: 10px 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.tags .tag { background: #FFF4E5; color: #8A4B00; border-radius: 6px; padding: 1px 8px; font-size: 12px; font-weight: 600; }
.chip.warn { background: #FFF1E6; color: #B4461B; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; background: #EEF0F3; padding: 3px; border-radius: 10px; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; }
.seg button.on { background: #fff; box-shadow: 0 1px 2px #0002; color: var(--accent-ink); font-weight: 600; }
.search-inline { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #D5D8DD; border-radius: 8px; padding: 0 10px; min-width: 220px; }
.search-inline input { border: 0; padding: 0; min-height: 36px; } .search-inline input:focus { outline: none; }
.search-inline:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
.filters { margin: 4px 0; }

/* ---------- Theo dõi đối thủ ---------- */
.intel-sum { padding: 14px 18px; }
.intel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 10px; }
.intel-bar { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px dashed var(--line2); }
.intel-bar .sq, .intel-date .sq { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.intel-row { display: flex; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line2); align-items: flex-start; }
.intel-row:last-child { border-bottom: 0; }
.intel-row > .grow > * + * { margin-top: 3px; }
.intel-date { width: 116px; flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding-top: 2px; }

/* ---------- Khách hàng (CRM) ---------- */
.pipe { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.pipe button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; background: #fff; border: 1px solid var(--line);
  border-top: 3px solid var(--accent); border-radius: 10px; padding: 8px 10px; cursor: pointer; text-align: left; }
.pipe button.on { background: var(--accent-soft); border-color: var(--accent-line); }
.pipe-n { font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1; }
.crm-row { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line2); }
.crm-row:last-child { border-bottom: 0; } .crm-row:hover { background: #FAFBFB; }
.crm-av { width: 38px; height: 38px; border-radius: 10px; background: var(--stage); color: var(--mint); display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 20px; flex-shrink: 0; }
.crm-cols { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; }
.crm-cols .card, .card.pre { padding: 14px 18px; }
.act-form { display: flex; flex-direction: column; gap: 8px; padding: 10px 0 14px; border-bottom: 1px solid var(--line2); margin: 8px 0; }
.act-form .row input, .act-form .row select { width: auto; flex: 1; min-width: 130px; }
.act-form .btn { align-self: flex-end; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { border-left: 2px solid var(--accent-line); padding: 4px 0 12px 14px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: -6px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.contact { padding: 8px 0; border-bottom: 1px solid var(--line2); } .contact:last-child { border-bottom: 0; }
.contact a { color: var(--accent); }

/* ---------- File trong chat ---------- */
.msg-files { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; max-width: 420px; }
.msg-imgs { display: flex; flex-wrap: wrap; gap: 6px; }
.msg-img { display: block; width: 160px; height: 160px; border-radius: 10px; overflow: hidden; background: #EEF0F3; border: 1px solid var(--line); }
.msg-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.msg-img-ph { display: block; width: 100%; height: 100%; animation: pulse 1.2s infinite alternate; background: #E4E6EA; }
@keyframes pulse { to { opacity: .5; } }
.file-chip { display: flex; align-items: center; gap: 10px; text-align: left; width: 100%; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 8px 10px; cursor: pointer; }
.file-chip:hover { border-color: var(--accent-line); background: #FAFDFD; }
.file-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-ic { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff;
  background: #5F6368; flex-shrink: 0; letter-spacing: .02em; }
.file-ic.ft-PDF { background: #D93025; } .file-ic.ft-DOC { background: #2B579A; } .file-ic.ft-XLS { background: #217346; }
.file-ic.ft-PPT { background: #C43E1C; } .file-ic.ft-ZIP { background: #6B4E16; } .file-ic.ft-ẢNH { background: var(--brand); }
.attach-list { display: flex; flex-direction: column; gap: 8px; max-height: 300px; overflow: auto; margin-bottom: 12px; }
.attach-item { display: flex; align-items: center; gap: 10px; }
.attach-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.bar.thin { display: block; height: 4px; border-radius: 2px; background: #EEF0F3; overflow: hidden; margin-top: 4px; }
.bar.thin span { display: block; height: 100%; background: var(--brand); transition: width .2s; }
.composer-row > .icon-btn { align-self: flex-end; flex-shrink: 0; }

@media (max-width: 900px) {
  .pipe { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .crm-cols { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid2 { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .intel-row { flex-direction: column; gap: 4px; padding: 12px 14px; } .intel-date { width: auto; }
  .crm-row { padding: 12px 14px; }
  .msg-img { width: 120px; height: 120px; }
  .search-inline { min-width: 0; width: 100%; }
}

/* ---------- Tài chính show ---------- */
.fin { display: flex; flex-direction: column; gap: 16px; }
.fin-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chip.ok { background: #E3F4EA; color: #1B6B3A; }
.chip.lockchip { background: #EEF0F3; color: var(--ink); }
.fin-alerts { background: #FDE8E4; border: 1px solid #F3B8AC; color: #7A2A16; border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.fin-tiles .fin-tile .num { font-size: 26px; }
.fin-tile.bad .num { color: var(--late); } .fin-tile.ok .num { color: var(--ok); } .fin-tile.warn .num { color: #B4461B; }
.fin-tbl td, .fin-tbl th { font-variant-numeric: tabular-nums; }
.fin-tbl .r { text-align: right; white-space: nowrap; }
.fin-tbl tfoot td { font-weight: 700; border-top: 2px solid var(--line); background: #FAFBFB; }
.fin-tbl tr.fin-cat td { background: #F4F7F7; font-weight: 600; font-size: 13px; }
.fin-tbl td.fin-line { padding-left: 24px; }
.fin-tbl td.fin-line .chip { margin-left: 6px; }
.fin-tbl .icon-btn.sm { width: 30px; height: 30px; }
.fin-flag { display: inline-flex; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.fin-flag.bad { background: #FDE8E4; color: #A33A1F; } .fin-flag.warn { background: #FFF1DC; color: #8A4B00; }
.fin-rev { padding: 12px 18px; border-bottom: 1px solid var(--line2); }
.fin-rev:last-child { border-bottom: 0; }
.fin-rev .link-like:disabled { cursor: default; }
.fin-inst { display: flex; flex-direction: column; gap: 2px; margin-top: 6px; padding-left: 12px; border-left: 3px solid var(--accent-line); }
.fin-inst-row { display: grid; grid-template-columns: 130px 150px 1fr auto; gap: 10px; align-items: center; font-size: 13px; }
.fin-inst-row.late { color: var(--late); }
.fin-inst-edit { display: flex; flex-direction: column; gap: 8px; background: #F7F8FA; border-radius: 10px; padding: 10px 12px; }
.fin-inst-line { display: grid; grid-template-columns: 160px 1fr 38px; gap: 8px; align-items: center; }
.fin-closed { justify-content: flex-start; gap: 8px; align-self: end; min-height: 38px; }
.fin-filter { flex-wrap: wrap; }
.fin-cash tr.fin-now td { background: #F2FBFA; }
.fin-barcol { width: 120px; }
.fin-bars { display: flex; flex-direction: column; gap: 2px; width: 110px; }
.fin-bars span { display: block; height: 5px; border-radius: 3px; min-width: 0; }
.fin-bars .in { background: var(--brand); } .fin-bars .out { background: var(--coral); }
.fin-ver summary { cursor: pointer; padding: 6px 0; font-size: 13px; }
@media (max-width: 760px) {
  .fin-inst-row { grid-template-columns: 1fr 1fr; }
  .fin-inst-line { grid-template-columns: 1fr 1fr 38px; }
  .fin-barcol { display: none; }
}

/* ---------- Đề nghị chi + Cài đặt tài chính ---------- */
.req-tbl td { vertical-align: top; }
select.fit { width: auto; }
.form-card { display: flex; flex-direction: column; gap: 12px; }
.req-calc { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; background: #F4F7F7; border-radius: 10px; padding: 10px 14px; font-size: 13px; }
.req-calc .big { font-size: 18px; color: var(--accent-ink); }
.req-diff { border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.req-diff.out { background: #FFF1DC; color: #8A4B00; } .req-diff.in { background: #E3F4EA; color: #1B6B3A; }
.req-steps { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: st; }
.req-steps li { counter-increment: st; font-size: 13px; padding: 6px 12px 6px 8px; border-radius: 16px; background: #EEF0F3; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.req-steps li::before { content: counter(st); width: 20px; height: 20px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.req-steps li.done { background: #E3F4EA; color: #1B6B3A; } .req-steps li.done::before { content: '✓'; }
.req-steps li.now { background: var(--accent); color: #fff; font-weight: 600; } .req-steps li.now::before { color: var(--accent-ink); }
.req-actions { display: flex; flex-direction: column; gap: 8px; border: 2px solid var(--accent-line); background: #F2FBFA; }
.req-amounts { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.req-amounts > div { display: flex; flex-direction: column; } .req-amounts b { font-size: 16px; font-variant-numeric: tabular-nums; }
.req-amounts .req-pay b { font-size: 22px; color: var(--accent-ink); }
.req-props { display: grid; grid-template-columns: 140px 1fr; gap: 8px 12px; margin: 14px 0 0; font-size: 14px; }
.req-props dt { color: var(--muted); font-size: 13px; } .req-props dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.req-bank { border: 1px dashed var(--accent-line); border-radius: 10px; padding: 8px 12px; }
.req-bank legend { font-size: 12px; color: var(--accent-ink); font-weight: 600; padding: 0 4px; }
.row-gap.nowrap { flex-wrap: nowrap; }
.self-end { align-self: flex-end; margin-bottom: 4px; }
.stack-xs { display: flex; flex-direction: column; gap: 2px; }
.tiers { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; margin: 8px 0; }
.tier { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #F7F8FA; border-radius: 10px; padding: 8px 10px; width: 100%; }
.tier input[inputmode=numeric] { width: 150px; }
.tier-range { min-width: 150px; font-size: 13px; font-weight: 600; }
.tier-steps { display: inline-flex; gap: 14px; margin-left: auto; }
.team-tier { padding: 6px 0; border-bottom: 1px solid var(--line2); }
.team-tier .check .sq { margin-right: 2px; }
.pad-top { margin-top: 14px; }
.vat-new { width: 90px; min-height: 30px; }
.sticky-save { position: sticky; bottom: 0; background: var(--bg); padding: 10px 0; z-index: 2; }
@media (max-width: 760px) {
  .req-props { grid-template-columns: 1fr; gap: 2px; } .req-props dd { margin-bottom: 8px; }
  .tier-steps { margin-left: 0; } .tier input[inputmode=numeric] { width: 120px; }
  .row-gap.nowrap { flex-wrap: wrap; }
}

/* ---------- Hướng dẫn sử dụng ---------- */
/* Phiếu 17i: không còn nút "? Hướng dẫn" trong trang — màn khai bài cho nút ? thanh đầu; ô rỗng giữ chỗ (đẩy phần sau sang phải như cũ) */
.man-help { display: none; }
.page-head > .man-help { display: block; width: 0; height: 0; margin-right: auto; }
/* Ô chỉ để chứa nút "? Hướng dẫn" cũ (cuối trang Lương, Kho, Bếp, Học sinh, Tuyển sinh, Cộng đồng…) → ẩn hẳn, khỏi để khoảng trống */
.pay-help:has(> .man-help:only-child), .cd-phai-help:has(> .man-help:only-child), .cd .cd-help-dt:has(> .man-help:only-child) { display: none !important; }
.help-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.help-nav { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; max-height: calc(100vh - 110px); overflow: auto; padding-bottom: 12px; }
.help-nav .ns { color: var(--muted); margin: 10px 0 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.help-item { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 14px; }
.help-item:hover { background: #EEF0F3; } .help-item.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.help-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.flows { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.flow { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.flow:hover { border-color: var(--accent-line); background: #F7FCFB; }
.flow ol { margin: 0; padding: 0; list-style: none; counter-reset: f; display: flex; flex-direction: column; gap: 6px; }
.flow li { counter-increment: f; display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; font-size: 13px; }
.flow li::before { content: counter(f); grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.help-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 10px; }
.help-card { display: flex; gap: 12px; padding: 14px; align-items: flex-start; }
.help-card:hover { border-color: var(--accent-line); }
.help-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.help-article { display: flex; flex-direction: column; gap: 10px; }
.help-article .row-between.wrap { flex-wrap: wrap; }
.help-summary { margin: 0; font-size: 15px; color: var(--ink2); }
.help-sec { border-top: 1px solid var(--line2); padding-top: 12px; }
.help-sec h3 { font-size: 15px; margin-bottom: 6px; } .help-sec p { margin: 0 0 6px; line-height: 1.6; }
.help-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; line-height: 1.55; }
.help-steps li::marker { color: var(--accent); font-weight: 700; }
.help-tips { margin-top: 8px; background: #FFF8E6; border-radius: 8px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.help-pager { border-top: 1px solid var(--line2); padding-top: 10px; gap: 12px; }
.only-mobile-inline { display: none; }
@media (max-width: 860px) {
  .help-layout { grid-template-columns: 1fr; }
  .help-nav { position: static; max-height: none; }
  .help-layout.reading .help-nav { display: none; }
  .only-mobile-inline { display: inline-flex; align-items: center; gap: 4px; }
}

/* ---------- Chấm công › Cài đặt (#/att): giao diện tối mặc định, ưu tiên điện thoại ---------- */
.content.att-dark {
  --ink: #E8EEEE; --ink2: #C5D0D0; --muted: #93A3A3; --line: #24403F; --line2: #1B3433;
  --bg: #0B1C1C; --card: #112827; --accent: #2EC4BB; --accent-ink: var(--mint); --accent-soft: #2EC4BB1F; --accent-line: #2E6E6A;
  --field: #0E2221; --field-line: #2D4F4D; --hover: #183634;
  background: var(--bg); color: var(--ink);
}
.content.att-dark input, .content.att-dark select, .content.att-dark textarea { background: var(--field); border-color: var(--field-line); color: var(--ink); color-scheme: dark; }
.content.att-dark select:disabled, .content.att-dark input:disabled { background: #0C1D1D; color: var(--muted); }
.content.att-dark .btn { background: var(--card); border-color: var(--field-line); color: var(--ink); }
.content.att-dark .btn:hover, .content.att-dark .icon-btn:hover { background: var(--hover); }
.content.att-dark .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--stage); }
.content.att-dark .btn.primary:hover { background: var(--accent-ink); }
.content.att-dark .btn.ghost { background: transparent; border-color: transparent; }
.content.att-dark .chip, .content.att-dark .chip.grey { background: #1E3A39; color: var(--ink2); }
.content.att-dark .pill { background: var(--card); border-color: var(--field-line); }
.content.att-dark .pill.on { background: var(--accent); border-color: var(--accent); color: var(--stage); }
.content.att-dark .tbl tr.grp td, .content.att-dark .tbl tr.clickable:hover td { background: var(--hover); }
.content.att-dark .errorbox { background: #3A1A14; color: #FFB4A3; }
.content.att-dark .hint-box { color: var(--ink2); }
.content.att-dark .modal { background: var(--card); color: var(--ink); }
.att .seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.att .seg button { min-height: 32px; padding: 0 10px; border: 0; background: transparent; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); }
.att .seg button.on { background: var(--accent); color: #fff; }
.content.att-dark .att .seg button.on { color: var(--stage); }
.att .hint-box.warn { background: #F7D1461F; border-color: #F7D14680; color: inherit; }
.att .warn-text { color: #C77700; font-weight: 600; } .content.att-dark .att .warn-text { color: var(--sun); }
.att .listrow.wrap, .att .row-between.wrap { flex-wrap: wrap; }
.att .grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 0 14px; }
.att .att-form { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 4px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.att .att-form .grid-auto { width: 100%; }
.att .inline-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.att .inline-form input, .att .inline-form select { width: auto; flex: 1 1 140px; }
.att-matrix-wrap, .att .tbl-wrap { overflow-x: auto; margin-top: 8px; -webkit-overflow-scrolling: touch; }
.att-matrix { min-width: 760px; }
.att-matrix th:first-child { position: sticky; left: 0; background: var(--card); z-index: 1; min-width: 190px; }
.att-matrix td { text-align: center; white-space: nowrap; }
.att-matrix td.on { background: var(--accent-soft); }
.att-matrix td .check { justify-content: center; padding: 0; }
.att-matrix tr.grp-first th, .att-matrix tr.grp-first td { border-top: 2px solid var(--line); }
.att-matrix .scope-sel { min-height: 28px; font-size: 12px; padding: 0 4px; width: auto; margin-top: 4px; }
.att-steps { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.att-step { padding: 10px 12px; border-left: 3px solid var(--accent); }
.att-step.dragging { opacity: .5; }
.att-step-head { display: flex; align-items: center; gap: 8px; }
.att-step-head .handle { cursor: grab; color: var(--muted); font-weight: 700; letter-spacing: -2px; user-select: none; padding: 4px; }
.att-step-head .step-no { font-weight: 700; font-size: 13px; white-space: nowrap; }
.att-conds { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.att-conds .cond { display: inline-flex; gap: 4px; align-items: center; }
.att-conds .cond select, .att-conds .cond input { width: auto; min-height: 32px; }
.att-conds .num-in { width: 64px !important; }
.att .icon-btn.sm { width: 30px; height: 30px; }
.att-route li.skipped { opacity: .6; }
.att-route li.escalated { border-left-color: var(--sun); }
.att .grow1 { flex: 1 1 320px; min-width: 0; } .att .grow2 { flex: 2 1 480px; min-width: 0; }
.att-pol-list { flex: 1 1 260px; max-width: 360px; }
.att .pol-item { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; padding: 8px; border: 1px solid transparent; border-radius: 8px; background: none; cursor: pointer; }
.att .pol-item:hover { background: var(--accent-soft); } .att .pol-item.on { border-color: var(--accent); background: var(--accent-soft); }
.att .chip.st-draft { background: #8A8F9826; } .att .chip.st-pending { background: #F7D14633; } .att .chip.st-active { background: #2EC4BB33; } .att .chip.st-retired { opacity: .7; }
.att .chip.law-label { background: #F7D14633; color: inherit; font-weight: 600; }
.att .sig-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 10px 0; }
.att-params { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
.att .param-grp { border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px 10px; margin: 0; min-width: 0; }
.att .param-grp legend { font-weight: 700; font-size: 13px; padding: 0 6px; }
.att .param { padding: 2px 0 6px; border-radius: 6px; }
.att .param.changed { box-shadow: inset 3px 0 0 var(--sun); padding-left: 8px; }
.att .param .law { color: var(--accent-ink); }
.att .check.wd { padding: 2px 0; }
.att-diff { margin: 14px 0; }
.att-diff select { width: auto; }
.att .money-in { width: 140px; }
.att .hday { min-width: 120px; }
@media (max-width: 760px) {
  .att .page-head { align-items: flex-start; }
  .att-pol-list { max-width: none; }
  .att .grid2 { grid-template-columns: 1fr; }
  .att .att-step-head input { min-width: 0; }
}

/* Tài chính show: đề xuất phiên bản ngân sách chờ BGĐ duyệt, điều kiện quyết toán */
.chip.fin-pending { background: #F7D14633; color: #7A4F00; }
.fin-pending-val { color: #9A6400; font-weight: 600; }
.fin-ver.pending { border-left: 3px solid var(--sun); padding-left: 8px; }
.fin-ver.rejected summary { opacity: .75; }
.fin-changes { margin: 6px 0 10px; padding-left: 18px; font-size: 13px; }
.fin-changes li { margin-bottom: 6px; }
.fin-blockers ul { margin: 4px 0 0; padding-left: 18px; }
.att .time-in { width: auto; min-height: 32px; margin-left: 6px; }
.att .att-team-pol .sq { margin-right: 2px; }

/* ---------- Bảng tin ---------- */
.ann-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; background: #FDE8E4; color: #7A2A16; border: 1px solid #F3B8AC;
  border-left: 5px solid var(--late); border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; }
.ann-banner > svg { color: var(--late); }
.ann-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-left: 4px solid var(--line); transition: box-shadow .15s; }
.ann-card:hover { box-shadow: 0 2px 10px #0000000F; }
.ann-card.lv-important { border-left-color: #E09A2B; } .ann-card.lv-urgent { border-left-color: var(--late); }
.ann-card.unread .ann-title { color: var(--accent-ink); }
.ann-title { font-size: 19px; margin: 0; overflow-wrap: anywhere; }
.ann-excerpt { overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ann-detail { display: flex; flex-direction: column; gap: 12px; margin: 10px 0 16px; border-top: 4px solid var(--line); }
.ann-detail.lv-important { border-top-color: #E09A2B; } .ann-detail.lv-urgent { border-top-color: var(--late); }
.ann-h { font-size: 28px; overflow-wrap: anywhere; }
.ann-files { border-top: 1px solid var(--line2); }
.ann-stat-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 28px; margin: 8px 0 14px; }
.ann-big { font-size: 30px; line-height: 1; }
.ann-people { max-height: 360px; overflow: auto; }
.ann-preview { border: 1px solid #D5D8DD; border-radius: 8px; padding: 8px 12px; min-height: 160px; }
.ann-teams { margin-top: 8px; gap: 4px 16px; }
.md { overflow-wrap: anywhere; line-height: 1.6; font-size: 15px; }
.md > :first-child { margin-top: 0; } .md > :last-child { margin-bottom: 0; }
.md p, .md ul, .md ol, .md blockquote { margin: 0 0 10px; }
.md h3, .md h4, .md h5 { margin: 14px 0 6px; } .md h3 { font-size: 18px; } .md h4 { font-size: 16px; } .md h5 { font-size: 15px; }
.md ul, .md ol { padding-left: 22px; }
.md blockquote { border-left: 3px solid var(--accent-line); padding: 2px 0 2px 12px; color: var(--ink2); }
.md code { background: #EEF0F3; border-radius: 4px; padding: 1px 5px; font-size: 13px; }
.md a { color: var(--accent); text-decoration: underline; }
.md hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }

/* ---------- Phân quyền ---------- */
.acl-roles { display: grid; grid-template-columns: 260px 1fr; gap: 16px; align-items: start; margin-top: 12px; }
.acl-role-list { padding: 10px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 8px; }
.acl-role { display: flex; align-items: center; gap: 10px; text-align: left; padding: 8px 10px; border-radius: 8px; border: 1px solid transparent; background: none; cursor: pointer; }
.acl-role:hover { background: #F4F6F7; } .acl-role.on { background: var(--accent-soft); border-color: var(--accent-line); }
.acl-role-detail .h2-sm { font-size: 20px; display: flex; align-items: center; gap: 8px; }
.acl-perm { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.acl-perm.on { background: #F6FBFA; }
.acl-perm .check { align-items: flex-start; }
.acl-perm .chip { margin-left: 6px; }
.scope-sel { width: auto; min-height: 30px; font-size: 13px; padding: 0 6px; }
.chip.acl-sens { background: #FDE8E4; color: #A33A1F; }
.info-box { background: var(--accent-soft); border: 1px solid var(--accent-line); border-radius: 8px; padding: 10px 12px; }
.acl-person { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 14px; border: 0; border-top: 1px solid var(--line2); background: none; cursor: pointer; flex-wrap: wrap; }
.acl-person:hover { background: #F7F8FA; }
.acl-chips { justify-content: flex-end; }
.acl-form { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr auto; gap: 8px; margin-top: 8px; }
.acl-form:has(> select + select) { grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr auto; }
.acl-eff td { vertical-align: top; }
@media (max-width: 760px) {
  .acl-roles { grid-template-columns: 1fr; }
  .acl-role-list { position: static; }
  .acl-form, .acl-form:has(> select + select) { grid-template-columns: 1fr 1fr; }
  .acl-form > select:first-child, .acl-form > button { grid-column: 1 / -1; }
}

/* ---------- Menu: nhóm Cài đặt sổ ra mục con ---------- */
.nl-group { width: 100%; border: 0; background: none; cursor: pointer; font: inherit; text-align: left; margin-top: 10px; }
.nl-group.has-on { color: #fff; font-weight: 600; }
.nl-chev { margin-left: auto; transition: transform .15s; opacity: .8; }
.nl-group .nb + .nl-chev { margin-left: 6px; }
.nl-chev.open { transform: rotate(90deg); }
.nl-sub { display: flex; flex-direction: column; gap: 2px; margin: 2px 0 6px 14px; padding-left: 10px; border-left: 1px solid rgba(127,227,216,.22); }
.nl.sub { min-height: 34px; font-size: 13.5px; }
.nl.sub.on::before { left: -21px; }

/* ---------- Menu gọn: mọi nhóm dùng chung kiểu nhóm "Cài đặt" (.nl-group / .nl-sub) ---------- */
.side .nl-group { margin-top: 6px; }
.nl .nl-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nl .nb { margin-left: 0; }
.nl-sub .sq { width: 18px; height: 18px; font-size: 10px; border-radius: 4px; }
.nl-mini-toggle { width: 100%; border: 0; background: none; cursor: pointer; font: inherit; text-align: left; color: rgba(255,255,255,.55); font-size: 13px; min-height: 32px; margin-bottom: 4px; }
.nl-mini-toggle:hover { color: #fff; }
/* Menu nổi khi menu chỉ còn icon */
.nl-fly { position: fixed; z-index: 60; min-width: 220px; max-height: 70vh; overflow-y: auto; padding: 8px; border-radius: 12px;
  background: var(--stage); border: 1px solid rgba(127,227,216,.25); box-shadow: 0 16px 40px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 2px; }
.nl-fly-title { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); padding: 4px 10px 6px; }
.nl-fly .nl.on::before { display: none; }
/* Menu chỉ còn icon (máy tính) */
@media (min-width: 761px) {
  .shell.mini { --side: 68px; }
  .shell.mini .side { width: 68px; overflow-x: hidden; }
  .shell.mini .side-head, .shell.mini .side-scroll { padding-left: 8px; padding-right: 8px; }
  .shell.mini .side .brand { padding: 8px 2px 18px; }
  .shell.mini .side .brand-logo { height: 22px; width: 26px; object-fit: cover; object-position: left center; margin: 0 auto; }
  .shell.mini .side .brand-tag, .shell.mini .side-scroll > .ns { display: none; }
  /* chỉ áp cho mục trực tiếp của menu — menu nổi (.nl-fly) giữ nguyên chữ */
  .shell.mini .side-scroll > .nl { justify-content: center; padding: 0; gap: 0; }
  .shell.mini .side-scroll > .nl .nl-label, .shell.mini .side-scroll > .nl .nl-chev, .shell.mini .side .side-foot .nl-label { display: none; }
  .shell.mini .side-scroll > .nl .nb { position: absolute; top: 3px; right: 6px; font-size: 10px; padding: 0 5px; line-height: 16px; }
  .shell.mini .side-scroll > .nl.on::before { left: -8px; }
  .shell.mini .side .side-foot { flex-direction: column; padding: 12px 0 0; }
}
@media (max-width: 760px) {
  .nl-mini-toggle { display: none; }
  .bottombar .badge.soft { background: var(--accent); }
}

/* Đăng nhập bằng mã email */
.email-code { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.email-code .form { gap: 10px; }
.login-or { display: flex; align-items: center; gap: 10px; color: var(--muted, #6b7280); font-size: 12px; margin: 4px 0; }
.login-or::before, .login-or::after { content: ''; flex: 1; border-top: 1px solid var(--line, #e5e7eb); }
.otp-input { font-size: 24px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.otp-input::placeholder { letter-spacing: normal; font-size: 16px; }

/* Màn khoá: "Đổi người sử dụng" là dòng chữ nhỏ, nhạt, không viền / nền, cuối thẻ */
.switch-user { align-self: center; margin-top: 2px; padding: 6px 10px; border: 0; background: none; box-shadow: none;
  font-size: 13px; color: var(--muted); cursor: pointer; border-radius: 6px; }
.switch-user:hover { text-decoration: underline; }
.login > .overlay { position: fixed; z-index: 50; }
.login .modal { text-align: left; max-width: 400px; }
.confirm-text { margin: 10px 0 0; font-size: 15px; overflow-wrap: anywhere; }

/* Màn đăng nhập / khoá theo chế độ tối của máy */
@media (prefers-color-scheme: dark) {
  .login-card, .login .modal {
    --ink: #E8EEEE; --ink2: #C9D3D3; --muted: #9AABAA; --line: #2B4443; --line2: #22393A;
    color: var(--ink); color-scheme: dark;
  }
  .login-card { background: rgba(14,30,30,.96); border-color: rgba(127,227,216,.14); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
  .login .modal { background: #112423; }
  .login .overlay { background: rgba(0,0,0,.55); }
  .login-card .btn:not(.primary), .login .modal .btn:not(.primary) { background: #18302F; border-color: #2E4A49; color: var(--ink); }
  .login-card .btn:not(.primary):hover, .login .modal .btn:not(.primary):hover { background: #20403E; }
  .login-card .btn.primary, .login .modal .btn.primary { color: var(--stage); background: var(--mint); border-color: var(--mint); }
  .login-card input, .login-card select { background: #0C1D1D; border-color: #2E4A49; color: var(--ink); }
  .login-card .errorbox { background: #3A1A14; color: #FFB4A3; }
  .login .icon-btn { color: var(--ink); }
}

.email-code .form { display: flex; flex-direction: column; gap: 10px; }

/* Màn đăng nhập kiểu TikTok: danh sách nút cách đăng nhập cùng kiểu, icon trái, chữ giữa */
.methods { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.btn.method { position: relative; width: 100%; min-height: 52px; padding: 0 48px; font-size: 15px; font-weight: 600; border-color: #D5D8DD; border-radius: 12px; background: #fff; }
.btn.method:hover { background: #F7F8FA; }
.btn.method .mi { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); }
.btn.method .last-tag { position: absolute; right: 10px; top: -9px; font-size: 11px; line-height: 16px; font-weight: 600; padding: 0 8px; border-radius: 999px; background: var(--accent); color: #fff; }
@media (max-width: 380px) { .btn.method { padding: 0 44px; font-size: 14px; } .btn.method .mi { left: 14px; } }
@media (max-width: 359px) { .login-card { padding: 24px 18px; } .btn.method { padding: 0 12px 0 44px; } }
.login-step-head { position: relative; display: flex; align-items: center; justify-content: center; min-height: 40px; }
.login-step-head h1 { font-size: 26px; padding: 0 40px; }
.back-btn { position: absolute; left: -8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: var(--ink); display: grid; place-items: center; }
.back-btn:hover { background: var(--line2); }
@media (prefers-color-scheme: dark) {
  .login-card .btn.method .last-tag { background: var(--mint); color: var(--stage); }
}

/* Tích hợp Google Drive */
.integ-card { padding: 20px; display: flex; flex-direction: column; gap: 16px; max-width: 860px; }
.integ-head { display: flex; align-items: center; gap: 14px; }
.integ-logo { width: 48px; height: 48px; border-radius: 12px; background: #F4F7F7; display: grid; place-items: center; flex-shrink: 0; }
.integ-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.integ-steps { margin: 0; padding-left: 20px; line-height: 1.7; }
.integ-log ul { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.integ-log li.error { color: var(--late); } .integ-log li.warn { color: #9A6700; }
.integ-log summary { cursor: pointer; font-size: 13px; color: var(--muted); }
.chip.bad { background: #FDE8E4; color: #A33A1F; }
.bad-text { color: var(--late); }
.qbar { display: block; height: 8px; border-radius: 99px; background: var(--line2); overflow: hidden; margin-top: 6px; }
.qbar > span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.qbar.amber > span { background: #E6A700; } .qbar.red > span { background: var(--late); }
.qbar.small { width: 120px; margin: 0; flex-shrink: 0; }
.drive-files, .drive-empty { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.drive-empty { align-items: flex-start; }
.drive-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.drive-ups { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.drive-ups li { display: flex; align-items: center; gap: 10px; font-size: 13px; min-width: 0; }
.ellip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.drive-files .ficon { vertical-align: -3px; margin-right: 6px; }
.drive-none { padding: 8px 0; }

/* Nhân sự chia theo phòng ban + bảng quyền từng người */
.people-group { display: flex; flex-direction: column; gap: 8px; }
.people-group-head { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 15px; }
.people-group-head .sq { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.tbl tr.clickable { cursor: pointer; } .tbl tr.clickable:hover td { background: #FAFBFB; }
.nowrap { white-space: nowrap; }
.mperms { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.mperms-roles { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.role-chip { background: #fff; border: 1px solid; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.role-chip button { border: 0; background: none; cursor: pointer; color: inherit; font-size: 15px; line-height: 1; padding: 0 2px; }
.mperms-help { margin: 0; line-height: 1.6; }
.mperms-group { padding: 6px 16px; }
.mperms-head { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--muted); padding: 10px 0 8px; border-bottom: 1px solid var(--line2); }
.mperm { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line2); cursor: pointer; line-height: 1.5; }
.mperm:last-child { border-bottom: 0; }
.mperm input[type=checkbox] { width: 22px; height: 22px; flex-shrink: 0; }
.mperm.locked { cursor: default; opacity: .75; }
.mperm-lock { margin-left: 6px; color: var(--muted); vertical-align: -1px; }
.tag-role, .tag-extra, .tag-denied, .tag-pending { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.tag-role { background: #EEF1F0; color: #3F5A55; }
.tag-extra { background: #E3F4EA; color: #1B6B3A; }
.tag-denied { background: #FDE8E4; color: #A33A1F; }
.tag-pending { background: #FFF4D6; color: #8A5A00; }

/* ---------- Hỏi nhanh trong nghiệp vụ: khung chat trượt bên phải (điện thoại: toàn màn hình) ---------- */
.qc-wrap { position: fixed; inset: 0; z-index: 55; pointer-events: none; }
.qc-backdrop { position: absolute; inset: 0; background: rgba(20,22,26,.18); pointer-events: auto; }
.qc-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--card); pointer-events: auto;
  box-shadow: -10px 0 32px rgba(0,0,0,.18); display: flex; flex-direction: column; animation: qc-in .18s ease-out; }
.qc-panel > .chat-conv { flex: 1; height: 100%; }
.qc-loading { flex: 1; display: flex; align-items: center; justify-content: center; }
.chat-conv.embed .chat-head { padding: 8px 10px 8px 14px; min-height: 54px; gap: 6px; }
.chat-conv.embed .chat-title { font-size: 17px; }
@keyframes qc-in { from { transform: translateX(24px); } to { transform: none; } }
@media (max-width: 760px) {
  .qc-panel { width: 100%; animation-name: qc-up; padding-bottom: env(safe-area-inset-bottom); }
  @keyframes qc-up { from { transform: translateY(24px); } to { transform: none; } }
  /* Phiếu 200ai (anh chốt 12/11/2026, phương án A): khung nhắn (.qc-wrap — Trao đổi trong việc, Hỏi nhanh) nằm trong .main-col;
     từ 200ac thanh dưới là anh em của .main-col nên trên iPhone thanh vẽ đè lên ô gõ. Mở khung nhắn → ẩn thanh dưới, như màn Chat (.in-conv). */
  body:has(.qc-wrap) .bottombar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .qc-panel { animation: none; } }
.msg-icon { color: var(--muted); vertical-align: middle; margin-left: 2px; width: 26px; height: 26px; }
.msg-icon:hover { color: var(--accent-ink, var(--brand)); background: var(--accent-soft); }
.with-msg { display: inline-flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.ask-wrap { position: relative; display: inline-block; }
.ask-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 35; min-width: 260px; max-width: min(320px, calc(100vw - 32px)); max-height: 340px; overflow-y: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 28px rgba(0,0,0,.14); padding: 6px; }
.modal .ask-pop, .card .ask-pop { left: 0; right: auto; }
.page-head .ask-pop { right: 0; left: auto; }
.ask-head { padding: 4px 8px 6px; }
.ask-empty { padding: 8px; }
.ask-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px; border: 0; background: none; border-radius: 8px; text-align: left; color: inherit; cursor: pointer; }
.ask-item:hover, .ask-item:focus-visible { background: var(--accent-soft); }
.ref-card { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-left: 3px solid var(--accent, var(--brand)); border-radius: 10px;
  padding: 7px 10px; margin-top: 6px; background: var(--card); max-width: 420px; width: 100%; color: inherit; text-decoration: none; }
a.ref-card:hover { border-color: var(--accent-line); }
.ref-card .grow { min-width: 0; }
.ref-card .clamp1 { display: block; }
.ref-card.hidden { border-left-color: var(--line); }
.composer-ref { background: var(--accent-soft); }
.req-comments .cmt-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.req-comments .cmt { display: flex; gap: 10px; align-items: flex-start; }
.cmt-new { display: flex; gap: 8px; align-items: flex-end; }
.cmt-new textarea { flex: 1; min-height: 44px; resize: vertical; }
.team-color { border: 2px solid transparent; cursor: pointer; }
.team-color.on { border-color: var(--ink); box-shadow: 0 0 0 2px #fff inset; }

/* ---------- Chấm công 1 chạm (Face ID + GPS + QR) ---------- */
.only-mobile-block { display: none; }
@media (max-width: 760px) { .only-mobile-block { display: block; } }
.punch-home { margin: 0 0 16px; }
.punch-home > .link { display: block; text-align: center; margin-top: 8px; }
.punch { position: relative; display: flex; flex-direction: column; gap: 10px; }
.punch-btn { width: 100%; min-height: 132px; border: 0; border-radius: 22px; cursor: pointer; color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; padding: 18px; font: inherit; -webkit-tap-highlight-color: transparent;
  background: linear-gradient(135deg, #3A8F88, var(--accent) 55%, #0A4F4C); box-shadow: 0 14px 30px -12px rgba(0,128,122,.6); transition: transform .12s; }
.punch-btn.out { background: linear-gradient(135deg, #FF8A65, #E8573F 55%, #9C2F1F); box-shadow: 0 14px 30px -12px rgba(200,70,40,.55); }
.punch-btn:active { transform: scale(.98); }
.punch-btn:disabled { opacity: .85; cursor: progress; }
.punch-lbl { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; }
.punch-sub { font-size: 13px; opacity: .9; }
.punch.compact .punch-btn { min-height: 96px; } .punch.compact .punch-lbl { font-size: 24px; }
.punch-spin { width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.punch-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; font-size: 13px; text-align: center; }
.queue-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; background: #FFF4E5; color: #8A4B00; font-weight: 600; font-size: 12px; }
.warn-chip { background: #FFF4E5; color: #8A4B00; margin-left: 4px; }
.late-chip { background: #FDE8E4; color: #A33A1F; }
.punch-done { position: absolute; inset: 0 0 auto 0; min-height: 132px; border-radius: 22px; background: #1B6B3A; color: #fff; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; text-align: center; padding: 14px; animation: pop .25s ease-out; z-index: 2; }
.punch-done.flag { background: #B26A00; } .punch-done.queued { background: #37474F; }
.punch-done b { font-family: var(--display); font-size: 26px; font-weight: 900; }
.punch-done span { font-size: 13px; opacity: .92; }
.punch-check { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; margin-bottom: 4px; }
@keyframes pop { from { transform: scale(.94); } to { transform: none; } }
/* Face ID khi chấm công */
.punch-btn.scanning { box-shadow: 0 0 0 4px rgba(31,91,168,.25), 0 0 0 10px rgba(31,91,168,.10); animation: uvpulse 1.2s ease-in-out infinite; }
@keyframes uvpulse { 50% { box-shadow: 0 0 0 6px rgba(31,91,168,.32), 0 0 0 16px rgba(31,91,168,.06); } }
.punch-done .uv-ok, .punch-done .uv-no { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 2px 10px; border-radius: 999px; font-weight: 700; opacity: 1; }
.punch-done .uv-ok { background: rgba(255,255,255,.18); } .punch-done .uv-no { background: #fff; color: #8A4B00; }
.faceid-nudge { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: #EEF4FC; color: #173F73; }
.faceid-nudge.req { background: #FFF4E5; color: #8A4B00; } .faceid-nudge .btn { white-space: nowrap; }
.uv-chip { display: inline-flex; align-items: center; gap: 3px; margin-left: 4px; font-size: 11px; }
.uv-chip.ok { background: #E3F4EA; color: var(--ok); } .uv-chip.no { background: #FFF4E5; color: #8A4B00; } .uv-chip.ex { background: #EDEFF2; color: #455A64; }
.uv-day { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 700; margin: 0 4px; }
.uv-day.ok { color: var(--ok); } .uv-day.no { color: #B26A00; }
.cal-uv { position: absolute; top: 6px; left: 6px; width: 7px; height: 7px; border-radius: 2px; background: #B26A00; }
.uv-pct { font-weight: 700; } .uv-pct.ok { color: var(--ok); } .uv-pct.mid { color: #B26A00; } .uv-pct.low { color: var(--late); }
.uv-mode { flex-wrap: wrap; justify-content: flex-end; }
.uv-exempt-form { display: grid; gap: 8px; margin-top: 10px; } .uv-exempt-form select, .uv-exempt-form input:not(.ongay-o) { width: 100%; }
@media (prefers-reduced-motion: reduce) { .punch-done, .punch-btn { animation: none; transition: none; } }
.punch-row .dir-dot { flex: none; min-width: 38px; text-align: center; font-size: 12px; font-weight: 700; padding: 3px 6px; border-radius: 8px; background: #E3F4EA; color: #1B6B3A; }
.punch-row .dir-dot.out { background: #FDE8E4; color: #A33A1F; }
.punch-row .reasons { margin-top: 3px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.punch-row .reasons .chip { margin: 0; }
.okbox { display: flex; gap: 8px; align-items: center; background: #E3F4EA; color: #1B6B3A; padding: 10px 12px; border-radius: 10px; }
.consent ul { padding-left: 18px; margin: 8px 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.selfie-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.selfie-preview { width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; }
.flag-row { border-bottom: 1px solid var(--line); padding: 6px 0 10px; display: flex; flex-direction: column; gap: 6px; }
.flag-row .listrow { border: 0; padding-bottom: 0; }
/* Màn hình mã QR toàn màn hình (trưởng show) */
.qr-screen { position: fixed; inset: 0; z-index: 70; background: var(--stage); color: #fff; display: flex; flex-direction: column; }
.qr-head { display: flex; align-items: center; gap: 8px; padding: calc(10px + env(safe-area-inset-top)) 14px 10px; border-bottom: 1px solid rgba(255,255,255,.12); }
.qr-head .icon-btn { color: #fff; } .qr-head .xs { opacity: .75; }
.qr-head .btn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
.qr-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 330px; }
.qr-box { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 16px; }
.qr-svg { width: min(78vmin, 560px); aspect-ratio: 1; background: #fff; border-radius: 16px; padding: 10px; }
.qr-svg svg { width: 100%; height: 100%; display: block; }
.qr-timer { width: min(78vmin, 560px); position: relative; height: 26px; border-radius: 13px; background: rgba(255,255,255,.12); overflow: hidden; }
.qr-bar { position: absolute; inset: 0 auto 0 0; background: var(--mint); opacity: .55; transition: width 1s linear; }
.qr-timer span { position: relative; display: block; text-align: center; line-height: 26px; font-size: 13px; font-weight: 600; }
.qr-list { background: #fff; color: var(--ink); overflow-y: auto; padding: 14px; }
@media (max-width: 760px) {
  .qr-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .qr-head .grow .xs { display: none; }
  .qr-list { border-radius: 16px 16px 0 0; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
}
/* Bản đồ chọn vùng chấm công (ảnh nền OpenStreetMap) */
.mappick { position: relative; height: 260px; border-radius: 12px; overflow: hidden; background: #E8EEF0; touch-action: none; cursor: crosshair; user-select: none; }
.mappick img { position: absolute; width: 256px; height: 256px; pointer-events: none; }
.mappick .pin { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #E8573F; border: 2px solid #fff; box-shadow: 0 1px 4px #0006; }
.mappick .ring { position: absolute; border-radius: 50%; border: 2px solid #E8573F; background: rgba(232,87,63,.15); pointer-events: none; }
.mappick .map-ctl { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; gap: 4px; }
.mappick .map-ctl button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: #1d2327; font-size: 18px; cursor: pointer; }
.mappick .attrib { position: absolute; right: 4px; bottom: 2px; font-size: 10px; background: rgba(255,255,255,.8); padding: 0 4px; border-radius: 4px; }
/* Hộp thoại trên điện thoại: bàn phím mở thì vùng nội dung co theo màn hình còn lại (dvh), vẫn cuộn được */
@media (max-width: 760px) {
  .overlay { padding: 12px 8px; }
  /* Nút cuối hộp (Gửi đề nghị, Lưu…) luôn nằm trong màn hình: hộp cao tối đa bằng màn còn lại, chỉ phần giữa cuộn;
     chừa vùng thanh home iPhone (trước: phần giữa tính cố định 150px nên tiêu đề 2 dòng / thanh Safari đẩy nút ra ngoài màn) */
  .modal { display: flex; flex-direction: column; max-height: calc(100dvh - 24px - env(safe-area-inset-bottom)); }
  .modal-head, .modal-foot { flex: none; }
  .modal-body { flex: 1 1 auto; min-height: 0; max-height: none; }
  .modal-foot { padding-bottom: calc(12px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
}
.mappick .map-empty { position: absolute; left: 8px; bottom: 8px; font-size: 12px; background: rgba(255,255,255,.92); padding: 3px 8px; border-radius: 6px; color: #9A5B00; }
.btn-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block;
  animation: spin .7s linear infinite; margin-right: 6px; vertical-align: -2px; flex-shrink: 0; }
.site-loc { display: flex; flex-direction: column; gap: 8px; }
.site-loc .row-gap.nowrap { flex-wrap: nowrap; align-items: center; } .site-loc .row-gap.nowrap input { min-width: 0; }
.site-loc .row-gap.wrap { align-items: flex-end; } .site-loc .row-gap.wrap > .field { flex: 1; min-width: 220px; }
.site-loc .site-gps { margin-bottom: 10px; }
.field-note { font-size: 13px; border-radius: 8px; padding: 8px 10px; }
.field-note.warn { color: #8A4B00; background: #FFF6E5; } .field-note.ok { color: #1B6B3A; background: #E8F6EE; }
.field-note ul { margin: 6px 0; padding-left: 18px; }


/* ===== Chấm công đợt 3: công của tôi, hôm nay, lịch ca, điểm chấm công ===== */
.okbox { flex-wrap: wrap; }
.suggest-req { justify-content: space-between; }
.ok-text { color: var(--ok); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
/* màu trạng thái ngày công (dùng chung chip, lịch, chú thích) */
.st-ok { --st: #1B6B3A; --stb: #E3F4EA; } .st-late { --st: #8A4B00; --stb: #FFF1D6; } .st-missing { --st: #A33A1F; --stb: #FDE3DE; }
.st-not_in { --st: #A33A1F; --stb: #FFF; } .st-working { --st: var(--accent-ink); --stb: #DDF3F1; } .st-leave { --st: #1F5BA8; --stb: #E3ECFA; }
.st-field { --st: #0D7C72; --stb: #D7F2EE; } .st-trip { --st: #6B3FA0; --stb: #EEE6F8; } .st-holiday { --st: #B4235A; --stb: #FBE4EE; }
.st-off { --st: #6B7280; --stb: #F1F2F4; } .st-future, .st-none { --st: var(--muted); --stb: transparent; }
.ts-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; color: var(--st); background: var(--stb); white-space: nowrap; }
.ts-chip.st-not_in { border: 1px dashed var(--st); }
.today-sheet .ts-grid, .day-detail .ts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; margin: 10px 0 6px; }
.ts-grid > div { display: flex; flex-direction: column; gap: 2px; background: var(--line2); border-radius: 10px; padding: 8px 10px; }
.ts-grid b { font-size: 17px; }
.cal-toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 4px 0 12px; }
.cal-nav { display: flex; align-items: center; gap: 6px; } .cal-nav b { min-width: 120px; text-align: center; }
.sum-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 10px; margin-bottom: 12px; }
.sum-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.sum-card span { font-size: 12px; color: var(--muted); } .sum-card b { font-size: 20px; } .sum-card small { font-size: 12px; color: var(--muted); font-weight: 500; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.cal-wd, .sched-wd { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 0; }
.cal-cell { position: relative; min-height: 74px; border: 1px solid var(--line2); border-radius: 10px; background: var(--stb, transparent); color: var(--ink);
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 6px; cursor: pointer; text-align: left; font: inherit; }
.cal-cell.empty { background: transparent; border: 0; cursor: default; }
.cal-cell:hover { border-color: var(--accent-line); } .cal-cell.today { box-shadow: inset 0 0 0 2px var(--accent); } .cal-cell.sel { outline: 2px solid var(--st, var(--accent)); }
.cal-n { font-weight: 700; font-size: 13px; } .cal-t { font-size: 11px; color: var(--st); font-weight: 600; line-height: 1.25; }
.cal-badge { font-size: 10px; font-weight: 700; color: #8A4B00; } .cal-flag { position: absolute; top: 6px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.cal-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 2px 16px; font-size: 12px; color: var(--muted); }
.cal-legend .lg { display: inline-flex; align-items: center; gap: 5px; } .cal-legend i { width: 12px; height: 12px; border-radius: 4px; background: var(--stb); border: 1px solid var(--st); }
.week-list { padding: 4px 0; } .day-row { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; padding: 10px 14px; }
.day-row .day-l { min-width: 70px; } .day-row:hover { background: var(--line2); }
.day-detail h3 { margin: 10px 0 4px; }
.chip.rs-pending { background: #FFF1D6; color: #8A4B00; } .chip.rs-approved { background: #E3F4EA; color: #1B6B3A; } .chip.rs-rejected { background: #FDE3DE; color: #A33A1F; }
.attach { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
/* bảng Hôm nay */
.board-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.board-filters select, .board-filters .ongay[data-kieu=date] { max-width: 240px; }
.grp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.grp-chips button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13px; cursor: pointer; display: inline-flex; gap: 6px; }
.grp-chips button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.grp-chips .g-late b, .grp-chips .g-absent b { color: var(--late); } .grp-chips button.on b { color: #fff; }
.board { padding: 2px 0; } .board-row { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; padding: 10px 14px; gap: 12px; }
.board-row:hover { background: var(--line2); } .board-time { text-align: right; min-width: 92px; }
.export-box .field { margin: 0; }
/* lịch ca */
.sched { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sched-day { min-height: 120px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px; display: flex; flex-direction: column; gap: 5px; }
.sched-month .sched-day { min-height: 92px; } .sched-day.today { border-color: var(--accent); }
.sched-day.droppable { border-style: dashed; } .sched-n { font-size: 12px; font-weight: 700; color: var(--muted); } .sched-n .only-mobile-inline { margin-right: 4px; }
.shift-card { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; text-align: left; border: 1px solid #7c3aed40; border-left: 4px solid #7c3aed;
  background: #F4EEFE; border-radius: 8px; padding: 5px 7px; font: inherit; font-size: 12px; cursor: pointer; color: var(--ink); width: 100%; }
.shift-card.draft { border-style: dashed; background: var(--card); } .shift-card.warn { border-left-color: var(--coral); }
.shift-card[draggable=true] { cursor: grab; }
.chip.as-assigned { background: #FFF1D6; color: #8A4B00; } .chip.as-accepted { background: #E3F4EA; color: #1B6B3A; } .chip.as-swap_requested { background: #FDE3DE; color: #A33A1F; }
/* điểm chấm công: Wi-Fi */
.wifi-check { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; }
.office-row { align-items: flex-start; }
.nets { flex-basis: 100%; margin: 4px 0 2px 0; padding: 8px 10px; background: var(--line2); border-radius: 10px; }
.nets-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; } .nets-head .btn { margin-left: auto; }
.net-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.chip.net-static_ip { background: #E3ECFA; color: #1F5BA8; } .chip.net-ddns { background: #EEE6F8; color: #6B3FA0; } .chip.net-learned { background: #FFF1D6; color: #8A4B00; }
.home-sites { margin-top: 14px; } .home-list .listrow select { max-width: 200px; }
.leave-types .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.content.att-dark .nets { background: #ffffff0d; }
@media (max-width: 760px) {
  .sum-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sum-card { padding: 8px 10px; } .sum-card b { font-size: 17px; }
  .cal { gap: 2px; padding: 4px; } .cal-cell { min-height: 54px; padding: 4px 3px; border-radius: 8px; }
  .cal-t { font-size: 9.5px; } .cal-badge { display: none; }
  .sched { grid-template-columns: 1fr; } .sched-wd { display: none; } .sched-day { min-height: 0; }
  .sched-month { grid-template-columns: repeat(7, minmax(0, 1fr)); } .sched-month .sched-wd { display: block; }
  .sched-month .shift-card span:not(:first-child) { display: none; }
  .board-time { min-width: 70px; } .page-head .row-gap { flex-wrap: wrap; }
}

/* ===== Chấm công 3b: tấm chấm nhanh, máy chấm công, tự đóng ===== */
.qp-wrap { position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 76px); z-index: 60; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.qp-sheet { pointer-events: auto; width: min(420px, 100%); background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 14px 40px #0003; padding: 12px; animation: qp-up .22s ease-out; }
.qp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .qp-head b { font-size: 15px; }
.qp-sheet .punch.compact { margin: 0; } .qp-sheet .punch-meta { display: none; }
@keyframes qp-up { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 761px) { .qp-wrap { bottom: 24px; justify-content: flex-end; padding-right: 24px; } }
.warn-card { border-color: #F7D14699; background: #FFF9EB; }
.content.att-dark .warn-card { background: #F7D14614; }
.term-row { align-items: flex-start; } .import-cols { margin-top: 10px; } .import-tbl tr.bad td { color: var(--muted); }
.cal-auto { font-size: 9.5px; font-weight: 700; color: #6B3FA0; text-transform: uppercase; letter-spacing: .02em; }
.chip.auto-chip { background: #EEE6F8; color: #6B3FA0; }
.um-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 14px; align-items: center; padding: 10px 0; border-top: 1px solid #F7D14655; }
.um-info { display: flex; flex-direction: column; gap: 2px; } .um-act { display: flex; gap: 8px; align-items: center; } .um-act > :first-child { flex: 1; min-width: 0; }
@media (max-width: 760px) { .um-row { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .term-row > .grow { flex-basis: calc(100% - 40px); } .term-row > .btn { margin-left: 30px; } }

/* ===================== Bán hàng ===================== */
.skanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); grid-template-columns: none; gap: 10px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.kb-col { background: #EEF1F3; border-radius: 12px; min-height: 160px; display: flex; flex-direction: column; border: 2px solid transparent; }
.kb-col.over { border-color: var(--accent-line); background: var(--accent-soft); }
.kb-head { padding: 10px 12px 8px; border-top: 4px solid #64748B; border-radius: 12px 12px 0 0; }
.kb-list { display: flex; flex-direction: column; gap: 8px; padding: 0 8px 10px; }
.kb-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; cursor: grab; }
.kb-card > a { display: flex; flex-direction: column; gap: 3px; }
.kb-money { display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; }
.kb-card.overdue { border-left: 3px solid var(--late); }
.kb-card.dragging { opacity: .45; }
.kb-move { min-height: 30px; font-size: 12px; padding: 0 6px; color: var(--muted); }
.kb-empty { text-align: center; padding: 18px 0; border: 1px dashed #CBD2D9; border-radius: 10px; }
.stage-seg { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; }
.stage-seg button { white-space: nowrap; }
.q-lines { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; }
.q-line { display: grid; grid-template-columns: 22px 180px minmax(160px, 1fr) 64px 80px 150px 130px 34px; gap: 8px; align-items: end; padding-bottom: 8px; border-bottom: 1px solid var(--line2); }
.q-line.with-cost { grid-template-columns: 22px 170px minmax(150px, 1fr) 60px 74px 130px 130px 130px 34px; }
.q-no { align-self: center; text-align: center; }
.q-nocost { color: var(--muted); white-space: nowrap; } .q-nocost input { width: 14px; height: 14px; }
.q-line.no-cost .q-num input[aria-label='Giá vốn đơn vị'] { border-color: #E8A39A; background: #FFF8F7; }
.q-num, .q-amt { display: flex; flex-direction: column; gap: 2px; }
.q-amt { text-align: right; align-items: flex-end; justify-content: flex-end; min-height: 38px; }
.q-total { border-top: 1px solid var(--line); padding: 12px 16px; display: flex; flex-direction: column; gap: 6px; max-width: 460px; margin-left: auto; }
.q-total .big { font-size: 17px; }
.r { text-align: right; }
.inst-row { display: grid; grid-template-columns: 52px auto 110px 150px minmax(140px, 1fr) 120px 34px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line2); }
.ar-list { display: flex; flex-direction: column; }
.ar-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line2); }
.ar-row.overdue { background: #FFF6F5; } .ar-row.overdue .ar-amt { color: var(--late); }
.ar-due { display: flex; flex-direction: column; min-width: 92px; }
.ar-amt { min-width: 130px; text-align: right; }
.ct-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line2); }
.ct-row.hl { background: var(--accent-soft); }
.hbar { flex: 1; height: 10px; background: #EEF0F3; border-radius: 5px; position: relative; overflow: visible; min-width: 60px; }
.hbar > span { display: block; height: 100%; border-radius: 5px; background: var(--accent); }
.hbar.tgt > i { position: absolute; top: -3px; width: 2px; height: 16px; background: var(--coral); }
.dash-row { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.dash-lbl { width: 150px; flex-shrink: 0; font-size: 13px; }
.dash-v { min-width: 90px; text-align: right; font-size: 13px; }
/* Báo giá in / PDF */
.qdoc { background: #fff; color: #111; max-width: 820px; width: 100%; margin: 0 auto; padding: 40px 44px; border: 1px solid var(--line); border-radius: 6px; position: relative; font-size: 13px; }
.qdoc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 3px solid var(--brand); }
.qdoc.mars .qdoc-head { border-bottom-color: #111; }
.qdoc-logo { height: 44px; max-width: 220px; object-fit: contain; }
.qdoc-co { display: flex; flex-direction: column; text-align: right; font-size: 12px; color: #444; }
.qdoc-title { text-align: center; margin: 24px 0 4px; font-size: 30px; letter-spacing: .08em; }
.qdoc-title::after { display: none; }
.qdoc-sub { text-align: center; color: #555; margin-bottom: 18px; }
.qdoc-draft { position: absolute; top: 140px; right: 44px; border: 2px solid #C62828; color: #C62828; font-weight: 800; padding: 2px 10px; transform: rotate(-8deg); }
.qdoc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.qdoc-parties > div, .qdoc-foot > div, .qdoc-note { display: flex; flex-direction: column; gap: 2px; }
.qdoc-lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #777; }
.qdoc-tbl { width: 100%; border-collapse: collapse; }
.qdoc-tbl th { background: #F1F5F5; text-align: left; font-size: 12px; padding: 8px; border-bottom: 1px solid #ccc; }
.qdoc.mars .qdoc-tbl th { background: #F2F2F2; }
.qdoc-tbl td { padding: 8px; border-bottom: 1px solid #e5e5e5; vertical-align: top; }
.qdoc-tbl tfoot td { border: 0; padding: 5px 8px; text-align: right; }
.qdoc-tbl tfoot tr.sum td { font-weight: 800; font-size: 15px; border-top: 2px solid #111; }
.qdoc-cat { display: block; font-size: 11px; color: #777; }
.qdoc-note { margin-top: 16px; white-space: pre-wrap; }
.qdoc-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.qdoc-sign { text-align: center; align-items: center; min-height: 110px; }
@media print {
  @page { size: A4; margin: 12mm; }
  body.print-doc { background: #fff; }
  body.print-doc .side, body.print-doc .topbar, body.print-doc .bottombar, body.print-doc .no-print, body.print-doc .toasts,
  body.print-doc .qp-wrap, body.print-doc .qc-wrap, body.print-doc .scrim, body.print-doc .content > :not(.page) { display: none !important; }
  body.print-doc .shell, body.print-doc .main-col, body.print-doc .content { display: block !important; padding: 0 !important; margin: 0 !important; overflow: visible !important; height: auto !important; }
  body.print-doc .qdoc { border: 0; padding: 0; max-width: none; }
  .qdoc-tbl tr { break-inside: avoid; }
}
@media (max-width: 760px) {
  .skanban { grid-auto-columns: 82%; scroll-snap-type: x mandatory; } .kb-col { scroll-snap-align: start; }
  .q-line, .q-line.with-cost { grid-template-columns: 1fr 1fr; align-items: stretch; background: #FAFBFB; padding: 10px; border: 1px solid var(--line2); border-radius: 10px; }
  .q-line .q-no { display: none; } .q-line .q-desc { grid-column: 1 / -1; } .q-line > select { grid-column: 1 / -1; }
  .q-amt { align-items: flex-start; text-align: left; }
  .inst-row { grid-template-columns: 1fr 1fr; background: #FAFBFB; padding: 10px; border-radius: 10px; margin-bottom: 6px; }
  .ar-row { flex-wrap: wrap; gap: 8px 12px; } .ar-row > .grow { flex-basis: 100%; } .ar-amt { min-width: 0; text-align: left; }
  .ct-row { flex-wrap: wrap; } .ct-row > .grow { flex-basis: 100%; }
  .filters .search-inline { flex-basis: 100%; order: 3; }
  .dash-lbl { width: 96px; } .dash-v { min-width: 70px; }
  .qdoc { padding: 20px 16px; } .qdoc-parties, .qdoc-foot { grid-template-columns: 1fr; } .qdoc-co { display: none; }
  .qdoc-tbl th:nth-child(4), .qdoc-tbl td:nth-child(4) { display: none; } .qdoc-tbl tfoot td[colspan] { text-align: left; }
}

/* ===================== Nghệ sĩ & booking ===================== */
.t-photo { border-radius: 50%; object-fit: cover; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.t-ph { background: linear-gradient(135deg, var(--stage), var(--accent)); color: #fff; font-weight: 800; font-family: var(--display); }
.t-warn { background: #FFF6E9; border: 1px solid #F3C98B; color: #8A4B00; border-radius: 10px; padding: 8px 12px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.t-month { min-width: 120px; text-align: center; font-size: 15px; }
.t-legend { display: inline-flex; gap: 6px; align-items: center; }
.t-legend .t-ev { --c: #5F6368; width: auto; }
.t-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--line); gap: 1px; }
.t-cal-h { background: #F7F8FA; font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 8px; }
.t-cal-d { background: #fff; min-height: 96px; padding: 4px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.t-cal-d.out { background: #FAFBFB; } .t-cal-d.out .t-cal-n { color: #B0B5BB; }
.t-cal-d.today .t-cal-n { background: var(--accent); color: #fff; border-radius: 10px; padding: 0 6px; }
.t-cal-n { font-size: 12px; font-weight: 600; align-self: flex-start; }
.t-ev { --c: var(--accent); display: block; width: 100%; text-align: left; font-size: 11.5px; line-height: 1.3; padding: 2px 5px; border-radius: 5px; cursor: pointer;
  border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); color: #1F2329; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-ev.hold { border-style: dashed; background: #fff; }
.t-ev.confirmed { background: var(--c); color: #fff; } .t-ev.confirmed .t-ev-a { color: #fff; }
.t-ev.done { background: #EEF0F3; border-color: #C9CDD3; color: var(--muted); }
.t-ev-a { font-weight: 700; color: var(--c); }
.t-agenda { display: none; flex-direction: column; gap: 8px; }
.t-ag-day { display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.t-ag-day.today { border-color: var(--accent); }
.t-ag-date { display: flex; flex-direction: column; align-items: center; min-width: 34px; }
.t-ag-date b { font-size: 20px; font-family: var(--display); }
.t-ag-list { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.t-ag-ev { --c: var(--accent); text-align: left; border: 0; border-left: 4px solid var(--c); background: #F7F8FA; border-radius: 8px; padding: 6px 10px; display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.t-ag-ev.hold { border-left-style: dashed; background: #fff; outline: 1px dashed #C9CDD3; }
.t-artists { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.t-artist { display: flex; gap: 12px; align-items: center; padding: 12px 14px; }
.t-artist:hover { border-color: #C9CDD3; }
.t-hero { display: flex; gap: 16px; align-items: center; padding: 16px 20px; flex-wrap: wrap; }
.t-dl { display: grid; grid-template-columns: 120px 1fr; gap: 4px 10px; margin: 0; font-size: 13px; }
.t-dl dt { color: var(--muted); } .t-dl dd { margin: 0; }
.t-rider { margin: 10px 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.t-rider-row { display: grid; grid-template-columns: 180px 1fr 80px 1fr 34px; gap: 6px; margin-bottom: 6px; }
.t-crew-row { display: grid; grid-template-columns: 1fr 1fr 140px 34px; gap: 6px; margin-bottom: 6px; }
.t-pay-row { display: grid; grid-template-columns: 70px 150px 150px 1fr 34px; gap: 6px; margin: 6px 0; }
.t-itin-row { display: grid; grid-template-columns: 150px 110px 150px 1fr 34px; gap: 6px; margin-bottom: 6px; }
.t-pair-row { display: grid; grid-template-columns: 1fr auto 1fr 80px auto 34px; gap: 6px; align-items: center; max-width: 640px; }
.t-date { display: flex; flex-direction: column; align-items: center; min-width: 42px; padding: 4px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-ink); }
.t-date b { font-size: 18px; line-height: 1; font-family: var(--display); }
.t-money { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; background: #F7F8FA; border-radius: 10px; padding: 12px; margin: 10px 0; }
.t-money > div { display: flex; flex-direction: column; }
.t-check { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.t-heat td { text-align: center; font-weight: 600; } .t-heat td:first-child { text-align: left; }
.qdoc-list { margin: 4px 0 0; padding-left: 18px; columns: 2; font-size: 12.5px; }
.pre { white-space: pre-wrap; }
@media (max-width: 760px) {
  .t-cal { display: none; } .t-agenda { display: flex; }
  .t-rider-row, .t-crew-row, .t-pay-row, .t-itin-row { grid-template-columns: 1fr 1fr; background: #FAFBFB; padding: 8px; border-radius: 10px; }
  .t-pair-row { grid-template-columns: 1fr auto 1fr; }
  .t-hero h1 { font-size: 26px; }
  .t-dl { grid-template-columns: 100px 1fr; }
  .qdoc-list { columns: 1; }
}

/* ===================== Ngày show ===================== */
.sd-total { font-size: 15px; min-height: 38px; display: flex; align-items: center; }
.sd-ros-wrap { overflow-x: auto; }
.sd-ros { width: 100%; border-collapse: collapse; min-width: 1100px; }
.sd-ros th { text-align: left; font-size: 12px; color: var(--muted); padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sd-ros td { padding: 6px; border-bottom: 1px solid var(--line2); vertical-align: top; }
.sd-ros tr.dragging td { opacity: .4; background: var(--accent-soft); }
.sd-ros tr[draggable="true"] td.sd-handle { cursor: grab; }
.sd-ros input, .sd-ros select, .sd-ros textarea { min-height: 34px; font-size: 13px; }
.sd-ros textarea { margin-top: 4px; min-height: 30px; }
.sd-handle { width: 54px; text-align: center; color: var(--muted); }
.sd-grip { font-size: 14px; letter-spacing: -2px; display: block; }
.sd-move { display: flex; gap: 2px; justify-content: center; } .sd-move .icon-btn { width: 22px; height: 22px; font-size: 10px; min-height: 0; }
.sd-time { white-space: nowrap; width: 70px; } .sd-time b { display: block; font-size: 15px; }
.sd-dur { width: 70px; } .sd-title { min-width: 220px; }
.sd-sug { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-top: 10px; }
.sd-sug-i { display: flex; flex-direction: column; gap: 2px; padding: 12px; text-align: left; cursor: pointer; }
.sd-sug-i:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.sd-cs .qdoc-co b { font-size: 14px; }
.sd-calls td:first-child { white-space: nowrap; }
.sd-cs-artist { border-left: 3px solid #6B3FA0; padding: 6px 10px; margin: 6px 0; background: #FAF8FD; }
.sd-stats .stat { cursor: pointer; }
.sd-zone { color: #fff; font-size: 11px; font-weight: 700; border-radius: 4px; padding: 1px 6px; }
.sd-qr svg { width: 100%; height: 100%; display: block; }
.sd-thumb { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #EEF0F3; display: inline-block; }
.sd-inc-time { min-width: 46px; }
.sd-scan { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.sd-cam { display: flex; flex-direction: column; gap: 8px; } .sd-cam video { width: 100%; border-radius: 12px; background: #000; max-height: 360px; object-fit: cover; }
.sd-result { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 14px; font-size: 15px; }
.sd-result.ok { background: #E3F4EA; color: #1B6B3A; border: 2px solid #1B6B3A; }
.sd-result.used { background: #FFF1E6; color: #8A4B00; border: 2px solid #E08A2B; }
.sd-result.bad { background: #FDECEC; color: #A33A1F; border: 2px solid #C62828; }
.sd-result-icon { font-size: 34px; font-weight: 800; width: 48px; text-align: center; }
.sd-result-msg { font-size: 18px; display: block; }
/* Đang diễn: toàn màn hình nền tối */
body.live-mode .side, body.live-mode .topbar, body.live-mode .bottombar, body.live-mode .qp-wrap { display: none !important; }
body.live-mode .content { padding: 0 !important; }
.sd-live { position: fixed; inset: 0; z-index: 50; background: #061E1D; color: #fff; display: flex; flex-direction: column; }
.sd-live-head { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid #ffffff1f; }
.sd-live-head .icon-btn { color: #fff; }
.sd-dot { color: #FF6B57; font-weight: 800; letter-spacing: .06em; animation: sdblink 1.4s infinite; }
@keyframes sdblink { 50% { opacity: .45; } }
.sd-live-n { color: #9FB9B7; }
.sd-clock { font-family: var(--display); font-size: 26px; font-weight: 800; }
.sd-live-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; }
.sd-live-label { font-size: 13px; letter-spacing: .12em; color: var(--mint); font-weight: 700; }
.sd-live-title { font-size: clamp(34px, 6vw, 72px); color: #fff; } .sd-live-title::after { display: none; }
.sd-live-who { font-size: 20px; color: var(--sun); }
.sd-count { font-family: var(--display); font-size: clamp(80px, 16vw, 200px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sd-count.soon { color: var(--sun); } .sd-count.over { color: #FF6B57; }
.sd-bar { width: min(720px, 90%); height: 10px; background: #ffffff1f; border-radius: 5px; overflow: hidden; }
.sd-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--mint)); }
.sd-cues { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; color: #CFE3E1; font-size: 14px; }
.sd-cues b { color: var(--mint); margin-right: 4px; }
.sd-next { display: flex; flex-direction: column; gap: 4px; margin-top: 10px; padding: 12px 24px; border: 1px solid #ffffff2a; border-radius: 14px; min-width: min(560px, 90%); }
.sd-next b { font-size: 24px; } .sd-next .muted { color: #9FB9B7; }
.sd-live-foot { display: flex; gap: 12px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid #ffffff1f; }
.sd-live-foot .btn { flex: 1; min-height: 64px; font-size: 20px; } .sd-live-foot .btn:not(.primary) { background: transparent; color: #fff; border-color: #ffffff4d; flex: 0 0 140px; }
.sd-next-btn { background: var(--accent) !important; }
/* Vé mời */
.sd-ticket-page { min-height: 100vh; background: radial-gradient(circle at 30% 0%, #0B4E4B, #061E1D 60%); display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.sd-ticket { background: #fff; border-radius: 22px; padding: 24px 22px; width: min(400px, 100%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: 0 20px 60px #0008; }
.sd-ticket-logo { height: 30px; filter: invert(1) brightness(.3); margin-bottom: 8px; }
.sd-ticket-kicker { font-size: 12px; letter-spacing: .14em; color: var(--accent); font-weight: 800; }
.sd-ticket h1 { font-size: 26px; } .sd-ticket h1::after { display: none; }
.sd-ticket-meta { color: var(--muted); font-size: 14px; }
.sd-ticket-qr { padding: 12px; border: 2px dashed #CFE3E1; border-radius: 16px; margin: 10px 0; }
.sd-ticket-name { font-size: 20px; font-weight: 800; } .sd-ticket-org { color: var(--muted); }
.sd-ticket-seats { font-weight: 700; color: var(--accent-ink); }
.sd-ticket-used { color: var(--late); font-weight: 700; margin-top: 6px; } .sd-ticket-hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.sd-ticket-map { margin-top: 8px; font-size: 13px; color: var(--accent); text-decoration: underline; }
/* Thẻ ra vào (in) */
.sd-passes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.sd-pass { background: #fff; border: 1px solid #ccc; border-top: 10px solid #1F2329; border-radius: 10px; padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 4px; break-inside: avoid; text-align: center; }
.sd-pass-logo { height: 20px; } .sd-pass-show { font-size: 12px; color: #555; }
.sd-pass-kind { font-size: 13px; letter-spacing: .12em; font-weight: 800; }
.sd-pass-name { font-size: 18px; font-weight: 800; } .sd-pass-org { font-size: 12px; color: #555; }
.sd-pass-zones { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
@media print { .sd-passes { grid-template-columns: repeat(3, 1fr); } .sd-pass { page-break-inside: avoid; } }
@media (max-width: 760px) {
  .sd-live-foot .btn:not(.primary) { flex: 0 0 96px; }
  .sd-clock { font-size: 18px; }
  .sd-ros { min-width: 980px; }
}

/* Nhãn bản staging */
/* Dải mỏng trên cùng màn hình (không che menu / nút) */
.env-badge { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9999; background: #B3261E; pointer-events: none; }
.env-badge::after { content: attr(data-label); position: absolute; top: 0; right: 12px; background: #B3261E; color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1; padding: 2px 8px 3px; border-radius: 0 0 6px 6px; letter-spacing: .02em; }
@media (max-width: 760px) { .env-badge::after { left: 50%; right: auto; transform: translateX(-50%); } }

/* ===== Phòng thu ===== */
.btn.danger { border-color: #F1B8AC; color: #A33A1F; } .btn.danger:hover { background: #FDE8E4; }
.st-title { min-width: 150px; text-align: center; }
.st-legend { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.st-legend .st-ev { position: static; display: inline-block; padding: 2px 8px; height: auto; font-weight: 600; }
.st-cal { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 8px; }
.st-grid { display: grid; position: relative; min-width: max-content; }
.st-corner, .st-head { position: sticky; top: 0; z-index: 3; background: var(--card); border-bottom: 1px solid var(--line); }
.st-corner { left: 0; z-index: 4; }
.st-head { padding: 8px 6px; font-size: 13px; font-weight: 600; text-align: center; border-left: 1px solid var(--line2); display: flex; flex-direction: column; gap: 2px; min-height: 40px; justify-content: flex-end; }
.st-head.first { border-left: 2px solid var(--line); }
.st-head.today { color: var(--accent-ink); background: #F2FBFA; }
.st-dayname { font-size: 12px; text-align: left; }
.st-hours { grid-row: 2; grid-column: 1; position: sticky; left: 0; z-index: 2; background: var(--card); border-right: 1px solid var(--line); }
.st-hour { font-size: 11px; color: var(--muted); text-align: right; padding: 0 6px; border-top: 1px solid var(--line2); box-sizing: border-box; }
.st-lane { grid-row: 2; position: relative; border-left: 1px solid var(--line2);
  background-image: repeating-linear-gradient(to bottom, var(--line2) 0 1px, transparent 1px 44px); }
.st-lane.first { border-left: 2px solid var(--line); }
.st-lane.dropping { background-color: #F7FBFB; }
.st-closed { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, #F4F5F7 0 6px, #EEF0F3 6px 12px); opacity: .7; pointer-events: none; }
.st-ev { position: absolute; left: 3px; right: 3px; border-radius: 8px; padding: 3px 6px; text-align: left; font-size: 12px; line-height: 1.25; overflow: hidden;
  border: 1px solid; border-left-width: 4px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; color: var(--ink); }
.st-ev[draggable="true"] { cursor: grab; }
.st-ev.dragging { opacity: .45; }
.st-ev b { font-size: 11px; }
.st-ev-t { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-ev-m { font-size: 11px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-ev.hold { background: #FFF6E9; border-color: #F3C98B; border-left-color: #E09A2B; }
.st-ev.confirmed { background: #EAF1FB; border-color: #B9CEEE; border-left-color: #1F5BA8; }
.st-ev.in_session { background: #E3F4EA; border-color: #A7D8B9; border-left-color: #1B6B3A; }
.st-ev.done { background: #F1F2F4; border-color: #DADDE2; border-left-color: #8A9099; color: var(--ink2); }
.st-ev.cancelled, .st-ev.no_show { background: repeating-linear-gradient(135deg, #FDF1EE 0 6px, #FBE6E1 6px 12px); border-color: #F1B8AC; border-left-color: #C62828; color: #8A3A2A; text-decoration: line-through; }
.st-form { border: 0; padding: 0; margin: 0; min-width: 0; }
.st-money { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; margin-top: 10px; background: #F7FBFB; }
.st-money > div { display: flex; flex-direction: column; } .st-money b { font-size: 18px; }
.st-status { margin-bottom: 10px; }
.st-actions .btn { white-space: nowrap; }
.st-sess { margin-top: 8px; }
.st-params .st-val { border: 0; background: transparent; padding: 4px 6px; border-radius: 6px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; text-align: left; font: inherit; color: inherit; }
.st-params .st-val:hover { background: var(--accent-soft); }
.st-params .st-val svg { opacity: .45; }
.st-stats2 { margin-top: 14px; }
.studio section.card { margin-top: 14px; }
/* Session của tôi — điện thoại trước */
.st-my { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.st-my-d { font-size: 14px; margin: 6px 0; color: var(--ink2); }
.st-my-card { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; border-left: 4px solid var(--line); }
.st-my-card.confirmed { border-left-color: #1F5BA8; } .st-my-card.in_session { border-left-color: #1B6B3A; background: #F6FCF8; }
.st-my-card.hold { border-left-color: #E09A2B; } .st-my-card.done { opacity: .75; }
.st-my-time { font-size: 18px; } .st-my-title { font-weight: 600; font-size: 16px; }
.st-block { background: #F4F5F7; color: var(--ink2); border-radius: 8px; padding: 8px 10px; font-size: 13px; display: flex; gap: 6px; align-items: center; }
.st-note summary { cursor: pointer; font-size: 13px; color: var(--accent-ink); padding: 4px 0; }
.st-note textarea { width: 100%; margin-top: 6px; }
.st-out { background: #1B6B3A; border-color: #1B6B3A; }
@media (max-width: 760px) {
  .st-title { min-width: 0; }
  .st-legend { display: none; }
}

/* ---------- Hướng dẫn trong app: bảng trượt "?", bài, thẻ "Có gì mới" ---------- */
.help-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(20,22,26,.28); }
.help-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: var(--card, #fff); display: flex; flex-direction: column;
  box-shadow: -10px 0 32px rgba(0,0,0,.18); animation: qc-in .18s ease-out; outline: none; }
.help-panel-head { display: flex; align-items: center; gap: 8px; padding: 10px 10px 6px 16px; font-size: 16px; }
.help-q { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.help-panel-search { margin: 0 16px 8px; }
.help-panel-body { flex: 1; overflow-y: auto; padding: 6px 16px 16px; -webkit-overflow-scrolling: touch; }
.help-panel-foot { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.help-doc-title { font-size: 20px; margin: 4px 0 6px; line-height: 1.3; }
.help-doc-meta { margin-bottom: 12px; flex-wrap: wrap; }
.help-md { font-size: 15px; }
.help-md h3 { font-size: 17px; } .help-md h4 { font-size: 16px; border-top: 1px solid var(--line2, #EEF0F3); padding-top: 12px; margin-top: 16px; }
.help-md ol li::marker { color: var(--accent); font-weight: 700; }
.help-md li { margin-bottom: 4px; } .help-md li > ul { margin: 4px 0 0; }
.help-md blockquote { background: #FFF8E6; border-left-color: #F2C14E; border-radius: 0 8px 8px 0; padding: 6px 12px; color: var(--ink); }
.help-md figure { margin: 10px 0 14px; text-align: center; }
.help-md figure img { max-width: min(100%, 320px); height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.help-md figcaption { font-size: 12px; color: var(--muted); margin-top: 6px; }
.md-table { overflow-x: auto; margin: 0 0 12px; }
.md-table table { border-collapse: collapse; width: 100%; font-size: 14px; }
.md-table th, .md-table td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
.md-table th { background: #F4F6F8; font-weight: 600; }
.help-related { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 12px; }
.help-related .h4 { font-size: 14px; margin: 0 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.help-list { display: flex; flex-direction: column; gap: 6px; }
.help-row { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; color: inherit; }
.help-row:hover, .help-row.on { border-color: var(--accent-line); background: #F7FCFB; }
.help-row .help-ic { width: 30px; height: 30px; }
.whats-new { position: fixed; right: 20px; bottom: 20px; z-index: 35; width: 340px; padding: 12px 12px 10px 14px; box-shadow: 0 12px 32px rgba(0,0,0,.16);
  display: flex; flex-direction: column; gap: 8px; animation: qc-up .2s ease-out; }
.wn-dot { width: 8px; height: 8px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 4px rgba(229,72,77,.15); }
.wn-list { display: flex; flex-direction: column; gap: 4px; }
.wn-item { display: flex; align-items: center; gap: 8px; text-align: left; padding: 8px; border-radius: 8px; border: 0; background: #F6F7F9; cursor: pointer; font: inherit; color: inherit; }
.wn-item:hover { background: var(--accent-soft); }
.wn-item .chip { flex-shrink: 0; }
@keyframes qc-up { from { transform: translateY(24px); } to { transform: none; } }
@media (max-width: 760px) {
  .help-panel { width: 100%; animation-name: qc-up; }
  .whats-new { left: 12px; right: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .help-panel, .whats-new { animation: none; } }
/* Thẻ "Có gì mới" nổi không che nút cuối trang (anh Cường thử 08/11/2026: che nút "Cập nhật" ở Góp ý): chừa chỗ dưới nội dung khi thẻ đang nổi */
body:has(.whats-new:not(.wn-trong):not(.wn-thu)) .content { padding-bottom: 300px; }
/* 1300am mục 13: thẻ đã thu — một nút nhỏ, không đè bảng */
.whats-new.wn-thu { width: auto; flex-direction: row; align-items: center; gap: 4px; padding: 6px 8px 6px 12px; }
.wn-thu-nut { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; padding: 4px 2px; }
body:has(.whats-new.wn-thu) .content { padding-bottom: 72px; }
.wn-item .chip.info { background: #E6EEFA; color: #1F5BA8; }
.wn-item .grow, .help-row .grow { min-width: 0; }
.help-panel .search-inline { width: auto; max-width: none; display: flex; }
.help-panel .search-inline input { min-width: 0; width: 100%; flex: 1; }
.wn-item { width: 100%; min-width: 0; } .wn-item .clamp1 { display: block; }

/* Nút đang gửi: vòng xoay nhỏ + khoá */
.btn.is-busy { cursor: progress; opacity: .85; }
.btn-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block;
  animation: spin .7s linear infinite; margin-right: 6px; vertical-align: -2px; flex-shrink: 0; }
.field-note { font-size: 13px; color: var(--muted); margin: -4px 0 4px; }
.field-note.warn { color: #9A5B00; background: #FFF6E5; border-radius: 8px; padding: 8px 10px; margin: 0; }

/* ===================== Đợt E: kho thiết bị, nhà cung cấp, dashboard lợi nhuận ===================== */
.qr-svg { flex-shrink: 0; background: #fff; border-radius: 6px; }
.qr-svg svg { width: 100%; height: 100%; display: block; }
.qr-scan { display: grid; gap: 12px; }
.qr-cam { display: grid; gap: 8px; } .qr-cam video { width: 100%; max-height: 60vh; border-radius: 12px; background: #000; object-fit: cover; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.w-check { width: 32px; } .w-bar { width: 140px; } .w-num { width: 64px; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 8px 0 12px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.seg .seg-btn { border: 0; background: transparent; padding: 6px 12px; border-radius: 8px; cursor: pointer; font-weight: 500; min-height: 36px; }
.seg .seg-btn.on { background: #fff; box-shadow: 0 1px 2px #0002; color: var(--accent-ink); font-weight: 600; }
.seg .seg-btn.on.bad { color: #A33A1F; } .seg .seg-btn.on.warn { color: #B4461B; } .seg .seg-btn.on.ok { color: #1B6B3A; }
.seg.sm .seg-btn { padding: 4px 10px; min-height: 30px; font-size: 13px; }
.check-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; cursor: pointer; }
.check-chip input { margin: 0; }
.asset-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 4px 0 14px; }
.asset-actions .btn { justify-content: center; min-height: 52px; }
.asset-photo { width: 100%; max-height: 240px; object-fit: contain; border-radius: 10px; background: var(--line2); margin-bottom: 8px; }
.asset-bk { padding: 8px 0; border-bottom: 1px solid var(--line2); display: grid; gap: 4px; }
.asset-bk:last-child { border-bottom: 0; }
.asset-grp { margin-bottom: 8px; flex-wrap: wrap; }
.asset-item .page-head { align-items: flex-start; }
.file-row { padding: 8px 16px; border-bottom: 1px solid var(--line2); gap: 8px; flex-wrap: wrap; }
/* Lịch đặt thiết bị (dòng thời gian theo thiết bị) */
.cal-grid { min-width: 760px; --name: 220px; }
.cal-head, .cal-row { display: grid; grid-template-columns: var(--name) 1fr; border-bottom: 1px solid var(--line2); }
.cal-head { position: sticky; top: 0; background: #fff; z-index: 1; font-size: 12px; color: var(--muted); }
.cal-name { padding: 8px 10px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-right: 1px solid var(--line2); color: var(--ink); }
.cal-head .cal-track { display: grid; grid-template-columns: repeat(var(--days), 1fr); }
.cal-head .cal-track span { padding: 8px 0; text-align: center; border-left: 1px solid var(--line2); }
.cal-head .cal-track span.today { color: var(--accent-ink); font-weight: 700; background: #E6F6F5; }
.cal-row .cal-track { position: relative; min-height: 38px;
  background: repeating-linear-gradient(90deg, transparent 0, transparent calc(100% / var(--days) - 1px), var(--line2) calc(100% / var(--days) - 1px), var(--line2) calc(100% / var(--days))); }
.cal-bar { position: absolute; top: 6px; height: 26px; border-radius: 6px; padding: 0 6px; font-size: 12px; line-height: 26px; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; color: #fff; background: var(--info); }
.cal-bar.out { background: #E08A1E; } .cal-bar.overdue { background: var(--late); } .cal-bar.returned { background: #9AA3AE; }
.cal-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--info); }
.cal-dot.out { background: #E08A1E; } .cal-dot.overdue, .cal-dot.neg { background: var(--late); } .cal-dot.returned { background: #9AA3AE; }
.cal-dot.rev { background: #B7DCDA; } .cal-dot.pro { background: var(--accent); }
/* Tem QR (in A4, 3 cột) */
.asset-labels { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 12px; }
.asset-label { display: flex; gap: 10px; align-items: center; border: 1px dashed #B9C0C8; border-radius: 8px; padding: 8px; break-inside: avoid; background: #fff; }
.asset-label-txt { display: grid; gap: 2px; font-size: 12px; min-width: 0; } .asset-label-txt b { font-size: 15px; }
@media print {
  .asset-labels { grid-template-columns: repeat(3, 1fr); gap: 4mm; }
  .asset-label { page-break-inside: avoid; }
}
/* Nhà cung cấp */
.vendor-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.vendor-card { display: grid; gap: 8px; padding: 14px 16px; color: var(--ink); }
.vendor-card:hover { border-color: var(--accent); }
.vendor-card.blacklist { border-color: #F1B8AC; background: #FFF8F6; }
.vendor-card.paused { opacity: .7; }
.vendor-name { font-size: 15px; }
.stars { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.stars-bar { width: 72px; height: 8px; border-radius: 4px; background: var(--line2); overflow: hidden; }
.stars-bar span { display: block; height: 100%; background: #F2A900; }
.vendor-score { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.vendor-rating { padding: 10px 0; border-bottom: 1px solid var(--line2); display: grid; gap: 4px; }
.vendor-picker { position: relative; }
.vp-list { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 280px; overflow: auto; padding: 4px; }
.vp-item { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 0; background: transparent; padding: 10px; border-radius: 8px; cursor: pointer; min-height: 44px; }
.vp-item:hover, .vp-item[aria-selected="true"] { background: var(--line2); }
.vp-item.black b { color: var(--late); }
.vp-add { color: var(--accent-ink); font-weight: 600; border-top: 1px solid var(--line2); border-radius: 0 0 8px 8px; }
.vp-empty { padding: 8px 10px; }
/* Dashboard lợi nhuận */
.hbar.neg > span { background: var(--late); }
.trend { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; align-items: end; height: 180px; margin: 8px 0; }
.trend-col { display: grid; grid-template-rows: 1fr auto; height: 100%; text-align: center; }
.trend-bars { display: flex; align-items: flex-end; justify-content: center; gap: 2px; height: 100%; }
.tb { width: 40%; min-height: 1px; border-radius: 3px 3px 0 0; }
.tb.rev { background: #B7DCDA; } .tb.pro { background: var(--accent); } .tb.pro.neg { background: var(--late); }
.profit-tbl td { vertical-align: top; }
@media (max-width: 640px) {
  .asset-actions { grid-template-columns: 1fr 1fr; } .asset-actions .btn:first-child { grid-column: 1 / -1; }
  .kv { grid-template-columns: 1fr; gap: 0 0; } .kv dt { margin-top: 8px; font-size: 12px; }
  .cal-grid { --name: 140px; }
  .w-bar { display: none; }
  .profit-tbl th:nth-child(3), .profit-tbl td:nth-child(3), .profit-tbl th:nth-child(4), .profit-tbl td:nth-child(4) { display: none; }
  .trend { height: 140px; gap: 3px; }
}
.mono { white-space: nowrap; }
.w-check input { width: auto; min-height: 0; }
.assets .filters > select, .vendors .filters > select, .profit .filters > select, .asset-list .filters > select, .asset-cal .filters > select,
.profit .filters > .ongay[data-kieu=date], .asset-cal .filters > .ongay[data-kieu=date] { width: auto; flex: 0 1 auto; max-width: 100%; }
.assets .filters > input.grow, .vendors .filters > input.grow, .asset-list .filters > input.grow { min-width: 220px; }
@media (max-width: 640px) {
  .assets .filters > select, .vendors .filters > select, .asset-list .filters > select, .profit .filters > select { flex: 1 1 45%; }
  .table-wrap .asset-tbl, .asset-tbl tbody { display: block; min-width: 0; width: 100%; }
  .asset-tbl thead, .asset-tbl .c-chk, .asset-tbl .c-grp { display: none; }
  .asset-tbl tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name cond" "code qty" "loc val" "due due"; gap: 2px 10px; padding: 10px 12px; border-bottom: 1px solid var(--line2); }
  .asset-tbl td { display: block; border: 0; padding: 0; text-align: left; min-width: 0; }
  .asset-tbl .c-name { grid-area: name; } .asset-tbl .c-cond { grid-area: cond; justify-self: end; }
  .asset-tbl .c-code { grid-area: code; font-size: 12px; color: var(--muted); } .asset-tbl .c-qty { grid-area: qty; justify-self: end; font-size: 13px; }
  .asset-tbl .c-loc { grid-area: loc; font-size: 13px; } .asset-tbl .c-val { grid-area: val; justify-self: end; font-size: 13px; } .asset-tbl .c-due { grid-area: due; font-size: 13px; }
}
.profit .card-head { flex-wrap: wrap; }

/* ===== Đợt D: nhà tài trợ, báo cáo nghiệm thu, giấy phép, lịch truyền thông ===== */
.chip.info { background: #E6EEFA; color: #1F5BA8; }
.warnbox { background: #FFF6E5; border: 1px solid #F3D19B; color: #7A4F00; border-radius: 10px; padding: 8px 12px; margin: 8px 0; }
.sp-pct.wide { display: flex; width: 100%; } .sp-pct.wide .bar { flex: 1; width: auto; height: 8px; border-radius: 4px; }
.sp-pct .pct { font-weight: 700; color: var(--ink2); min-width: 36px; text-align: right; }
.sp-pct.full .bar span { background: linear-gradient(90deg, #1B6B3A, #3FB37F); }
.sp-shows { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.sp-show-card { display: grid; gap: 10px; padding: 14px 16px; color: var(--ink); }
.sp-show-card:hover { border-color: var(--accent); } .sp-show-card.pm-alert { border-color: #F1B8AC; background: #FFF8F6; }
.sp-deal-mini { display: grid; gap: 6px; }
.sp-mini { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.sp-pkg { display: inline-block; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.sp-head { display: grid; gap: 6px; } .sp-head b { white-space: nowrap; }
.sp-deal { padding: 0; overflow: hidden; }
.sp-deal-head { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px 6px; }
.sp-toggle { border: 0; background: #EEF0F3; border-radius: 8px; width: 30px; height: 30px; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.sp-client { font-size: 16px; }
.sp-value { text-align: right; font-weight: 800; font-size: 15px; white-space: nowrap; }
.sp-deal-bar { padding: 4px 16px 12px; } .sp-deal-bar .sp-pct { flex: 1 1 220px; }
.sp-delivs { border-top: 1px solid var(--line); background: #FAFBFB; padding: 4px 0 8px; }
.sp-deliv { display: grid; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--line2); }
.sp-deliv.done { background: #F4FBF7; } .sp-deliv.waived { opacity: .65; }
.sp-deliv-main { display: flex; align-items: center; gap: 10px; }
.sp-qty { white-space: nowrap; font-size: 15px; }
.sp-evs { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-ev { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 3px 8px 3px 4px; font-size: 12px; max-width: 100%; }
.sp-ev img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; display: block; }
.sp-ev-t a { color: var(--accent); font-weight: 600; } .sp-ev-n { color: var(--muted); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-ev .icon-btn { width: 22px; height: 22px; }
.sp-deliv-act .btn.sm { min-height: 30px; }
.sp-add { margin: 8px 16px 0; }
.sp-ticket-row { display: grid; grid-template-columns: 1.4fr 1.4fr 70px auto; gap: 6px; margin-bottom: 6px; align-items: center; }
.sp-ticket-row.two { grid-template-columns: 1fr 1.6fr auto; }
.sp-guests { max-height: 220px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 4px 10px; margin: 8px 0; }
.sp-set-row { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line2); background: none; padding: 9px 2px; cursor: pointer; }
.sp-set-row.off { opacity: .55; } .sp-set-row:hover { background: #F7F9F9; }
.sp-doc-title { font-size: 26px; }
.sp-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 18px; }
.sp-kpis > div { border: 1px solid #e5e5e5; border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.sp-kpis b { font-size: 22px; }
.sp-doc-h { font-size: 15px; font-family: inherit; margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .04em; color: #333; }
.sp-doc-tbl .chip { font-size: 11px; }
.sp-doc-tbl a, .qdoc a { color: var(--accent-ink); text-decoration: underline; word-break: break-all; }
.sp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sp-photo { margin: 0; break-inside: avoid; }
.sp-photo img, .sp-photo-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; display: block; background: #F1F5F5; }
.sp-photo-ph { display: grid; place-items: center; align-content: center; gap: 4px; color: var(--accent-ink); font-size: 12px; text-decoration: none !important; }
.sp-photo figcaption { font-size: 11px; color: #555; margin-top: 4px; }
.sp-report .qdoc { margin-top: 12px; }
.sp-links { display: grid; gap: 8px; } .sp-links input[type=number] { width: 70px; min-height: 30px; }
.sp-newlink { display: grid; grid-template-columns: 1fr auto; gap: 6px; align-items: center; background: #E8F6F5; padding: 10px; border-radius: 10px; }
.sp-newlink .muted { grid-column: 1 / -1; }
.sp-linklist { display: grid; }
.sp-public { min-height: 100vh; background: #F4F7F7; padding: 16px; }
.sp-public-bar { max-width: 820px; margin: 0 auto 10px; }
.sp-public-err { max-width: 460px; margin: 15vh auto 0; text-align: center; display: grid; gap: 14px; justify-items: center; }
.dc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0 0 12px; }
.dc-card { display: grid; gap: 4px; color: var(--ink); } .dc-card:hover { border-color: var(--accent); }
.dc-card.alert { border-color: #F1B8AC; background: #FFF8F6; }
.pm-row { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.pm-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pm-sum > div { display: grid; } .pm-sum b { font-size: 20px; }
.pm-list { padding: 0; overflow: hidden; }
.pm-item { display: grid; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line2); width: 100%; text-align: left; background: none; border-left: 4px solid transparent; }
.pm-item.overdue { border-left-color: #F0A35E; } .pm-item.alert { border-left-color: var(--late); background: #FFF8F6; }
.pm-item.approved { background: #F4FBF7; } .pm-item.not_needed { opacity: .6; }
.pm-item.tpl { cursor: pointer; border-left: 0; } .pm-item.tpl:hover { background: #F7F9F9; } .pm-item.off { opacity: .55; }
.pm-item-main { display: flex; align-items: flex-start; gap: 12px; }
.pm-due { display: grid; text-align: right; white-space: nowrap; }
.cc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.cc-day { min-height: 96px; border: 1px solid var(--line2); border-radius: 10px; padding: 4px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cc-grid.week .cc-day { min-height: 320px; }
.cc-day.out { background: #FAFBFB; opacity: .55; } .cc-day.today { box-shadow: inset 0 0 0 2px var(--accent); }
.cc-dn { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 12px; color: var(--ink2); padding: 0 2px; }
.cc-add { border: 0; background: transparent; color: var(--accent); font-weight: 800; cursor: pointer; width: 22px; height: 22px; border-radius: 6px; opacity: 0; }
.cc-day:hover .cc-add, .cc-add:focus-visible { opacity: 1; background: var(--accent-soft); }
.cc-post { display: grid; grid-template-columns: 4px 1fr; gap: 0 5px; align-items: center; border: 0; text-align: left; cursor: pointer; font-size: 11.5px; line-height: 1.25;
  background: color-mix(in srgb, var(--st) 12%, #fff); border-radius: 6px; padding: 3px 5px 3px 3px; color: var(--ink); min-width: 0; }
.cc-post:hover { background: color-mix(in srgb, var(--st) 22%, #fff); }
.cc-post.posted { opacity: .8; } .cc-post.late { box-shadow: inset 0 0 0 1px var(--late); }
.cc-ch { grid-row: span 2; width: 4px; align-self: stretch; border-radius: 2px; background: var(--ch); }
.cc-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.cc-grid.week .cc-t { white-space: normal; }
.cc-meta { font-size: 10.5px; color: var(--muted); grid-column: 2; }
.cc-list { padding: 0; overflow: hidden; }
.cc-list-day { background: #F6F8F8; font-weight: 700; font-size: 12px; padding: 6px 14px; color: var(--ink2); border-top: 1px solid var(--line); }
.cc-row { display: flex; align-items: center; gap: 10px; width: 100%; border: 0; background: none; text-align: left; padding: 10px 14px; cursor: pointer; border-top: 1px solid var(--line2); }
.cc-row:hover { background: #F7F9F9; } .cc-row.late b { color: var(--late); }
.cc-chdot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.cc-detail { display: grid; gap: 10px; }
.cc-brief { white-space: pre-wrap; background: #F7F9F9; border-radius: 10px; padding: 10px 12px; }
.cc-metrics { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; } .cc-metrics > div { display: grid; } .cc-metrics b { font-size: 20px; }
.cc-hist { display: grid; gap: 3px; border-top: 1px solid var(--line2); padding-top: 8px; }
@media (max-width: 760px) {
  .sp-shows { grid-template-columns: 1fr; }
  .sp-deal-bar { flex-direction: column; align-items: stretch; } .sp-deal-bar .sp-pct { flex: none; }
  .sp-deal-head { flex-wrap: wrap; } .sp-value { width: 100%; text-align: left; padding-left: 40px; }
  .sp-deliv-main { flex-wrap: wrap; } .sp-deliv-main > .grow { flex-basis: 100%; }
  .sp-ticket-row { grid-template-columns: 1fr 64px auto; } .sp-ticket-row > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .sp-ticket-row.two { grid-template-columns: 1fr auto; } .sp-ticket-row.two > :nth-child(2) { grid-column: 1; }
  .sp-kpis { grid-template-columns: 1fr 1fr; } .sp-gallery { grid-template-columns: 1fr 1fr; }
  .sp-public { padding: 8px; }
  .pm-sum { grid-template-columns: 1fr 1fr; }
  .pm-item-main { flex-wrap: wrap; } .pm-item-main > .grow { flex-basis: 100%; } .pm-due { text-align: left; }
  .cc-grid { padding: 4px; gap: 2px; } .cc-day { min-height: 58px; padding: 2px; }
  .cc-grid.week { grid-template-columns: 1fr; } .cc-grid.week .cal-wd { display: none; } .cc-grid.week .cc-day { min-height: 0; }
  .cc-grid.month .cc-t { display: none; } .cc-grid.month .cc-post { grid-template-columns: 1fr; padding: 0; height: 6px; background: var(--st); }
  .cc-grid.month .cc-ch { display: none; }
}
@media print {
  .sp-public { padding: 0; background: #fff; }
  .sp-kpis > div, .sp-photo { break-inside: avoid; }
}
.content-cal .filters select { width: auto; flex: 1 1 170px; min-width: 0; }

/* ---------- Lõi Hugo House (phiếu 03): Tổ chức, Nhân sự, Phân công, Phân quyền, Cấu hình ---------- */
.org-row, .person-row { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line2); color: inherit; }
.org-row:last-child, .person-row:last-child { border-bottom: 0; }
.org-row.closed { opacity: .6; }
.org-row[data-kind="campus"] .org-name { font-size: 16px; }
a.person-row:hover { background: var(--line2); }
.core-person .kv { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; }
.core-person .kv > div { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px 12px; margin-top: 6px; }
.section-title { font-size: 16px; margin: 20px 0 8px; }
.asg-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 120px; }
.asg-person { display: flex; align-items: center; gap: 4px; }
.icon-btn.xs { width: 24px; height: 24px; } .btn.xs { min-height: 26px; padding: 0 8px; font-size: 12px; }
.asg-grid td { vertical-align: top; }
.config-row { display: flex; flex-direction: column; gap: 6px; }
.config-row input, .config-row select { width: auto; flex: 1 1 140px; }
@media (max-width: 640px) {
  .core-org .filters select, .core-people .filters select, .core-grants .filters select { flex: 1 1 100%; }
  .org-row .btn.sm { padding: 0 6px; }
  /* Phân công lớp: mỗi lớp một thẻ, bỏ cuộn ngang */
  .asg-grid thead { display: none; }
  .asg-grid, .asg-grid tbody, .asg-grid tr, .asg-grid td { display: block; width: 100%; }
  .asg-grid tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .asg-grid td { border: 0; padding: 4px 12px; }
  .asg-grid td[data-label] { display: flex; gap: 8px; align-items: flex-start; }
  .asg-grid td[data-label]::before { content: attr(data-label); flex: 0 0 88px; font-size: 12px; color: var(--muted); padding-top: 2px; }
  .asg-grid .asg-cell { flex-direction: row; flex-wrap: wrap; align-items: center; min-width: 0; }
}

/* ---------- Chat Hugo House (phiếu 04) ---------- */
.chat-tabs { display: flex; gap: 4px; overflow-x: auto; }
.chat-tabs button { border: 0; background: #EEF2F2; color: var(--ink2); border-radius: 16px; padding: 5px 12px; font-size: 13px; white-space: nowrap; cursor: pointer; }
.chat-tabs button.on { background: var(--accent); color: #fff; }
.chat-item-wrap { position: relative; }
.chat-item-wrap .chat-item { padding-right: 30px; }
.chat-more { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); opacity: 0; }
.chat-item-wrap:hover .chat-more, .chat-more:focus { opacity: 1; }
@media (hover: none) { .chat-more { opacity: .6; } }
.chat-item.archived { opacity: .7; }
.chat-name { display: inline-flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbadge.muted { background: #B7C2C2; color: #fff; }
.chat-menu { position: absolute; right: 8px; top: 44px; z-index: 40; display: flex; flex-direction: column; min-width: 210px; }
.chat-menu button { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 9px 10px; border-radius: 8px; text-align: left; cursor: pointer; font-size: 14px; }
.chat-menu button:hover { background: #F0F3F3; }
.ch-all { background: linear-gradient(135deg, #C2410C, #F59E0B); }
.ch-campus { background: linear-gradient(135deg, #1F5BA8, #3B82F6); }
.ch-bgh, .ch-bgh_system { background: linear-gradient(135deg, #5B2BB5, #8B5CF6); }
.ch-class { background: linear-gradient(135deg, #15803D, #4ADE80); }
.ch-note { background: linear-gradient(135deg, #64748B, #94A3B8); }
.ch-avatar { border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.pin-bar { display: flex; align-items: center; gap: 8px; width: 100%; border: 0; border-bottom: 1px solid var(--line); background: #FFFBEB; padding: 8px 18px; text-align: left; cursor: pointer; font-size: 13px; }
.pin-row { display: flex; align-items: center; gap: 6px; }
.msg.flash { animation: msgflash 2s ease; }
@keyframes msgflash { 0%, 60% { background: #FEF3C7; } 100% { background: transparent; } }
.msg.urgent .msg-body { border-left: 3px solid #DC2626; padding-left: 8px; }
.msg-fwd { display: flex; align-items: center; gap: 4px; margin: 2px 0; }
.seen { display: block; margin: 2px 16px 6px auto; text-align: right; font-size: 12px; color: var(--muted); background: none; border: 0; }
button.seen { cursor: pointer; text-decoration: underline; }
.big-emoji { display: flex; gap: 6px; padding: 4px 0; }
.big-emoji img { display: block; }
.emoji-panel { position: absolute; bottom: calc(100% - 4px); left: 8px; right: 8px; max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 8px; z-index: 30; }
.emoji-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 2px; max-height: 240px; overflow-y: auto; }
.emoji-grid button { border: 0; background: none; border-radius: 8px; padding: 4px; cursor: pointer; }
.emoji-grid button:hover { background: #F0F3F3; }
.emoji-credit { text-align: right; margin-top: 4px; }
.composer { position: relative; }
.composer-all { background: #FEF2F2; }
.composer-block { display: flex; align-items: center; gap: 6px; padding: 12px 18px; border-top: 1px solid var(--line); background: #F8FAFA; }
.voice-rec { display: flex; align-items: center; gap: 8px; padding: 4px 6px; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #DC2626; animation: recblink 1s infinite; }
@keyframes recblink { 50% { opacity: .3; } }
.voice-note { display: flex; align-items: center; gap: 8px; margin: 4px 0; max-width: 340px; }
.voice-note audio { height: 36px; flex: 1; min-width: 0; }
.msg-video video { max-width: min(360px, 100%); max-height: 320px; border-radius: 10px; background: #000; display: block; margin: 4px 0; }
.msg-imgs.n2, .msg-imgs.n3, .msg-imgs.n4 { display: grid; grid-template-columns: repeat(2, minmax(0, 160px)); gap: 4px; }
button.msg-img { border: 0; padding: 0; background: none; cursor: zoom-in; }
.msg-expired { margin: 4px 0; font-style: italic; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.lightbox img { max-width: 96vw; max-height: 86vh; object-fit: contain; cursor: default; }
.lightbox-bar { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.attach-list.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.drop-hint { position: absolute; inset: 60px 12px 12px; border: 2px dashed var(--accent); border-radius: 14px; background: rgba(240, 253, 250, .9); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-weight: 600; z-index: 20; pointer-events: none; }
.chat-conv { position: relative; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 4px; }
.media-cell { aspect-ratio: 1; border: 0; padding: 0; background: #EEF2F2; border-radius: 6px; overflow: hidden; cursor: pointer; }
.media-cell img { width: 100%; height: 100%; object-fit: cover; }
.media-ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--muted); }
.fwd-preview { background: #F4F6F6; border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; }
.note-box { background: #F0F9FF; border-radius: 8px; padding: 8px 10px; }
.chat-info .set-row { padding: 6px 0; gap: 8px; }
.chat-info .set-row select { width: auto; }
/* Đầu danh sách Chat (mẫu B, 15/10/2026): máy tính = "Chat" + nút "+", ô tìm ở dưới; điện thoại = ô tìm · chuông · "+" một hàng,
   thanh trên cùng của app ẩn ở màn danh sách */
.chat-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px; }
.chat-top h1 { flex: 1; min-width: 0; }
.chat-top .chat-search { order: 3; flex: 1 0 100%; min-width: 0; }
.chat-top .chat-search input { min-width: 0; }
.chat-bell { display: none; position: relative; flex: none; }
.chat-new { position: relative; flex: none; }
.chat-plus { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.chat-plus:hover { filter: brightness(1.08); }
.chat-plus:focus-visible { outline: 3px solid var(--accent-line); outline-offset: 2px; }
.chat-plus[aria-expanded="true"] { box-shadow: 0 0 0 3px var(--accent-line); }
.chat-new-menu { right: 0; top: calc(100% + 6px); min-width: 268px; }
.chat-new-menu button { align-items: center; gap: 10px; padding: 8px 10px; }
.chat-new-menu b { display: block; font-weight: 600; }
.chat-new-menu small { display: block; color: var(--muted); font-size: 12px; line-height: 1.3; }
.chat-new-menu .cn-ic { width: 32px; height: 32px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.chat-item-btn { width: 100%; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.chat-empty-all { margin-top: 12px; }
@media (max-width: 760px) {
  .shell.in-chat:not(.in-conv) .topbar { display: none; }
  .shell.in-chat:not(.in-conv) .chat { height: calc(100dvh - 64px - env(safe-area-inset-bottom)); }
  .chat-list-head { padding: 12px 12px 8px; }
  .chat-top h1 { display: none; }
  .chat-top { flex-wrap: nowrap; }
  .chat-top .chat-search { order: 0; flex: 1 1 0; }
  .chat-bell { display: inline-flex; }
}

/* ---------------- Gọi thoại / video (phiếu 05): màn cuộc gọi luôn nền tối như điện thoại ---------------- */
.msg-call { margin: 8px 18px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--card); max-width: 520px; align-self: center; }
.msg-call .call-ico { display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); flex-shrink: 0; }
.msg-call.missed .call-ico { background: color-mix(in srgb, var(--late) 14%, transparent); color: var(--late); }
.msg-call.missed b { color: var(--late); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.call-incoming { position: fixed; z-index: 120; left: 50%; transform: translateX(-50%); top: calc(env(safe-area-inset-top, 0px) + 12px);
  width: min(440px, calc(100vw - 24px)); display: flex; flex-direction: column; gap: 12px; padding: 14px 16px; border-radius: 18px;
  background: #13201F; color: #EEF4F3; box-shadow: 0 12px 40px #0006; animation: call-in .25s ease-out; }
.call-incoming .muted { color: #A8BAB8; }
.ci-who { display: flex; align-items: center; gap: 12px; }
.ci-acts { display: flex; justify-content: space-around; gap: 8px; }
.ci-act { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: 0; color: #DCE6E4; font: inherit; font-size: .8rem; cursor: pointer; }
.ci-act:focus-visible { outline: 3px solid #8FD3CC; outline-offset: 2px; border-radius: 8px; }
.ci-act .call-btn { pointer-events: none; }
@keyframes call-in { from { transform: translate(-50%, -20px); opacity: 0; } }
.call-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center;
  background: #FFFFFF26; color: #fff; cursor: pointer; flex-shrink: 0; }
.call-btn:hover { background: #FFFFFF3A; }
.call-btn:focus-visible { outline: 3px solid #8FD3CC; outline-offset: 2px; }
.call-btn.off { background: #fff; color: #13201F; }
.call-btn.on { background: #2F9E8F; }
.call-btn.green { background: #1E9E5A; } .call-btn.green:hover { background: #22B566; }
.call-btn.red { background: #D63B2F; } .call-btn.red:hover { background: #E8483B; }
.call-btn.red svg, .call-incoming .call-btn.red svg { transform: rotate(135deg); }
.call-screen { position: fixed; inset: 0; z-index: 110; background: #0E1716; color: #EEF4F3; display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px calc(env(safe-area-inset-bottom, 0px) + 18px); gap: 12px; }
.call-top { text-align: center; display: flex; flex-direction: column; gap: 2px; }
.call-top .b { font-size: 1.15rem; }
.call-top .sm { color: #A8BAB8; font-variant-numeric: tabular-nums; }
.call-note { margin: 6px auto 0; padding: 6px 12px; border-radius: 999px; background: #F2B13A2E; color: #F6CF7E; font-size: .85rem; max-width: 100%; }
.call-grid { flex: 1; min-height: 0; display: grid; gap: 10px; grid-template-columns: 1fr; grid-auto-rows: 1fr; }
.call-screen.n2 .call-grid { grid-template-columns: 1fr; }
.call-screen.n3 .call-grid, .call-screen.n4 .call-grid { grid-template-columns: 1fr 1fr; }
@media (min-width: 800px) { .call-screen.n2 .call-grid { grid-template-columns: 1fr 1fr; } }
.call-tile { position: relative; min-height: 0; border-radius: 16px; overflow: hidden; background: #1B2A29; display: flex; align-items: center; justify-content: center; }
.call-tile video { width: 100%; height: 100%; object-fit: cover; }
.call-tile.big video { object-fit: contain; background: #000; }
.call-tile video.mirror { transform: scaleX(-1); }
.call-avatar { display: flex; align-items: center; justify-content: center; color: #6F8A87; }
.call-name { position: absolute; left: 10px; bottom: 8px; display: inline-flex; gap: 4px; align-items: center; padding: 3px 8px; border-radius: 8px;
  background: #0009; font-size: .82rem; }
.call-tile.self { position: absolute; right: 16px; bottom: calc(env(safe-area-inset-bottom, 0px) + 96px); width: 112px; height: 150px;
  box-shadow: 0 6px 20px #0007; border: 1px solid #FFFFFF26; }
.call-tile.self .call-avatar .avatar { width: 48px !important; height: 48px !important; }
.call-bar { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.call-bar .btn { min-width: 120px; background: #FFFFFF26; color: #fff; border-color: transparent; }
@media (prefers-reduced-motion: reduce) { .call-incoming { animation: none; } }
.usage-bar { height: 6px; border-radius: 3px; background: var(--line2); margin-top: 6px; overflow: hidden; max-width: 320px; }
.usage-bar span { display: block; height: 100%; background: var(--accent); }
.usage-bar span.warn { background: var(--late); }

/* ---------------- Chat đợt 2 (phiếu 06): bình chọn, việc & nhắc hẹn ---------------- */
.poll-card { margin-top: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); max-width: 460px; display: flex; flex-direction: column; gap: 6px; }
.msg-sys .poll-card { align-self: center; width: min(460px, 100%); }
.poll-opts { display: flex; flex-direction: column; gap: 6px; }
.poll-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.poll-opt { position: relative; flex: 1 1 220px; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--card); color: var(--ink); font: inherit; text-align: left; cursor: pointer; overflow: hidden; }
.poll-opt:disabled { cursor: default; }
.poll-opt.mine { border-color: var(--accent); }
.poll-fill { position: absolute; inset: 0 auto 0 0; background: var(--accent-soft); z-index: 0; transition: width .3s; }
.poll-label, .poll-n { position: relative; z-index: 1; }
.poll-label { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.poll-n { font-variant-numeric: tabular-nums; font-weight: 600; }
.poll-who { flex-basis: 100%; }
.chat-work h2 { font-size: 1rem; margin: 18px 0 8px; }
.chat-work .person-row.done .b { text-decoration: line-through; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .poll-fill { transition: none; } }
.ref-wrap { display: flex; flex-direction: column; gap: 6px; max-width: 460px; }
.msg-sys .ref-wrap, .msg-sys > .ref-card { align-self: center; width: min(460px, 100%); }
.ref-acts { flex-wrap: wrap; }

/* =====================================================================
   KPI (phiếu 10b) — màn hằng ngày và "Của tôi". Tiền tố kp-. Điện thoại trước.
   ===================================================================== */
.kp { max-width: 860px; }
.kp .card { padding: 14px 16px; }
.kp h2 { font-size: 18px; }
.kp-tight { gap: 8px; }
.kp-mt { margin-top: 10px; }
.kp-back { color: var(--accent); font-size: 13px; font-weight: 500; align-self: flex-start; }
.kp-thang { width: auto; min-width: 150px; }
.kp-search { min-height: 44px; font-size: 15px; }
.kp-sec { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.neg, .kp-pt.neg, .kp-v.neg { color: var(--late); } .kp-pt.pos { color: var(--ok); }
.warn-text { color: #9A5B00; }
.kp-note { background: #FFF6E5; border: 1px solid #F3DDB0; color: #5C4410; border-radius: 10px; padding: 10px 12px; font-size: 13px; }
.kp-note.info { background: #EEF4FB; border-color: #CFE0F3; color: #1D3F66; }
.kp-note.bad { background: #FDECEA; border-color: #F4C3BC; color: #8A2318; }
.kp-note.good { background: #EAF6EE; border-color: #BFE3CB; color: #1B5E33; }
/* nhãn xếp loại */
.kp-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 12px; white-space: nowrap; background: #EEF0F3; color: var(--ink2); }
.kp-xs { background: #DDF2E5; color: #14532D; } .kp-tot { background: #E3F0FB; color: #1E4C7A; } .kp-dat { background: #FFF3D6; color: #6B4A00; }
.kp-cct { background: #FDE6DA; color: #8A3412; } .kp-lrd { background: #FBD9D6; color: #8A1C12; } .kp-neutral { background: #EEF0F3; color: var(--ink2); }
.kp-tt-cho_tra_loi { background: #FDE6DA; color: #8A3412; } .kp-tt-da_chot { background: #DDF2E5; color: #14532D; }
/* chip chọn */
.kp-chips { gap: 6px; }
.chip.kp-chip { min-height: 34px; padding: 4px 12px; font-size: 13px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; }
.chip.kp-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
/* danh sách */
.kp-list { display: flex; flex-direction: column; }
.kp-item { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line2); width: 100%; text-align: left; background: none; border-left: 0; border-right: 0; border-bottom: 0; font: inherit; color: inherit; }
.kp-list > .kp-item:first-child { border-top: 0; }
.kp-list.card { padding-top: 4px; padding-bottom: 4px; }
.kp-link { cursor: pointer; align-items: center; } .kp-link:hover .b { color: var(--accent); }
.kp-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.kp-pt { font-weight: 700; white-space: nowrap; }
.kp-viec-nut { margin-top: 6px; gap: 6px; }
.kp-star { color: #C99400; font-size: 16px; line-height: 1.4; }
.kp-reply { padding-left: 10px; border-left: 3px solid var(--accent); }
/* ô chọn nhanh (lớp, người, lối tắt) */
.kp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.kp-tile { display: flex; flex-direction: column; gap: 3px; padding: 12px; min-height: 64px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-align: left; cursor: pointer; font: inherit; color: inherit; }
.kp-tile:hover { border-color: var(--accent); } .kp-tile b { font-size: 14px; }
/* điểm */
.kp-hero { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.kp-big { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; color: var(--accent-ink); }
.kp-big small { font-size: 15px; color: var(--muted); font-weight: 600; }
.kp-groups { display: flex; flex-direction: column; }
.kp-group { display: grid; grid-template-columns: minmax(0, 1fr) 90px 62px; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line2); }
.kp-groups > .kp-group:first-child { border-top: 0; }
.kp-gt { min-width: 0; }
.kp-v { text-align: right; font-weight: 700; white-space: nowrap; } .kp-v small { color: var(--muted); font-weight: 500; }
.kp-bar { position: relative; height: 8px; border-radius: 4px; background: var(--line2); overflow: visible; }
.kp-bar i { display: block; height: 100%; border-radius: 4px; background: var(--brand); }
.kp-bar.warn i { background: #D9A400; } .kp-bar.bad i { background: var(--late); }
.kp-chu-head { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding-top: 10px; }
.kp-diem-nho { display: flex; gap: 14px; align-items: center; color: inherit; } .kp-diem-nho:hover { border-color: var(--accent); }
.kp-diem-nho .kp-big { font-size: 34px; }
.kp-moi { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
/* lưới kiểm tra theo ngày */
.kp-luoi-wrap, .kp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kp-luoi { border-collapse: collapse; font-size: 12px; }
.kp-luoi th, .kp-luoi td { border: 1px solid var(--line); padding: 4px 6px; text-align: center; min-width: 30px; }
.kp-luoi .l { text-align: left; min-width: 140px; } .kp-luoi th { background: #F7F8FA; font-weight: 600; }
.kp-luoi td.tot { background: #E6F4EA; color: #1B5E33; } .kp-luoi td.chua_tot { background: #FFF3D6; color: #6B4A00; } .kp-luoi td.khong_lam { background: #FBD9D6; color: #8A1C12; font-weight: 700; }
.kp-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.kp-table th, .kp-table td { padding: 6px 8px; border-bottom: 1px solid var(--line2); text-align: left; } .kp-table .r { text-align: right; }
/* phiếu 11b: kết quả cơ sở, thao tác BGH */
.kp-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.kp-stat { background: var(--card, #fff); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.kp-stat b { font-size: 20px; font-variant-numeric: tabular-nums; } .kp-stat b.sm { font-size: 14px; } .kp-stat span { font-size: 11.5px; color: var(--muted); }
.kp-kq { padding: 0; } .kp-kq .kp-table { font-size: 12.5px; } .kp-kq td, .kp-kq th { white-space: nowrap; }
.kp-kq .num { font-variant-numeric: tabular-nums; } .kp-kq .num small { font-size: 10px; } .kp-kq .neg { color: #A33A1F; }
.kp-kq .kp-sticky { position: sticky; left: 0; background: var(--card, #fff); z-index: 1; min-width: 150px; white-space: normal; }
.kp-nhom-dau th { background: #F4F6F8; font-weight: 600; font-size: 12.5px; position: sticky; left: 0; }
.kp-click { cursor: pointer; } .kp-click:hover td { background: #F7FAFB; }
.kp-td { display: inline-flex; gap: 4px; flex-wrap: nowrap; } .kp-td-cell { display: flex; gap: 4px; align-items: center; }
.kp-chip-td { font-size: 11px; padding: 1px 6px; border-radius: 8px; border: 1px solid var(--line); }
.kp-chip-td.done { background: #EAF6EE; border-color: #BFE3CB; color: #1B5E33; } .kp-chip-td.todo { background: #FFF6E5; border-color: #F3DDB0; color: #6B4A00; }
.kp-mt-s { margin-top: 6px; }
.kp-tra-loi { flex-wrap: nowrap; } .kp-tra-loi input { flex: 1; min-width: 0; }
.kp-break { word-break: break-word; }
.kp-kq-the { display: none; } .kp-kq-chu { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; margin: 3px 0; font-variant-numeric: tabular-nums; }
.kp-kq-chu small { font-size: 10px; } .kp-kq-chu .neg { color: #A33A1F; } .kp-kq-diem { font-size: 20px; font-variant-numeric: tabular-nums; }
.kp-kq-dong .kp-end { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; } .kp-kq-dong .kp-td-cell { flex-wrap: wrap; }
@media (max-width: 760px) { .kp-kq-the { display: flex; flex-direction: column; gap: 12px; } .kp-kq { display: none; } }
/* phiếu 1700 — KPI dễ dùng đợt 2: màn một người (vòng điểm, thẻ phần, ghi nhận trong phần, Còn thiếu), màn Tháng (ai thiếu gì) */
.kp-hero-gon { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.kp-vong-diem { width: 76px; height: 76px; border-radius: 50%; background: var(--accent-soft, var(--side-on)); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.kp-vong-diem b { font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.kp-vong-diem small { font-size: 11px; color: var(--muted); }
.kp-thieu-dai { font-size: 12.5px; background: #FFF6E5; color: #5C4410; border: 1px solid #F3DDB0; border-radius: 8px; padding: 5px 9px; }
.kp-thanh-bgh { flex-wrap: wrap; }
.kp-phan { display: flex; flex-direction: column; gap: 6px; }
.kp-phan-ten { font-size: 15px; margin: 0; } .kp-phan-diem { font-size: 15px; color: var(--accent-ink); font-variant-numeric: tabular-nums; white-space: nowrap; } .kp-phan-diem small { font-size: 12px; font-weight: 400; }
.kp-phan-diem.neg { color: #A33A1F; }
.kp-phan-thieu { border: 1px solid #F3DDB0; }
.kp-thieu-o { background: #FFF6E5; border-radius: 8px; padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; color: #5C4410; }
.kp-nut-ngay { background: #FEF0C7 !important; color: #7A4A00 !important; border-color: #F3DDB0 !important; }
.kp-ghi-ds { display: flex; flex-direction: column; border-top: 1px solid var(--line2); margin-top: 4px; }
.kp-ghi { padding: 8px 0; border-bottom: 1px solid var(--line2); display: flex; flex-direction: column; gap: 3px; scroll-margin-top: 80px; }
.kp-ghi:last-child { border-bottom: 0; } .kp-ghi-dau { align-items: baseline; gap: 8px; } .kp-ghi-trong { padding: 4px 0; }
.kp-ghi.kp-moi { border: 2px solid var(--accent); border-radius: 10px; padding: 8px 10px; margin: 4px 0; }
.kp-moi-nhan { background: var(--accent-soft, var(--side-on)); color: var(--accent-ink); align-self: flex-start; }
.kp-cach-tinh { padding: 0 4px; }
/* màn Tháng */
.kp-viec-truoc { display: flex; flex-direction: column; gap: 6px; } .kp-viec-truoc .row-between { font-size: 13px; }
.kp-tt-nguoi { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line2); }
.kp-tt-nguoi:first-child { border-top: 0; }
.kp-tt-nhan { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kp-nhan-thieu { font-size: 12px; background: #FEF0C7; color: #7A4A00; border-radius: 6px; padding: 3px 8px; } .kp-nhan-thieu.nang { background: #FEE4E2; color: #912018; }
.kp-tt-nhan .btn { margin-left: auto; }
.kp-duyet-mo { opacity: .55; }
.kp-tt-bang { padding: 0; } .kp-tt-bang .kp-table { font-size: 13px; } .kp-tt-bang td { vertical-align: middle; }
/* phiếu 11c: số liệu, in bảng KPI, điều hành */
.kp-so { width: 84px; min-height: 38px; text-align: right; } .kp-sl { padding: 0; } .kp-sl td { padding: 4px 6px; } .kp-sl th { white-space: nowrap; }
.kp-sl .kp-sticky { position: sticky; left: 0; background: var(--card, #fff); z-index: 1; min-width: 140px; }
.kp-drop { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; padding: 18px 12px; border: 2px dashed var(--line); border-radius: 12px; cursor: pointer; }
.kp-drop:hover { border-color: var(--accent); }
.kp-in-ky { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; margin: 16px 0 70px; }
.kp-in-ky span { display: block; font-size: 12px; font-style: italic; }
.kp-ky-o { min-width: 70px; }
.kp-giay-ngang .kp-in-bang { font-size: 12px; } .kp-giay-ngang .kp-in-bang small { font-size: 9.5px; }
@media screen { .kp-giay-ngang .kp-in-bang { min-width: 960px; } .kp-giay-ngang .kp-in-bang td:nth-child(3) { white-space: nowrap; } }
@media print { .kp-giay-ngang { page: ngang; } @page ngang { size: A4 landscape; margin: 10mm; } }
.kp-cs1 { --cs: #2a78d6; } .kp-cs2 { --cs: #eb6834; } .kp-cs3 { --cs: #1baf7a; }
.kp-chart .kp-cs1 path, .kp-chart .kp-cs2 path, .kp-chart .kp-cs3 path { stroke: var(--cs); stroke-width: 2.5; }
.kp-chart .kp-cs1 circle, .kp-chart .kp-cs2 circle, .kp-chart .kp-cs3 circle { fill: var(--cs); } .kp-chart [class^=kp-cs] circle.tam { fill: #fff; stroke: var(--cs); stroke-width: 2; }
.kp-legend.kp-cs1 i, .kp-legend.kp-cs2 i, .kp-legend.kp-cs3 i { background: var(--cs); }
.kp-cs-dau { width: 10px; height: 10px; border-radius: 3px; background: var(--cs); display: inline-block; margin-right: 6px; }
.kp-thanh-xl { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; background: #EEF0F3; }
.kp-thanh-xl i { display: block; height: 100%; }
.kp-xl-xuat_sac { background: #2E8B57; } .kp-xl-tot { background: #6FA8B8; } .kp-xl-dat { background: #E0A43A; } .kp-xl-can_cai_thien, .kp-xl-lan_ranh_do { background: #C8553D; } .kp-xl-khong_xet { background: #B9C0C6; }
.kp-chu-giai { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; } .kp-chu-giai i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 4px; }
.kp-so-lon { font-size: 28px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kp-luoi-cs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.kp-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 12px; }
.kp-wrap { flex-wrap: wrap; } .kp-w-auto { width: auto; } .kp-bac { flex-wrap: wrap; padding: 4px 0; border-bottom: 1px solid var(--line2); }
.kp-mau-muc { display: grid; grid-template-columns: 64px 1fr 40px; gap: 6px; align-items: center; } .kp-mau-muc.co-diem { grid-template-columns: 64px 1fr 72px 40px 40px; }
.kp-mau-muc input { min-width: 0; } .kp-mau-nd { grid-template-columns: 64px 1fr 40px; }
.btn.on { background: var(--accent-soft, #E0F2F1); }
.kp-ma { display: block; word-break: break-all; font-size: 13px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 8px; user-select: all; }
.kp-note.warn { background: #FFF6E5; border-color: #F3DDB0; color: #5C4410; }
/* phiếu: chấm 1–4, Đạt / Không đạt */
.kp-crit { padding: 10px 0; border-top: 1px solid var(--line2); }
.kp-nhom .kp-crit:first-of-type { border-top: 0; }
.kp-crit.na { opacity: .55; }
.kp-q { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.kp-n { flex-shrink: 0; min-width: 28px; font-weight: 700; color: var(--accent); }
.kp-na { flex-shrink: 0; border: 1px solid var(--line); background: #fff; border-radius: 14px; font-size: 11px; padding: 2px 8px; cursor: pointer; color: var(--muted); }
.kp-na[aria-pressed=true] { background: #EEF0F3; color: var(--ink); }
.kp-nhom-head { padding-bottom: 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; } .kp-nhom-head h3 { margin: 0; }
.kp-scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .kp-scale.three { grid-template-columns: repeat(3, 1fr); }
.kp-scale button { min-height: 48px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; font-weight: 700; font-size: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.kp-scale button small { font-size: 10.5px; font-weight: 500; color: var(--muted); }
.kp-scale button.on { background: var(--accent); border-color: var(--accent); color: #fff; } .kp-scale button.on small { color: #E2EEF0; }
.kp-scale button.on.tru { background: #B4532A; border-color: #B4532A; }
.kp-nxm { margin-top: 8px; min-height: 34px; font-size: 13px; }
.kp-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.kp-seg button { min-height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; font-weight: 600; }
.kp-seg button.bo { color: var(--muted); }
.kp-seg button.on { background: var(--accent); border-color: var(--accent); color: #fff; } .kp-seg button:disabled { opacity: .6; cursor: default; }
.kp-seg button.on.dat, .kp-seg button.on.tot { background: #1B6B3A; border-color: #1B6B3A; color: #fff; }
.kp-seg button.on.khong_dat, .kp-seg button.on.khong_lam { background: #B3261E; border-color: #B3261E; color: #fff; }
.kp-seg button.on.chua_tot { background: #C27C00; border-color: #C27C00; color: #fff; }
.kp-seg button.on.bo { background: #EEF0F3; }
.kp-actionbar { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 -4px 16px #0000000F; }
/* gợi ý kiểm, vòng kiểm */
.kp-tien-do { display: flex; gap: 10px; align-items: center; } .kp-tien-do .kp-bar { flex: 1; height: 10px; }
.kp-moc { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--ink2); }
.kp-lydo { color: #9A5B00; }
.kp-buoc { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--muted); }
.kp-buoc.xong { background: var(--ok); border-color: var(--ok); color: #fff; }
.kp-luoi-so { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; }
.kp-luoi-so > div { display: flex; flex-direction: column; } .kp-luoi-so b { font-family: var(--display); font-size: 30px; }
/* 12 tháng */
.kp-chart { width: 100%; height: auto; }
.kp-chart .kp-grid { stroke: var(--line2); } .kp-chart .kp-axis { font-size: 11px; fill: var(--muted); }
.kp-chart .kp-s1 path { stroke: var(--brand); stroke-width: 2.5; } .kp-chart .kp-s1 circle { fill: var(--brand); }
.kp-chart .kp-s0 path { stroke: #8A9499; stroke-width: 1.5; } .kp-chart .kp-s0 circle { fill: #8A9499; }
.kp-chart circle.tam { fill: #fff; stroke: var(--brand); stroke-width: 2; }
.kp-legend { display: inline-flex; align-items: center; gap: 6px; } .kp-legend i { width: 16px; height: 3px; border-radius: 2px; background: var(--brand); }
.kp-legend.kp-s0 i { background: #8A9499; }
.kp-chu-rot { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.kp-chu-rot > div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.kp-chu-rot > div.yeu { border-color: #E2B65A; background: #FFF8E8; }
/* tiêu chí, phiếu tháng */
.kp-mau summary { cursor: pointer; list-style: none; } .kp-mau summary::-webkit-details-marker { display: none; }
.kp-muc { margin: 0; padding-left: 22px; font-size: 13px; } .kp-muc li { margin: 3px 0; }
.kp-quy-che > div { margin: 0; }
.kp-ngoai-le { color: var(--ink2); margin-top: 2px; }
.kp-ngoai-le b { font-weight: 600; color: var(--ok); }
.kp-giay { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px 20px; font-family: 'Times New Roman', serif; color: #111; font-size: 14px; }
.kp-in-dau { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: center; font-size: 13px; }
.kp-in-dau .gach { width: 90px; height: 1px; background: #111; margin: 4px auto 0; }
.kp-in-tieu-de { text-align: center; margin: 18px 0 10px; font-family: 'Times New Roman', serif; font-size: 18px; }
.kp-in-ttin { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 10px; }
.kp-in-bang { width: 100%; border-collapse: collapse; font-size: 13px; }
.kp-in-bang th, .kp-in-bang td { border: 1px solid #333; padding: 4px 6px; vertical-align: top; } .kp-in-bang .r { text-align: right; }
.kp-in-bang tr.con td { font-size: 12.5px; } .kp-in-bang tr.con td:nth-child(2) { padding-left: 16px; }
.kp-in-bang tr.tong td { border-top: 2px solid #111; }
.kp-in-kq { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 10px 0; }
@media (max-width: 560px) {
  .kp-group { grid-template-columns: minmax(0, 1fr) 54px; } .kp-group > :nth-child(2) { display: none; }
  .kp-big { font-size: 38px; }
  .kp-actionbar { bottom: 0; margin: 0 -4px; }
  .kp-tiles { grid-template-columns: 1fr 1fr; }
  .kp-luoi-so b { font-size: 24px; }
  .kp-giay { padding: 14px 10px; font-size: 13px; } .kp-in-dau { font-size: 11px; }
}
@media print {
  body:has(.kp-in-trang, .kp-tieu-chi) .side, body:has(.kp-in-trang, .kp-tieu-chi) .topbar, body:has(.kp-in-trang, .kp-tieu-chi) .bottombar,
  body:has(.kp-in-trang, .kp-tieu-chi) .no-print, body:has(.kp-in-trang, .kp-tieu-chi) .toasts, body:has(.kp-in-trang, .kp-tieu-chi) .env-badge,
  body:has(.kp-in-trang, .kp-tieu-chi) .content > :not(.page) { display: none !important; }
  body:has(.kp-in-trang, .kp-tieu-chi) .shell, body:has(.kp-in-trang, .kp-tieu-chi) .main-col, body:has(.kp-in-trang, .kp-tieu-chi) .content { display: block !important; padding: 0 !important; margin: 0 !important; }
  .kp-giay { border: 0; padding: 0; } .kp-in-bang tr { break-inside: avoid; }
  .kp .card { break-inside: avoid; }
}

/* ===== Màn đăng nhập Hugo House (phiếu 11, bản mẫu duyệt 11/10/2026) =====
   Điện thoại: nền #12393F toàn màn, chữ trắng, nút vàng lá logo #FAC800.
   Máy tính ≥ 900 px: chia đôi — trái nền thương hiệu + logo ngang, phải nền sáng (tối theo máy) + nội dung giữa. */
.auth { --a-bg: #24606A; --a-fg: #FFFFFF; --a-btn: var(--sun); --a-btn-fg: #12393F; --a-link: #FFFFFF; --a-ink: #1F2329; --a-brand: var(--accent);
  min-height: 100vh; min-height: 100dvh; display: flex; background: var(--a-bg); color: var(--a-fg);
  font-family: 'Be Vietnam Pro', system-ui, sans-serif; }
.auth-side { display: none; }
.auth-main { flex: 1; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 0 20px max(24px, env(safe-area-inset-bottom)); min-width: 0; }
.auth-body { position: relative; z-index: 1; flex: 1; width: 100%; max-width: 310px; margin: 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 56px 0 8px; }
.auth-dot { position: absolute; border-radius: 50%; pointer-events: none; }
.auth-main .d1 { width: 260px; height: 260px; background: var(--mint); opacity: .18; left: -90px; top: -70px; }
.auth-main .d2 { width: 170px; height: 170px; background: var(--sun); opacity: .25; right: -60px; top: 18%; }
.auth-main .d3 { width: 14px; height: 14px; background: #FF6B57; opacity: .8; left: 40px; top: 30%; }
.auth-foot { position: relative; z-index: 1; text-align: center; font-size: 12px; opacity: .8; margin-top: 16px; }
.auth h1 { font-family: 'Baloo 2', sans-serif; font-weight: 700; color: inherit; letter-spacing: 0; }
.auth-hero { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.auth-hero h1 { font-size: 34px; line-height: 1.1; }
.auth-logo-v { width: min(140px, 18vh); height: auto; display: block; }
.auth-top { position: absolute; left: 0; top: max(16px, env(safe-area-inset-top)); z-index: 2; }

.auth-back { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: inherit; display: grid; place-items: center; cursor: pointer; }
.auth-back:hover { background: rgba(255,255,255,.1); }
.auth-form { display: flex; flex-direction: column; gap: 12px; margin-top: clamp(20px, 4.5vh, 36px); }
.auth-label { font-size: 15px; font-weight: 600; }
.auth-field { height: 56px; border-radius: 28px; background: #FFFFFF; display: flex; align-items: center; gap: 10px; padding: 0 20px; color: var(--a-brand);
  box-shadow: 0 14px 30px -12px rgba(4,40,38,.5); }
.auth-field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; font-size: 16px; color: var(--a-ink); background: transparent; padding: 0; }
.auth-field input::placeholder { color: #6B7280; }
.auth-field:focus-within { box-shadow: 0 0 0 3px #FAC800, 0 14px 30px -12px rgba(4,40,38,.5); }
.auth-btn { height: 52px; border-radius: 26px; border: 0; background: var(--a-btn); color: var(--a-btn-fg); font-size: 17px; font-weight: 700; cursor: pointer; width: 100%; }
.auth-btn:disabled { opacity: .55; cursor: default; }
.auth-btn:not(:disabled):hover { filter: brightness(1.05); }
.auth-btn:focus-visible, .auth-link:focus-visible, .auth-back:focus-visible, .auth-face:focus-visible, .auth-bar button:focus-visible { outline: 3px solid #FAC800; outline-offset: 2px; }
.auth-note { font-size: 13px; line-height: 1.5; text-align: center; opacity: .9; margin-top: 2px; }
.auth-note.left { text-align: left; margin-top: 0; }
.auth-hints { display: none; }
.d-only { display: none; }
.auth .errorbox { font-size: 13.5px; }
.auth-link { border: 0; background: none; padding: 10px 4px; min-height: 44px; color: var(--a-link); font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.auth-link:disabled { opacity: .6; cursor: default; }
.auth-link.other { align-self: center; }
.auth-link.dev { align-self: center; font-size: 13px; opacity: .8; }
.auth-grow { flex: 0; min-height: 28px; }
.auth-dev { margin-top: 18px; border-top-color: rgba(255,255,255,.25); }
.auth-dev summary { color: rgba(255,255,255,.75); }
/* Màn 2 — mã 6 số */
.auth-head { display: flex; flex-direction: column; gap: 10px; }
.auth-head h1 { font-size: 30px; line-height: 1.15; }
.auth-lead { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.auth-form.code { margin-top: clamp(20px, 4.3vh, 36px); gap: 18px; }
.otp-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp-boxes input { height: 56px; min-width: 0; width: 100%; border-radius: 16px; border: 3px solid transparent; background: rgba(255,255,255,.88); text-align: center;
  font-size: 28px; font-weight: 700; color: var(--accent-ink); padding: 0; font-variant-numeric: tabular-nums; outline: none; caret-color: var(--accent-ink); }
.otp-boxes input.filled { background: #FFFFFF; }
.otp-boxes input:focus { border-color: #FAC800; background: #FFFFFF; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.auth-row .auth-link { font-size: 14px; padding-left: 0; padding-right: 0; }
.auth-wait { opacity: .8; }
/* Màn 4 — thanh tên + nút tròn Face ID */
.auth-user { display: flex; align-items: center; gap: 10px; margin-top: clamp(20px, 4.5vh, 36px); }
.auth-bar { flex: 1; min-width: 0; height: 68px; border-radius: 34px; background: #FFFFFF; display: flex; align-items: center; gap: 4px; padding: 0 8px 0 10px;
  box-shadow: 0 14px 30px -12px rgba(4,40,38,.5); }
.auth-bar-main { flex: 1; min-width: 0; height: 56px; border: 0; background: transparent; display: flex; align-items: center; gap: 12px; padding: 0; text-align: left; cursor: pointer; border-radius: 32px; }
.auth-avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #E3F2F0; color: var(--accent-ink); display: grid; place-items: center;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px; }
.auth-bar-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.auth-name { font-weight: 700; font-size: 17px; color: var(--accent-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.auth-go { font-weight: 600; font-size: 15px; color: var(--a-brand); }
.auth-sep { flex: none; width: 1px; height: 32px; background: #E4E6EA; }
.auth-switch { flex: none; width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; color: var(--a-brand); cursor: pointer; border-radius: 50%; }
.auth-switch:hover, .auth-bar-main:not(:disabled):hover .auth-go { color: var(--accent-ink); }
.auth-face { flex: none; width: 68px; height: 68px; border-radius: 50%; border: 0; background: #FFFFFF; color: var(--a-brand); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(4,40,38,.5); }
.auth-face:disabled, .auth-bar-main:disabled { opacity: .6; cursor: default; }
.auth-email { margin-top: 14px; padding-left: 24px; font-size: 13px; opacity: .85; overflow-wrap: anywhere; }
.auth-err { margin-top: 14px; }
.auth .modal { color: var(--ink); text-align: left; max-width: 400px; }
.auth > .overlay { z-index: 50; }
@media (max-height: 640px) { .auth-hero h1 { font-size: 30px; } .auth-body { padding-top: 64px; } }

/* Máy tính: chia đôi */
@media (min-width: 900px) {
  .auth { --a-fg: var(--ink); --a-btn: #24606A; --a-btn-fg: #FFFFFF; --a-link: var(--a-brand); background: #FFFFFF; }
  .auth-side { display: flex; width: 560px; flex: none; position: relative; overflow: hidden; background: #24606A; color: #FFFFFF; flex-direction: column; justify-content: center; padding: 0 72px; }
  .auth-side > * { position: relative; }
  .auth-side .d1 { position: absolute; width: 380px; height: 380px; background: var(--mint); opacity: .25; left: -140px; top: -120px; }
  .auth-side .d2 { position: absolute; width: 260px; height: 260px; background: #FAC800; opacity: .35; right: -90px; bottom: 80px; }
  .auth-side .d3 { position: absolute; width: 22px; height: 22px; background: #FF6B57; left: 96px; bottom: 170px; }
  .auth-logo-h { width: 360px; height: auto; display: block; }
  .auth-slogan { margin-top: 18px; font-family: 'Baloo 2', sans-serif; font-weight: 600; font-size: 24px; opacity: .95; }
  .auth-side-sub { margin-top: 10px; font-size: 16px; opacity: .85; }
  .auth-main { padding: 0 48px 28px; align-items: center; color: var(--a-fg); }
  .auth-main > .auth-dot { display: none; }
  .auth-body { max-width: 380px; justify-content: center; padding: 40px 0 0; }
  .auth-hero + .auth-form, .auth-hero + .auth-user { margin-top: 10px; }
  .auth-foot { color: var(--muted); opacity: 1; }
  .auth-hero { align-items: flex-start; padding-top: 0; gap: 0; }
  .auth-hero h1 { font-size: 34px; line-height: 1.15; }
  .auth-logo-v { display: none; }
  .auth-top { position: static; padding-top: 0; margin-bottom: 24px; }
  .auth-top + .auth-hero { padding-top: 0; }
  .auth-back { border-color: #CBD2D6; color: var(--a-brand); }
  .auth-back:hover { background: #F4F7F7; }
  .auth-form { margin-top: 0; gap: 16px; }
  .auth-hero + .auth-form { margin-top: 10px; }
  .auth-sub { display: block; font-size: 15px; color: var(--muted); }
  .auth-label { font-size: 14px; margin-top: 8px; margin-bottom: -8px; }
  .auth-field { height: 56px; border-radius: 14px; border: 1.5px solid #CBD2D6; box-shadow: none; padding: 0 16px; }
  .auth-field:focus-within { border-color: var(--a-brand); box-shadow: 0 0 0 3px #9FD6D066; }
  .auth-btn { height: 52px; border-radius: 14px; font-size: 16px; }
  .auth-btn:focus-visible { outline-color: var(--a-brand); }
  .m-only { display: none; }
  .auth-hints { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
  .auth-hints li { display: flex; gap: 10px; align-items: flex-start; }
  .auth-hints svg { flex: none; margin-top: 2px; color: var(--a-brand); }
  .auth-head { margin-top: 0; }
  .auth-lead, .auth-note { color: var(--ink2); opacity: 1; }
  .otp-boxes input { background: #FFFFFF; border: 1.5px solid #CBD2D6; border-radius: 14px; height: 60px; }
  .otp-boxes input:focus { border: 3px solid var(--a-brand); }
  .auth-wait { color: var(--muted); opacity: 1; }
  .auth-user { margin-top: 28px; }
  .auth-bar, .auth-face { border: 1.5px solid #E4E6EA; box-shadow: 0 10px 24px -14px rgba(4,40,38,.35); }
  .auth-email { color: var(--muted); opacity: 1; }
  .auth-grow { flex: 0; min-height: 28px; }
  .auth-dev { border-top-color: var(--line); }
  .auth-dev summary { color: var(--muted); }
}
/* Chế độ tối: điện thoại vốn đã nền tối; máy tính đổi nửa phải sang nền tối */
@media (min-width: 900px) and (prefers-color-scheme: dark) {
  .auth { --ink: #E8EEEE; --ink2: #C9D3D3; --muted: #9AABAA; --line: #2B4443; --a-btn: #FAC800; --a-btn-fg: #12393F; --a-link: var(--mint); background: #0E2223; color-scheme: dark; }
  .auth-field, .otp-boxes input { background: #0C1D1D; border-color: #2E4A49; color: var(--ink); }
  .auth-field input, .otp-boxes input { color: var(--ink); }
  .auth-field { color: var(--mint); }
  .auth-back { border-color: #2E4A49; color: var(--mint); }
  .auth-back:hover { background: #18302F; }
  .auth-hints svg { color: var(--mint); }
  .auth .errorbox { background: #3A1A14; color: #FFB4A3; }
}
@media (prefers-color-scheme: dark) { .auth .modal { background: #112423; --ink: #E8EEEE; --muted: #9AABAA; --line2: #22393A; color: var(--ink); } }

/* Màn 3 — mời bật Face ID: khung trượt lên từ dưới (máy tính: khung giữa) */
.sheet-overlay { position: fixed; inset: 0; z-index: 60; background: rgba(11,28,28,.45); display: flex; align-items: flex-end; justify-content: center; animation: sheet-fade .2s ease-out; }
.sheet { width: 100%; max-width: 480px; background: var(--card); color: var(--ink); border-radius: 28px 28px 0 0; padding: 14px 24px max(32px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; animation: sheet-up .25s ease-out; }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: #DADDE1; }
.sheet-icon { margin-top: 14px; width: 96px; height: 96px; border-radius: 50%; background: #E3F2F0; color: var(--accent); display: grid; place-items: center; }
.sheet h2 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 26px; line-height: 1.2; margin: 0; }
.sheet p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
.sheet-btn { margin-top: 8px; width: 100%; height: 56px; border-radius: 28px; border: 0; background: var(--accent); color: #FFFFFF; font-size: 17px; font-weight: 700; cursor: pointer; }
.sheet-btn:disabled { opacity: .6; }
.sheet-later { border: 0; background: none; color: var(--accent); font-size: 15px; padding: 8px 16px; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .sheet-overlay { align-items: center; } .sheet { border-radius: 24px; padding-bottom: 28px; } .sheet-grip { display: none; } }
@media (prefers-color-scheme: dark) { .sheet { background: #112423; --ink: #E8EEEE; --muted: #9AABAA; } .sheet-icon { background: #18302F; color: var(--mint); } .sheet-btn { background: #FAC800; color: #12393F; } .sheet-later { color: var(--mint); } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheet-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sheet, .sheet-overlay { animation: none; } }
.login-brand { height: auto; } .login-brand .logo-full { height: auto; width: min(150px, 20vh); }
.auth.plain .auth-main .d3 { display: none; }
/* Phiếu 11 (chỉnh lần 2, anh Cường 11/10): ô email nằm đúng giữa màn điện thoại; bỏ nút lớn, gửi bằng nút mũi tên trong ô */
.auth-above { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(20px, 4vh, 32px); }
.auth-below { flex: 1; display: flex; flex-direction: column; gap: 12px; padding-top: 14px; }
.auth-above + .auth-form, .auth-above + .auth-user { margin-top: 0; }
.auth-field { padding-right: 6px; }
.auth-go-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--a-btn); color: var(--a-btn-fg); display: grid; place-items: center; cursor: pointer; }
.auth-go-btn:disabled { opacity: .55; cursor: default; }
.auth-go-btn:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.auth-below .auth-email { margin-top: 0; }
.auth-below .auth-note { margin-top: 0; }
.auth-below .auth-link.other { margin-top: 12px; }
.auth-below .auth-err { margin-top: 0; }
@media (min-width: 900px) {
  .auth-above, .auth-below { flex: none; padding: 0; }
  .auth-below { margin-top: 16px; }
  .auth-go-btn { border-radius: 10px; }
  .auth-go-btn:focus-visible { outline-color: var(--a-brand); }
}
/* Phiếu 11 (chỉnh lần 3, bản thiết kế chờ anh Cường duyệt): bỏ chữ "Chào mừng", logo nhỏ hơn, ô email cao hơn giữa màn */
.auth-logo-v { width: min(110px, 14vh); }
.auth-above { flex: .7; padding-bottom: clamp(18px, 3.5vh, 28px); }
.auth-below { flex: 1.3; }
/* Chỉnh lần 4 (anh Cường): logo cách xa ô email hơn; điện thoại không có chữ "Chào mừng", máy tính giữ;
   màn đã nhớ người dùng: "Đăng nhập bằng email khác" thay chỗ dòng email, ngay dưới thanh tên */
.auth-above { padding-bottom: clamp(36px, 7vh, 60px); }
.auth-welcome { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.auth-below .auth-link.other { margin-top: 0; align-self: center; }
@media (min-width: 900px) {
  .auth-welcome { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
  .auth-below .auth-link.other { align-self: flex-start; padding-left: 0; }
}
@media (min-width: 900px) { .auth-above { padding-bottom: 6px; } }
/* Chỉnh lần 5 (anh Cường): ô email cao bằng thanh tên; "Đăng nhập bằng email khác" căn giữa theo thanh tên (không tính nút Face ID) */
.auth-field { height: 68px; border-radius: 34px; padding-left: 22px; padding-right: 8px; }
.auth-go-btn { width: 52px; height: 52px; }
.auth-below.with-face .auth-link.other { align-self: flex-start; width: calc(100% - 78px); text-align: center; }
@media (min-width: 900px) {
  .auth-field { height: 56px; border-radius: 14px; padding-left: 16px; padding-right: 6px; }
  .auth-go-btn { width: 44px; height: 44px; }
}
/* Chỉnh lần 6 (anh Cường 12/10/2026): máy tính cũng căn "Đăng nhập bằng email khác" giữa thanh tên (không tính nút Face ID), như điện thoại */
@media (min-width: 900px) {
  .auth-below .auth-link.other { align-self: center; }
  .auth-below.with-face .auth-link.other { align-self: flex-start; width: calc(100% - 78px); text-align: center; }
}
@media (min-width: 900px) { .auth-above + .auth-form, .auth-above + .auth-user { margin-top: 14px; } }
/* Chỉnh lần 7 (anh Cường 12/10/2026): máy tính căn chữ "Chào mừng" giữa ô email / thanh tên (không tính nút Face ID) */
@media (min-width: 900px) {
  .auth-hero { align-items: center; text-align: center; }
  .auth-above.with-face .auth-hero { width: calc(100% - 78px); }
  .auth-below .auth-link.other { padding-left: 4px; padding-right: 4px; } /* bỏ lệch 2px do padding trái 0 của lần 4 */
}

/* ---------- KPI dễ dùng (phiếu 14): tab Của tôi · Tôi kiểm · Tôi duyệt, chip tháng có trạng thái, hàng đợi ---------- */
.kp-tabs { display: flex; align-items: center; gap: 8px; margin: -4px 0 12px; }
.kp-tabs-in { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; flex: 1; background: #EEF0F3; border-radius: 12px; padding: 4px; gap: 4px; }
.kp-tabs-in a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border-radius: 9px; color: var(--ink2); font-weight: 600; text-decoration: none; font-size: 14px; text-align: center; line-height: 1.2; }
.kp-tabs-in a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.kp-tabs-in .nb { margin-left: 0; color: #2A0F0A; }
.kp-ql { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink2); font-weight: 600; font-size: 13px; text-decoration: none; white-space: nowrap; }
.kp-thang-chip { margin: 0 0 12px; }
.kp-thang-chip .kp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kp-thang-chip .kp-chip { min-width: 52px; justify-content: center; gap: 3px; }
.kp-thang-chip .kp-chip small { font-weight: 400; opacity: .75; }
.kp-thang-chip .kp-chip.ghost { color: var(--muted); border-style: dashed; }
.kp-dau { font-style: normal; font-weight: 700; font-size: 12px; line-height: 1; }
.kp-dau.ok { color: #1B6B3A; } .kp-dau.mo { color: #C27C00; } .kp-dau.warn { color: #B3261E; }
.kp-chip.on .kp-dau { color: #fff; }
.kp-thang-tt { margin-top: 4px; }
.kp-cho .nb { margin-left: 0; }
.kp-cho .h3 { margin: 0; }
.kp-tien-do-khoi .kp-tien-do { margin-top: 4px; }
@media (max-width: 760px) {
  .kp-tabs-in a { font-size: 13px; }
  .kp-ql { padding: 0 10px; }
  .kp-ql span { display: none; }
}
.kp-ql.on { background: var(--accent); border-color: var(--accent); color: #fff; }
/* Phân quyền kiểu app KPI cũ (phiếu 16): bảng tick theo vị trí, quyền một người */
.pq-wrap { max-height: 72vh; overflow: auto; }
.tbl.pq { min-width: 0; font-size: 13px; }
.tbl.pq th, .tbl.pq td { padding: 6px 6px; }
.tbl.pq td.pq-ten, .tbl.pq th.pq-ten { position: sticky; left: 0; background: var(--card); z-index: 1; min-width: 220px; max-width: 280px; white-space: normal; }
.tbl.pq tr.grp td { position: sticky; left: 0; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tbl.pq thead th { position: sticky; top: 0; background: var(--card); z-index: 2; }
.tbl.pq thead tr:nth-child(2) th { top: 31px; }
.tbl.pq thead th.pq-ten { z-index: 3; }
.tbl.pq th.pq-nhom { border-bottom: 2px solid var(--accent-line); color: var(--ink2); }
.tbl.pq th.pq-cot { min-width: 64px; max-width: 84px; white-space: normal; line-height: 1.2; vertical-align: bottom; }
.tbl.pq .c { text-align: center; }
.pq-nut { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%; padding: 4px 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; font-weight: 600; color: var(--ink2); font-size: 12px; }
.pq-nut:hover { border-color: var(--accent); }
.pq-sua { font-size: 11px; font-weight: 500; color: var(--accent); }
.tbl.pq td.pq-o.sua { cursor: pointer; }
.tbl.pq td.pq-o.sua:hover { background: var(--accent-soft); }
.pq-co { color: var(--ok); font-weight: 700; }
.pq-tag { margin-left: 6px; font-size: 11px; padding: 1px 7px; }
.pq-set { border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px 8px; margin: 0; }
.pq-set legend { padding: 0 4px; text-transform: uppercase; letter-spacing: .04em; }
.pq-set .check { align-items: flex-start; }
.pq-set .check.off { opacity: .6; cursor: default; }
.pq-dong { display: inline; line-height: 1.5; }
.pq-mob { display: none; }
.pq-mob .chip { white-space: normal; max-width: 100%; }
.pq-mob-nhom { text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
@media (max-width: 760px) {
  .pq-desk { display: none; }
  .pq-mob { display: flex; }
}
/* phiếu 16b: quyền một người — vai trò, nhiệm vụ, quyền lẻ */
.pq-khoi { padding: 8px 12px; border-radius: 10px; background: #F4F7F7; }
.pq-nv { border-top: 1px solid var(--line2); padding: 6px 0; }
.pq-nv .check { align-items: flex-start; }
.pq-nv .check.off { opacity: .6; cursor: default; }
.pq-mota { display: block; }
.pq-giao { margin: 4px 0 4px 26px; }
.pq-x { border: 0; background: none; cursor: pointer; padding: 0 0 0 4px; font-weight: 700; color: var(--muted); }
.pq-le { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.pq-le > summary { cursor: pointer; }

/* Trang Nhân sự (phiếu 16c, sắp lại theo khung chuẩn ở phiếu 16d): đầu trang → một tầng tab → thanh công cụ → nội dung */
.ns-dau { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: nowrap; }
.ns-dau h1 { margin: 0; }
.ns-coso-chon { width: auto; max-width: 48%; min-height: 40px; border-radius: 20px; padding: 0 30px 0 14px; font-weight: 600; flex: none; }
.ns-he-thong { flex: none; }
.ns-tabs { overflow-x: auto; scrollbar-width: none; margin-bottom: 4px; }
.ns-tabs::-webkit-scrollbar { display: none; }
.ns-tabs .tabs { flex-wrap: nowrap; min-width: max-content; }
.ns-tabs .tabs button { white-space: nowrap; }
.ns-cong-cu { display: flex; flex-direction: column; gap: 8px; }
.ns-thanh { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ns-thanh > select, .ns-thanh > input { width: auto; min-width: 0; }
.ns-thanh > .grow { flex: 1 1 auto; min-width: 0; }
.ns-thanh > .btn, .ns-thanh > .menu-nut { flex: none; }
.ns-nhom-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 16px 6px; border-bottom: 1px solid var(--line2); }
/* Dòng người: cột tên co giãn, cột nút cố định (Sửa 56px · Quyền 72px) — nút luôn thẳng hàng kể cả khi dòng thiếu nút */
.ns-dong { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.ns-ten { min-width: 0; color: inherit; }
.ns-ten .b { overflow-wrap: anywhere; }
.ns-le { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ns-le .chip { white-space: normal; font-size: 11px; }
.ns-le .chip.ns-nv { background: #E6EEFA; color: #1F5BA8; }
.ns-nut { display: flex; gap: 6px; align-items: center; }
.ns-nut .ns-o-sua { width: 56px; } .ns-nut .ns-o-quyen { width: 72px; }
.ns-nut .btn.sm { justify-content: center; padding: 0; }
@media (max-width: 600px) { .ns-nhom .person-row { padding: 8px 12px; } }
/* Thẻ lớp: bảng 3 cột cố định — vai · người · nút bỏ */
.ns-lop-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ns-lop { display: flex; flex-direction: column; min-width: 0; overflow: visible; }
.ns-lop-dau { display: flex; align-items: center; gap: 8px; padding: 8px 6px 8px 14px; border-bottom: 1px solid var(--line2); min-height: 52px; }
.ns-lop-bang { display: grid; grid-template-columns: 92px minmax(0, 1fr) 36px; align-items: center; column-gap: 8px; padding: 4px 6px 4px 14px; }
.ns-lop-bang > * { min-height: 38px; display: flex; align-items: center; }
.ns-vai { color: var(--muted); font-size: 13px; }
.ns-nguoi { overflow-wrap: anywhere; color: inherit; }
.ns-nguoi:hover { color: var(--accent); text-decoration: underline; }
.ns-kiem { margin-left: 6px; font-size: 10.5px; padding: 0 6px; vertical-align: 1px; }
.ns-bo { width: 36px; height: 36px; color: var(--muted); }
.ns-lop-them { margin: 4px 14px 14px; justify-content: center; border-style: dashed; color: var(--accent); font-weight: 600; margin-top: auto; }
/* Gợi ý thu gọn (ⓘ) và menu nút */
.goi-y { font-size: 13px; }
.goi-y > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; color: var(--accent); list-style: none; min-height: 32px; }
.goi-y > summary::-webkit-details-marker { display: none; }
.goi-y-noi-dung { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: #EEF4FB; color: #1D3F66; line-height: 1.5; }
.menu-nut { position: relative; display: inline-flex; }
.menu-nut-ds { position: absolute; right: 0; top: calc(100% + 4px); z-index: 30; min-width: 200px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 4px; display: flex; flex-direction: column; }
.menu-nut-ds button { text-align: left; border: 0; background: none; padding: 10px 12px; min-height: 42px; border-radius: 8px; cursor: pointer; font: inherit; color: var(--ink); }
.menu-nut-ds button:hover { background: var(--line2); }
.menu-nut-ds button.nguy { color: #A33A1F; }
/* Vai trò trên điện thoại: thẻ gọn */
.pq-the { padding: 10px 14px; }
.pq-the-dau { display: flex; align-items: center; gap: 10px; }
.pq-the-ds > summary { cursor: pointer; color: var(--accent); margin-top: 6px; }
.pq-the-ds > .row { margin-top: 6px; }
.ns-dau h1 { white-space: nowrap; }
.ns-thanh > select.ns-hep { flex: 0 1 auto; max-width: 34%; }
.ns-dau > .row { flex: 1 1 auto; min-width: 0; }
.ns-dau > .ns-coso-chon { flex: 0 1 auto; min-width: 0; max-width: 42vw; text-overflow: ellipsis; }
.ns-thanh > select.grow { flex: 1 1 0; }
.ns-thanh > select.ns-hep { flex: 0 1 30%; max-width: 30%; }
.ns-lop-luoi { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (min-width: 761px) {
  .ns-thanh > select.grow { flex: 0 1 340px; }
  .ns-thanh > .btn.primary, .ns-thanh > .menu-nut:last-child { margin-left: auto; }
  .ns-thanh > select.ns-hep { flex: 0 1 200px; max-width: 200px; }
}
/* KPI theo khung chuẩn (Tôi kiểm gọn, 12/10/2026): tab gạch chân một tầng, Quản lý là tab cuối */
.tabs a { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 14px; border-bottom: 2px solid transparent; color: var(--ink2); text-decoration: none; white-space: nowrap; }
.tabs a.on { border-bottom-color: var(--accent); color: var(--accent); font-weight: 600; }
.kp-tabs.ns-tabs { display: block; margin: -4px 0 8px; }
.kp-tabs .kp-tabs-in { display: flex; background: none; border-radius: 0; padding: 0; gap: 2px; flex-wrap: nowrap; min-width: max-content; }
.kp-tabs .kp-tabs-in a { justify-content: flex-start; border-radius: 0; min-height: 42px; font-size: 14px; box-shadow: none; }
.kp-tabs .kp-tabs-in a.on { background: none; color: var(--accent); box-shadow: none; }
.kp-tabs .kp-tabs-in .nb { color: #fff; }
.kp-thang-the { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; }
.kp-nhan { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; border-radius: 10px; padding: 1px 8px; background: #EEF1F2; color: #3E4F54; white-space: nowrap; }
.kp-nhan.bad { background: #FBE7E3; color: #8E2A17; } .kp-nhan.warn { background: #FFF1DE; color: #7A4300; }
.kp-nhan.info { background: #E6EEF8; color: #1D3F66; } .kp-nhan.good { background: #E3F4EA; color: #1B6B3A; }
.kp-nhan-ds { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.kp-hanh-dong { display: flex; gap: 8px; margin: 12px 0; }
.kp-hanh-dong > .btn, .kp-hanh-dong > a.btn { flex: 1 1 auto; justify-content: center; min-height: 48px; font-weight: 700; }
.kp-hanh-dong > .menu-nut { flex: 0 0 auto; }
.kp-hanh-dong > .menu-nut > .btn { min-height: 48px; font-weight: 700; }
.kp-hanh-dong > .menu-nut:only-child { flex: 1 1 auto; } .kp-hanh-dong > .menu-nut:only-child > .btn { width: 100%; justify-content: center; }
.kp-khoi-gon { padding: 0 0 6px; margin-bottom: 12px; }
.kp-khoi-dau { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 12px 14px 6px; }
.kp-khoi-dau h2 { margin: 0; font-size: 16px; }
.kp-khoi-gon .kp-list { padding: 0 14px; }
.kp-khoi-dong { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 4px 10px; }
.kp-khoi-ten { display: flex; align-items: center; gap: 6px; min-width: 0; font-weight: 600; }
.kp-khoi-ten > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kp-khoi-dong .kp-tien-do { margin-top: 0; }
.kp-khoi-ct { grid-column: 1 / -1; }
/* Tôi duyệt, Quản lý gọn (12/10/2026) */
.kp-so-cho { color: #B3261E; }
.kp-buoc-ds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.kp-buoc-ds li { display: flex; align-items: center; gap: 8px; }
.kp-buoc-ds li > span { flex: none; width: 20px; height: 20px; border-radius: 10px; background: #FBE7E3; color: #8E2A17; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.kp-buoc-ds li.xong { color: var(--muted); } .kp-buoc-ds li.xong > span { background: #E3F4EA; color: #1B6B3A; }
.kp-thang-the > .btn.lg { justify-content: center; }
.kp-ql-buoc { gap: 10px; }
.kp-ql-buoc.dang { background: #F6FAFA; }
.kp-buoc-so { flex: none; width: 26px; height: 26px; border-radius: 13px; background: #E6ECEE; color: #3E4F54; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.kp-buoc-so.dang { background: var(--accent); color: #fff; } .kp-buoc-so.xong { background: #E3F4EA; color: #1B6B3A; }

/* ---------- Bàn làm việc (phiếu 17) ---------- */
.blv-dau { align-items: flex-end; }
.blv-chon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.blv-ban { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 0 4px 0 10px; background: var(--card); max-width: 100%; }
.blv-ban > span { font-size: 13px; color: var(--muted); }
.blv-ban select { border: 0; background: transparent; font-weight: 700; min-height: 38px; padding: 0 6px; max-width: 100%; }
.blv-luoi { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 12px; }
.blv-cot { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.blv-cot:empty { display: none; }
.blv-o { display: flex; flex-direction: column; min-width: 0; }
.blv-o-dau { display: flex; align-items: center; gap: 8px; padding: 12px 14px 6px; min-width: 0; }
.blv-o-dau h2 { margin: 0; font-size: 15px; flex: 1; min-width: 0; }
.blv-so { color: var(--danger, #B3261E); }
.blv-ph { font-size: 11px; color: var(--muted); white-space: nowrap; }
.blv-o-than { padding: 4px 14px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.blv-o-chan { display: flex; justify-content: space-between; gap: 8px; padding: 8px 14px; border-top: 1px solid var(--line2); font-size: 12px; color: var(--muted); margin-top: auto; }
.blv-o-chan a { font-weight: 600; }
.blv-trong { font-size: 13px; color: var(--muted); padding: 6px 0; }
.blv-ds { display: flex; flex-direction: column; }
.blv-ds > * + * { border-top: 1px solid var(--line2); }
.blv-viec, .blv-tin, .blv-sn { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: inherit; text-decoration: none; min-width: 0; }
.blv-viec .grow, .blv-tin .grow, .blv-sn .grow { display: flex; flex-direction: column; min-width: 0; }
.blv-viec .btn { flex: none; min-width: 72px; justify-content: center; }
.blv-tag { flex: none; width: 76px; text-align: center; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 2px 6px; background: #E6EEEF; color: #2F5B63; }
.blv-muc { flex: none; font-size: 11px; font-weight: 600; border-radius: 10px; padding: 1px 8px; }
.blv-them { align-self: flex-start; border: 0; background: none; color: var(--accent); font-weight: 600; padding: 4px 0; cursor: pointer; }
.blv-loi-tat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.blv-loi-tat a { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 4px; font-size: 12px; text-align: center; color: inherit; text-decoration: none; }
.blv-so-lon { font-size: 26px; font-weight: 700; line-height: 1.1; }
.blv-so-lon small { font-size: 13px; font-weight: 500; color: var(--muted); }
/* Biểu đồ nhân sự theo cơ sở (ô OChung). Trước 12/11 dùng lớp .blv-cot — trùng lớp cột ô của bàn nên đè mọi <i>, <b> trong ô (vạch đè "38 quá hạn", số lệch phải ở Báo hỏng) */
.blv-bieu-cs { display: flex; flex-direction: column; gap: 2px; }
.blv-bieu-cs > div { display: grid; grid-template-columns: 90px minmax(0, 1fr) 36px; align-items: center; gap: 8px; font-size: 12px; padding: 3px 0; }
.blv-bieu-cs i { display: block; height: 8px; border-radius: 4px; background: var(--accent); }
.blv-bieu-cs b { text-align: right; }
.blv-cs-ds { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.blv-cs { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.blv-td { display: flex; flex-direction: column; gap: 4px; padding: 6px 0; }
.blv-ky { font-size: 12px; min-height: 30px; padding: 0 6px; max-width: 170px; }
@media (max-width: 760px) {
  .blv-luoi { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .blv-cot { gap: 12px; }
  .blv-tag { width: auto; }
  .blv-viec .btn { min-width: 0; }
}

/* ===== Chat: cử chỉ & bàn phím iPhone (lấy từ Zalo Chat Kit của anh Cường) ===== */
/* Vuốt phải để trả lời: biểu tượng hiện bên trái tin */
.msg-main { position: relative; transition: transform .15s ease; }
.msg-swipe-reply { position: absolute; left: -30px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; color: var(--accent); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
/* Điện thoại: không dùng thanh công cụ rê chuột (chạm vào tin không bật nó lên nữa) — nhấn giữ để mở menu */
@media (hover: none) {
  .msg:hover .msg-tools, .msg.sel .msg-tools { display: none; }
  .msg:hover { background: transparent; }
  .msg-main { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
}
.msg.menu-on { background: #F5F9F9; }
/* Menu thao tác tin */
.msgm-back { position: fixed; inset: 0; z-index: 1100; background: rgba(0,0,0,.42); display: flex; align-items: center; justify-content: center; padding: 16px; }
.msgm-back.at { background: transparent; display: block; padding: 0; }
.msgm { width: min(340px, 100%); display: flex; flex-direction: column; gap: 8px; }
.msgm-back.at .msgm { width: 280px; }
.msgm-react { align-self: center; background: #fff; border-radius: 999px; padding: 4px 6px; display: flex; gap: 2px; box-shadow: 0 6px 22px rgba(0,0,0,.18); }
.msgm-react button { border: 0; background: none; font-size: 24px; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; }
.msgm-react button:hover, .msgm-react button:focus-visible { background: #F1F3F5; }
.msgm-preview { background: #fff; border-radius: 14px; padding: 10px 12px; font-size: 14px; max-height: 120px; overflow: hidden; overflow-wrap: anywhere; white-space: pre-wrap; }
.msgm-grid { background: #fff; border-radius: 16px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px 4px; box-shadow: 0 6px 22px rgba(0,0,0,.18); }
.msgm-grid button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 2px; min-height: 64px; font-size: 12.5px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.msgm-grid button svg { color: var(--accent); }
.msgm-grid button.danger, .msgm-grid button.danger svg { color: var(--late); }
.msgm-grid button:hover, .msgm-grid button:focus-visible { background: #F1F3F5; }
.msgm-back.at .msgm-react { align-self: flex-start; }
.msgm-back.at .msgm-grid { grid-template-columns: 1fr; padding: 6px; }
.msgm-back.at .msgm-grid button { flex-direction: row; gap: 10px; padding: 8px 12px; min-height: 38px; font-size: 14px; }
@media (prefers-color-scheme: dark) {
  .msgm-react, .msgm-preview, .msgm-grid { background: #1B2A2A; color: #E8EEEE; }
  .msgm-grid button { color: #E8EEEE; } .msgm-grid button svg { color: var(--mint); }
  .msgm-react button:hover, .msgm-grid button:hover { background: #24393A; }
}
/* Danh sách: vuốt trái 1 dòng → Ghim · Tắt thông báo · Đã đọc */
.chat-item-wrap { overflow: hidden; border-radius: 10px; }
.chat-item-wrap .chat-item { position: relative; z-index: 1; background: #FAFCFC; transition: transform .18s ease; }
.chat-item-wrap .chat-item.on { background: #E6F0F0; }
.chat-swipe-acts { position: absolute; inset: 0 0 0 auto; width: 216px; display: flex; }
.chat-swipe-acts button { flex: 1; border: 0; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; font-weight: 600; cursor: pointer; }
.chat-swipe-acts .pin { background: #0E7C74; } .chat-swipe-acts .mute { background: #64748B; } .chat-swipe-acts .read { background: var(--accent); }
@media (hover: hover) and (pointer: fine) { .chat-swipe-acts { display: none; } }
.chat-item-wrap .chat-more { z-index: 2; }   /* nằm trên dòng (dòng có z-index để vuốt) */
.chat-item-wrap.swiped .chat-more { display: none; }
.chat-item-wrap:not(.swiped):not(.dragging) .chat-swipe-acts { visibility: hidden; }   /* không lộ màu nút ở góc bo của dòng */
@media (prefers-reduced-motion: reduce) { .msg-main, .chat-item-wrap .chat-item { transition: none; } }
/* Bàn phím iPhone mở: hội thoại vừa khít phần màn hình còn thấy (--vvtop, --vvh do lib/chatGestures.ts đặt) */
@media (max-width: 760px) {
  html.kb-open .chat.has-conv .chat-conv:not(.embed) { position: fixed; left: 0; right: 0; top: var(--vvtop, 0px); height: var(--vvh, 100dvh); z-index: 60; background: var(--card); }
  html.kb-open .chat.has-conv .composer { padding-bottom: 8px; }
}
/* Bàn làm việc sắp lại (phiếu 17b): tab bàn, hàng ứng dụng, tin khẩn một dòng */
.blv-tabs { margin-top: 6px; }
.blv-apps { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; padding-top: 6px; }
.blv-apps a { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 72px; flex: none; font-size: 12px; text-align: center; color: var(--ink); text-decoration: none; }
.blv-apps a > span:last-child { line-height: 1.25; }
.blv-app-bt { position: relative; width: 50px; height: 50px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.blv-apps a:hover .blv-app-bt { border-color: var(--accent); }
.blv-app-bt i { position: absolute; top: -5px; right: -7px; min-width: 18px; text-align: center; background: #B3261E; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; border-radius: 9px; padding: 0 5px; line-height: 18px; }
/* Ô phân hệ dùng chung (phiếu 800d): ô sáng khi có việc hôm nay / quá hạn; huy hiệu đỏ (quá hạn) · trắng (ô sáng) · xám (ô dịu).
   Màu ô đặt bằng style từ lib/mau-phan-he.ts; huy hiệu cố định ở đây (đã đo tương phản ≥ 4,5 : 1). */
.o-ph i.o-ph-so { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; box-sizing: border-box; padding: 0 5px; border-radius: 10px;
  border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1; }
.o-ph i.o-ph-so.do { background: #D13B3B; color: #fff; }
.o-ph i.o-ph-so.trang { background: #fff; color: #1D2327; box-shadow: 0 0 0 1px rgba(16,24,40,.12); }
.o-ph i.o-ph-so.xam { background: #E8EAEC; color: #3D4850; }
.o-ph.sang .o-ph-ten { font-weight: 600; }
.blv-apps a.blv-chi-dt { display: none; }   /* ô "Tất cả": chỉ điện thoại (khối @media bên dưới bật lại) */
.blv-apps a.o-ph:hover .blv-app-bt, .them-luoi a.o-ph:hover .them-bt { filter: brightness(.97); }
.ann-banner.gon { flex-wrap: nowrap; gap: 10px; padding: 8px 12px; font-size: 13px; }
.ann-banner.gon .grow { min-width: 0; }
.ann-banner.gon a { color: inherit; text-decoration: underline; white-space: nowrap; }

/* Phân hệ có menu riêng (phiếu 17b): đầu menu ‹ tên ▦, lưới chuyển ứng dụng, tên phân hệ trên thanh trên */
.ph-dau { display: flex; align-items: center; gap: 6px; padding: 2px 0 10px; margin-bottom: 4px; border-bottom: 1px solid rgba(255,255,255,.14); }
.ph-dau b { font-size: 18px; color: #fff; }
.ph-chuyen { position: relative; }
.ph-luoi { position: absolute; left: 0; top: 44px; z-index: 80; background: #fff; color: var(--ink); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.22);
  padding: 10px; display: grid; grid-template-columns: repeat(3, 84px); gap: 4px; }
.ph-luoi a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border-radius: 10px; font-size: 12px; color: var(--ink); text-decoration: none; text-align: center; }
.ph-luoi a:hover { background: #EEF3F4; }
.ph-bt { position: relative; width: 42px; height: 42px; border-radius: 12px; background: #E6EEEF; color: #2F5B63; display: flex; align-items: center; justify-content: center; }
.ph-bt i { position: absolute; top: -5px; right: -8px; background: #B3261E; color: #fff; font-size: 10px; font-style: normal; font-weight: 700; border-radius: 8px; padding: 0 5px; line-height: 16px; }
.ph-ve { margin-top: 14px; opacity: .85; }
.ph-ten { display: inline-flex; align-items: center; gap: 2px; font-weight: 700; color: var(--accent); white-space: nowrap; text-decoration: none; font-size: 15px; }
.shell.mini .ph-dau b, .shell.mini .ph-dau .ph-chuyen { display: none; }
@media (min-width: 761px) { .shell.co-ph .kp-tabs, .shell.co-ph .ns-tabs-ph, .shell.co-ph .ns-chi-dt { display: none; } }   /* trong phân hệ, máy tính: menu trái thay tab + nút trùng */
@media (max-width: 760px) {
  .topbar .ph-ten { font-size: 16px; } .topbar .ph-ten + .searchbox { min-width: 0; }
  /* Phiếu 800d (bản vẽ B): lưới 4 cột, mọi ô thấy ngay — không còn trang 2 phải vuốt ngang */
  .blv-apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 4px; margin: 0; padding: 14px 4px 10px; }
  .blv-apps a { width: auto; font-size: 13px; }
  .blv-app-bt { width: 56px; height: 56px; border-radius: 18px; }
  /* Điện thoại tối đa 2 hàng (anh chốt 18/10): "Của tôi" + phân hệ thứ 8 trở đi ẩn, ô "Tất cả" gộp số của chúng */
  .blv-apps a.blv-chi-mt { display: none; }
  .blv-apps a.blv-chi-dt { display: flex; }
  .blv-cham { display: flex; justify-content: center; gap: 6px; padding: 2px 0 10px; }
}

/* Phiếu 17c — điện thoại kiểu AMIS: lưới lối tắt trong khung, thanh dưới ẩn trong phân hệ, màn Thêm, trang mở đầu KPI */
.blv-apps-khung { margin-top: 12px; padding: 0 12px; }
.blv-cham { display: none; }
.blv-cham i { width: 6px; height: 6px; border-radius: 3px; background: #C9D3D6; }
.blv-cham i.on { background: var(--accent); width: 14px; }
.blv-viec > a.grow { display: flex; flex-direction: column; min-width: 0; color: inherit; text-decoration: none; }
.kp-dem { flex: none; min-width: 26px; text-align: center; background: #EEF1F2; color: var(--ink); border-radius: 10px; padding: 1px 9px; font-size: 13px; font-weight: 700; }
.kp-dem.do { background: #FBE7E3; color: #B3261E; }
.kp-khoi-dau.kp-link { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.kp-khoi-dau.kp-link h2 { flex: 1; }
.kp-xem-them { display: block; text-align: center; padding: 10px; border-top: 1px solid var(--line2); font-weight: 600; font-size: 13px; }
.kp-muc-ds .kp-item { gap: 10px; }
.them-h1 { margin-bottom: 12px; }
.them-ho-so { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: inherit; text-decoration: none; }
.them-ho-so .grow { display: flex; flex-direction: column; min-width: 0; }
.them-ho-so b { font-size: 17px; }
.them-nhom { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; padding: 18px 4px 8px; }
.them-luoi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 6px; padding: 16px 8px; }
.them-luoi a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; text-align: center; color: var(--ink); text-decoration: none; }
.them-bt { position: relative; width: 52px; height: 52px; border-radius: 16px; background: #E6EEEF; color: #2F5B63; display: flex; align-items: center; justify-content: center; }
.them-bt i { position: absolute; top: -5px; right: -7px; min-width: 18px; text-align: center; background: #B3261E; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; border-radius: 9px; padding: 0 5px; line-height: 18px; }
.them-ds a, .them-ds button { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-top: 1px solid var(--line2); background: none; width: 100%; font: inherit; color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; }
.them-ds > :first-child { border-top: 0; }
.them-dang-xuat { color: #B3261E !important; }
@media (max-width: 760px) {
  .blv-apps-khung { padding: 0; }
  .blv-cham { display: flex; }
  .shell.co-ph .content { padding-bottom: 32px; }
  .topbar .ph-ten { font-size: 18px; }
}
.kp-khoi-dau.kp-link { padding: 12px 14px 6px; min-height: 0; }
.kp .card.kp-muc-ds { padding: 2px 14px; }
.kp-muc-ds > .kp-item { padding: 12px 0; align-items: center; }
.kp-muc-ds > .kp-item:first-child { border-top: 0; }
/* Hàng soạn tin kiểu Zalo (phiếu 19): ô gõ chiếm hết chỗ còn lại; điện thoại: mặt cười · ô gõ · ⋯ · micro · ảnh, đang gõ → nút Gửi */
.composer textarea { flex: 1; min-width: 0; }
@media (max-width: 760px) {
  .composer-row { border: 0; padding: 0; gap: 0; border-radius: 0; background: transparent; align-items: flex-end; }
  .composer-row:focus-within { box-shadow: none; }
  .composer-row > .icon-btn, .composer-row > .cs-voice.icon-btn { width: 44px; height: 44px; color: var(--muted); }
  .composer-row .cs-emoji { order: 0; } .composer-row textarea { order: 1; padding: 10px 4px; }
  .composer-row .cs-more { order: 2; } .composer-row .cs-voice { order: 3; } .composer-row .cs-media { order: 4; } .composer-row .cs-send { order: 5; }
  .composer-row .cs-attach, .composer-row .cs-poll { display: none; }
  .composer-row:not(.typing) .cs-send { display: none; }
  .composer-row.typing .cs-more, .composer-row.typing .cs-media, .composer-row.typing button.cs-voice { display: none; }
  .composer-row .cs-send { width: 44px; height: 44px; border-radius: 50%; }
  .composer-row .cs-more.on { background: var(--accent-soft); color: var(--accent); border-radius: 50%; }
  .composer-row .voice-rec { order: 3; }
  .composer-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; padding: 14px 6px 6px; border-top: 1px solid var(--line); margin-top: 8px; }
  .composer-more button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); cursor: pointer; }
  .composer-more .ico { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
  .composer-more .ico-file { background: var(--side-on); color: var(--accent); } .composer-more .ico-poll { background: #FDF3D0; color: #8A5A00; }
  .kb-debug { font: 11px/1.3 ui-monospace, monospace; background: #FFF4CC; color: #5C4400; padding: 2px 8px; border-bottom: 1px solid #F0D98A; }
}

/* Tài khoản thử (phiếu 17f — chỉ bản thử): dải vàng trên đầu trang khi đang xem bằng người giả */
.tkt-dai { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #FFF4CC; color: #5A4300; border: 1px solid #F2D16B;
  border-radius: 12px; padding: 8px 12px; margin: 0 0 12px; font-size: 14px; }
.tkt-dai .grow { flex: 1; min-width: 180px; }
.tkt-nhom h2 { margin: 12px 0 4px; }
@media (prefers-color-scheme: dark) { .tkt-dai { background: #3A3110; color: #FBE7A1; border-color: #6B5A1E; } }
.tkt-loc { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.tkt-loc .input { flex: 1; margin: 0; min-width: 0; }

/* ---------- Quy trình (phiếu 200b): điện thoại trước, dùng được ở 360px; nút cao ≥ 44px ---------- */
.wf { --wf-ngoc: #0F6E6E; --wf-ngoc-dam: #0B5454; --wf-ngoc-nhat: #DDF1EF; --wf-cam: #9A3412; --wf-cam-nhat: #FDEBDD; --wf-lam: #1E3A8A; --wf-lam-nhat: #E0E8FB; }
.wf .wf-ngoc-chu { color: var(--wf-ngoc-dam); }
.wf-nhan { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 10px; white-space: nowrap; }
.wf-nhan.wf-ngoc { color: var(--wf-ngoc-dam); background: var(--wf-ngoc-nhat); } .wf-nhan.wf-cam { color: var(--wf-cam); background: var(--wf-cam-nhat); }
.wf-nhan.wf-lam { color: var(--wf-lam); background: var(--wf-lam-nhat); } .wf-nhan.wf-xam { color: var(--ink2); background: #EEF0F3; }
.wf-nhan.wf-do { color: #A33A1F; background: #FDE8E4; }
.wf-tien { font-size: 17px; font-weight: 700; white-space: nowrap; } .wf-tien.lon { font-size: 22px; }
.wf-ds { display: flex; flex-direction: column; gap: 12px; }
.wf-the { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; color: inherit; }
.wf-the:hover { border-color: var(--accent-line); } .wf-the.cam { border-color: #F3C9B5; }
.wf-the-ten { font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.wf-doan { display: flex; gap: 4px; } .wf-doan i { flex: 1; height: 6px; border-radius: 3px; background: #E3E8EF; }
.wf-doan i.qua { background: var(--wf-ngoc); } .wf-doan i.nay { background: #9FD3CD; }
.wf-rong { padding: 28px 8px; text-align: center; }
.wf-loc { display: flex; gap: 8px; margin: 0 0 14px; overflow-x: auto; scrollbar-width: none; }
.wf-loc-nut { flex: 0 0 auto; min-height: 44px; padding: 0 16px; border-radius: 22px; border: 1px solid #C9D2DE; background: #fff; font-weight: 500; cursor: pointer; }
.wf-loc-nut.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.wf-co-fab { padding-bottom: 96px; }
.wf-fab { position: fixed; right: 20px; bottom: 24px; z-index: 30; height: 56px; padding: 0 22px; border-radius: 28px; background: var(--wf-ngoc, #0F6E6E); color: #fff;
  font-size: 16px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 6px 16px rgba(15,110,110,.3); }
.wf-fab:hover { background: #0B5454; }
@media (min-width: 900px) { .wf-fab { position: sticky; float: right; bottom: 24px; margin-top: 16px; } }
.wf-buoc { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.wf-buoc-dau h1 { font-size: 24px; }
.wf-loai { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .wf-loai { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wf-loai-the { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 132px; padding: 14px; text-align: left; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; cursor: pointer; }
.wf-loai-the:hover:not(:disabled) { border-color: var(--wf-ngoc); box-shadow: 0 0 0 1px var(--wf-ngoc); }
.wf-loai-the:disabled { cursor: default; opacity: .6; } .wf-loai-the .b { font-size: 15px; line-height: 1.3; }
.wf-loai-xem { color: var(--wf-ngoc-dam); font-weight: 600; margin-top: auto; } .wf-loai-the.sau .wf-loai-xem { color: var(--muted); }
.wf-form { display: flex; flex-direction: column; gap: 14px; }
.wf-truong { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.wf-truong > span, .wf-truong > legend { font-size: 14px; font-weight: 600; padding: 0; }
.wf-truong input, .wf-truong select, .wf-truong textarea { min-height: 48px; border-radius: 12px; font-size: 15px; }
.wf-2cot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .wf-2cot select, .wf-2cot input { min-width: 0; width: 100%; }
.wf-chon2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.wf-chon2 label { display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 10px 12px; border: 1px solid #C9D2DE; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 600; }
.wf-chon2 label.on { border-color: var(--wf-ngoc); box-shadow: 0 0 0 1px var(--wf-ngoc); }
.wf-chon2 small { font-weight: 400; color: var(--muted); } .wf-chon2 input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; min-height: 0; margin: 0; }
.wf-hop { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.wf-congtac { display: flex; justify-content: space-between; align-items: center; min-height: 44px; cursor: pointer; }
.wf-congtac input { appearance: none; width: 52px; height: 30px; border-radius: 15px; background: #C9D2DE; position: relative; cursor: pointer; transition: background .15s; }
.wf-congtac input::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 12px; background: #fff; transition: left .15s; }
.wf-congtac input:checked { background: var(--wf-ngoc); } .wf-congtac input:checked::after { left: 25px; }
.wf-goiy { font-size: 13px; color: var(--wf-ngoc-dam); background: var(--wf-ngoc-nhat); border-radius: 10px; padding: 8px 12px; line-height: 1.5; }
.wf-goiy.cam { color: var(--wf-cam); background: var(--wf-cam-nhat); }
.wf-chan { padding-top: 4px; } .wf-chan .btn.lg, .wf-nut-hang .btn.lg { min-height: 52px; border-radius: 14px; font-size: 16px; }
.wf-xem-lai { display: flex; flex-direction: column; gap: 8px; }
.wf-luoi { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 4px 0 0; font-size: 14px; }
.wf-luoi dt { color: var(--muted); } .wf-luoi dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.wf-chuoi { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: c; display: flex; flex-direction: column; gap: 8px; }
.wf-chuoi li { counter-increment: c; display: flex; align-items: center; gap: 10px; font-size: 14px; }
.wf-chuoi li::before { content: counter(c); width: 24px; height: 24px; border-radius: 12px; background: var(--wf-ngoc-nhat); color: var(--wf-ngoc-dam);
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wf-chuoi li.cam::before { background: var(--wf-cam-nhat); color: var(--wf-cam); } .wf-chuoi li.mo { color: var(--muted); }
.wf-ct-dau { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; } .wf-ct-dau h1 { font-size: 22px; line-height: 1.25; overflow-wrap: anywhere; }
.wf-bao { border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.wf-bao.cam { background: var(--wf-cam-nhat); color: var(--wf-cam); } .wf-bao.do { background: #FDE8E4; color: #A33A1F; }
.wf-nut-hang { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; } .wf-nut-hang .btn { flex: 1 1 auto; }
.wf-qt-viec { margin-bottom: 18px; } .wf-qt-viec .wf-nhom { margin-top: 0; }
.wf-vang-hien { margin-bottom: 14px; }
.wf-ct .card { margin-bottom: 12px; }
.wf-tt { display: flex; flex-direction: column; }
.wf-tt-buoc { display: flex; gap: 12px; position: relative; padding-bottom: 12px; font-size: 14px; }
.wf-tt-buoc > i { width: 22px; height: 22px; flex-shrink: 0; border-radius: 11px; border: 2px solid #C9D2DE; background: #fff; color: #fff; font-style: normal;
  font-size: 12px; display: inline-flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.wf-tt-buoc:not(:last-of-type)::before { content: ''; position: absolute; left: 10px; top: 22px; bottom: 0; width: 2px; background: #E3E8EF; }
.wf-tt-buoc.xong > i { background: var(--wf-ngoc); border-color: var(--wf-ngoc); } .wf-tt-buoc.xong::before { background: var(--wf-ngoc) !important; }
.wf-tt-buoc.nay > i { border: 3px solid var(--wf-ngoc); } .wf-tt-buoc.bo { opacity: .55; }
/* phiếu 200y: thanh 5 bước ngang (học MISA) ở chi tiết đề xuất mua hàng; dòng kho của thủ kho */
.wf-5b { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.wf-5b-o { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: 12px; position: relative; }
.wf-5b-o > i { width: 24px; height: 24px; border-radius: 12px; border: 2px solid #C9D2DE; background: #fff; color: var(--muted); font-style: normal; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; z-index: 1; }
.wf-5b-o:not(:last-child)::before { content: ''; position: absolute; left: 50%; right: -50%; top: 11px; height: 2px; background: #E3E8EF; }
.wf-5b-o.done > i { background: var(--wf-ngoc); border-color: var(--wf-ngoc); color: #fff; } .wf-5b-o.done::before { background: var(--wf-ngoc); }
.wf-5b-o.current > i { border: 3px solid var(--wf-ngoc); color: var(--wf-ngoc); } .wf-5b-o.skipped { opacity: .5; }
.wf-kho-dong { margin-bottom: 8px; }
.wf-lq { display: flex; flex-direction: column; gap: 8px; }
.wf-nd { display: flex; flex-direction: column; gap: 10px; }
.wf-bg-ds { display: flex; flex-direction: column; gap: 8px; }
.wf-bg { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; } .wf-bg.chon { border-color: var(--wf-ngoc); background: #F6FBFA; }
.wf-chi { border-top: 1px solid var(--line2); padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.wf-khung { padding: 0; overflow: hidden; }
.wf-khung-dau { padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.wf-khung-than { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; max-height: 420px; overflow-y: auto; }
.wf-tin { align-self: flex-start; max-width: 85%; background: #F0F3F7; border-radius: 14px 14px 14px 4px; padding: 8px 12px; font-size: 14px;
  display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; white-space: pre-wrap; }
.wf-tin b { font-size: 11px; color: var(--muted); } .wf-tin span { font-size: 11px; opacity: .7; }
.wf-tin.toi { align-self: flex-end; background: var(--wf-ngoc); color: #fff; border-radius: 14px 14px 4px 14px; }
.wf-tin.he { align-self: center; background: none; color: var(--muted); font-size: 12px; text-align: center; max-width: 100%; padding: 2px 8px; }
.wf-khung-gui { display: flex; gap: 8px; padding: 10px 12px 14px; border-top: 1px solid var(--line); }
.wf-khung-gui input { flex: 1; min-height: 44px; border-radius: 22px; padding: 0 16px; }
.wf-khung-gui .btn { min-height: 44px; border-radius: 22px; }
.wf-hd { display: flex; flex-direction: column; gap: 12px; border-color: var(--accent-line); }
.wf-hd .wf-nut-hang { margin-bottom: 0; } .wf-hd .btn.lg { min-height: 52px; border-radius: 14px; font-size: 16px; }
.wf-nguy { color: #A33A1F; border-color: #E9B8AC; }
.wf-cam-chu { color: var(--wf-cam); }
.wf-da-qua { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.wf-so-sanh { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.wf-so-sanh table { border-collapse: collapse; width: 100%; font-size: 13px; }
.wf-so-sanh th, .wf-so-sanh td { padding: 8px 10px; text-align: left; border-bottom: 1px solid var(--line2); white-space: nowrap; }
.wf-so-sanh thead th { font-weight: 600; } .wf-so-sanh tbody th { color: var(--muted); font-weight: 500; }
.wf-so-sanh .chon { background: #F0F8F7; color: var(--wf-ngoc-dam); font-weight: 600; } .wf-so-sanh small { display: block; font-weight: 500; }
.wf-kiem label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; cursor: pointer; }
.wf-kiem input[type=checkbox] { width: 22px; height: 22px; min-height: 0; }
.wf-chon-doc { display: flex; flex-direction: column; gap: 8px; }
.wf-chon-doc label, .wf-nguoi-ds label { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; min-height: 52px; border: 1px solid #C9D2DE; border-radius: 12px; background: #fff; cursor: pointer; }
.wf-chon-doc label.on, .wf-nguoi-ds label.on { border-color: var(--wf-ngoc); box-shadow: 0 0 0 1px var(--wf-ngoc); }
/* ô chọn ẩn: thu về 1px trong nhãn — ô rộng 100% bị tuyệt đối hoá làm trang cuộn ngang ở điện thoại (e2e 200u, 27/10/2026) */
.wf-chon-doc label, .wf-nguoi-ds label { position: relative; }
.wf-chon-doc input, .wf-nguoi-ds input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; }
/* 200zd: lựa chọn đang chọn có dấu ✓ (người dùng tưởng ô viền đậm là "không cho chọn") */
.wf-chon-doc label { padding-right: 36px; }
.wf-chon-doc label.on { background: var(--side-on, #E5F4F3); }
.wf-chon-doc label.on::after { content: '✓'; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--wf-ngoc); font-weight: 700; font-size: 18px; }
/* 200zb mục 10: Gửi phiếu qua Chat — mỗi người một nút, cùng dáng ô chọn người */
.wf-nguoi-ds .wf-nguoi-nut { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; min-height: 52px; border: 1px solid #C9D2DE; border-radius: 12px; background: #fff; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.wf-nguoi-ds .wf-nguoi-nut:hover, .wf-nguoi-ds .wf-nguoi-nut:focus-visible { border-color: var(--wf-ngoc); }
[data-testid="wf-gui-chat"] .wf-nguoi-ds { max-height: 50vh; overflow-y: auto; }
.wf-ho-so-gap { border: 1px solid #DCE3EC; border-radius: 12px; padding: 10px 12px; background: #fff; }
.wf-ho-so-gap > summary { cursor: pointer; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.wf-ho-so-gap[open] > summary { margin-bottom: 8px; }
.wf-nguoi-ds { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow-y: auto; }
.wf-ma { background: #F5F7FA; border-radius: 12px; padding: 10px 12px; } .wf-ma-so { font-size: 20px; font-weight: 700; letter-spacing: .02em; }
.wf-so-nhanh { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.wf-so-nhanh .card { display: flex; flex-direction: column; gap: 2px; color: inherit; } .wf-so-nhanh .tre { border-color: #F3C9B5; }
.wf-so-lon { font-size: 30px; font-weight: 800; line-height: 1.1; } .wf-so-nhanh .tre .wf-so-lon { color: #B42318; }
.wf-o-dau { list-style: none; margin: 8px 0 0; padding: 0; }
.wf-o-dau li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line2); font-size: 14px; }
.wf .ns-coso-chon { margin-bottom: 12px; min-height: 44px; }
.wf-loc-hang { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.wf-loc-hang > input, .wf-loc-hang > select { min-height: 44px; border-radius: 12px; flex: 1 1 150px; width: auto; }
.wf-loc-hang > input[type=search] { flex: 1 1 100%; } .wf-loc-hang .wf-loc { margin: 0; }
@media (min-width: 900px) { .wf-loc-hang > input[type=search] { flex: 2 1 260px; } }
.wf-nhom { font-size: 15px; font-family: inherit; font-weight: 700; margin: 14px 0 8px; }
.wf-so-luoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
@media (min-width: 900px) { .wf-so-luoi { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wf-so-luoi .card { display: flex; flex-direction: column; gap: 2px; color: inherit; } .wf-so-luoi a.card:hover { border-color: var(--accent-line); }
.wf-so-luoi .tre { border-color: #F3C9B5; } .wf-so-luoi .tre .wf-so-lon { color: #B42318; }
.wf-so-luoi .wf-so-lon { font-size: 24px; }
.wf-bd { margin-bottom: 12px; display: flex; flex-direction: column; gap: 10px; }
.wf-bd-ten { font-size: 16px; font-family: inherit; font-weight: 700; }
.wf-bd-khung { position: relative; }
.wf-bd-svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.wf-bd-chu-giai { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink2); margin-bottom: 4px; }
.wf-bd-chu-giai span, .wf-bd-tip div { display: inline-flex; align-items: center; gap: 6px; }
.wf-bd-chu-giai i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.wf-bd-tip { position: absolute; top: 24px; transform: translateX(-50%); background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,.12); padding: 8px 10px; font-size: 12px; pointer-events: none; white-space: nowrap; display: flex; flex-direction: column; gap: 2px; z-index: 2; }
.wf-bd-tip i { width: 8px; height: 8px; border-radius: 4px; display: inline-block; }
.wf-bd-bang { overflow-x: auto; } .wf-bd-chan { margin: 4px 0 16px; }
.wf-cot { display: flex; flex-direction: column; gap: 10px; }
.wf-cot-dong { display: grid; grid-template-columns: minmax(110px, 38%) 1fr auto; gap: 4px 10px; align-items: center; font-size: 13px; cursor: default; }
.wf-cot-ten { color: var(--ink2); }
.wf-cot-ray { position: relative; height: 18px; }
.wf-cot-ray i { position: absolute; left: 0; top: 0; height: 18px; max-width: 100%; background: #2a78d6; border-radius: 0 4px 4px 0; }
.wf-cot-ray i.vuot { background: #eb6834; }
.wf-cot-ray b { position: absolute; top: -3px; width: 2px; height: 24px; background: var(--ink); border-radius: 1px; }
.wf-cot-so { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; } .wf-vuot { color: #A33A1F; font-weight: 600; }
.wf-cot-tip { grid-column: 1 / -1; color: var(--ink2); background: #F5F7FA; border-radius: 8px; padding: 4px 8px; }
.wf-cot-dong.on .wf-cot-ten { color: var(--ink); font-weight: 600; }
.wf-cot-chu { margin-top: 2px; }
@media (max-width: 480px) { .wf-cot-dong { grid-template-columns: 1fr auto; } .wf-cot-ray { grid-column: 1 / -1; grid-row: 2; } }
.wf-chia { display: grid; grid-template-columns: minmax(300px, 380px) 1fr; gap: 20px; align-items: start; }
.wf-chia-ds { position: sticky; top: 72px; max-height: calc(100vh - 96px); overflow-y: auto; padding-right: 4px; }
.wf-chia-ct { min-width: 0; }
.wf-the.chon { border-color: var(--wf-ngoc, #0F6E6E); box-shadow: 0 0 0 1px var(--wf-ngoc, #0F6E6E); }
.page.wf.wf-3cot { max-width: none; }
/* ===== Phiếu 200zb — Quy trình trên máy tính: bảng phiếu + màn chia đôi + phiếu phóng to (anh chốt 22/11/2026) ===== */
.wf-bang-khung { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.wf-bang { width: 100%; border-collapse: collapse; table-layout: auto; }
.wf-bang th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px 12px; background: #FAFBFC; border-bottom: 1px solid var(--line); white-space: nowrap; }
.wf-bang td { padding: 9px 12px; font-size: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.wf-bang tbody tr:last-child td { border-bottom: 0; }
.wf-bang tbody tr { cursor: pointer; } .wf-bang tbody tr:hover td { background: #F6F9F9; }
.wf-bang tbody tr.chon td { background: var(--accent-soft); } .wf-bang tbody tr.chon td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.wf-bang .so, .wf-bang th.so { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wf-bang td.so { font-weight: 600; } .wf-bang td.ma { white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.wf-bang td.nd { min-width: 0; overflow-wrap: anywhere; } .wf-bang td.nd a { color: inherit; font-weight: 600; text-decoration: none; }
.wf-bang td.han { white-space: nowrap; } .wf-bang td.han.qua { color: #B42318; font-weight: 600; }
.wf-bang tr.cam td.nd a { color: var(--wf-cam, #B4541A); }
.wf-bang-khung.gon .wf-bang th, .wf-bang-khung.gon .wf-bang td { padding-left: 10px; padding-right: 10px; }
.wf-tab-han { display: flex; gap: 4px; margin: 0 0 10px; border-bottom: 1px solid var(--line); }
.wf-tab-han button { border: 0; background: none; padding: 8px 12px; font-size: 14px; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.wf-tab-han button b { font-weight: 600; margin-left: 2px; } .wf-tab-han button.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); }
.wf-tab-han button.do b { color: #B42318; }
.wf-chia.bang { grid-template-columns: minmax(400px, 34%) minmax(0, 1fr); }
.wf-ct-thanh { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }
.wf-chia-ct > .wf-ct-thanh { position: sticky; top: 64px; z-index: 4; background: var(--bg, #F5F6F7); padding: 6px 0; margin-bottom: 4px; }
.wf-ct-thanh.wf-chi-rong { display: none; justify-content: flex-start; }
.wf-bang-chu { font-style: italic; }
/* Khung phiếu ba khối. Điện thoại / màn hẹp: thứ tự như trước 200zb (các bước → nội dung → hoạt động) */
.wf-phieu { display: flex; flex-direction: column; gap: 18px; }   /* 18px = khoảng cách của .page — các khối trước đây là con trực tiếp của .page */
.wf-phieu-a, .wf-phieu-b, .wf-phieu-c { display: contents; }
.wf-phieu-a > .wf-nd-chinh { order: 1; } .wf-phieu-c > * { order: 2; }
@media (min-width: 1100px) {
  /* máy tính: nội dung phiếu lên ngay dưới đầu phiếu, trên khối nút xử lý; rồi các bước, hoạt động (khung 2D) */
  .wf-phieu-a, .wf-phieu-b, .wf-phieu-c { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
  .wf-phieu-a > .wf-ct-dau { order: -3; } .wf-phieu-a > .wf-bao-dau { order: -2; } .wf-phieu-a > .wf-nd-chinh { order: -1; } .wf-phieu-c > * { order: 0; }
  /* phóng to (trang riêng của phiếu — khung 2C): nội dung + nút + hoạt động bên trái, các bước + người liên quan bên phải */
  .page.wf.wf-ct-rong { max-width: 1280px; }
  .wf-ct-thanh.wf-chi-rong { display: flex; }
  .wf-ct-rong .wf-phieu { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "a b" "c b"; column-gap: 24px; row-gap: 18px; align-items: start; }
  .wf-ct-rong .wf-phieu-a { grid-area: a; } .wf-ct-rong .wf-phieu-b { grid-area: b; position: sticky; top: 72px; max-height: calc(100vh - 96px); overflow-y: auto; } .wf-ct-rong .wf-phieu-c { grid-area: c; }
}
/* Đợt 2 — thanh ghim đầu phiếu (máy tính): [Thu lại | Phóng to · Ẩn phiếu] … [Trả lại · nút xử lý] [⋯] */
.wf-ct-thanh { align-items: center; flex-wrap: wrap; }
.wf-thanh-o { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex: 1 1 auto; min-width: 0; flex-wrap: wrap; }
.wf-thanh-o > .btn { flex: 0 1 auto; width: auto; min-height: 36px; padding: 0 14px; font-size: 14px; max-width: 340px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wf-thanh-o > .btn.primary { order: 2; }
.wf-thieu-thanh { order: -1; flex: 0 1 auto; min-width: 0; max-width: 360px; border: 0; background: none; padding: 0 4px; font: inherit; font-size: 13px; color: var(--wf-cam); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; text-decoration: underline dotted; }
.wf-thanh-menu { min-width: 36px; font-weight: 700; letter-spacing: 1px; }
.wf-ct-thanh .menu-nut-ds { right: 0; left: auto; }
.wf-hang-rong { display: contents; }
/* hộp thoại mở từ nút trên thanh (Trả lại, Đổi cách chi…) nằm trong thanh: nâng thanh lên trên thanh đầu trang để lớp phủ che hết màn */
.wf-ct-thanh:has(.modal) { z-index: 200; }
@media (min-width: 1100px) {
  .wf-ct-rong > .wf-ct-thanh { position: sticky; top: 64px; z-index: 4; background: var(--bg, #F5F6F7); padding: 6px 0; margin-bottom: -6px; }
}
@media print {
  body.print-doc .wf-chia { display: block; } body.print-doc .wf-chia-ds, body.print-doc .wf-ct-thanh { display: none !important; }
  body.print-doc .wf-ct-rong .wf-phieu { display: block; } body.print-doc .wf-ct-rong .wf-phieu-b { position: static; max-height: none; overflow: visible; }
}
/* 200zb mục 11: nhóm "Khác" gập được ở menu trái Quy trình */
.side .ns-gap { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: none; cursor: pointer; text-align: left; }
.side .ns-gap:hover { color: var(--ink); }
.side .ns-gap svg, .side .ns-gap i { transition: transform .15s; }
.side .ns-gap[aria-expanded="true"] svg, .side .ns-gap[aria-expanded="true"] i { transform: rotate(90deg); }
.side .ns-con.ns-an { display: none; }
.shell.mini .side .ns-gap span { display: none; }
.wf-tat-ca { margin-bottom: 4px; }
/* Nút "+ Tạo phiếu" đầu menu trái của Quy trình */
.ph-tao { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; margin: 6px 0 10px; padding: 0 14px; border-radius: 10px; background: #007A75; color: #fff; font-weight: 600; text-decoration: none; }
.ph-tao:hover { background: #00635F; color: #fff; } .ph-tao span { font-size: 20px; line-height: 1; } .ph-tao b { font-weight: 600; color: #fff; }
.shell.mini .ph-tao b { display: none; } .shell.mini .ph-tao { padding: 0; }

/* Phiếu 24 — thanh dưới điện thoại: trong mục là tab của mục (ẩn hàng tab đầu trang), ngoài mục là ô tự ghim */
@media (max-width: 760px) {
  .shell.co-tb .kp-tabs, .shell.co-tb .ns-tabs { display: none; }
  .bottombar .tb-nhan { max-width: 100%; padding: 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bottombar.trong-muc .tb-nha { flex: 0.9; border-right: 1px solid var(--line); }
  .tb-khac { position: absolute; right: 8px; bottom: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 6px; min-width: 200px; display: flex; flex-direction: column; z-index: 31; }
  .bottombar .tb-khac a { flex-direction: row; justify-content: flex-start; gap: 10px; min-height: 44px; padding: 0 12px; font-size: 14px; color: var(--ink); border-radius: 10px; }
  .bottombar .tb-khac a.on { color: var(--accent); background: var(--accent-soft); }
  .shell.bar-compact .bottombar .tb-khac a { font-size: 14px; min-height: 44px; gap: 10px; }
}
/* Sửa thanh dưới (màn Thêm) */
.ghim-o { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ghim-o .so { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 12px; display: grid; place-items: center; flex: none; }
.ghim-ds { display: flex; flex-direction: column; gap: 8px; }
.ghim-nhom { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 10px; }
.ghim-uv { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-top: 1px solid var(--line2); }
.ghim-uv:first-of-type { border-top: 0; }
.them-thanh { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.them-thanh-mau { display: flex; gap: 6px; flex-wrap: wrap; }
/* Có gì mới trên điện thoại (phiếu 24): một dòng ở đầu Bàn làm việc */
.wn-dong { display: flex; align-items: center; gap: 4px; background: #FFF8E1; border: 1px solid var(--line); border-radius: 12px; padding: 4px 4px 4px 10px; margin-bottom: 12px; }
.wn-mo { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; padding: 6px 0; cursor: pointer; font-size: 13px; }
.whats-new.wn-trong { position: static; width: auto; box-shadow: none; margin-bottom: 12px; animation: none; }
.kp-nhom-nut { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; }
.kp-nhom-nut[aria-expanded="true"] { border-color: var(--accent-line); }
.kp-nhom-nut.can-xem { background: #FBE7E3; border-color: #F2C7BF; cursor: default; }
.kp-table tr.kp-nhom-dau.can-xem th { background: #FBE7E3; }
.kp-nhom-nut .num { font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
/* Nút nổi Tạo đề nghị nằm trên thanh dưới (phiếu 24) */
@media (max-width: 760px) {
  .wf-fab { bottom: calc(82px + env(safe-area-inset-bottom)); transition: bottom .2s ease; }
  .shell.bar-compact .wf-fab { bottom: calc(56px + env(safe-area-inset-bottom)); }
  /* Phiếu 200ah: cuộn xuống → nút thu thành hình tròn (chỉ còn dấu +), cuộn lên hiện lại chữ */
  .wf-fab { transition: bottom .2s ease, padding .2s ease, gap .2s ease; }
  .wf-fab-chu { display: inline-block; max-width: 180px; overflow: hidden; white-space: nowrap; transition: max-width .2s ease, opacity .15s ease; }
  .shell.bar-compact .wf-fab { padding: 0; width: 56px; justify-content: center; gap: 0; }
  .shell.bar-compact .wf-fab-chu { max-width: 0; opacity: 0; }
  .wf-fab-cho { height: 80px; }
}
/* Phiếu 200c — báo hỏng */
.wf-bh-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.wf-bh-anh { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #E3E8EF; }
.wf-bh-anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wf-ct .wf-2cot .wf-bh-anh { aspect-ratio: 3 / 4; }
.wf-bh-bo { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 14px; border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.wf-bh-muc { grid-template-columns: 1fr; }
.wf-bh-muc label.khan.on { border-color: #C0392B; box-shadow: 0 0 0 1px #C0392B; }
/* Phiếu 300b — Công việc (dùng chung khung .wf của Quy trình; phần riêng: vòng tròn xong, bước việc rủi ro, mẫu, lịch cơ sở) */
.cv { --cv-do: #B42318; }
.cv-seg { margin: 0 0 12px; }
.cv-seg button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--ink2); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.cv-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.cv-so { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--cv-do); color: #fff; font-size: 11px; font-style: normal; display: inline-flex; align-items: center; justify-content: center; }
.cv-ds { display: flex; flex-direction: column; gap: 8px; }
.cv-nhom { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.cv-nhom-ten { font-family: inherit; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.cv-the { display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 2px 12px 2px 2px; min-height: 56px; }
.cv-the.tre { border-color: #F1B9B3; }
.cv-the.xong .cv-the-ten { text-decoration: line-through; color: var(--muted); font-weight: 500; }
.cv-tron { flex: none; width: 48px; height: 48px; border: 0; background: none; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 12px; padding: 0; }
.cv-tron:disabled { cursor: default; } .cv-tron[aria-busy] { opacity: .5; }
/* Phiếu 300g: việc tự xong, lời nhắc, mức của việc */
.cv-the .cv-mo-so { flex: none; min-height: 40px; }
.cv-nhac { display: flex; gap: 10px; align-items: flex-start; background: #F2F7F7; border-radius: 12px; padding: 12px; }
.cv-nhac + .cv-nhac { margin-top: 8px; }
.cv-nhac-bt { flex: none; color: #0F6E6E; margin-top: 2px; }
.cv-nhac-than { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cv-nhac-chan { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.cv-nhac-bh { color: #9A3412; min-height: 40px; }
.cv-muc { display: flex; flex-direction: column; gap: 8px; }
.cv-muc-o { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; cursor: pointer; }
.cv-muc-o.on { border: 2px solid #0F6E6E; padding: 11px; }
.cv-muc-o input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 2px 0 0; }
.cv-tron.trong { width: 14px; }
.cv-the-than { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 8px 0; color: inherit; }
.cv-the-ten { font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.cv-the-phu { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.cv-ds.gon .cv-the { min-height: 48px; border-color: var(--line2); }
.cv-bao-lop { display: flex; align-items: center; gap: 10px; background: #EEF2F7; border-radius: 12px; padding: 10px 12px; font-size: 13px; margin-bottom: 12px; }
.cv-nut-hang { display: flex; gap: 8px; } .cv-nut-hang > * { flex: 2; min-height: 48px; border-radius: 12px; justify-content: center; }
.cv-nut-hang > .cv-nut-phu { flex: 1; color: #9A3412; }
.cv-nut-ct { flex-wrap: wrap; margin: 12px 0; } .cv-nut-ct:empty { display: none; }
.cv-nut-phu-hang { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .cv-nut-phu-hang .btn { min-height: 44px; }
.cv-chip-hang { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cv-chip-hang .wf-loc-nut { min-height: 40px; }
.cv-ct { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.cv-ct-dau { display: flex; flex-direction: column; gap: 8px; }
.cv-ct-ten { font-family: inherit; font-size: 20px; font-weight: 700; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.cv-mo-ta { white-space: pre-wrap; font-size: 14px; overflow-wrap: anywhere; }
.cv-buoc { padding: 0; overflow: hidden; }
.cv-buoc-dong { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.cv-buoc-tick { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.cv-buoc-tick input { width: 22px; height: 22px; }
.cv-buoc-ten { flex: 1; font-size: 15px; overflow-wrap: anywhere; }
.cv-buoc-dong.xong .cv-buoc-ten { color: var(--muted); text-decoration: line-through; }
.cv-buoc-them { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-left: 34px; }
.cv-buoc-so { display: flex; align-items: center; gap: 6px; } .cv-buoc-so input { width: 96px; min-height: 44px; border-radius: 10px; font-size: 15px; }
.cv-chup { flex: 1; min-width: 140px; min-height: 44px; border: 1px dashed #0F6E6E; background: #EEF8F7; color: #0B5454; font-weight: 600; border-radius: 12px; }
.cv-anh { border: 0; padding: 0; background: none; cursor: zoom-in; } .cv-anh img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; display: block; }
.cv-buoc-chan { padding: 10px 16px; }
.cv-cam-chu { color: #9A3412; font-weight: 600; } .cv-do-chu { color: var(--cv-do, #B42318); font-weight: 600; } .cv-ngoc-chu { color: #0B5454; }
.cv-trao-doi { display: flex; flex-direction: column; gap: 8px; }
.cv-nhac { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .cv-nhac .btn { min-height: 44px; }
.cv-nhat-ky summary { cursor: pointer; min-height: 32px; } .cv-nhat-ky .timeline { margin-top: 10px; }
.cv-chon-nguoi { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; max-height: 360px; overflow-y: auto; }
.cv-chon-nguoi label { display: flex; align-items: center; gap: 12px; padding: 10px 14px; min-height: 48px; border-bottom: 1px solid var(--line2); cursor: pointer; }
.cv-chon-nguoi label:last-child { border-bottom: 0; } .cv-chon-nguoi label.on { background: #EEF8F7; }
.cv-chon-nguoi input { width: 20px; height: 20px; min-height: 0; flex: none; }
.wf-chon2.ba { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cv-dinh-kem { align-self: flex-start; min-height: 44px; }
.cv-gon { padding: 10px 14px; gap: 4px; }
.cv-dot-ds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.cv-dot-ds li { display: flex; justify-content: space-between; gap: 8px; } .cv-dot-ds a { color: var(--accent); }
/* Giao / nhờ nhiều người (bảng 32–34, 31/10/2026) */
.cv-theo-vai select { width: auto; min-height: 36px; padding: 4px 8px; font-size: 13px; }
.cv-da-chon-ds { display: flex; flex-direction: column; gap: 4px; }
.cv-can-so { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.cv-stepper { display: inline-flex; align-items: center; gap: 14px; }
.cv-stepper .btn { min-width: 44px; min-height: 44px; padding: 0; font-size: 20px; }
.cv-stepper .b { min-width: 52px; text-align: center; font-size: 16px; }
.cv-chan-ghi { text-align: center; margin-bottom: 6px; }
.cv-the-nhom .cv-tien-do { margin: 8px 0 4px; }
.cv-the-nhom .cv-dot-ds { margin-top: 8px; }
.cv-the-nhom .cv-nut-hang { flex-wrap: wrap; margin-top: 10px; } .cv-the-nhom .cv-nut-hang > * { flex: 1 1 140px; white-space: normal; min-width: 0; }
.cv-mau.tat { background: #F0F3F7; color: var(--muted); } .cv-mau.doi { border-color: #F5C98B; }
.cv-thu { display: flex; flex-wrap: wrap; gap: 6px; }
.cv-thu label { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; border: 1px solid #C9D2DE; border-radius: 12px; background: #fff; cursor: pointer; font-weight: 600; }
.cv-thu label.on { background: #0F6E6E; border-color: #0F6E6E; color: #fff; }
.cv-thu input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; pointer-events: none; }
.cv-nghi { padding: 6px 0; border-bottom: 1px solid var(--line2); }
.cv-nghi-them { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .cv-nghi-them input { min-height: 44px; min-width: 0; }
.cv-nghi-them input[aria-label="Lý do nghỉ"] { grid-column: 1 / -1; }
.cv-xac-nhan { display: flex; align-items: center; gap: 8px; margin-top: 8px; min-height: 40px; font-weight: 600; cursor: pointer; }
.cv-sua-buoc { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line2); }
.cv-sua-buoc input { min-height: 44px; } .cv-don-vi { width: 72px; min-height: 36px !important; }
.cv-tien-do { height: 8px; border-radius: 4px; background: #DDE3EA; overflow: hidden; margin-bottom: 10px; }
.cv-tien-do span { display: block; height: 100%; background: #0F6E6E; transition: width .2s; }
.cv-ban-giao { margin-top: 12px; background: #FFF4E5; border: 1px solid #F5C98B; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.cv-ban-giao > .b { color: #8A4B00; }
.cv-ban-giao ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.cv-ban-giao li { display: flex; justify-content: space-between; gap: 8px; }
.cv-ban-giao-chon { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cv-ban-giao-chon label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.cv-ban-giao-chon label.on { border-color: #0F6E6E; background: #EEF8F7; }
.cv-ban-giao-chon input[type=radio] { width: 20px; height: 20px; min-height: 0; flex: none; }
@media (max-width: 760px) {
  .cv-ct-ten { font-size: 18px; }
  .wf-chon2.ba { grid-template-columns: 1fr; }
}

/* ---------- Bảng màu chung B (anh Cường chọn 15/10/2026 16:13, thay bảng "màu theo logo" 14/10): sang, nhẹ kiểu Apple, điểm nhấn màu thương hiệu.
   Nền xám trung tính · menu máy tính nền trắng, mục đang chọn tô xanh nhạt + vạch xanh thương hiệu · thẻ không viền, đổ bóng nhẹ · tiêu đề Be Vietnam Pro.
   Bố cục, vị trí tính năng giữ nguyên; màu biểu tượng phân hệ vẫn theo lib/mau-phan-he.ts. */
:root { --bg: #F5F6F7; --ink: #1D1D1F; --muted: #5E5E63; --line: #E5E7EA; --line2: #EEF0F2;
  --side-on: #E5F4F3; --side-on-ink: #003A45; --bong: 0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.04); }
.topbar { background: rgba(245,246,247,.92); }
/* Tiêu đề: Be Vietnam Pro đậm vừa (bỏ phông tròn Baloo ở tiêu đề màn) */
h1 { font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif; font-weight: 700; letter-spacing: -.02em; font-size: 30px; line-height: 1.15; }
h2 { font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif; font-weight: 700; letter-spacing: -.01em; font-size: 19px; }
@media (max-width: 760px) { h1 { font-size: 28px; } }
/* Bỏ vạch màu dưới tiêu đề (gọn kiểu Apple; màu thương hiệu ở điểm nhấn) */
.page-head h1::after { display: none; }
.page-head h1 { padding-bottom: 0; }
/* Thẻ không viền, đổ bóng nhẹ */
.card { border-color: transparent; box-shadow: var(--bong); border-radius: 16px; }
/* Menu trái nền sáng */
.side { background: #FFFFFF; color: var(--ink); box-shadow: 1px 0 0 var(--line); }
.brand::after { display: none; }
.side .brand-o { box-shadow: 0 0 0 1px var(--line2); }
.side .brand-chu { font-family: 'Be Vietnam Pro', system-ui, sans-serif; font-weight: 700; font-size: 19px; color: var(--brand); letter-spacing: -.01em; }
.nl { color: var(--ink); }
.nl:hover { background: #F1F3F4; color: var(--ink); }
.nl.on { background: var(--side-on); color: var(--side-on-ink); box-shadow: none; }
.nl.on::before { background: var(--brand); }
.side .nb:not(.red) { background: #EEF0F2; color: var(--ink2); }
.side .nb.red, .nl-fly .nb.red { background: #C9372C; color: #fff; }
.side .ns, .nl-fly-title { font-family: 'Be Vietnam Pro', system-ui, sans-serif; font-weight: 700; font-size: 11.5px; letter-spacing: .08em; color: #6E6E73; opacity: 1; }
.nl-group.has-on { color: var(--side-on-ink); }
.nl-sub { border-left-color: var(--line); }
.nl-mini-toggle { color: #6E6E73; } .nl-mini-toggle:hover { color: var(--ink); }
.side .muted, .side-foot .muted, .side-user .muted { color: #6E6E73; }
.side .icon-btn { color: #3B4048; } .side .icon-btn:hover { background: #F1F3F4; color: var(--ink); }
.side .sq { box-shadow: none; }
.side-foot, .ph-dau { border-top-color: var(--line2); border-bottom-color: var(--line2); }
.ph-dau b { color: var(--ink); }
.nl-fly { background: #FFFFFF; border-color: var(--line); box-shadow: 0 12px 32px rgba(16,24,40,.16); }
@media (max-width: 760px) { .side-head { border-bottom-color: var(--line2); } }

/* Ô chọn cơ sở luôn nằm bên phải tiêu đề (điện thoại không xuống dòng); Nhân sự: điện thoại chỉ giữ nút ? của Hướng dẫn cho đủ chỗ */
.blv-dau { flex-wrap: nowrap; }
.blv-dau > div:first-child { min-width: 0; }
.blv-dau .ns-coso-chon { max-width: 46%; min-width: 0; text-overflow: ellipsis; }
@media (max-width: 760px) {
  .ns-dau > .row { min-width: 0; flex-wrap: nowrap; }
  .ns-dau .ns-coso-chon { max-width: 46%; min-width: 0; text-overflow: ellipsis; }
}

/* Logo Hugo House ở đầu menu (logo không chữ, cắt từ logo chính thức) — thay logo chữ tạm */
.brand > a { display: flex; align-items: center; gap: 10px; }
.brand-o { flex: none; width: 36px; height: 36px; border-radius: 10px; background: #fff; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,59,68,.2); }
.brand-o img { width: 28px; height: 28px; display: block; }
.brand-chu { font-family: var(--display); font-weight: 800; font-size: 21px; color: #fff; white-space: nowrap; letter-spacing: .01em; }
@media (min-width: 761px) {
  .shell.mini .side .brand > a { justify-content: center; }
  .shell.mini .side .brand-chu { display: none; }
}

/* ---------- Phiếu 200d: báo cáo, chi định kỳ, cài đặt Quy trình ---------- */
.wf-bc-dau { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; } .wf-bc-dau h1 { margin: 0; }
.wf-bc-loc > select { flex: 0 1 200px; }
.wf-bc-loc .wf-loc { flex: 1 1 100%; }
@media (min-width: 900px) { .wf-bc-loc .wf-loc { flex: 0 1 auto; } .wf-bc-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.wf-bc-2cot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 1100px) { .wf-bc-2cot { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
.wf-bc-2cot > .wf-bd { margin-bottom: 0; } .wf-bc-2cot { margin-bottom: 12px; }
.wf-bc-bang td a, .wf-bd .kp-table td a { font-weight: 600; }
.wf-bc-cl { display: flex; flex-direction: row; flex-wrap: wrap; gap: 24px; }
.wf-bc-cl-so { flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; } .wf-bc-cl-so a.wf-so-lon { color: inherit; }
.wf-bc-cl-ly-do { flex: 2 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.wf-bc-danh-muc { display: flex; flex-direction: column; gap: 4px; max-width: 760px; }
.wf-bc-nhom { padding: 2px 16px; display: flex; flex-direction: column; }
.wf-bc-muc { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; color: inherit; border-top: 1px solid var(--line2); }
.wf-bc-muc:first-child { border-top: 0; } .wf-bc-muc > span:first-child { display: flex; flex-direction: column; gap: 2px; } .wf-bc-muc b { font-size: 15px; }
.wf-bc-muc:hover b { color: var(--wf-ngoc); }
.wf-tq-tien { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: inherit; margin-bottom: 12px; }
a.wf-bao { text-decoration: none; }
.wf-dk-gioi-thieu { margin: 0 0 12px; }
.wf-dk .wf-ds { max-width: 860px; }
.wf-dk-the { display: flex; flex-direction: column; gap: 6px; }
.wf-dk-the.vuot { border: 2px solid #B42318; }
.wf-dk-ten { font-size: 16px; font-weight: 700; }
.wf-dk-dong { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; } .wf-dk-dong a { color: inherit; }
.wf-dk-nut { margin: 6px 0 0; } .wf-dk-nut .btn { flex: 0 1 auto; min-height: 44px; } .wf-dk-nut .btn.link { margin-left: auto; }
.wf-dk-ls { border-top: 1px solid var(--line2); padding-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.wf-dk-chan { margin-top: 14px; max-width: 860px; }
.wf-cd { max-width: 900px; }
.wf-cd-khoa { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.wf-cd-chan { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.wf-cd-nut { display: flex; flex-wrap: wrap; gap: 6px; }
.wf-cd-so { flex-direction: row; align-items: center; gap: 10px; } .wf-cd-so input { max-width: 200px; }
.wf-cd-bat { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.wf-cd-bang input, .wf-cd-bang select { min-height: 40px; width: 100%; } .wf-cd-bang td.r input { max-width: 110px; text-align: right; }
.wf-cd-ds { display: flex; flex-direction: column; gap: 8px; }
.wf-cd-dong { display: flex; gap: 8px; align-items: center; } .wf-cd-dong input { flex: 1 1 auto; min-height: 44px; }
.wf-cd-loai { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 0; border-top: 1px solid var(--line2); }
@media (min-width: 900px) { .wf-cd-loai { grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr) auto; align-items: end; } }
.wf-cd-loai .chip .link { margin-left: 4px; padding: 0 2px; }
.wf-cd-ls { flex-wrap: wrap; }
/* Nhắc bật thông báo cuộc gọi ở đầu danh sách Chat */
.chat-nhac-tb { margin: 6px 10px; padding: 8px 10px; gap: 8px; }

/* ---------- Công việc: màn nhập liệu gọn (14/10 — bảng thiết kế 25, 26, 27): nút giao / lưu luôn ở đáy, điện thoại ẩn thanh dưới ---------- */
.cv-nhan { font-size: 14px; font-weight: 600; }
.cv-giao textarea { line-height: 1.4; resize: vertical; }
.cv-them-nho { align-self: flex-start; min-height: 40px; padding: 0 2px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; margin-top: -6px; }
.cv-kieu { flex: none; }
.cv-chon-ngay { position: relative; display: inline-flex; align-items: center; overflow: hidden; }
.cv-chon-ngay .ongay.chi-nut { position: absolute; inset: 0; width: 100%; height: 100%; }
.cv-gio-khac { width: 128px; min-height: 40px !important; border-radius: 10px !important; }
.cv-han .cv-chip-hang + .cv-chip-hang { margin-top: 2px; }
.cv-da-chon { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; font-weight: 600; color: #0B5454; }
.cv-co-so-chon { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.cv-co-so-chon button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 6px 8px; border: 1px solid #C9D2DE; border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; cursor: pointer; }
.cv-co-so-chon button .xs { color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-co-so-chon button.on { border: 2px solid #0F6E6E; background: #EEF8F7; color: #0B5454; }
.cv-co-so-chon button.thieu { border: 1px dashed #F5C98B; background: #FFF4E5; color: #8A4B00; cursor: not-allowed; }
.cv-co-so-chon button.thieu .xs { color: #8A4B00; }
.cv-hop-nho { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; min-height: 52px; }
.cv-tom { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cv-tom-dong { border-bottom: 1px solid var(--line2); } .cv-tom-dong:last-child { border-bottom: 0; }
.cv-tom-dong > button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 14px; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.cv-tom-dong > button .cv-tom-nhan { flex: 0 0 76px; font-size: 13px; color: var(--muted); }
.cv-tom-dong > button .cv-tom-gt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-weight: 600; font-size: 15px; }
.cv-tom-dong > button .cv-tom-gt small { font-weight: 400; font-size: 12px; color: var(--muted); }
.cv-tom-dong > button .cv-tom-mui { flex: none; color: var(--muted); transition: transform .15s; }
.cv-tom-dong.mo > button .cv-tom-mui { transform: rotate(90deg); }
.cv-tom-than { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 10px; }
.cv-doi { color: #9A3412; font-weight: 600; font-size: 12px; }
.cv-chan-dinh { position: sticky; bottom: 0; z-index: 5; background: var(--bg); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); margin-top: -4px; border-top: 1px solid var(--line); }
.cv-chan-dinh .cv-nut-hang { margin: 0; }
@media (max-width: 760px) {
  body:has(.cv-nhap) .bottombar { display: none; }
  body:has(.cv-nhap) .content, body:has(.cv-nhap) .shell.co-ph .content { padding-bottom: 0; }
  .cv-nhap .cv-chan-dinh { margin-left: -16px; margin-right: -16px; padding-left: 16px; padding-right: 16px; }
}
.cv-giua { text-align: center; margin-bottom: 6px; }

/* ================= Nhân sự (phiếu 400b): ô đếm, cờ, khối gập, dải cảnh báo — 360 px không cuộn ngang ================= */
.hr-dem { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.hr-odem { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--card); color: var(--ink); text-align: left; cursor: pointer; min-height: 64px; text-decoration: none; font: inherit; }
.hr-odem b { font-size: 24px; line-height: 1.1; font-family: var(--display); }
.hr-odem span { font-size: 12.5px; color: var(--ink2); }
.hr-odem.red b { color: #B42318; } .hr-odem.yellow b { color: #8A5A00; } .hr-odem.grey b { color: var(--ink2); } .hr-odem.green b { color: var(--ok); }
.hr-odem.red { border-left: 4px solid #E5484D; } .hr-odem.yellow { border-left: 4px solid #F5B400; } .hr-odem.grey { border-left: 4px solid #B9BEC6; } .hr-odem.green { border-left: 4px solid #3BA776; }
.hr-odem.on { outline: 2px solid var(--accent); outline-offset: 1px; }
.hr-odem.cho { cursor: default; }   /* số đang tải: giữ khung, vệt mờ đúng cỡ chữ số */
.hr-odem-cho { display: inline-block; width: 2em; height: .9em; border-radius: 4px; background: #E4E6EA; vertical-align: -.05em; animation: pulse 1.2s infinite alternate; }
.hr-co { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 1px 7px; border-radius: 999px; white-space: nowrap; vertical-align: 1px;
  max-width: 100%; box-sizing: border-box; overflow: hidden; text-overflow: ellipsis; }   /* cờ dài cắt "…", không đẩy trang rộng quá máy 360 px (18/10) */
.hr-co.red { background: #FDE8E4; color: #A33A1F; } .hr-co.yellow { background: #FFF4D6; color: #7A4F00; } .hr-co.grey { background: #EEF0F3; color: var(--ink2); }
.hr-co.green { background: #E3F4EA; color: #1B6B3A; }
.hr-cos { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; min-width: 0; }
.hr-do { color: #B42318; }
.hr-dai { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.hr-dai.do { background: #FDE8E4; border: 1px solid #F5B5A8; } .hr-dai.vang { background: #FFF4D6; border: 1px solid #F2D48A; } .hr-dai.xam { background: #EEF0F3; border: 1px solid var(--line); }
.hr-dau-trang { display: flex; align-items: center; gap: 8px; }
.hr-the-dau { display: flex; gap: 12px; align-items: center; padding: 12px; }
.hr-anh { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; flex: none; }
.hr-ten { font-weight: 700; font-size: 17px; }
.hr-khoi { padding: 0; overflow: hidden; }
.hr-khoi.can-lam { border-left: 4px solid #E5484D; }
.hr-khoi-dau { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px; background: none; border: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; min-height: 48px; }
.hr-khoi-dau .xs { max-width: 45%; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hr-khoi-than { padding: 0 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.hr-nhan { align-self: flex-start; font-size: 11px; color: #8A5A00; background: #FFF4D6; padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.hr-luoi { display: grid; grid-template-columns: minmax(96px, 36%) 1fr; gap: 6px 12px; font-size: 14px; }
.hr-luoi > span { min-width: 0; overflow-wrap: anywhere; }
/* 400u b2: hàng tab hồ sơ luôn một dòng, hẹp thì cuộn ngang; form Sửa cả trang 2 cột + thanh Hủy / Lưu dính đáy */
.hr-nguoi > .tabs, .hr-cua-toi > .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.hr-nguoi > .tabs button, .hr-cua-toi > .tabs button { white-space: nowrap; flex-shrink: 0; }
.ns-sua-trang { display: flex; flex-direction: column; gap: 12px; }
.ns-sua-muc { border: 1px solid var(--line); margin: 0; padding: 12px 16px 16px; min-width: 0; }
.ns-sua-muc > legend { font-size: 15px; font-weight: 700; padding: 0 6px; }
.ns-sua-muc:disabled { background: var(--line2); }
.ns-sua-khoa { margin-bottom: 8px; }
.ns-sua-luoi { display: grid; grid-template-columns: 1fr; gap: 10px 20px; align-items: start; }
.ns-sua-luoi > * { min-width: 0; margin: 0; }
@media (min-width: 900px) { .ns-sua-luoi { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1599px) { .ns-chia-phai .ns-sua-luoi { grid-template-columns: 1fr; } }
.ns-sua-chan { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 -4px 14px rgba(0, 0, 0, .06); }
/* 400u b1: hồ sơ dạng tab trên máy tính — mục luôn mở có tiêu đề; lưới nhãn / giá trị xếp 2 cột khi đủ rộng */
.hr-khoi.phang { overflow: visible; }
.hr-khoi-dau-phang { display: flex; align-items: baseline; gap: 8px; padding: 14px 16px 8px; }
.hr-khoi-dau-phang h3 { margin: 0; font-size: 15px; font-weight: 700; }
.hr-khoi-dau-phang .xs { max-width: 60%; text-align: right; }
.hr-khoi.phang .hr-khoi-than { padding: 0 16px 16px; }
.hr-ho-so-tab { gap: 12px; }
@media (min-width: 900px) { .hr-ho-so-tab .hr-luoi { grid-template-columns: minmax(120px, 17%) 1fr minmax(120px, 17%) 1fr; gap: 10px 16px; } }
/* hồ sơ nằm trong khung phải của Chia đôi (hẹp): 2 cột chỉ khi màn rất rộng */
@media (max-width: 1599px) { .ns-chia-phai .hr-ho-so-tab .hr-luoi { grid-template-columns: minmax(96px, 36%) 1fr; gap: 6px 12px; } }
.hr-files { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.hr-chon-trang { display: flex; flex-direction: column; gap: 6px; }
.hr-chon-nguoi input[type=radio] { width: 18px; height: 18px; min-height: 0; padding: 0; flex: none; accent-color: var(--accent); }
.hr-dia-chi { border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hr-chon { border: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hr-chon label { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.hr-chon label.on { border-color: var(--accent); background: var(--accent-soft); }
.hr-hd-nut { justify-content: flex-end; }
/* 400r: điện thoại — nút HĐ xuống dưới, chữ HĐ không bị ép thành cột hẹp */
@media (max-width: 640px) { .hr-hd-dong { flex-direction: column; align-items: stretch; } .hr-hd-nut { justify-content: flex-start; } }
.hr-tk-dong { align-items: flex-start; }
.hr-tk-dong.xong { opacity: .7; }
.hr-tk-dong input[type=checkbox] { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.hr-chan { position: sticky; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 10px 0; background: var(--bg); }
.hr-ghep { display: flex; flex-direction: column; gap: 6px; }
.hr-ghep select { max-width: 55%; }
.hr-o-so { width: 80px; }
.hr-viec { border-left: 4px solid #E5484D; }
@media (max-width: 480px) { .hr-luoi { grid-template-columns: 1fr; gap: 0 0; } .hr-luoi > span.muted { margin-top: 6px; font-size: 12.5px; } .hr-ghep select { max-width: 60%; } }
.hr-dem.bon { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.hr-dem.bon .hr-odem { padding: 8px; min-height: 58px; }
.hr-dem.bon .hr-odem b { font-size: 20px; }
.hr-dem.bon .hr-odem span { font-size: 11.5px; line-height: 1.2; }
.hr-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.hr-chips .chip { white-space: nowrap; flex: none; }
.hr-thanh-hd { align-items: center; }
.hr-tk-quyen { color: inherit; align-items: center; font-size: 14px; } .hr-tk-quyen:hover { background: var(--line2); }
/* Hộp "Hợp đồng cho ai?": danh sách dọc đủ chiều rộng, dòng bấm = nút trong suốt căn trái */
.hr-chon-nguoi { margin: 8px -20px 0; }
.hr-chon-nguoi .person-row { padding: 8px 12px 8px 20px; }
.hr-chon-dong { display: block; width: 100%; min-width: 0; text-align: left; background: none; border: 0; padding: 2px 0; cursor: pointer; font: inherit; color: inherit; }
.hr-chon-dong:hover .b, .hr-chon-dong:focus-visible .b { color: var(--accent); }
.hr-chon-dong .b, .hr-chon-dong .xs { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ================= Nhân sự 400c: thủ tục, bản in A4, báo cáo ================= */
.hr-buoc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 12px; color: var(--muted); }
.hr-buoc span { border-top: 4px solid var(--line); padding-top: 4px; }
.hr-buoc .xong { border-color: var(--accent); } .hr-buoc .dang { border-color: var(--accent); color: var(--ink); font-weight: 600; }
.hr-chon-2 { flex-direction: row; } .hr-chon-2 label { flex: 1; align-items: center; min-height: 44px; }
.hr-pl-dong { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 4px 0 0 10px; border-left: 2px solid var(--line); margin-top: 4px; }
.hr-in-thanh { position: sticky; top: 0; background: var(--bg); padding: 8px 0; z-index: 2; }
.hr-in-gio { max-width: 210mm; margin: 0 auto 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card, var(--bg)); }
.hr-in-gio input { width: 100%; }
.hr-giay { background: #fff; color: #111; font-family: 'Times New Roman', 'Noto Serif', serif; font-size: 13.5px; line-height: 1.6;
  padding: 28px 24px; border: 1px solid var(--line); border-radius: 4px; max-width: 210mm; margin: 0 auto; box-sizing: border-box; overflow-wrap: anywhere; }
.hr-giay p { margin: 0 0 4px; }
.hr-giay-dau { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; text-align: center; font-size: 12.5px; }
.hr-giay-ngay { margin-top: 6px; }
.hr-giay-tieu-de { text-align: center; font-size: 17px; margin: 20px 0 12px; font-family: inherit; }
.hr-giay-ben { margin-bottom: 10px; }
.hr-giay-than h3, .hr-giay-than h4 { font-size: 14px; margin: 10px 0 4px; }
.hr-giay-than ul { margin: 2px 0 6px; padding-left: 20px; }
.hr-giay-ky { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: center; margin-top: 28px; min-height: 140px; }
.hr-giay-ten { margin-top: 70px; font-weight: 600; }
.hr-giay-nho { max-height: 60vh; overflow: auto; }
.hr-giay-nho .hr-giay { font-size: 12.5px; }
@media (max-width: 480px) { .hr-giay { padding: 16px 12px; font-size: 12.5px; } .hr-giay-dau { grid-template-columns: 1fr; } }
@media print {
  body.print-doc .hr-giay { border: 0; padding: 0; max-width: none; font-size: 13pt; }
  body.print-doc .hr-in-thanh { display: none !important; }
}
.hr-cot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; height: 110px; }
.hr-cot-o { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; justify-content: flex-end; }
.hr-cot-cap { display: flex; gap: 2px; align-items: flex-end; height: 86px; }
.hr-cot-cap span { width: 7px; min-height: 1px; border-radius: 2px 2px 0 0; }
.hr-cot-cap .vao, .hr-cham.vao { background: var(--accent); } .hr-cot-cap .ra, .hr-cham.ra { background: #D0712A; }
.hr-cham { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.hr-chon input[type=radio], .hr-chon input[type=checkbox] { width: 20px; height: 20px; min-height: 0; flex: none; margin: 0; padding: 0; }
.hr-chon-2 label { gap: 10px; font-weight: 600; }
/* ---------- Công việc: Theo dõi, Báo cáo, ô KPI (phiếu 300c — màn 5, 8, 15, 16) ---------- */
.cv-td { display: flex; flex-direction: column; gap: 12px; }
.cv-td-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.cv-td-den { margin-left: 4px; } .cv-td-nut { margin-left: auto; }
.cv-td-than { display: flex; flex-direction: column; gap: 12px; }
.cv-td-o { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cv-td-so { display: flex; flex-direction: column; gap: 2px; min-height: 64px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-align: left; font: inherit; color: var(--ink); }
.cv-td-so b { font-size: 22px; line-height: 1.2; } .cv-td-so span { font-size: 13px; color: var(--muted); }
.cv-td-so { text-decoration: none; }
.cv-td-so.do { border-color: #F1B9B3; } .cv-td-so.do b { color: #B42318; } .cv-td-so.nen { background: #FDECEA; }
.cv-td-so.vang { border-color: #F0D49A; } .cv-td-so.vang b { color: #7A3C00; } .cv-td-so.vang.nen { background: #FFF6E5; }
/* 800h: khối bộ phận có bằng chứng · tôi giao cần để ý */
.cv-td-nhom-hang { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .cv-td-nhom-hang a { text-transform: none; letter-spacing: 0; font-weight: 600; }
.cv-td-bp { gap: 12px; } .cv-td-bp .cv-td-ten { flex: none; white-space: normal; font-size: 15px; }
.cv-td-bp-ten { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: inherit; text-decoration: none; }
.cv-td-dong.sot { background: #FFF7F6; }
.cv-td-do { color: #B42318; font-weight: 600; } .cv-td-vang { color: #7A3C00; font-weight: 600; }
a.cv-td-dem { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; } a.cv-td-dem.do { color: #B42318; }
.cv-td-giao-nut { flex: none; border-color: #8A4500; color: #7A3C00; }
.cv-td-rong, .cv-td-motlan { min-height: 40px; } .cv-td-motlan { background: #FAFBFB; }
.cv-td-chu { text-align: center; padding: 4px 8px; }
button.cv-td-so { cursor: pointer; } button.cv-td-so:disabled { cursor: default; }
.cv-td-cot { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.cv-td-chinh { flex: 3 1 760px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cv-td-phu { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cv-td-nhom { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; margin-top: 4px; }
.cv-td-ds { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.cv-td-dong { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px; border-bottom: 1px solid var(--line2); color: var(--ink); text-decoration: none; }
.cv-td-dong:last-child { border-bottom: 0; } .cv-td-dong:hover { background: #F7F8FA; }
.cv-td-dong.trong { background: #FFF6E5; }
.cv-td-ten { flex: 0 0 96px; font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cv-td-ray { flex: 1; height: 8px; border-radius: 4px; background: #DDE3EA; overflow: hidden; } .cv-td-ray i { display: block; height: 100%; background: #0F6E6E; }
.cv-td-trong { flex: 1; font-size: 13px; font-weight: 600; color: #B42318; }
.cv-td-dem { flex: 0 0 auto; min-width: 64px; text-align: right; font-size: 13px; } .cv-td-dem.do { color: #B42318; font-weight: 600; }
.cv-td-hop { display: flex; flex-direction: column; gap: 8px; } .cv-td-hop h2 { font-size: 15px; margin: 0; }
.cv-td-xl { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--ink); text-decoration: none; }
.cv-td-xl a { flex: none; font-weight: 600; } .cv-td-xl.do > span { color: #B42318; }
.cv-td-gon { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; margin-bottom: 6px; }
.cv-td-dong2 { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border-bottom: 1px solid var(--line2); color: var(--ink); text-decoration: none; }
.cv-td-dong2:last-child { border-bottom: 0; } a.cv-td-dong2:hover { background: #F7F8FA; }
.cv-td-ten2 { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cv-td-giao { flex: none; font-weight: 600; font-size: 13px; }
.wf-nhan.wf-do { background: #FDECEA; color: #B42318; }
.cv-bc { display: flex; flex-direction: column; gap: 14px; }
.cv-bc-o { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.cv-bc-o > .card { display: flex; flex-direction: column; gap: 2px; } .cv-bc-o > .card.tre { border-color: #F5C98B; }
.cv-bc-hai { display: flex; flex-wrap: wrap; gap: 14px; } .cv-bc-hai > * { flex: 1 1 340px; min-width: 0; }
.cv-bc-hop { display: flex; flex-direction: column; gap: 10px; } .cv-bc-hop h2 { font-size: 15px; margin: 0; }
.cv-bc-cs { display: flex; flex-direction: column; gap: 4px; padding: 6px 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; cursor: pointer; min-height: 44px; }
.cv-bc-ray { height: 12px; border-radius: 6px; background: #EEF2F7; overflow: hidden; } .cv-bc-ray i { display: block; height: 100%; border-radius: 6px; }
.cv-bc-ray i.m0 { background: #2a78d6; } .cv-bc-ray i.m1 { background: #eb6834; } .cv-bc-ray i.m2 { background: #1baf7a; }
.cv-bc-cuon { overflow-x: auto; margin: 0 -4px; }
.cv-bc-bang { font-size: 14px; } .cv-bc-bang th[scope="row"] { font-weight: 600; white-space: nowrap; } .cv-bc-bang .so { text-align: right; }
.cv-kpi { display: flex; flex-direction: column; gap: 6px; border-color: #C9D2DE; }
.cv-kpi-nhan { font-size: 12px; background: #E8EEF6; color: #1F4E8C; border-radius: 6px; padding: 2px 8px; font-weight: 600; }
.cv-kpi-dong { gap: 8px; }
@media (max-width: 760px) {
  .cv-td-nut { margin-left: 0; }
  .cv-td-ten { flex-basis: 76px; }
}

/* Phiếu 200g: Báo cáo tháng — bản in / PDF (khổ A4, ẩn menu, nút; đầu trang ghi tên báo cáo, phạm vi, giờ tính) */
.wf-in-dau { display: none; }
@media print {
  body.print-doc .wf-in-dau { display: flex; flex-direction: column; gap: 2px; margin-bottom: 8px; font-size: 13px; }
  body.print-doc .wf-in-dau b { font-size: 16px; }
  body.print-doc .page.wf { max-width: none; padding: 0; }
  body.print-doc .wf .card { break-inside: avoid; box-shadow: none; }
  body.print-doc .wf-so-luoi { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.print-doc .wf a { color: inherit; text-decoration: none; }
  body.print-doc .bottombar, body.print-doc .wf-fab, body.print-doc .wn-dong, body.print-doc .whats-new, body.print-doc .toasts { display: none !important; }
}

/* ---------- Công việc: báo cáo nâng cao (phiếu 300c-2) ---------- */
.cv-bc-xem { margin: 0 0 12px; max-width: 420px; }
.cv-bd-chuan-mau { display: inline-block; width: 16px; height: 0 !important; border-top: 2px dashed #3B4048; background: none !important; vertical-align: middle; }
.cv-bc-rr { margin-top: 8px; color: var(--ink2); }
.cv-chuan-dong { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line2); }
.cv-chuan-sua { display: flex; flex-direction: column; gap: 8px; }
.cv-chuan-sua label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.cv-chuan-sua input { width: 88px; min-height: 44px; border-radius: 10px; }
.cv-bc-qh { padding: 8px 0; border-top: 1px solid var(--line2); color: var(--ink); text-decoration: none; gap: 10px; }

/* Phiếu 400e — Báo cáo nhân sự bản 2: biểu đồ một trục; xanh #2A6FB5 (vào / một dãy), cam #D0712A (ra) — đã kiểm màu (mù màu, tương phản) */
.hr-ky { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 10px; }
.hr-ky button { min-height: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); font: inherit; font-weight: 600; color: var(--ink2); cursor: pointer; }
.hr-ky button.on { border: 2px solid var(--accent); background: var(--accent-soft); color: var(--ink); }
.hr-dem.ba { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hr-dem.ba .hr-odem { padding: 8px 10px; min-height: 62px; } .hr-dem.ba .hr-odem b { font-size: 20px; } .hr-dem.ba .hr-odem span { font-size: 11.5px; line-height: 1.25; }
.hr-bd { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; align-items: end; height: 132px; }
.hr-bd-o { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 3px; min-width: 0; }
.hr-bd-o:hover .hr-bd-cot { filter: brightness(0.85); }
.hr-bd-nhan { font-size: 11px; font-weight: 600; color: var(--ink); white-space: nowrap; min-height: 14px; }
.hr-bd-cap { display: flex; gap: 2px; align-items: flex-end; height: 92px; }
.hr-bd-o > .hr-bd-cot { width: 60%; max-width: 18px; }
.hr-bd-cot { display: block; width: 7px; min-height: 0; border-radius: 4px 4px 0 0; }
.hr-bd-o > .hr-bd-cot.mot { max-height: 92px; }
.hr-bd-cot.mot, .hr-bd-cot.vao, .hr-cham.vao, .hr-ngang-cot { background: #2A6FB5; }
.hr-bd-cot.ra, .hr-cham.ra { background: #D0712A; }
.hr-bd-truc { font-size: 10.5px; color: var(--muted); }
.hr-chip-chon { display: flex; flex-wrap: wrap; gap: 6px; }
.hr-chip-chon button { min-height: 34px; padding: 0 12px; border: 1px solid var(--line); border-radius: 17px; background: var(--card); font: inherit; font-size: 13px; color: var(--ink2); cursor: pointer; }
.hr-chip-chon button.on { border: 2px solid var(--accent); background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.hr-ngang { display: grid; grid-template-columns: minmax(64px, auto) 1fr auto; gap: 8px 10px; align-items: center; }
.hr-ngang-ray { display: block; height: 12px; border-radius: 6px; background: var(--line2); overflow: hidden; }
.hr-ngang-cot { display: block; height: 100%; border-radius: 0 6px 6px 0; }
.hr-bang { width: 100%; border-collapse: collapse; margin-top: 6px; } .hr-bang th, .hr-bang td { text-align: right; padding: 3px 6px; border-bottom: 1px solid var(--line2); }
.hr-bang th:first-child, .hr-bang td:first-child { text-align: left; }
.hr-chi-tiet summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; }
.hr-o-bc { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; font-size: 14px; }
.hr-o-bc b { font-size: 18px; margin-right: 4px; }
.hr-bd-cot.an, .hr-cham.an { background: repeating-linear-gradient(45deg, #9AA1AB 0 2px, transparent 2px 4px); }
.hr-bd-cot.an { height: 8px; }
.hr-bao-cao .ns-dau { flex-wrap: wrap; row-gap: 8px; }
.hr-bao-cao .ns-dau h1 { flex: 1 1 100%; }
@media (min-width: 560px) { .hr-bao-cao .ns-dau h1 { flex: 1 1 auto; } }
.hr-bd-o { cursor: pointer; } .hr-bd-o.on .hr-bd-truc { color: var(--ink); font-weight: 700; } .hr-bd-o.on .hr-bd-cot { filter: brightness(0.8); }
button.hr-bd-o { background: none; border: 0; padding: 0; font: inherit; color: inherit; min-height: 0; }

/* ===== Chấm công (phiếu 500b) — bảng màu chung: đỏ = cần xử lý, vàng = cảnh báo, xanh lá = xong, xanh dương = nhấn ===== */
.center { text-align: center; }
.tc-nhan { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.tc-nhan.xanh { background: #EAF6EE; color: var(--ok); } .tc-nhan.vang { background: #FFF4D6; color: #7A4A00; }
.tc-nhan.do { background: #FDECEA; color: #B42318; } .tc-nhan.lam { background: #E8F0FA; color: var(--info); } .tc-nhan.xam { background: #EEF0F3; color: var(--ink2); }
.tc-vang { color: #9A5B00; } .tc-do-chu { color: #B42318; } .tc-trong { color: #9CA3AF; }
.tc-so-do { margin-left: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #B42318; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tc-cham-tron { flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: currentColor; margin-right: 6px; }
.tc-cham-tron.do { background: #B42318; } .tc-cham-tron.vang { background: #9A5B00; } .tc-cham-tron.xanh { background: var(--ok); } .tc-cham-tron.lam { background: var(--info); }

/* Màn 1 — Của tôi › Chấm công */
.tc-cua-toi { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.tc-the-ca { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.tc-ca-dau { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tc-gio-hang { display: flex; justify-content: space-between; gap: 8px; }
.tc-gio-hang > span { display: flex; flex-direction: column; gap: 2px; } .tc-gio-hang b { font-size: 22px; font-weight: 700; }
.tc-nut-cham { min-height: 64px; border: 0; border-radius: 14px; background: var(--accent); color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; width: 100%; }
.tc-nut-cham:disabled { opacity: .7; cursor: default; }
/* 500p: ngày không có ca — nút phụ (vẫn bấm được khi đi làm thêm) */
.tc-nut-cham.phu { min-height: 48px; background: transparent; color: var(--accent); border: 1.5px solid var(--accent); font-size: 16px; }
.tc-dong-vi-tri { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.tc-dong-vi-tri > span:first-child { display: inline-flex; align-items: center; }
.tc-hai-o { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tc-ba-o { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tc-bon-o { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 760px) { .tc-bon-o { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tc-o { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); min-width: 0; }
.tc-o b { font-size: 17px; } .tc-o.xanh { background: #EAF6EE; border-color: #BFE3CC; color: var(--ok); } .tc-o.vang { background: #FFF4D6; border-color: #F2D48A; color: #7A4A00; }
.tc-canh-bao { flex-wrap: nowrap; } .tc-nut-vang { min-height: 44px; background: #9A5B00; border-color: #9A5B00; color: #fff; flex: none; }
.tc-thang { display: flex; flex-direction: column; gap: 8px; }
.tc-tuan { display: flex; flex-direction: column; gap: 6px; }
.tc-tuan-o { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.tc-o-ngay { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 64px; padding: 6px 0; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font: inherit; cursor: pointer; color: var(--ink); }
.tc-o-ngay:disabled { cursor: default; } .tc-o-ngay b { font-size: 15px; } .tc-o-phu { font-size: 10px; }
.tc-o-ngay.xanh { background: #EAF6EE; border-color: #BFE3CC; } .tc-o-ngay.xanh .tc-o-phu { color: var(--ok); }
.tc-o-ngay.vang { background: #FFF4D6; border-color: #F2D48A; } .tc-o-ngay.vang .tc-o-phu { color: #9A5B00; }
.tc-o-ngay.do { background: #FDECEA; border-color: #F5C2C2; } .tc-o-ngay.do .tc-o-phu { color: #B42318; }
.tc-o-ngay.lam { background: #E8F0FA; border-color: #C9D7E4; } .tc-o-ngay.lam .tc-o-phu { color: var(--info); }
.tc-o-ngay.xam { background: #EEF1F5; } .tc-o-ngay.xam .tc-o-phu, .tc-o-ngay.trong .tc-o-phu { color: #6B7280; }
.tc-o-ngay.nay { border: 2px solid var(--accent); background: #E8F0FA; }
.tc-y { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; }
.tc-dong-y-tieu { font-size: 18px; } .tc-luat { background: #EEF1F5; border-radius: 10px; padding: 10px 12px; }
.tc-dong-y-nut { display: flex; flex-direction: column; gap: 8px; width: 100%; } .tc-dong-y-nut > .btn { min-height: 48px; justify-content: center; }
.tc-dong-cai-dat .btn { flex: none; }

/* Màn 2–4 */
.tc .tc-dau { flex-wrap: wrap; gap: 8px; align-items: center; } .tc .tc-dau h1 { font-size: 24px; }
.tc-chon-cs, .tc-chon-nguoi { width: auto; max-width: 100%; min-height: 44px; font-weight: 500; }
.tc-chon-nguoi { width: 100%; margin-bottom: 8px; }
.tc-loc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.tc-seg { display: inline-flex; padding: 3px; border-radius: 11px; background: #E9ECF0; margin: 0; }
.tc-seg button { padding: 0 12px; }
.tc-dem-hang { display: grid; gap: 6px; margin-bottom: 12px; } .tc-dem-hang.bon { grid-template-columns: repeat(4, minmax(0, 1fr)); } .tc-dem-hang.ba { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tc-dem { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font: inherit; cursor: pointer; color: var(--ink); min-width: 0; }
.tc-dem:disabled { cursor: default; } .tc-dem b { font-size: 21px; line-height: 1.2; } .tc-dem span { font-size: 11px; text-align: center; }
.tc-dem.xanh { background: #EAF6EE; border-color: #BFE3CC; color: var(--ok); } .tc-dem.vang { background: #FFF4D6; border-color: #F2D48A; color: #7A4A00; }
.tc-dem.do { background: #FDECEA; border-color: #F5C2C2; color: #B42318; } .tc-dem.lam { background: #E8F0FA; border-color: #C9D7E4; color: var(--info); }
.tc-dem.xam { background: #EEF1F5; color: var(--ink2); }
.tc-lop-thieu { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: #FDECEA; border: 1px solid #F5C2C2; margin-bottom: 12px; }
.tc-nut-ba { display: flex; flex-wrap: wrap; gap: 8px; } .tc-nut-ba > * { min-height: 44px; }
.tc-nut-do { background: #B42318; border-color: #B42318; color: #fff; flex: 1 1 160px; justify-content: center; }
.tc-nut-vien-do { background: #fff; border-color: #F5C2C2; color: #B42318; }
.tc-nhom { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
/* 500l: bộ sửa quy chế phép — ô chọn tháng / ô số nằm trên một hàng với chữ (không giãn hết bề ngang) */
.tc-quy-che-phep .row { align-items: center; }
.tc-quy-che-phep select, .tc-quy-che-phep input[type=number], .tc-quy-che-phep .ongay[data-kieu=date] { width: auto; min-width: 0; flex: none; }
.tc-quy-che-phep select { min-width: 64px; }
.tc-quy-che-phep input[type=number] { width: 64px; }
.tc-phep-con { display: flex; flex-direction: column; align-items: flex-end; min-width: 48px; }
.tc-phep-con b.vang, .tc-phep-bang .vang, .tc-phep-the b.vang, .tc-phep-ct .vang { color: #8A5300; }
/* 500o: Bảng phép kiểu MISA */
.tc-phep-the { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tc-phep-the > div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.tc-phep-the b { font-size: 22px; line-height: 1.1; } .tc-phep-the span { font-size: 13px; color: var(--muted); }
.tc-phep-loc { align-items: center; } .tc-phep-loc > select { width: auto; flex: none; } .tc-phep-loc > input[type=search] { flex: 1 1 240px; width: auto; } .tc-phep-loc .btn.on { background: var(--accent-soft); border-color: var(--accent); }
.tc-phep-bang-hop { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.tc-phep-bang { border-collapse: collapse; width: 100%; font-size: 13px; }
.tc-phep-bang th, .tc-phep-bang td { padding: 8px 8px; text-align: right; white-space: nowrap; border-top: 1px solid var(--line); }
.tc-phep-bang th { background: var(--line2); color: var(--ink2); font-weight: 600; border-top: 0; position: sticky; top: 0; }
.tc-phep-bang .trai { text-align: left; } .tc-phep-bang .tong { background: var(--accent-soft); font-weight: 700; } .tc-phep-bang th.tong { background: var(--accent-soft); }
.tc-phep-bang .thang { color: var(--muted); } .tc-phep-bang .block { display: block; font-weight: 600; }
.tc-phep-ten { background: none; border: 0; padding: 4px 0; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; text-align: left; min-height: 32px; }
/* 500t: Danh mục ca, Bảng tổng hợp ngày nghỉ (cột 2…13), Bảng tổng hợp làm thêm */
.tc-phep-misa th { white-space: normal; min-width: 64px; max-width: 110px; font-size: 12px; line-height: 1.3; text-align: center; }
.tc-phep-misa thead tr:first-child th { top: 0; } .tc-phep-misa thead tr + tr th { top: 34px; }
.tc-phep-so-nut { background: none; border: 0; padding: 2px 4px; font: inherit; color: inherit; cursor: pointer; min-height: 28px; border-radius: 6px; }
.tc-phep-so-nut:hover { background: var(--accent-soft); color: var(--accent); }
.tc-dmc-dong { cursor: pointer; } .tc-dmc-dong:hover td { background: var(--line2); }
.tc-dmc .tc-nhan { margin-left: 6px; }
.tc-lam-them td.tc-o-vuot, .tc-lam-them td.tc-o-vuot .tc-phep-so-nut { background: #FDECEC; color: #B42318; font-weight: 700; }
.tc-lam-them th { text-align: center; }
/* 500s: Đơn từ 7 tab (máy tính), nhãn Hợp lệ / Cần lưu ý, chi tiết đơn 2 cột, đính kèm */
.tc-don-tab .nb { background: var(--line2); color: var(--ink2); border-radius: 10px; padding: 0 6px; font-size: 11px; margin-left: 4px; }
.tc-don-tab button.on .nb { background: var(--accent); color: #fff; }
.tc-don-tom-tat { margin: 8px 0; } .tc-don-chon { background: var(--accent-soft); border-radius: 10px; padding: 8px 10px; margin: 8px 0; align-items: center; }
.tc-don-bang td, .tc-don-bang th { vertical-align: middle; } .tc-don-bang .tc-don-ly-do { max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.tc-don-bang tr.tc-don-cho-toi td { background: #FFFBEB; }
.tc-vt-nho { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 700; margin-right: 6px; vertical-align: middle; }
.tc-nhan-nut { border: 0; cursor: pointer; font: inherit; }
.tc-kiem { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 6px; }
.tc-kiem li { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.4; }
.tc-kiem li span { flex: none; width: 18px; height: 18px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; }
.tc-kiem li.luu-y span { background: #D97706; } .tc-kiem li.dat span { background: #16A34A; }
.tc-don-nhan { margin: 4px 0 6px; flex-wrap: wrap; }
.tc-tep { display: grid; gap: 6px; margin: 10px 0; } .tc-tep-dong { display: flex; gap: 8px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; text-align: left; font: inherit; }
@media (min-width: 1024px) {
  .tc-chi-tiet-2 { max-width: 1100px; }
}
/* 500u: Tổng quan › Biểu đồ, Báo cáo */
.tc-tq-tab { margin: 4px 0 12px; }
.tc-bd-o { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 10px 0; }
.tc-bd-dem { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; }
.tc-bd-dem b { font-size: 24px; } .tc-bd-dem.canh { border-color: #D97706; background: #FFFBEB; }
.tc-bd-tom-tat { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin: 8px 0; }
.tc-bd-tom-tat p { margin: 6px 0; line-height: 1.5; } .tc-bd-ghi { grid-column: 1 / -1; }
.tc-bd-so-ky { margin: 10px 0; }
.tc-bd-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 12px; }
@media (max-width: 720px) { .tc-bd-luoi { grid-template-columns: 1fr; } }
.tc-bd-the { min-width: 0; } .tc-bd-svg { width: 100%; height: auto; display: block; margin-top: 8px; }
.tc-bd-cot { display: grid; gap: 6px; margin-top: 8px; } .tc-bd-cot-dong { display: grid; grid-template-columns: 130px 1fr 48px; gap: 8px; align-items: center; }
.tc-bd-cot-dong.bam { cursor: pointer; } .tc-bd-cot-dong.bam:hover .tc-bd-cot-ten { color: var(--accent); }
.tc-bd-cot-ten { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-bd-cot-thanh { height: 12px; background: var(--line2); border-radius: 4px; overflow: hidden; } .tc-bd-cot-thanh i { display: block; height: 100%; border-radius: 0 4px 4px 0; }
.tc-bd-top { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.tc-bd-top a { display: flex; gap: 8px; align-items: center; padding: 6px 4px; border-radius: 8px; color: inherit; text-decoration: none; } .tc-bd-top a:hover { background: var(--line2); }
.tc-bd-vanh { align-items: center; margin-top: 8px; } .tc-bd-chu-giai { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; flex: 1; }
.tc-bd-chu-giai li { display: flex; gap: 6px; align-items: center; } .tc-bd-chu-giai i, .tc-bd-cham { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; }
.tc-bd-tuy { list-style: none; padding: 0; display: grid; gap: 6px; }
/* 500v: ô đếm chọn kỳ · kéo thả Tùy chỉnh · màn Xác nhận & khoá công */
.tc-bd-dem-ky { font: inherit; font-size: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 2px 6px; background: var(--card); color: var(--ink); }
.tc-bd-tuy li { cursor: grab; border-radius: 8px; padding: 2px 4px; } .tc-bd-tuy li.dang-keo { background: var(--brand-soft, #E5F4F3); }
.tc-bd-keo { color: var(--muted); letter-spacing: -2px; padding: 0 4px; user-select: none; }
.tc-khoa-dai { border-radius: 12px; padding: 10px 14px; font-size: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 12px; }
.tc-khoa-dai.do { background: #FDECEC; color: #C62828; } .tc-khoa-dai.vang { background: #FFF4D6; color: #6B4600; }
.tc-khoa-nhom { font-size: 11px; font-weight: 700; letter-spacing: .06em; margin: 12px 0 2px; }
.tc-khoa-nhom.do { color: #C62828; } .tc-khoa-nhom.vang { color: #8A5A00; } .tc-khoa-nhom.xanh { color: #1B6B3A; }
.tc-o-vuong.vang { border-color: #8A5A00; }
.tc-khoa-tat-ca td, .tc-khoa-tat-ca th { padding: 12px; text-align: left; border-top: 1px solid var(--line); }
.tc-khoa-tat-ca th { font-size: 12px; color: var(--muted); border-top: 0; }
.tc-the-nhan { border-radius: 8px; padding: 3px 9px; font-size: 12px; font-weight: 600; background: #FFF4D6; color: #6B4600; white-space: nowrap; }
.tc-the-nhan.xong { background: #E6F4EA; color: #1B6B3A; }
.tc-bao-cao-tim { width: 100%; max-width: 360px; margin: 8px 0; } .tc-ghim { background: none; border: 0; font-size: 16px; cursor: pointer; color: #D97706; }
.tc-bc-than { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px; align-items: start; } .tc-bc:not(.mo) .tc-bc-than { grid-template-columns: auto minmax(0, 1fr); }
@media (max-width: 900px) { .tc-bc-than { grid-template-columns: 1fr; } }
.tc-bc-ts { display: grid; gap: 8px; position: sticky; top: 8px; }
.tc-bc-lt { display: flex; gap: 18px; align-items: flex-end; height: 160px; margin: 10px 0; }
.tc-bc-lt-thang { display: grid; gap: 4px; justify-items: center; height: 100%; grid-template-rows: 1fr auto; }
.tc-bc-lt-cot { display: flex; gap: 3px; align-items: flex-end; height: 100%; } .tc-bc-lt-cot span { width: 18px; border-radius: 4px 4px 0 0; position: relative; min-height: 2px; }
.tc-bc-lt-cot span i { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font-style: normal; color: var(--ink2); white-space: nowrap; }
.tc-bc-chon { list-style: none; padding: 0; display: grid; gap: 6px; } .tc-bc-chon li { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
@media (min-width: 1024px) {
  .tc-ct-cot { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
  .tc-ct-phai { position: sticky; top: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
}
.tc-phep-tn { color: var(--accent); text-decoration: underline dotted; text-underline-offset: 3px; }
.tc-phep-dong { width: 100%; text-align: left; font: inherit; color: inherit; cursor: pointer; } .tc-phep-dong .block { display: block; }
.tc-phep-khoan { border: 1px solid var(--line); border-radius: 12px; }
.tc-phep-khoan > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; min-height: 44px; border-top: 1px solid var(--line); }
.tc-phep-khoan > div:first-child { border-top: 0; } .tc-phep-khoan > div.tong { background: var(--accent-soft); border-radius: 0 0 12px 12px; }
.tc-phep-thang { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.tc-phep-thang > div { border: 1px solid var(--line); border-radius: 10px; padding: 6px; display: flex; flex-direction: column; align-items: center; }
.tc-phep-so { display: flex; flex-direction: column; gap: 6px; } .tc-phep-ngay { min-width: 84px; }
@media (max-width: 760px) { .tc-phep-the b { font-size: 18px; } .tc-phep-the span { font-size: 12px; } }
.tc-phep-con b { font-size: 20px; line-height: 1.1; }
.tc-dong { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; min-height: 56px; }
.tc-dong.vien-do { border-color: #F5C2C2; } .tc-dong.vien-vang { border-color: #F2D48A; }
.tc-nguoi { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.tc-lien-he { display: flex; gap: 6px; flex: none; } .tc-lien-he .btn { min-height: 44px; }
.tc-dieu-huong { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; } .tc-mui { min-width: 44px; min-height: 44px; justify-content: center; font-size: 18px; }
.tc-ngay-nho { display: flex; flex-direction: column; align-items: center; min-width: 44px; }
.tc-thanh-khoa { position: sticky; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-top: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.tc-thanh-khoa .btn { min-height: 44px; flex: none; }
.tc-khoa { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.tc-viec-do { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.tc-viec-do.con { border-color: #F5C2C2; } .tc-viec-do.con > .b { color: #B42318; } .tc-viec-do.xong > .b { color: var(--ok); }
.tc-viec-dong { display: flex; align-items: center; gap: 10px; } .tc-viec-dong a { min-height: 44px; display: inline-flex; align-items: center; color: var(--accent); }
.tc-o-vuong { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 2px solid #B42318; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.tc-o-vuong.xong { border: 0; background: var(--ok); color: #fff; }
.tc-tong-hop { padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.tc-luoi-th { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; } .tc-luoi-th b { text-align: right; }
.tc-ghi-chu { padding: 10px 12px; border-radius: 10px; background: #EEF1F5; color: var(--ink2); line-height: 1.5; }
.tc-chan-nut { display: flex; flex-direction: column; gap: 6px; } .tc-chan-nut > .btn { min-height: 48px; justify-content: center; }

/* Cài đặt */
.tc-cai-dat { gap: 10px; } .tc-cfg { display: flex; flex-direction: column; gap: 8px; }
.tc-json { font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.tc-luoi-don { display: grid; grid-template-columns: minmax(110px, auto) 1fr; gap: 8px 12px; align-items: center; }
.tc-khung { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.tc-nhan-nhom { min-width: 90px; font-weight: 600; }
.tc-khoa-may { display: block; padding: 10px; background: #EEF1F5; border-radius: 8px; word-break: break-all; font-size: 13px; }

/* ---------- Chấm công 500c: Tạo đơn (màn 5), Duyệt đơn (màn 6), chi tiết đơn, Lịch ca tuần (màn 7), Nhập ---------- */
.tc-chip-loai { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.tc-chip-loai button, .tc-seg-hang button { min-height: 44px; padding: 0 4px; border-radius: 10px; border: 1px solid #D6DAE1; background: var(--card); font: inherit; font-size: 13px; cursor: pointer; color: var(--ink); }
.tc-chip-loai button.on, .tc-seg-hang button.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 600; }
.tc-seg-hang { display: flex; gap: 6px; } .tc-seg-hang button { flex: 1; }
.tc-seg-hang button:disabled { opacity: .5; cursor: default; }
.tc-the-form { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; margin-bottom: 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.tc-the-form select, .tc-the-form input:not([type=checkbox]) { min-height: 44px; }
.tc-the-thay { border-color: #C9D7E4; }
.tc-khoi-xam { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; margin-bottom: 10px; border-radius: 10px; background: #EEF1F5; color: var(--ink2); }
.tc-chan-gui { padding: 6px 0 14px; }
.tc-chan-gui .btn { width: 100%; min-height: 48px; justify-content: center; font-size: 16px; }
.tc-chip-tab { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tc-chip-tab a, .tc-chip-tab button { min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; border: 1px solid #D6DAE1; background: var(--card); color: var(--ink); text-decoration: none; font: inherit; font-size: 13px; cursor: pointer; }
.tc-chip-tab a.on, .tc-chip-tab button.on { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 500; }
.tc-the-don { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.tc-the-don.chi-xem { background: #FAFBFC; }
.tc-the-dau { text-decoration: none; color: inherit; min-height: 44px; } a.tc-the-dau:hover .b { text-decoration: underline; }
.tc-vt { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #DBE8F3; color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
.tc-nut-duyet { display: flex; gap: 8px; } .tc-nut-duyet > .btn { min-height: 44px; justify-content: center; flex: 1; } .tc-nut-duyet > .btn:last-child { flex: 2; }
.tc-nut-xanh { background: var(--ok); border-color: var(--ok); color: #fff; font-weight: 600; }
.tc-xanh-chu { color: var(--ok); }
.tc-mo-don { align-self: flex-start; min-height: 32px; display: inline-flex; align-items: center; color: var(--accent); text-decoration: none; }
.tc-giao-dong { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; } .tc-giao-dong select { min-height: 44px; }
.tc-trao-doi { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.tc-tin { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); max-width: 92%; overflow-wrap: anywhere; }
.tc-tin.toi { align-self: flex-end; background: #E8F0FA; border-color: #C9D7E4; } .tc-tin.tra { background: #FDECEA; border-color: #F5C2C2; }
.tc-gui-tin { display: flex; gap: 8px; } .tc-gui-tin input { flex: 1; min-width: 0; min-height: 44px; } .tc-gui-tin .btn { min-height: 44px; flex: none; }
.tc-dong-link { text-decoration: none; color: inherit; min-height: 56px; }
.tc-o-link { text-decoration: none; color: inherit; } .tc-o-link b { color: var(--accent); }
.tc-lien-ket { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; color: var(--accent); text-decoration: none; }
.tc-chi-tiet > .btn { width: 100%; min-height: 48px; justify-content: center; margin-top: 4px; }
.tc-lich { display: flex; flex-direction: column; gap: 10px; padding-bottom: 8px; }
.tc-lich-dau { display: flex; align-items: center; gap: 6px; }
.tc-chon-bp { flex: 1; min-width: 0; min-height: 44px; font-weight: 500; }
.tc-tuan-nhan { white-space: nowrap; padding: 0 2px; font-size: 14px; }
.tc-lich-cong-cu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .tc-lich-cong-cu .btn { min-height: 40px; }
.tc-canh-bao-lich { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 10px; background: #FDECEA; border: 1px solid #F5C2C2; color: #B42318; font-size: 12px; font-weight: 600; }
.tc-ngay-the { display: flex; flex-direction: column; gap: 6px; }
.tc-the-ngay { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
.tc-the-ngay.thieu { border-color: #F5C2C2; } .tc-the-ngay.qua { opacity: .75; }
.tc-dong-khung { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.tc-nhan-khung { width: 52px; flex: none; font-weight: 600; color: #6B7280; overflow-wrap: anywhere; }
.tc-chip-nguoi { min-height: 32px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; border: 0; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; background: #EEF1F5; color: var(--ink); }
span.tc-chip-nguoi { cursor: default; }
.tc-chip-nguoi.k0 { background: #FDE7A3; color: #5B3D00; } .tc-chip-nguoi.k1 { background: #C7D2FE; color: #1E2A78; }
.tc-chip-nguoi.k2 { background: #CDEBDF; color: #14532D; } .tc-chip-nguoi.k3 { background: #E5D4F5; color: #4C1D95; }
.tc-chip-nguoi.nghi { background: #EEF1F5; color: #6B7280; font-weight: 500; }
.tc-chip-nguoi.nhap { outline: 2px dashed #9A5B00; outline-offset: 1px; }
.tc-them { min-height: 32px; min-width: 36px; padding: 0 10px; border-radius: 999px; border: 1px dashed #9CA3AF; background: transparent; color: #6B7280; font: inherit; font-size: 12px; cursor: pointer; }
.tc-them.do { border-color: #B42318; color: #B42318; font-weight: 600; }
.tc-chan-lich { display: flex; gap: 8px; padding: 6px 0 14px; }
.tc-chan-lich .btn { flex: 1; min-height: 48px; justify-content: center; font-size: 15px; }
.tc-chon-ca { display: flex; flex-direction: column; gap: 8px; } .tc-chon-ca .btn { min-height: 48px; justify-content: space-between; gap: 8px; }
.tc-nhap { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.tc-chon-file { position: relative; min-height: 48px; justify-content: center; overflow: hidden; } .tc-chon-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tc-ket-qua { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); }
/* 1000y — Danh mục mặt hàng theo từng kho: chọn kho trước, chip "Chưa gán kho", bảng STT · Mặt hàng (mã dòng dưới) · ĐVT · Tồn */
.kho-chon-kho-mh { margin: 6px 0 10px; }
.kho-chip-ky button.kho-chip-vang:not(.on) { background: #FFF6E5; color: #6B4E00; box-shadow: 0 0 0 1px #F2D98A; }
.kho-bang-dm { width: 100%; }
.kho-bang-dm td { vertical-align: top; }
.kho-bang-dm .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.kho-bang-dm .kho-dong-nut { justify-content: flex-end; flex-wrap: wrap; }
/* 1000zc: dòng bảng danh mục mang lớp kho-dong (flex) làm lệch tiêu đề — giữ kiểu dòng bảng */
.kho-bang-dm tr.kho-dong { display: table-row; }
@media (max-width: 600px) { .kho-bang-dm th:nth-child(1), .kho-bang-dm td:nth-child(1) { display: none; } }

/* ================= Quy tắc màn chuẩn (anh Cường chốt 15/10/2026) — Nhân sự là màn mẫu đầu tiên ================= */
.hr-odem.khong { opacity: .55; }
.ns-ba-cham { display: none; }
@media (max-width: 760px) {
  /* iPhone tự phóng to khi bấm ô nhập chữ < 16 px */
  input, select, textarea { font-size: 16px; }
  /* Trong phân hệ: thanh trên chỉ còn biểu tượng 🔍 (một ô tìm trên màn là ô lọc của trang) */
  .shell.co-ph .topbar .searchbox { flex: 0 0 44px; max-width: 44px; padding: 0; justify-content: center; }
  .shell.co-ph .topbar .searchbox > span, .shell.co-ph .topbar .searchbox kbd { display: none; }
  .shell.co-ph .topbar .ph-ten { margin-right: auto; }
  /* Màn Nhân sự: chữ 15 px, đầu trang gọn (tên màn + chip cơ sở), dải đếm gọn, dòng người có ⋯ */
  .page.nhan-su { font-size: 15px; }
  .ns-dau { gap: 8px; } .ns-dau h1 { font-size: 24px; }
  .ns-coso-chon { flex: 0 1 auto; max-width: 48%; min-width: 0; }
  .hr-dem { gap: 6px; }
  .hr-odem { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; padding: 7px 10px; border-left-width: 3px !important; }
  .hr-odem b { font-size: 19px; } .hr-odem span { font-size: 12.5px; line-height: 1.25; }
  .ns-thanh select { min-width: 0; }
  .ns-dong .ns-nut { display: none; }
  .ns-ba-cham { display: inline-flex; flex: none; align-self: center; }
  .ns-dong .muted.xs { font-size: 13px; }
}
/* Màn Việc (Nhân sự): hai đoạn Chờ duyệt · Nhắc hạn */
.hr-doan { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: #E9ECEE; align-self: flex-start; margin-bottom: 4px; }
.hr-doan button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-weight: 600; color: var(--ink2); cursor: pointer; }
.hr-doan button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(16,24,40,.08); }
/* Nút Lọc gom trạng thái + lọc nhanh */
.ns-loc { flex: none; gap: 6px; } .ns-loc.on { border-color: var(--accent); color: var(--accent); }
.ns-loc-nhom { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 2px; }
.ns-loc-nhom legend { margin-bottom: 6px; }
.ns-loc-dong { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; border-bottom: 1px solid var(--line2); cursor: pointer; }

.tc-chip-cs { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: #E8F0FA; color: var(--info); font-size: 13px; font-weight: 600; white-space: nowrap; }

/* ---------- Chấm công trên máy tính (phiếu 500d — màn 9, 10; lịch ca lưới) ---------- */
.page.kp.tc-rong { max-width: none; }
.tc-pc { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tc-pc-dau { justify-content: flex-start; gap: 10px; }
.tc-pc-dau h1 { font-size: 24px; margin: 0; }
.tc-chon-thang { display: inline-flex; align-items: center; gap: 6px; } .tc-chon-thang b { min-width: 64px; text-align: center; }  /* đổi tên 20/10/2026: trùng .tc-thang của lịch Tháng của tôi (CuaToi) → lịch bị xếp ngang trên điện thoại */
.tc-pc-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tc-pc-dem { flex: 0 1 440px; min-width: 360px; }
.tc-pc-dem .hr-odem { min-height: 50px; padding: 6px 10px; }
.tc-pc-tim { width: 170px; }
.tc-pc-loc select.on, .tc-loc-chon.on { border-color: var(--accent); color: var(--accent); }
.tc-chu-giai { flex: 1 1 100%; text-align: right; }
.tc-pc-bang { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.tc-pc-cuon { overflow: auto; max-height: calc(100vh - 290px); min-height: 280px; outline: none; }
.tc-pc-cuon:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.tc-pc-cuon table { border-collapse: separate; border-spacing: 0; font-size: 12px; width: 100%; }
.tc-pc-cuon th, .tc-pc-cuon td { height: 34px; box-sizing: border-box; min-width: 24px; padding: 0 2px; text-align: center; border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); white-space: nowrap; }
.tc-pc-cuon thead th { position: sticky; top: 0; z-index: 2; background: #F8F9FB; font-weight: 600; color: #4B5563; line-height: 1.15; }
.tc-pc-cuon thead th span { font-weight: 400; font-size: 11px; }
.tc-pc-cuon .ten { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; padding: 0 8px; min-width: 150px; max-width: 170px; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.tc-pc-cuon thead .ten { z-index: 3; background: #F8F9FB; }
.tc-pc-cuon td { cursor: pointer; }
.tc-pc-cuon .wk { background: #F4F5F7; color: #9CA3AF; }
.tc-pc-cuon .ok { color: var(--ok); }
.tc-pc-cuon .muon { background: #FFF6E5; color: #8A5A00; font-weight: 600; }
.tc-pc-cuon .thieu { background: #FDECEC; color: #B42318; font-weight: 700; }
.tc-pc-cuon .nghi { background: #EEF3F8; color: #1F5F8B; font-weight: 600; }
.tc-pc-cuon .lt { background: #EAF6EE; color: var(--ok); font-weight: 600; }
.tc-pc-cuon td.can { box-shadow: inset 0 0 0 2px #E5484D; }
.tc-pc-cuon td.mo { opacity: .35; }
.tc-pc-cuon td.chon { outline: 2px solid var(--ink); outline-offset: -2px; }
.tc-pc-cuon .tong { background: #F8F9FB; font-weight: 600; min-width: 38px; }
.tc-pc-chan { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); background: #F8F9FB; font-size: 13px; min-height: 52px; position: sticky; bottom: 0; z-index: 4; box-shadow: 0 -2px 10px rgba(16,24,40,.05); }
.tc-pc-o { max-width: 560px; }
.tc-pc-hai { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: start; }
.tc-pc-the { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.tc-pc-the.do { border-color: #F5C2C2; } .tc-pc-the.xam { background: #EEF1F5; line-height: 1.6; color: #4B5563; }
.tc-pc-viec { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.tc-pc-viec:last-child { border-bottom: 0; }
.tc-pc-th { border-collapse: collapse; width: 100%; font-size: 13px; }
.tc-pc-th th, .tc-pc-th td { padding: 7px 8px; border-bottom: 1px solid var(--line2); text-align: right; }
.tc-pc-th th { background: #F8F9FB; color: #6B7280; font-weight: 600; }
.tc-pc-th td:first-child, .tc-pc-th th:first-child { text-align: left; }
.btn.on { border-color: var(--accent); color: var(--accent); }
.tc-buoc { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13px; flex-wrap: wrap; }
.tc-buoc li { display: inline-flex; align-items: center; gap: 6px; }
.tc-buoc li + li::before { content: '—'; color: #C9CED6; margin-right: 4px; }
.tc-buoc-so { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; background: #EEF1F5; color: #6B7280; }
.tc-buoc li.xong .tc-buoc-so { background: var(--ok); color: #fff; } .tc-buoc li.dang .tc-buoc-so { background: #9A5B00; color: #fff; }
.tc-pc-chan-khoa { position: sticky; bottom: 8px; z-index: 4; box-shadow: 0 -2px 12px rgba(16,24,40,.06); display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.tc-pc-chan-khoa input { min-width: 0; }
.tc-o-ky { min-width: 34px; text-align: center; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 3px 4px; }
.tc-o-ky.muon { background: #FFF6E5; color: #8A5A00; } .tc-o-ky.thieu { background: #FDECEC; color: #B42318; } .tc-o-ky.nghi { background: #EEF3F8; color: #1F5F8B; }
.tc-o-ky.lt, .tc-o-ky.ok { background: #EAF6EE; color: var(--ok); }
/* Lịch ca máy tính: lưới người × 7 ngày */
.tc-lich-luoi { overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.tc-lich-luoi table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 13px; }
.tc-lich-luoi th, .tc-lich-luoi td { border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); padding: 0; height: 40px; text-align: center; min-width: 96px; }
.tc-lich-luoi thead th { background: #F8F9FB; font-weight: 600; position: sticky; top: 0; z-index: 2; line-height: 1.2; } .tc-lich-luoi thead th span { font-weight: 400; font-size: 12px; }
.tc-lich-luoi .ten { text-align: left; padding: 0 12px; min-width: 180px; position: sticky; left: 0; background: #fff; z-index: 1; font-weight: 500; }
.tc-lich-luoi thead .ten { background: #F8F9FB; z-index: 3; }
.tc-lich-luoi td button { width: 100%; height: 100%; min-height: 40px; border: 0; background: transparent; font: inherit; color: inherit; cursor: pointer; }
.tc-lich-luoi td button:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.tc-lich-luoi td.k0 { background: #E8F0FA; } .tc-lich-luoi td.k1 { background: #EAF6EE; } .tc-lich-luoi td.k2 { background: #FFF4D6; } .tc-lich-luoi td.k3 { background: #F3E8FA; }
.tc-lich-luoi td.nghi { background: #F4F5F7; color: #6B7280; } .tc-lich-luoi td.wk:not(.k0):not(.k1):not(.k2):not(.k3) { background: #F9FAFB; }
.tc-lich-luoi td.nhap { text-decoration: underline dotted; text-underline-offset: 3px; font-style: italic; }
.tc-lich-luoi tfoot th, .tc-lich-luoi tfoot td { background: #FAFAFB; font-size: 12px; height: 30px; } .tc-lich-luoi tfoot td.thieu { background: #FDECEC; color: #B42318; font-weight: 700; }
/* 500m — Lịch ca xem tháng: lưới người × ngày, chỉ xem, đối chiếu AMIS */
.tc-xem-chon { flex: none; } .tc-xem-chon button { min-height: 36px; }
.tc-thang-cong-cu { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.tc-thang-loc { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; min-height: 36px; } .tc-thang-loc.co b { color: #B42318; }
.tc-luoi-thang { max-height: calc(100vh - 220px); }
.tc-luoi-thang table { width: auto; font-size: 12px; }
.tc-luoi-thang th, .tc-luoi-thang td { min-width: 40px; height: 36px; }
.tc-luoi-thang .ten { min-width: 150px; max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 8px; }
.tc-luoi-thang tbody .ten { display: table-cell; } .tc-luoi-thang tbody .ten span:first-child { overflow: hidden; text-overflow: ellipsis; }
.tc-luoi-thang thead th.nay { color: var(--accent-ink); box-shadow: inset 0 -3px 0 var(--accent); }
.tc-luoi-thang td button { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; min-height: 36px; padding: 0 2px; }
.tc-luoi-thang td button .kt { font-size: 10px; color: #6B7280; }
.tc-luoi-thang td.co { background: #EEF4FB; } .tc-luoi-thang td.nghi { background: #F4F5F7; color: #9CA3AF; } .tc-luoi-thang td.khac { background: #FAF5FF; color: #6B21A8; }
.tc-luoi-thang td.wk.nghi { background: #ECEDF0; } .tc-luoi-thang td.trong { background: #fff; }
.tc-luoi-thang td.tay { box-shadow: inset 3px 0 0 #2563EB; }
.tc-luoi-thang td.lech { background: #FDECEC; color: #B42318; font-weight: 700; } .tc-luoi-thang td.lech button .kt { color: #B42318; }
.tc-thang-dem { display: inline-block; margin-left: 6px; min-width: 18px; padding: 0 5px; border-radius: 9px; background: #FDECEC; color: #B42318; font-size: 11px; font-weight: 700; text-align: center; }
.tc-thang-nhom th, .tc-thang-nhom td { height: 26px; background: #F8F9FB !important; font-size: 12px; font-weight: 700; color: #374151; }
.tc-thang-chu-thich { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 2px; align-items: center; }
.tc-thang-chu-thich .o { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 4px; border: 1px solid var(--line2); }
.tc-thang-chu-thich .o.co { background: #EEF4FB; } .tc-thang-chu-thich .o.nghi { background: #F4F5F7; } .tc-thang-chu-thich .o.tay { background: #EEF4FB; box-shadow: inset 3px 0 0 #2563EB; }
.tc-thang-chu-thich .o.lech { background: #FDECEC; }
.tc-thang-ct { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0 0 8px; } .tc-thang-ct dt { color: #6B7280; } .tc-thang-ct dd { margin: 0; }
.tc-thang-tim { width: 180px; min-height: 36px; } .tc-thang-loc-chon { width: auto; min-height: 36px; } .tc-thang-kieu button, .tc-thang-o button { min-height: 32px; }
.tc-luoi-thang td button .ma { font-size: 10px; line-height: 1.1; word-break: break-all; padding: 0 1px; }
.tc-luoi-thang td.sua button { cursor: pointer; } .tc-luoi-thang td.sua button:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.tc-theo-ca .ten { min-width: 200px; max-width: 260px; } .tc-theo-ca td.co { background: #EEF4FB; font-weight: 600; }
.tc-thang-ds { list-style: none; margin: 0; padding: 0; } .tc-thang-ds li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line2); }
.tc-thang-sua { border-top: 1px solid var(--line2); padding-top: 10px; display: grid; gap: 8px; }
.tc-gan { display: grid; gap: 12px; } .tc-gan .field { display: grid; gap: 6px; }
.tc-gan-thu { display: flex; flex-wrap: wrap; gap: 6px; } .tc-gan-thu label { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 16px; font-size: 13px; cursor: pointer; }
.tc-gan-thu label.on { background: #EEF4FB; border-color: var(--accent); } .tc-gan-thu input { margin: 0; }
.tc-gan-lich { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.tc-gan-lich button { min-height: 40px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font: inherit; font-size: 13px; cursor: pointer; }
.tc-gan-lich button span { font-size: 10px; color: #6B7280; } .tc-gan-lich button.wk { background: #F9FAFB; } .tc-gan-lich button.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.tc-gan-lich button.on span { color: #fff; } .tc-gan-lich button:disabled { opacity: .35; cursor: default; }
.tc-gan-nguoi { max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.tc-gan-nhom { display: grid; gap: 2px; padding: 4px 0; border-bottom: 1px solid var(--line2); } .tc-gan-nhom:last-child { border-bottom: 0; }
.tc-gan-nhom label { display: flex; align-items: center; gap: 8px; min-height: 32px; font-size: 14px; } .tc-gan-nhom label:not(.b) { padding-left: 20px; }
@media (max-width: 600px) { .tc-thang-dau { flex-wrap: wrap; } .tc-thang-dau .tc-chon-bp { flex-basis: 100%; } .tc-thang-tim { width: 100%; } .tc-thang-loc-chon { flex: 1; } .tc-luoi-thang .ten { min-width: 110px; max-width: 120px; } }
.tc-pc-dau { flex-wrap: nowrap; } .tc-pc-dau > * { flex: none; } .tc-pc-dau .grow { flex: 1 1 auto; }
.tc-chon-thang { flex-direction: row; flex-wrap: nowrap; } .tc-pc .tc-mui { min-width: 36px; min-height: 36px; padding: 0; }
.tc-pc-loc select, .tc-pc-loc input { width: auto; min-height: 38px; } .tc-pc-loc select { max-width: 150px; }
.tc-pc-loc .hr-dem { margin: 0; }
.tc-loc .tc-loc-chon { width: auto; min-width: 120px; flex: none; }
/* Quét QR trên CCCD (Nhân sự, 15/10/2026) */
.hr-qr { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.hr-qr-video { width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; background: #111; }
.hr-qr-khung { position: relative; border-radius: 12px; overflow: hidden; background: #111; }
.hr-qr-khung .hr-qr-video { display: block; border-radius: 0; max-height: 52vh; object-fit: contain; }   /* không cắt hình: ô vuông khớp đúng vùng đọc */
.hr-qr-video.guong { transform: scaleX(-1); }
.hr-qr-dich { position: absolute; left: 50%; top: 50%; height: 60%; aspect-ratio: 1; transform: translate(-50%, -50%);   /* = vùng giữa được đọc ở độ nét gốc (60% cạnh ngắn) */
  border: 3px solid rgba(255,255,255,.92); border-radius: 14px; box-shadow: 0 0 0 9999px rgba(0,0,0,.35); pointer-events: none; }
.hr-qr-lech { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Phiếu 800: màn Việc, Bàn làm việc (Hôm nay · Điều hành), Thêm — bảng màu B, quy tắc màn chuẩn ----------
   Số đỏ #C9372C chỉ ở nút Việc / mục Việc; vùng bấm ≥ 44 px; chữ phụ #5E5E63 (tương phản ≥ 4,5:1 trên trắng); 360–390 px không cuộn ngang. */
.viec { max-width: 860px; }
.viec-dau { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.viec-dau .row-gap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.viec-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 16px; background: var(--side-on); color: var(--accent-ink); font-size: 13px; font-weight: 600; white-space: nowrap; }
.viec-loc { display: flex; gap: 8px; align-items: center; margin: 4px 0 8px; }
.viec-tim { flex: 1; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; min-height: 44px; padding: 0 12px; box-shadow: var(--bong); color: var(--muted); min-width: 0; }
.viec-tim input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: 16px; padding: 0; min-height: 40px; box-shadow: none; }
.viec-loc-nut { position: relative; flex: none; }
.viec-loc-nut > .btn { min-height: 44px; }
.viec-loc-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; background: #fff; border-radius: 14px; box-shadow: 0 8px 24px rgba(16,24,40,.14); padding: 6px; min-width: 200px; display: flex; flex-direction: column; }
.viec-loc-menu button { display: flex; align-items: center; gap: 10px; border: 0; background: none; text-align: left; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 15px; color: var(--ink); cursor: pointer; }
.viec-loc-menu button.on, .viec-loc-menu button:hover { background: var(--side-on); color: var(--accent-ink); }
.viec-nhom { margin-top: 10px; }
.viec-nhom-dau { display: flex; align-items: center; justify-content: space-between; margin: 6px 2px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); }
.viec-nhom-dau.neg { color: #C9372C; }
.viec-nhom-dau .badge { position: static; font-size: 13px; height: 22px; min-width: 22px; border-radius: 11px; }
.viec-dem { min-width: 22px; height: 22px; border-radius: 11px; background: #EEF0F2; color: var(--muted); font-size: 13px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.viec-the { padding: 2px 14px; }
.viec-the-do { box-shadow: 0 0 0 1px #F3C9C4, var(--bong); }
/* Phiếu 800g: hàng ô số (Cần làm · Sắp tới · Đã xong hôm nay; Quy trình: Chờ tôi · Tôi đề nghị · Liên quan) — luôn đủ ô, 0 thì nhạt */
.viec-hang-so { display: grid; gap: 8px; margin: 4px 0 10px; }
.viec-o-so { min-height: 64px; border-radius: 12px; border: 1px solid #D9DDE0; background: #fff; color: var(--ink); font: inherit; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px; padding: 6px 4px; cursor: pointer; }
.viec-o-so b { font-size: 22px; line-height: 1.1; }
.viec-o-so span { font-size: 13px; text-align: center; }
.viec-o-so.nhat { color: #6B7575; border-color: #E6E8EA; }
.viec-o-so.nhat b { font-weight: 500; }
.viec-o-so.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.viec-o-qh { font-style: normal; font-size: 13px; font-weight: 600; color: #A61B12; background: #FDF0EE; border-radius: 8px; padding: 0 6px; margin-top: 2px; }
.viec-o-so.on .viec-o-qh { background: #fff; }
.viec-dai-ql { display: flex; align-items: center; gap: 10px; background: #FFF6E5; border: 1px solid #F0D49A; color: #6B3A00; border-radius: 12px; padding: 10px 12px; margin: 0 0 10px; }
.viec-dai-ql .btn { min-height: 40px; }
.viec-dau-cv { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 10px; }
.viec-nhom-xong .viec-the { background: #F3F4F5; box-shadow: none; }
.viec-dong.viec-xong { text-decoration: none; color: var(--muted); }
.viec-dong.viec-xong .viec-ic { color: #5E8C88; }
.blv-viec-so { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; text-decoration: none; color: var(--ink); }
.blv-viec-so > span { background: #F5F6F7; border-radius: 10px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; font-size: 13px; text-align: center; }
.blv-viec-so b { font-size: 22px; }
.blv-viec-so .nhat { color: #6B7575; }
.lhn-moi-viec { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
/* 800f: mở từ một việc — nháy viền đúng chỗ xử lý */
.viec-danh-dau { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 10px; animation: viec-danh-dau 1.2s ease-in-out 2; }
@keyframes viec-danh-dau { 50% { outline-color: var(--accent-line); } }
@media (prefers-reduced-motion: reduce) { .viec-danh-dau { animation: none; } }
.viec-dong { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 0; border-top: 1px solid var(--line2); min-width: 0; }
.viec-dong:first-child { border-top: 0; }
.viec-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--side-on); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.viec-dong.qua-han .viec-ic { background: #FBEAE8; color: #C9372C; }
.viec-noi-dung { flex: 1; min-width: 0; display: flex; flex-direction: column; color: inherit; text-decoration: none; min-height: 44px; justify-content: center; }
.viec-tieu-de { font-size: 15px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.viec-phu { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viec-phu.neg { color: #C9372C; }
.viec-dong > .btn { flex: none; min-height: 40px; min-width: 64px; justify-content: center; }
.viec-trong { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 16px; text-align: center; color: var(--muted); }
.viec-xac-nhan { display: flex; flex-direction: column; gap: 8px; }
.viec-so-tien { font-size: 26px; font-weight: 700; color: var(--ink); }
.viec-lien-ket { display: flex; flex-wrap: wrap; gap: 16px; margin: 14px 2px; font-size: 14px; font-weight: 600; }
.viec-lien-ket a { min-height: 44px; display: inline-flex; align-items: center; }
/* Bàn làm việc */
.blv-tieu-de { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.blv-tieu-de h1 { margin: 0; }
.blv-o-dau .blv-o-so { position: static; flex: none; }
.blv-o-vang { background: #FFF4E5; }
.blv-cham { flex: none; width: 8px; height: 8px; border-radius: 4px; background: var(--accent); }
.blv-cham.do { background: #C9372C; } .blv-cham.vang { background: #9A5B00; }
.blv-viec .grow .clamp1:first-child { font-size: 14px; }
.blv-cho { min-height: 120px; }
.blv-xem-them { display: block; width: 100%; border: 0; background: none; color: var(--accent); font-weight: 600; font-size: 14px; min-height: 44px; padding: 6px 0 12px; cursor: pointer; text-align: center; }
/* Thêm, menu máy tính */
.them-cua-toi { flex: none; color: var(--accent); font-weight: 600; font-size: 14px; }
.side-toi { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: inherit; text-decoration: none; border-radius: 10px; }
.side-toi:hover { background: #F1F3F4; }
/* Bàn làm việc (phiếu 800): tiêu đề + ô cơ sở một hàng, ngày ở dòng dưới */
.blv .blv-dau { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin: 4px 0 10px; }
.blv .blv-dau .ns-coso-chon { max-width: 100%; }
.blv .blv-tieu-de { flex-wrap: nowrap; width: 100%; }
/* 17g: điện thoại — tiêu đề nhường chỗ cho ô cơ sở, không cắt tên cơ sở */
@media (max-width: 480px) { .blv .blv-tieu-de h1 { font-size: 22px; } .blv .blv-tieu-de .co-so-chung { flex: 0 0 auto; max-width: 62%; } }
.blv .blv-tieu-de h1 { flex: none; }
.blv .blv-tieu-de .ns-coso-chon, .blv .blv-tieu-de .viec-chip { min-width: 0; max-width: 100%; flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; }
/* ===== Lương (phiếu 600b) — dùng bảng màu chung B; chỉ bố cục riêng: bảng người × cột, ngăn chi tiết, công tắc CK / TM ===== */
.pay .pay-help { margin-top: 12px; }
.pay-chip-cs { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 18px; background: var(--card); box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 0 0 1px rgba(16,24,40,.06); font-size: 14px; font-weight: 600; }
.pay-nguon { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-nguon a { text-decoration: none; }
.pay-rong { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pay-dau { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 12px 16px; margin-bottom: 12px; flex-wrap: wrap; }
.pay-dau-trai { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pay-dau-phai { display: flex; gap: 18px; flex-wrap: wrap; }
.pay-tong { display: flex; flex-direction: column; } .pay-tong b { font-size: 17px; font-variant-numeric: tabular-nums; } .pay-tong .vang { color: #7A4A00; } .do { color: #B42318; }
.pay-nut-hang { margin-bottom: 10px; }
.pay-khung { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 12px; align-items: start; }
.pay .pay-bang-cuon.card { overflow-x: auto; padding: 0; }   /* không đệm: cột dính trái / phải sát mép khung cuộn */
.pay-bang-cuon .pay-chu-thich { padding: 10px 16px 14px; }
.pay-bang th:first-child, .pay-bang td:first-child { padding-left: 16px; } .pay-bang th:last-child, .pay-bang td:last-child { padding-right: 16px; }
/* Máy tính hẹp (< 1440): cột Trước khi trình lên trên bảng để ba cột cuối Thực lĩnh · CK · TM còn thấy; cột Người dính trái khi cuộn */
@media (max-width: 1679px) { .pay-khung { grid-template-columns: minmax(0, 1fr); } .pay-khung > .pay-ngan { order: -1; position: static; max-height: none; } }   /* 600e: 1440 + menu trái thì bảng còn quá hẹp → ngăn lên trên tới 1680 */
.pay-bang-luong th:first-child, .pay-bang-luong td:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); }
/* 600i: chỉ cột Thực lĩnh dính phải (CK / TM là cột chọn được); tiêu đề cột dính trên, dòng tổng dính dưới */
.pay-bang-luong th:last-child, .pay-bang-luong td:last-child { position: sticky; right: 0; z-index: 1; background: var(--card); min-width: 120px; box-sizing: border-box; box-shadow: -6px 0 8px -6px rgba(16,24,40,.18); }
.pay-bang-luong tbody tr.vang td:last-child { background: #FFF8E6; } .pay-bang-luong tbody tr.on td:last-child { background: var(--side-on); } .pay-bang-luong tbody tr.vang.on td:last-child { background: #F6EAC2; }
.pay-bang-luong tbody tr.vang > :first-child { background: #FFF8E6; } .pay-bang-luong tbody tr.on > :first-child { background: var(--side-on); } .pay-bang-luong tbody tr.vang.on > :first-child { background: #F6EAC2; }
.pay-bang { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.pay-bang th, .pay-bang td { padding: 8px 10px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line); vertical-align: top; }
.pay-bang th { font-size: 12px; font-weight: 600; color: var(--ink2); }
.pay-bang .trai { text-align: left; } .pay-bang .b { font-weight: 700; }
.pay-bang tbody tr { cursor: pointer; } .pay-bang tbody tr:hover { background: #F3F8F7; } .pay-bang tbody tr.on { background: var(--side-on); }
.pay-bang tbody tr.vang { background: #FFF8E6; } .pay-bang tbody tr.vang.on { background: #F6EAC2; }
.pay-bang td.tu { background: #F5F6F7; color: #3A3A3F; } .pay-bang td.tay { background: var(--card); box-shadow: inset 0 0 0 1px rgba(16,24,40,.12); border-radius: 6px; } .pay-bang td.trong { color: var(--ink3); }
.pay-bang tfoot th, .pay-bang tfoot td { border-top: 2px solid var(--line); border-bottom: 0; font-weight: 600; }
.pay-ten { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }
.pay-chips { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 3px; } .pay-chip-nho { font-size: 11px; padding: 1px 7px; }
.pay-ck-tm { display: inline-flex; margin-top: 4px; border-radius: 9px; background: var(--line); padding: 2px; }
.pay-ck-tm button { border: 0; background: transparent; padding: 2px 8px; border-radius: 7px; font: inherit; font-size: 11px; font-weight: 700; color: var(--ink2); cursor: pointer; min-height: 22px; }
.pay-ck-tm button.on { background: var(--card); color: var(--accent, var(--accent)); box-shadow: 0 1px 2px rgba(16,24,40,.08); }
.pay-chu-thich { padding: 8px 12px; }
.pay-ngan { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; position: sticky; top: 8px; max-height: calc(100vh - 32px); overflow: auto; }
.pay-ngan-nut { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.pay-h2 { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--ink2); }
.pay-h3 { margin: 10px 0 2px; font-size: 13px; font-weight: 700; display: flex; justify-content: space-between; }
.pay-kv { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pay-kv:last-child { border-bottom: 0; } .pay-kv.tong { font-weight: 700; } .pay-kv-nhan { display: flex; flex-direction: column; min-width: 0; } .pay-kv-nhan .xs { white-space: normal; }
.pay-kv-gia { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.pay-tien { font-variant-numeric: tabular-nums; } .pay-tien.b { font-weight: 700; } .pay-tien.am { color: #B42318; }
.pay-nl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pay-nl li button { width: 100%; text-align: left; border: 0; background: #FFF8E6; border-radius: 10px; padding: 8px 10px; font: inherit; cursor: pointer; min-height: 44px; }
.pay-nl li.chan button { background: #FDECEA; }
.pay-nl-gom { padding: 6px 10px; border-radius: 10px; background: var(--bg); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pay-ghi-chu { padding: 6px 0; border-bottom: 1px solid var(--line); }
.pay-card { padding: 12px 14px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 8px; } .pay-card.mo { opacity: .65; }
.pay-so-lon { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.pay-dong { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); min-height: 44px; }
.pay-dong:last-child { border-bottom: 0; } .pay-dong > span { display: flex; flex-direction: column; min-width: 0; } .pay-dong.vang { background: #FFF8E6; border-radius: 8px; padding: 8px; }
.pay-nl-dong { padding: 8px 0; border-bottom: 1px solid var(--line); } .pay-nl-dong:last-child { border-bottom: 0; }
.pay-muc { margin-bottom: 8px; } .pay-tab-cs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.pay-tab-cs button { border: 0; background: var(--card); border-radius: 18px; min-height: 36px; padding: 0 14px; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--ink); box-shadow: 0 1px 2px rgba(16,24,40,.06); cursor: pointer; }
.pay-tab-cs button.on { background: var(--side-on); color: var(--accent, var(--accent)); }
.pay-bat { display: inline-block; width: 30px; height: 18px; border-radius: 9px; background: #C6CAD0; position: relative; vertical-align: middle; }
.pay-bat span { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 7px; background: #fff; } .pay-bat.on { background: var(--accent, var(--accent)); } .pay-bat.on span { left: auto; right: 2px; }
.pay-thu { padding: 10px 12px; margin-top: 8px; display: flex; flex-direction: column; gap: 6px; } .pay-thu-kq { padding: 8px 10px; border-radius: 10px; background: var(--bg); }
.pay-cau-hinh .pay-kv-gia { flex-wrap: wrap; justify-content: flex-end; max-width: 55%; } .pay-cau-hinh code { white-space: pre-wrap; word-break: break-all; }
@media (max-width: 900px) {
  .pay-khung { grid-template-columns: 1fr; } .pay-ngan { position: static; max-height: none; }
  .pay-bang { font-size: 12.5px; } .pay-bang th, .pay-bang td { padding: 6px 8px; }
  .pay-dau-phai { gap: 12px; }
}

/* ===== Lương (phiếu 600c) — Của tôi › Lương, thủ quỹ, chi trả & khoá, thắc mắc, bản in ===== */
.pay-thang-cuon { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 6px; scrollbar-width: none; }
.pay-chip-thang { flex: 0 0 auto; min-height: 36px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 18px; background: var(--card); box-shadow: 0 0 0 1px rgba(16,24,40,.08); font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.pay-chip-thang.on { background: var(--side-on); box-shadow: inset 0 0 0 2px var(--brand); color: #1F5B56; }
.pay-phieu-dau .pay-so-lon { font-size: 30px; }
.pay-cua-toi .pay-kv .pay-tien { white-space: nowrap; flex: 0 0 auto; margin-left: 10px; }
.pay-kenh-hang { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.pay-kenh-hang > span { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--bg); }
.pay-so-thang { margin-top: 10px; font-size: 14px; } .pay-so-thang.xanh b { color: #1E7A4D; } .pay-so-thang.do b { color: #B42318; }
.pay-hoi { padding: 8px 0; border-bottom: 1px solid var(--line); } .pay-hoi:last-child { border-bottom: 0; }
.pay-tra-loi { margin-top: 4px; padding: 8px 10px; border-radius: 10px; background: #F3F8F7; }
.pay-luong-duyet { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 6px; }
.pay-luong-duyet li { display: flex; gap: 10px; align-items: center; } .pay-luong-duyet li b { width: 24px; height: 24px; border-radius: 12px; background: var(--side-on); color: #1F5B56; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.pay-o-cua-toi { margin-bottom: 12px; }
/* thủ quỹ */
.pay-tick { cursor: pointer; } .pay-tick input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--brand); }
.pay-tick.ung { background: #FFF8E6; } .pay-tick.toi { opacity: .75; } .pay-o-trong { width: 22px; height: 22px; flex: 0 0 auto; border-radius: 4px; border: 2px dashed var(--line); }
.pay-tq-rieng { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.pay-nut-dinh { position: sticky; bottom: calc(var(--thanh-duoi, 0px) + 8px); display: flex; justify-content: center; padding: 8px 0; z-index: 3; }
.pay-nut-dinh .btn { min-height: 48px; padding: 0 20px; box-shadow: 0 6px 18px rgba(16,24,40,.18); }
/* chi trả */
.tc-dem-hang.bon { grid-template-columns: repeat(4, 1fr); } @media (max-width: 720px) { .tc-dem-hang.bon { grid-template-columns: 1fr 1fr; } }
.pay-bang-ck th, .pay-bang-ck td { white-space: nowrap; } .mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.pay-dk { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; font-size: 14px; } .pay-dk-o { width: 22px; height: 22px; border-radius: 11px; border: 2px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex: 0 0 auto; }
.pay-dk.ok .pay-dk-o { background: #1E7A4D; border-color: #1E7A4D; color: #fff; }
/* thắc mắc */
.pay-tm.mo { opacity: .72; } .pay-hoi-nd { margin: 6px 0; font-size: 15px; } .pay-tra-loi-o { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; } .pay-o-bu { width: 160px; }
/* bản in */
.pay-in { max-width: 1100px; } .pay-in-nut { margin-bottom: 12px; } .pay-in-dau { margin-bottom: 12px; } .pay-in-dau h1 { margin: 2px 0 4px; font-size: 20px; }
.pay-in-bang { border-collapse: collapse; width: 100%; font-size: 12.5px; } .pay-in-bang th, .pay-in-bang td { border: 1px solid #999; padding: 4px 6px; text-align: right; font-variant-numeric: tabular-nums; }
.pay-in-bang th.trai, .pay-in-bang td.trai { text-align: left; } .pay-in-bang th { background: #f0f0f0; font-weight: 600; } .pay-in-bang tfoot td { font-weight: 700; }
.pay-in-o-ky { min-width: 110px; height: 34px; } .pay-in-ky { display: flex; justify-content: space-around; margin-top: 28px; text-align: center; page-break-inside: avoid; } .pay-in-ky > div { min-width: 160px; padding-bottom: 56px; }
/* 600o mục 9: bản in bảng lương (nhiều cột) khổ ngang A4, co chữ vừa một trang, Họ tên không xuống dòng, lặp tiêu đề mỗi trang */
@media print {
  @page pay-ngang { size: A4 landscape; margin: 8mm; }
  body.print-doc .pay-in-ngang { page: pay-ngang; }
  body.print-doc .pay-in-ngang .pay-in-bang { font-size: 9.5px; }
  body.print-doc .pay-in-ngang .pay-in-bang th, body.print-doc .pay-in-ngang .pay-in-bang td { padding: 2px 4px; }
  body.print-doc .pay-in-ngang .pay-in-bang thead { display: table-header-group; }
  body.print-doc .pay-in-ngang .pay-in-bang tfoot { display: table-footer-group; }
  body.print-doc .pay-in-ngang .pay-in-bang tr { break-inside: avoid; }
  body.print-doc .pay-in-ngang .pay-in-bang td.trai, body.print-doc .pay-in-ngang .pay-in-bang th.trai { white-space: nowrap; }
}
/* 600o mục 5: máy màn thấp (MacBook 13", cao ~575–630) — thu gọn đầu màn Lương để bảng còn ≥ 8 dòng; áp cả Thu nhập khác, Bảng thuế */
@media (max-height: 759px) {
  .pay .page-head { margin-bottom: 4px; }
  .pay .pay-trang-thai { gap: 4px 10px; padding: 3px 0; }
  .pay .pay-trang-thai .pay-buoc-nho { display: none; }   /* giữ "Bước n/7" + ô đếm, ẩn dải bước chi tiết */
  .pay .pay-tt-o { padding: 2px 8px; }
  .pay .pay-dai-do { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-top: 3px; padding-bottom: 3px; }
  .pay .btv-thanh { margin: 4px 0; padding: 4px 0; }
}
.pay-in-phieu { page-break-inside: avoid; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px dashed #bbb; } .pay-in-phieu .pay-in-bang { max-width: 560px; } .pay-in-khoi { margin-top: 16px; } .pay-in-khoi h2 { font-size: 15px; margin: 8px 0; }
@media print { .pay-in-bang { font-size: 10.5px; } body.print-doc .pay-in-nut { display: none; } }

/* ===== Lương (phiếu 600d) — báo cáo ===== */
.pay-cot { display: flex; gap: 6px; align-items: flex-end; height: 160px; padding: 8px 0 0; position: relative; }
.pay-cot-1 { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 2px; min-width: 0; }
.pay-cot-than { width: 100%; max-width: 44px; background: #CFE3E0; border-radius: 6px 6px 0 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.pay-cot-tm { background: var(--brand); width: 100%; }
.pay-cot-1 > .xs { white-space: nowrap; } .pay-cot-chu { position: absolute; right: 0; top: -4px; }
.pay-bc-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; } @media (max-width: 720px) { .pay-bc-hai { grid-template-columns: 1fr; } }
.pay-bc-nhom { margin-bottom: 8px; } .pay-goi-y { display: flex; gap: 6px; flex-wrap: wrap; width: 100%; } .pay-lich-su { margin-top: 10px; }
.pay-bang-bc th, .pay-bang-bc td { white-space: nowrap; }

/* ---------- Quản trị (phiếu 700, bản vẽ 4 màn duyệt 15/10 22:43): hai đoạn Cơ sở / Hệ thống, ô chọn cơ sở sổ xuống, nút gạt phân hệ ---------- */
.qt { max-width: 860px; }
.qt-mo-ta { margin: 4px 0 4px; }
.qt-loc { margin: 4px 0 12px; } .qt-loc select, .qt-loc input { min-height: 44px; }
.qt-cs { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; background: #fff; box-shadow: var(--bong); font-weight: 600; }
.qt-cs select { border: 0; background: transparent; font: inherit; font-weight: 600; min-height: 40px; padding: 0 4px; max-width: 60vw; }
.qt-cs.khoa { color: var(--ink); }
.qt-cs .muted { white-space: nowrap; font-weight: 400; }
.qt-doan { margin: 18px 0; } .qt-doan-dau { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.qt-doan-dau h2 { margin: 0; font-size: 16px; }
.qt-nhan { font-size: 12px; color: var(--muted); padding: 2px 8px; border-radius: 10px; background: #E9EBED; }
.qt-ds { padding: 0; overflow: hidden; }
.qt-dong { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line2); }
.qt-dong:last-child { border-bottom: 0; } a.qt-dong:hover, label.qt-dong:hover { background: #F7F8F9; }
.qt-dong > svg:first-child { color: var(--brand); flex: none; }
.qt-dong .grow { min-width: 0; display: flex; flex-direction: column; }
.qt-ten { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; } .qt-phu { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.qt-so { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; background: #C9372C; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.qt-dong.closed .qt-ten { color: var(--muted); }
.qt-the-ds { display: flex; flex-direction: column; gap: 16px; }
.qt-the { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.qt-the-dau { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .qt-the-dau h2 { margin: 0; font-size: 16px; }
.qt-the-dau .btn { min-height: 44px; }
.qt-luoi { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 12px; margin: 0; font-size: 14px; }
.qt-luoi dt { color: var(--muted); } .qt-luoi dd { margin: 0; overflow-wrap: anywhere; }
.qt-pn { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 12px; background: #F5F6F7; }
.qt-vai { font-size: 12px; font-weight: 600; color: #245F5A; background: var(--side-on); padding: 2px 8px; border-radius: 10px; }
.qt-gp { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #F5F6F7; border: 0; text-align: left; font: inherit; color: inherit; min-height: 52px; cursor: pointer; width: 100%; }
.qt-gp .qt-cham { width: 10px; height: 10px; border-radius: 5px; background: #2E7D4F; flex: none; }
.qt-gp.gan { background: #FDF3E1; } .qt-gp.gan .qt-cham { background: #9A5B00; }
.qt-gp.qua { background: #FDECEC; } .qt-gp.qua .qt-cham { background: #C9372C; } .qt-gp.qua .xs { color: #8A2E2E; }
.qt-gat { width: 52px; height: 32px; border: 0; border-radius: 16px; padding: 3px; display: flex; align-items: center; background: #C9CDD1; cursor: pointer; flex: none;
  justify-content: flex-start; margin: 6px 0; }
.qt-gat span { width: 26px; height: 26px; border-radius: 13px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.qt-gat.on { background: var(--brand); justify-content: flex-end; }
.qt-gat:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
/* Đang chờ xác nhận trong hộp thoại (tắt / bật): viền cam + núm ở giữa để thấy ngay tại chỗ bấm (20/10/2026) */
.qt-gat.cho { outline: 3px solid #D98B2B; outline-offset: 2px; justify-content: center; background: #E8C9A3; }
.qt-bang-wrap { overflow-x: auto; padding: 0; }
.qt-bang { border-collapse: collapse; width: 100%; font-size: 14px; } .qt-bang th, .qt-bang td { padding: 6px 12px; text-align: center; border-bottom: 1px solid var(--line2); }
.qt-bang th:first-child, .qt-bang tbody th { text-align: left; font-weight: 500; } .qt-bang td .qt-gat { margin: 6px auto; }
.qt-buoc { display: flex; gap: 6px; margin: 4px 0 14px; } .qt-buoc span { flex: 1; height: 4px; border-radius: 2px; background: #DDE1E4; } .qt-buoc span.on { background: var(--brand); }
.qt-chan { margin-top: 14px; } .qt-chan .btn { min-height: 48px; }
.qt-cot { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; } .qt-cot label { min-height: 36px; }
.qt-nk { flex-direction: column; align-items: stretch; } .qt-nk-nut { border: 0; background: transparent; text-align: left; font: inherit; color: inherit; padding: 0; min-height: 44px; cursor: pointer; display: flex; flex-direction: column; }
.qt-json { font-size: 12px; white-space: pre-wrap; word-break: break-all; background: #F5F6F7; border-radius: 8px; padding: 8px; margin: 0; max-height: 320px; overflow: auto; }
@media (max-width: 760px) { .qt-luoi { grid-template-columns: 104px minmax(0, 1fr); } .qt-loc input[type=search] { flex: 1 1 100%; } }

/* ===== Phiếu 900 — Báo lỗi & góp ý ===== */
.fb-hop textarea.fb-cau { width: 100%; resize: vertical; }
.fb-muc { display: flex; gap: 6px; flex-wrap: wrap; }
.fb-muc .chip { border: 1px solid transparent; cursor: pointer; }
.fb-muc .chip.on { border-color: var(--accent-ink, #1B6B3A); background: #fff; color: var(--accent-ink, #1B6B3A); }
.fb-muc .chip.on.chan_viec { border-color: #B4461B; color: #B4461B; background: #FFF1E6; }
.fb-anh-nho { position: relative; display: inline-block; }
.fb-anh-nho img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; border: 1px solid #DDE1E6; }
.fb-anh-nho .icon-btn { position: absolute; top: -8px; right: -8px; background: #fff; border: 1px solid #DDE1E6; }
.fb-loi { color: #B4461B; background: #FFF1E6; padding: 6px 10px; border-radius: 8px; }
.fb-xong { display: flex; gap: 8px; align-items: center; font-weight: 600; color: #1B6B3A; }
.fb-tu-kem b { font-weight: 600; }
.fb-dong { padding: 8px 0; border-bottom: 1px solid #EEF0F3; display: grid; gap: 4px; }
.fb-dong:last-child { border-bottom: 0; }
.fb-tra-loi { color: #1B6B3A; }
.fb-loc select { max-width: 100%; width: auto; }
.fb-bao > .btn.xs { justify-self: start; }
.fb-nhom { padding: 0; overflow: hidden; }
.fb-nhom-dau { width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 12px; cursor: pointer; align-items: center; }
.fb-nhom.muc-chan_viec { border-left: 4px solid #B4461B; }
.fb-nhom.muc-phien { border-left: 4px solid #C77700; }
.fb-nhom-dau .fb-cau { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fb-nhom-than { padding: 0 12px 12px; border-top: 1px solid #EEF0F3; }
.fb-bao { padding: 8px 0; border-bottom: 1px dashed #EEF0F3; display: grid; gap: 4px; }
.fb-bao:last-child { border-bottom: 0; }
.fb-body { white-space: pre-wrap; }
.fb-anh { max-height: 160px; max-width: 100%; border-radius: 6px; border: 1px solid #DDE1E6; }
.fb-ctx { background: #F6F7F9; border-radius: 8px; padding: 8px; display: grid; gap: 4px; word-break: break-word; }
.fb-js code { white-space: pre-wrap; }
.fb-nguoi .person-row { width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer; }
.fb-may-dong summary { cursor: pointer; padding: 6px 0; list-style: none; }
.fb-may-dong summary code { white-space: pre-wrap; word-break: break-word; }
.fb-stack { white-space: pre-wrap; word-break: break-word; background: #F6F7F9; padding: 8px; border-radius: 8px; max-height: 240px; overflow: auto; }
@media (max-width: 600px) {
  .fb-nhom-dau { flex-wrap: wrap; }
  .fb-nhom-dau .fb-cau { white-space: normal; flex-basis: 100%; }
}

/* Phiếu 1100 — khung Email: một bảng email mỗi người, công tắc Đăng nhập (bản vẽ 16/10/2026) */
.hr-email { display: flex; flex-direction: column; gap: 10px; border: 1px solid #DCE6E5; border-radius: 12px; padding: 12px; background: #F7FBFB; }
.hr-email-ds { display: flex; flex-direction: column; }
.hr-email-dong { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 0; border-top: 1px solid #E4E6EA; }
.hr-email-dong:first-child { border-top: 0; padding-top: 2px; }
.hr-email-ten { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hr-email-dc { font-size: 14px; word-break: break-all; white-space: normal; }
.hr-email-nut { flex: none; align-items: center; }
.hr-email-nut .btn.xs { min-height: 36px; }
.hr-email-duyet { flex-basis: 100%; background: #FFF8E6; border-radius: 8px; padding: 8px 10px; }
.hr-email-them { align-items: flex-end; }
.hr-email-them .field { flex: 1 1 200px; }
.hr-email-them select { min-width: 110px; }
.hr-email .qt-gat:disabled { opacity: .5; cursor: not-allowed; }
.hr-email-moi { background: #F2F8F7; border-color: var(--accent-line); }
.hr-xanh { color: #1B6B3A; }
@media (max-width: 480px) { .hr-email-them .btn { width: 100%; } .hr-email input, .hr-email select { font-size: 16px; } }
.hr-email-dau { display: flex; align-items: flex-start; gap: 6px; min-width: 0; }
.hr-email-dau > span:first-child { flex: none; padding-top: 2px; }
@media (max-width: 480px) { .hr-email-ghi { display: none; } }

/* Phiếu 1100b — Email hai dòng trong lưới nhãn – giá trị của khối A (bản vẽ 16/10/2026 18:01) */
.hr-em .hr-em-gt { display: flex; flex-direction: column; min-width: 0; }
.hr-em-dc { overflow-wrap: anywhere; }
.hr-em-hang { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 44px; }
.hr-em-ghi { flex: 1; min-width: 0; font-size: 12px; color: var(--muted); }
.hr-em-tick { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 13px; color: var(--ink); cursor: pointer; flex: none; }
.hr-em-tick.tat { color: var(--muted); }
.hr-em-tick input[type=checkbox] { width: 20px; height: 20px; margin: 0; }
.hr-em-tick.khoa { cursor: default; color: var(--ink2); }
.hr-em-o { width: 20px; height: 20px; border-radius: 5px; background: #7FA3A9; color: #fff; display: grid; place-items: center; flex: none; }
.hr-em-nut { flex: none; border: 0; background: transparent; color: var(--accent); font: inherit; font-size: 13px; font-weight: 500; min-height: 44px; padding: 0 2px; cursor: pointer; }
.hr-em-nut:hover { color: var(--accent-ink); text-decoration: underline; }
.hr-em-truong { background: var(--side-on); color: var(--accent-ink); }
.hr-em-cho { background: #FFF8E6; border-radius: 8px; padding: 8px 10px; margin-bottom: 4px; }
.hr-em-luu { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.hr-em-giu { align-items: center; min-height: 44px; }
@media (max-width: 480px) { .hr-em .hr-em-gt { margin-top: 0; } }
.hr-em-tk { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hr-em-tk .hr-em-nut { min-height: 24px; padding: 0 2px; }

/* ===== Kho (phiếu 1000b): dự trù lớp / bếp, gom, cấp, đề nghị mua, phiếu nhập, xác nhận — bảng màu B, điện thoại 360 px không tràn ngang ===== */
.kho { gap: 12px; }
.kho .sub { margin: -4px 0 0; }
.kho-quay { color: var(--accent); margin-bottom: -6px; }
.kho-dau { align-items: center; } .kho-dau .row-gap { gap: 6px; }
.pay-chip-cs.on { background: var(--side-on); color: var(--accent); box-shadow: none; }
.kho-chip-ky { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.kho-chip-ky button { flex: none; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0; background: var(--card); color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.kho-chip-ky button.on { background: var(--accent); color: #fff; font-weight: 600; box-shadow: none; }
.kho-chip-ky a { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--card); color: var(--muted); font-size: 13px; text-decoration: none; box-shadow: 0 0 0 1px var(--line); }
.kho-chip-ky a.on { background: var(--accent); color: #fff; font-weight: 600; box-shadow: none; }
.kho-dai-nhac { display: flex; gap: 10px; align-items: center; width: 100%; padding: 12px 14px; background: var(--side-on); border: 0; font: inherit; text-align: left; cursor: pointer; font-size: 13px; color: var(--ink); }
.kho-dai-nhac b { color: var(--accent); } .kho-dai-nhac span:first-child { flex: 1; min-width: 0; }
.kho-canh { background: #FFF4D6; color: #7A4A00; font-size: 13px; }
.kho-goi-y { background: var(--side-on); }
.kho-dong-ds { padding: 2px 14px; }
.kho-dong { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); min-width: 0; }
.kho-dong:last-child { border-bottom: 0; }
.card > .kho-dong { padding-left: 14px; padding-right: 14px; }
.kho-dong.lk { color: var(--ink); text-decoration: none; } .kho-dong.lk:hover { background: #F7F8FA; }
.kho-dong.goi-y { opacity: .85; }
.kho-dong-ten { flex: 1; min-width: 0; } .kho-dong-ten > div { overflow-wrap: anywhere; }
.kho-dong-mong { padding: 6px 0; border-top: 1px solid var(--line2); }
.kho-so-khoa { min-width: 44px; text-align: center; }
.kho-oso { display: flex; align-items: center; flex: none; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--card); }
.kho-oso button { width: 40px; height: 40px; border: 0; background: var(--card); font-size: 20px; color: var(--accent); cursor: pointer; }
.kho-oso button:disabled { color: #B8BCC3; cursor: default; }
.kho-oso input { width: 46px; height: 40px; border: 0; border-left: 1px solid var(--line2); border-right: 1px solid var(--line2); border-radius: 0; text-align: center; font: inherit; font-weight: 600; padding: 0; min-height: 0; }
.kho-them { min-height: 44px; background: var(--side-on); color: var(--accent); border-color: transparent; font-weight: 600; }
.kho-chan { position: sticky; bottom: 0; padding: 8px 0; background: linear-gradient(to top, var(--bg) 70%, transparent); z-index: 2; }
.kho-hai-nut { display: flex; gap: 8px; } .kho-hai-nut > * { flex: 1; } .kho-hai-nut > .primary { flex: 2; }
.kho-tim { width: 100%; min-height: 44px; } .kho-tim-nho { width: 160px; max-width: 100%; }
.kho-chon-ds { display: flex; flex-direction: column; max-height: 55vh; overflow-y: auto; margin-top: 8px; }
.kho-chon-muc { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 6px; border: 0; border-bottom: 1px solid var(--line2); background: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.kho-chon-muc:hover { background: #F7F8FA; }
.kho-han-muc { display: flex; flex-direction: column; gap: 6px; }
.kho-thanh { display: flex; height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.kho-thanh .chot { background: var(--brand); } .kho-thanh .nay { background: #9EC9C4; }
.kho-do { color: #B42318; } .kho-xanh { color: var(--ok); } .kho-vang-chu { color: #9A5B00; }
.kho-the { display: flex; flex-direction: column; gap: 8px; }
.kho-the-dau { padding-top: 12px; padding-bottom: 6px; }
.kho-the.mo-nhat { opacity: .65; flex-direction: row; }
.kho-nguoi-dat { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.kho-nguoi-dat label { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; }
.kho-bang .n, .kho-bang th.n { text-align: right; white-space: nowrap; }
.kho-bang td { font-size: 13px; }
.kho-bang tr.kho-vang td, .kho-vang td { background: #FFF7E6; }
.kho-o-nho { width: 64px; height: 34px; min-height: 0; padding: 0 6px; text-align: center; font: inherit; font-size: 14px; }
.kho-o-nho.gia { width: 92px; } .kho-o-nho.lech { border-color: #B42318; box-shadow: 0 0 0 1px #B42318; }
.kho-gom-bang select { min-height: 34px; font-size: 13px; max-width: 160px; }
.kho-nhap-dau, .kho-nhap-dong { display: grid; grid-template-columns: minmax(0, 1fr) 44px 64px 92px; gap: 8px; align-items: center; }
.kho-nhap-dau { padding: 8px 0 4px; } .kho-nhap-dau span:not(:first-child) { text-align: center; }
.kho-nhap-dong { padding: 8px 0; border-top: 1px solid var(--line2); } .kho-nhap-dong .n { text-align: center; }
.kho-ly-do { grid-column: 1 / -1; min-height: 40px; border-color: #F5C2C2; background: #FDECEA; }
.kho-anh-hang { display: flex; flex-wrap: wrap; gap: 8px; }
.kho-anh { position: relative; width: 72px; height: 72px; border-radius: 10px; background: var(--side-on); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 0; color: var(--accent); }
.kho-anh img { width: 100%; height: 100%; object-fit: cover; } .kho-anh.them { font-size: 24px; cursor: pointer; } .kho-anh.lon { width: 96px; height: 96px; }
.kho-anh-bo { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); color: #fff; cursor: pointer; }
.kho-don { margin-bottom: 18px; } .kho-don h3 { margin: 0 0 2px; font-size: 16px; }
@media (max-width: 480px) {
  .kho-dau h1 { font-size: 22px; }
  .kho-nhap-dau, .kho-nhap-dong { grid-template-columns: minmax(0, 1fr) 36px 58px 78px; gap: 6px; }
  .kho-o-nho { width: 58px; } .kho-o-nho.gia { width: 78px; }
  .kho-oso button { width: 38px; } .kho-oso input { width: 40px; font-size: 16px; }
  .kho-the .row-between { flex-wrap: wrap; }
  .kho-chinh .kho-the-dau { flex-wrap: wrap; } .kho-tim-nho { width: 100%; }
  .kho input, .kho select, .kho textarea { font-size: 16px; }
}
@media print { .kho-chan, .kho-quay { display: none; } .kho-in .kho-don { break-inside: avoid; } }
.kho-the-dau select { width: auto; max-width: 180px; min-height: 36px; }

/* ---------- Phiếu 200s: tệp đính kèm, xem tệp trong phiếu, nhà cung cấp, báo hỏng cần vật tư, tách phiếu ---------- */
.wf-do-chu { color: #A33A1F; }
.wf-tep-ds { flex-wrap: wrap; }
.wf-tep { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); border-radius: 8px; padding: 6px 10px; font-size: 13px; max-width: 100%; overflow-wrap: anywhere; }
.wf-tep-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 6px 0 10px; min-width: 0; }
.wf-tep-o { min-width: 0; } .wf-tep-o > span { display: block; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.wf-tep-o { min-height: 88px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: inherit; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px; padding: 8px; cursor: pointer; color: var(--ink); overflow-wrap: anywhere; text-align: center; }
.wf-tep-loai { font-size: 13px; } .wf-tep-loai.pdf { color: #B42318; } .wf-tep-loai.anh { color: var(--accent); } .wf-tep-loai.khac { color: var(--ok); }
.wf-xem-tep { position: fixed; inset: 0; z-index: 200; background: #14191C; color: #fff; display: flex; flex-direction: column; }
.wf-xem-tep-dau { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.wf-xem-tep-dau a { color: var(--accent-line); min-height: 44px; display: flex; align-items: center; padding: 0 8px; }
.wf-xem-tep-dong { width: 44px; height: 44px; border: 0; border-radius: 22px; background: #2A3136; color: #fff; font: inherit; font-size: 18px; cursor: pointer; }
.wf-xem-tep-ten { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-xem-tep-than { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 12px; }
.wf-xem-tep-than img { max-width: 100%; max-height: 100%; object-fit: contain; }
.wf-xem-tep-than video { max-width: 100%; max-height: 100%; }
.wf-xem-tep-than iframe { width: 100%; height: 100%; border: 0; background: #fff; border-radius: 8px; }
.wf-xem-tep-khac { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: #DDE3E6; }
.wf-xem-tep-chan { display: flex; gap: 8px; padding: 12px; } .wf-xem-tep-chan .btn { flex: 1; }
/* Ảnh nhiều tấm: mũi tên lật hai bên (như xem ảnh Facebook); vuốt ngang / bấm nền để đóng xử lý ở XemTep.tsx */
.wf-xem-mui { position: fixed; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(20, 25, 28, .55); color: #fff; font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 210; }
.wf-xem-mui.truoc { left: 12px; } .wf-xem-mui.sau { right: 12px; }
.wf-xem-mui:hover { background: rgba(20, 25, 28, .85); }
.wf-xem-mui:disabled { opacity: 0; pointer-events: none; }
/* Tài liệu (PDF, Excel, Word) xem trên nền sáng; ảnh giữ nền tối (anh Cường 06/11/2026) */
.wf-xem-tep.sang { background: var(--bg); color: var(--ink); }
.wf-xem-tep.sang .wf-xem-tep-dau { background: var(--card); border-bottom: 1px solid var(--line); }
.wf-xem-tep.sang .wf-xem-tep-dau a { color: var(--accent); font-weight: 600; }
.wf-xem-tep.sang .wf-xem-tep-dong { background: var(--line2); color: var(--ink); }
.wf-xem-tep.sang .wf-xem-tep-dau .xs { color: var(--muted); }
.wf-xem-tep.sang .wf-xem-tep-than { padding: 12px; }
.wf-xem-tep.sang .wf-xem-tep-than iframe { border: 1px solid var(--line); }
.wf-xem-tep.sang .wf-xem-tep-khac { color: var(--ink2); }
.wf-xem-tep.sang .wf-xem-tep-chan { background: var(--card); border-top: 1px solid var(--line); }
.wf-xem-tep-than.tai-lieu { align-items: stretch; justify-content: flex-start; }
.wf-xem-tl { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.wf-xem-trang { display: flex; gap: 6px; overflow-x: auto; flex-shrink: 0; padding-bottom: 2px; }
.wf-xem-trang button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font: inherit; font-size: 13px; white-space: nowrap; cursor: pointer; }
.wf-xem-trang button.on { border: 2px solid var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.wf-xem-bang-hop { flex: 1; min-height: 0; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; -webkit-overflow-scrolling: touch; }
.wf-xem-word .wf-xem-bang-hop { flex: none; max-height: none; margin: 8px 0; }
.wf-xem-bang { border-collapse: collapse; font-size: 13px; min-width: 100%; }
.wf-xem-bang th, .wf-xem-bang td { border: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; white-space: pre-wrap; max-width: 320px; }
.wf-xem-bang td { white-space: nowrap; } .wf-xem-bang td.dai { white-space: pre-wrap; min-width: 14em; } .wf-xem-bang td.so { text-align: right; }
.wf-xem-bang thead th { position: sticky; top: 0; background: var(--line2); color: var(--muted); font-weight: 600; font-size: 12px; z-index: 1; }
.wf-xem-bang tbody th { position: sticky; left: 0; background: var(--line2); color: var(--muted); font-weight: 400; font-size: 12px; text-align: right; }
.wf-xem-word { flex: 1; min-height: 0; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; line-height: 1.5; }
.wf-xem-word p { margin: 0 0 8px; white-space: pre-wrap; } .wf-xem-word h3 { margin: 12px 0 8px; font-size: 17px; }
.wf-xem-ghi { flex-shrink: 0; }
.wf-ncc { display: flex; flex-direction: column; gap: 8px; } .wf-ncc.cho { border: 2px solid var(--sun); }
.wf-bao.lam { background: var(--wf-lam-nhat); color: var(--wf-lam); }
.wf-check { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.wf-tach { display: flex; flex-direction: column; gap: 6px; }
.wf-tach-ds { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }

/* Phiếu 800b — Sắp ô, bàn chuẩn, ô ghim (bản vẽ màn 6) */
.blv-ngay { align-items: center; width: 100%; }
.blv-chuan-moi { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; background: var(--side-on); box-shadow: none; margin-bottom: 12px; color: #1D1D1F; }
.blv-ghim-so b { font-size: 26px; font-weight: 700; }
.nut-ghim { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sap-o .page-head, .ban-chuan .page-head { align-items: center; gap: 8px; }
.sap-nhom { font-size: 13px; font-weight: 600; color: #5E5E63; text-transform: uppercase; letter-spacing: .3px; margin: 16px 2px 6px; }
.sap-ds { list-style: none; margin: 0; padding: 4px 14px; }
.sap-dong { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 0; border-top: 1px solid #F0F1F3; }
.sap-dong:first-child { border-top: 0; }
.sap-dong.dang-keo { opacity: .5; }
.sap-nam { color: #B8BBC0; cursor: grab; user-select: none; }
.sap-ten { display: block; font-size: 14px; }
.sap-phu { display: block; }
.sap-khoa { font-size: 11px; color: #5E5E63; background: #EEF0F2; border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.sap-nut { width: 44px; height: 44px; flex: none; border-radius: 10px; border: 1px solid #E3E6EB; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #5E5E63; cursor: pointer; }
.sap-nut:disabled { opacity: .35; cursor: default; }
.sap-cuoi { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 18px 0 8px; }
@media (max-width: 400px) { .sap-nut { width: 40px; height: 44px; } .sap-dong { gap: 6px; } }

/* ---------- Kho · phiếu 1000e: đơn vị tính, món ngoài danh mục ---------- */
.kho-so-dv { display: flex; align-items: center; gap: 6px; flex: none; }
.kho-dv { display: inline-flex; align-items: center; min-height: 40px; padding: 0 8px; border-radius: 10px; background: #EEF1F5; color: var(--ink2); font-size: 14px; white-space: nowrap; }
select.kho-dv.chon { width: auto; max-width: 132px; min-height: 40px; padding: 0 6px; border: 1px solid var(--line); background: var(--card); color: var(--accent); font-weight: 600; }
.kho-oso input { background: #FAFBFC; box-shadow: inset 0 0 0 1px var(--line2); }
.kho-loi-dong { color: #B42318; margin-top: 2px; }
.kho-mo-so-dau { padding: 8px 12px; border-radius: 10px; background: #F2F7F5; border: 1px solid #CFE3DA; font-size: 15px; }
.kho-mo-so-dau b { font-size: 17px; }
.kho-tag-vang { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #FFF4D6; color: #7A4A00; font-size: 11px; font-weight: 700; vertical-align: 1px; white-space: nowrap; }
.kho-dong.kho-ngoai { background: #FFFAF0; }
.kho-ngoai-khoi { border: 1px solid #F2D48A; }
.kho-ngoai-nut3 { flex-wrap: wrap; justify-content: flex-end; flex: none; max-width: 52%; }
.kho-anh-hang.nho { margin-top: 4px; gap: 6px; }
.kho-anh-hang.nho .kho-anh { width: 40px; height: 40px; }
.kho-chon-goi { padding: 6px 2px 2px; }
.kho-ngoai-nut { margin-top: 10px; border: 1px dashed #D9A93A; background: #FFFAF0; color: #7A4A00; }
.kho-ngoai-so { align-items: flex-end; }
.kho-can-mua { white-space: nowrap; }
.kho-nhap-dv { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-top: 2px; }
.kho-nhap-dv .kho-dv { min-height: 32px; font-size: 13px; }
.kho-quy-doi { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.kho-quy-doi-dong { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.kho-quy-doi-dong select { width: auto; min-width: 96px; }
.kho-quy-doi-loi { flex-basis: 100%; }
@media (max-width: 480px) {
  .kho-so-dv { flex-direction: column; align-items: flex-end; gap: 4px; }
  select.kho-dv.chon, .kho-dv { min-height: 34px; font-size: 13px; }
  .kho-ngoai-nut3 { max-width: none; justify-content: flex-start; }
  .kho-dong.kho-ngoai:has(.kho-ngoai-nut3) { flex-wrap: wrap; }
}

/* Phiếu 800c — bàn Điều hành: lưới 3 cột (máy tính), ô số liệu, dải "Cần anh để mắt", ô mờ "Chưa bật" (bản vẽ màn 4 · 5) */
.blv-luoi.blv-luoi-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blv-luoi-3 > * { min-width: 0; }
@media (max-width: 1100px) { .blv-luoi.blv-luoi-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .blv-luoi.blv-luoi-3 { grid-template-columns: minmax(0, 1fr); } .blv-duong { display: none; } }
.blv-luoi-cs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; font-size: 12px; }
.blv-luoi-cs > div, .blv-luoi-cs > button { background: #F5F6F7; border-radius: 8px; padding: 6px 8px; min-width: 0; border: 0; text-align: left; font: inherit; color: inherit; }
.blv-luoi-cs > button:not(:disabled) { cursor: pointer; }
.blv-luoi-cs b { display: block; font-size: 14px; }
.blv-luoi-cs span { display: block; color: #5E5E63; }
.blv-luoi-cs .vang { background: #FFF4E5; }
.blv-tag { font-size: 11px; font-weight: 600; border-radius: 6px; padding: 2px 6px; white-space: nowrap; }
.blv-tag.len { color: #1B6B3A; background: #E7F3EB; } .blv-tag.xuong { color: #C9372C; background: #FBEAE8; } .blv-tag.canh { color: #9A5B00; background: #FFF4E5; }
.blv-duong { color: var(--brand); flex: none; }
.blv-thanh-hm { display: flex; height: 10px; border-radius: 5px; overflow: hidden; margin: 10px 0 6px; background: #EEF0F2; }
.blv-thanh-hm i { display: block; height: 100%; }
.blv-o-chua-bat { opacity: .6; border: 1px dashed #CFD2D6; box-shadow: none; background: transparent; }
.blv-canh-bao { box-shadow: 0 0 0 1px #F3C9C4; margin: 12px 0 0; padding: 14px 16px 4px; }
.blv-canh-bao h2 { color: #C9372C; }
.blv-cb-dong { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #F0F1F3; min-height: 44px; }
.blv-cb-dong .grow > span { display: block; }
.blv-cham { display: inline-block; width: 8px; height: 8px; border-radius: 4px; flex: none; background: var(--accent); }
.blv-cham.do { background: #C9372C; } .blv-cham.vang { background: #9A5B00; }
.blv-ds-ten { list-style: none; margin: 0; padding: 0; } .blv-ds-ten li { display: flex; gap: 8px; padding: 8px 0; border-top: 1px solid #F0F1F3; }

/* ---------- Tài sản (phiếu 1000c): theo phòng, thẻ tài sản, kiểm kê phòng ---------- */
.ts-the-dau { display: flex; gap: 12px; align-items: center; }
.ts-the-chu { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; overflow-wrap: anywhere; }
.ts-qr-nho { width: 84px; height: 84px; flex: none; } .ts-qr-nho svg { width: 100%; height: 100%; display: block; }
.ts-nut3 { flex-wrap: wrap; } .ts-nut3 > * { flex: 1 1 120px; }
.ts-kk-qr { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; border: 0; background: var(--accent-soft); color: var(--ink); font: inherit; cursor: pointer; }
.ts-kk-qr b { color: var(--accent-ink); display: block; }
.ts-kk-qr-o { width: 44px; height: 44px; flex: none; border-radius: 8px; background: #1D1D1F; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.ts-chk2 { display: flex; gap: 6px; flex: none; }
.ts-chk { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 18px; color: var(--muted); cursor: pointer; }
.ts-chk.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.ts-chk.mat { background: var(--late); border-color: var(--late); color: #fff; }
.ts-chk:disabled { opacity: .6; cursor: default; }
.ts-dem { width: 72px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 10px; text-align: right; font: inherit; font-size: 16px; padding: 0 10px; box-sizing: border-box; }
.ts-dem.khop { border-color: var(--ok); } .ts-dem.lech { border-color: var(--late); color: var(--late); font-weight: 700; }
.ts-chenh { width: 40px; flex: none; text-align: center; color: var(--muted); } .ts-chenh.do { color: var(--late); font-weight: 700; } .ts-chenh.xanh { color: var(--ok); }
.kho-dong.ts-lech .kho-dong-ten .b { color: var(--late); }

/* Phiếu 400g — Nhân sự › Nhập nhân sự một lần */
/* vùng thả file dùng chung: Nhập nhân sự 400g, Nhập từ EMIS 1600 (04/11/2026) */
.hr-nhap-1 .nhap-tha, .hs-nhap .nhap-tha { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; border: 2px dashed var(--line);
  border-radius: 12px; text-align: center; cursor: pointer; }
.hr-nhap-1 .nhap-tha:hover, .hs-nhap .nhap-tha:hover { border-color: var(--accent); background: var(--accent-soft); }
.hr-nhap-1 .nhap-bang-cuon { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.hr-nhap-1 .nhap-bang { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; }
.hr-nhap-1 .nhap-bang th { text-align: left; font-size: 12px; color: var(--ink2); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.hr-nhap-1 .nhap-bang td { padding: 6px 8px; border-bottom: 1px solid var(--line2); vertical-align: top; }
.hr-nhap-1 .nhap-bang select { max-width: 180px; }
.hr-nhap-1 .chip { white-space: normal; }
.hr-nhap-1 .nhap-tim { min-width: 160px; }

/* ---------- Sự kiện — tiền (phiếu 300d-A): danh sách, lập kế hoạch, chi tiết, báo cáo; màu theo bảng màu chung B ---------- */
.sk-ds, .sk-form, .sk-ct, .sk-bc { display: flex; flex-direction: column; gap: 12px; }
.sk-coso select { width: 100%; min-height: 44px; border-radius: 12px; font-size: 15px; }
.sk-coso.khoa { font-size: 14px; color: var(--ink2); padding: 4px 0; }
.sk-nhom { display: flex; flex-direction: column; gap: 10px; }
.sk-nhom-ten { font-size: 13px; font-weight: 600; color: var(--ink2); margin: 4px 0 0; }
.sk-nhom-ten.nut { background: none; border: 0; padding: 0; text-align: left; min-height: 44px; cursor: pointer; }
.sk-thanh { height: 6px; border-radius: 3px; background: #EDEFF1; overflow: hidden; display: flex; }
.sk-thanh span { display: block; height: 100%; background: var(--brand); }
.sk-thanh.doi { height: 8px; } .sk-thanh span.nhat { background: #8FC3BE; }
.sk-3so { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sk-so { font-family: 'Be Vietnam Pro', sans-serif; font-size: clamp(14px, 4.2vw, 17px); font-weight: 700; white-space: nowrap; }
.sk-so-to { font-family: 'Be Vietnam Pro', sans-serif; font-size: 22px; font-weight: 700; }
.sk-tong { font-size: 22px !important; font-weight: 600; }
.sk-chu-thich { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.sk-ghi { background: #F5F6F7; border-radius: 8px; padding: 8px 10px; }
.sk-do-chu { color: #A33A1F; } .sk-ngoc-chu { color: #1F5A55; }
.sk-2cot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sk-3cot { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; }
.sk-tha { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 12px; border: 1.5px dashed var(--brand); border-radius: 12px;
  background: #F7FBFA; color: #1F5A55; text-align: center; }
.sk-tha.on { background: var(--side-on); }
.sk-tha .btn { min-height: 44px; }
.sk-hm { display: flex; flex-direction: column; gap: 10px; }
.sk-hm-dong { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sk-hop-do { background: #FDE8E4; color: #8A1F1F; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; }
.sk-xem-hm .row-between { padding: 6px 0; border-bottom: 1px solid #F0F2F3; } .sk-xem-hm .row-between:last-child { border-bottom: 0; }
.sk-phieu-dong { color: inherit; padding: 10px 0; border-bottom: 1px solid #F0F2F3; gap: 10px; } .sk-phieu-dong:last-child { border-bottom: 0; }
.d-block { display: block; }
.sk-nut-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.sk-nut-luoi .btn { min-height: 48px; justify-content: center; text-align: center; }
.sk-ly-do { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sk-ly-do .wf-loc-nut { border-radius: 12px; }
.sk-bang { width: 100%; border-collapse: collapse; font-size: 13px; }
.sk-bang th { text-align: right; font-weight: 500; color: var(--ink2); padding: 4px 0; } .sk-bang th:first-child, .sk-bang td:first-child { text-align: left; }
.sk-bang td { text-align: right; padding: 4px 0; }
.sk-lich-su summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink2); }
.sk-cong-tac { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
.sk-cong-tac input { width: 22px; height: 22px; }
.sk-sau-gan { display: flex; flex-direction: column; gap: 4px; }
.sk-o-dong { color: inherit; padding: 6px 0; gap: 10px; }
.sk-nut-day { padding: 4px 0 8px; }
@media (max-width: 400px) { .sk-3cot { grid-template-columns: 1fr 1fr; } .sk-3cot > :last-child { grid-column: span 2; } }
.ts-dem3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ts-dem3 .card { display: flex; flex-direction: column; gap: 2px; text-align: center; padding: 10px 6px; } .ts-dem3 b { font-size: 22px; }
.ts-buoc { display: flex; gap: 6px; flex-wrap: wrap; } .ts-buoc span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--line2); color: var(--muted); }
.ts-buoc span.xong { background: #E3F1E8; color: var(--ok); } .ts-buoc span.nay { background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.ts-ds-chon { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow: auto; } .ts-ds-chon label { display: flex; gap: 8px; align-items: center; }
.ts-chot-thieu { display: flex; gap: 8px; align-items: flex-start; } .ts-chot-thieu input { margin-top: 3px; }
.ts-chon-dong { display: flex; gap: 10px; align-items: center; cursor: pointer; } .ts-chon-dong input { width: 20px; height: 20px; flex: none; }
.ts-gia { width: 96px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 10px; text-align: right; font: inherit; padding: 0 8px; box-sizing: border-box; min-width: 0; }
.ts-tong { display: flex; flex-direction: column; gap: 4px; } .ts-cap-ht { color: #7A4A00; }
.ts-canh { background: #FFF6E5; color: #7A4A00; }
.ts-pre { white-space: pre-wrap; overflow-wrap: anywhere; }
/* Tem QR: lưới 3 cột trên A4 (tem 60 × 30 mm), màn hình xem trước co theo bề ngang */
.ts-tem-in { background: #fff; border-radius: 12px; padding: 12px; }
.ts-tem-dau { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.ts-tem-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.ts-tem { display: flex; gap: 6px; align-items: center; border: 1px dashed #9AA6AC; border-radius: 6px; padding: 4px; box-sizing: border-box; min-height: 30mm; break-inside: avoid; }
.ts-tem.phong { border: 2px solid var(--accent-ink); }
.ts-tem-qr { width: 25mm; height: 25mm; flex: none; } .ts-tem-qr svg { width: 100%; height: 100%; display: block; }
.ts-tem-chu { display: flex; flex-direction: column; gap: 1px; font-size: 11px; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.ts-tem-chu b { font-size: 12px; } .ts-tem-chu small { color: #5E5E63; font-size: 10px; }
@media print {
  body:has(.ts-tem-trang, .ts-in-bb) .side, body:has(.ts-tem-trang, .ts-in-bb) .topbar, body:has(.ts-tem-trang, .ts-in-bb) .bottombar,
  body:has(.ts-tem-trang, .ts-in-bb) .no-print, body:has(.ts-tem-trang, .ts-in-bb) .toasts, body:has(.ts-tem-trang, .ts-in-bb) .env-badge,
  body:has(.ts-tem-trang, .ts-in-bb) .content > :not(.page) { display: none !important; }
  body:has(.ts-tem-trang, .ts-in-bb) .shell, body:has(.ts-tem-trang, .ts-in-bb) .main-col, body:has(.ts-tem-trang, .ts-in-bb) .content { display: block !important; padding: 0 !important; margin: 0 !important; }
  body:has(.ts-tem-trang) { background: #fff; }
  .ts-tem-in { padding: 0; border-radius: 0; }
  .ts-tem-luoi { grid-template-columns: repeat(3, 60mm); gap: 2mm; }
  .ts-tem { width: 60mm; height: 30mm; min-height: 0; }
  .ts-in-bb .card { break-inside: avoid; box-shadow: none; border: 1px solid #ddd; }
}
.ts-nhan-dong { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
@media print { body:has(.ts-tem-trang, .ts-in-bb) .whats-new, body:has(.ts-tem-trang, .ts-in-bb) .wn-dong { display: none !important; } }
.ts-ly-do { margin: 2px 0 0; padding-left: 18px; color: #7A4A00; }
.ts-gia.uoc { border-style: dashed; }

/* ---------- Trợ lý AI (phiếu 1200): ô Trợ lý — điện thoại toàn màn; máy tính bảng trượt phải, màn đang làm vẫn thấy (không phủ nền) ---------- */
.tro-ly-nen { position: fixed; inset: 0; z-index: 58; pointer-events: none; }
.tro-ly { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg, #F5F6F7); display: flex; flex-direction: column;
  box-shadow: -10px 0 32px rgba(0,0,0,.16); animation: qc-in .18s ease-out; outline: none; pointer-events: auto; }
.tro-ly.tro-ly-trang { position: static; width: auto; max-width: 720px; margin: 0 auto; min-height: calc(100vh - 140px); box-shadow: none; border-radius: 16px; overflow: hidden; animation: none; }
.tro-ly-dau { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: #fff; }
.tro-ly-ic { width: 40px; height: 40px; border-radius: 20px; background: var(--side-on); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tro-ly-ten { font-family: 'Be Vietnam Pro', var(--font, sans-serif); font-weight: 700; font-size: 18px; display: block; }
.tro-ly-cs { max-width: 130px; }
.tro-ly-than { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; -webkit-overflow-scrolling: touch; }
.tro-ly-chao { font-family: 'Be Vietnam Pro', var(--font, sans-serif); font-size: 20px; font-weight: 600; line-height: 1.35; margin: 4px 0 0; }
.tro-ly-goi-y { text-align: left; min-height: 48px; padding: 12px 14px; border: 0; border-radius: 14px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; }
.tro-ly-goi-y:hover { background: #F7FCFB; }
.tro-ly-nhac { margin-top: auto; background: var(--side-on); border-radius: 12px; padding: 12px 14px; color: #1F5A55; line-height: 1.45; }
.tro-ly-hoi { align-self: flex-end; max-width: 85%; background: var(--accent); color: #fff; border-radius: 16px 16px 4px 16px; padding: 10px 14px; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.tro-ly-tra, .tro-ly-the { background: #fff; border-radius: 16px 16px 16px 4px; padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow-wrap: anywhere; }
.tro-ly-the { border-radius: 16px; }
.tro-ly-the b { font-size: 16px; }
/* Phiếu 1200b — tab Hỏi · Soạn hộ, bản nháp, nhãn "Trợ lý soạn", ô trợ lý chưa chắc (viền vàng), Tóm tắt sáng */
.tro-ly-tab { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 14px 4px; padding: 4px; background: var(--bg, #F5F6F7); border-radius: 12px; }
.tro-ly-tab button { min-height: 40px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 15px; color: var(--muted, #5E5E63); cursor: pointer; }
.tro-ly-tab button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.tro-ly-soan { display: flex; flex-direction: column; gap: 10px; }
.tro-ly-soan select, .tro-ly-soan textarea { font: inherit; font-size: 16px; border: 1px solid #E3E6EB; border-radius: 10px; padding: 8px 10px; background: #fff; }
.tro-ly-soan-loai { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tro-ly-soan-loai button { min-height: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px; border: 1px solid #E3E6EB; border-radius: 12px; background: #fff; font: inherit; text-align: left; cursor: pointer; }
.tro-ly-soan-loai button.on { border-color: var(--accent); background: var(--side-on); }
.tro-ly-ban-nhap { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: #fff; }
.tro-ly-nhan-ai { color: var(--accent); }
.tro-ly-canh-vang { color: #8A5300; }
.tro-ly-nhan { display: inline-block; margin: 2px 0 6px; padding: 2px 10px; border-radius: 999px; background: var(--side-on); color: var(--accent); font-size: 13px; font-weight: 600; }
.tro-ly-so-lieu { padding: 6px 10px; border-radius: 10px; background: var(--side-on); color: #1D1D1F; }
.wf-truong.ai-chua-chac input, .wf-truong.ai-chua-chac textarea { border: 2px solid #D99A2B; }
.wf-truong.ai-chua-chac > span { color: #8A5300; }
.tt-ds { display: flex; flex-direction: column; gap: 10px; }
.tt-cau { margin: 0; font-size: 15px; line-height: 1.5; }
.tt-dong { border-radius: 10px; padding: 6px 10px; }
.tt-dong.tt-do { background: #FDECEA; }
.tt-dong.tt-vang { background: #FFF4E0; }
.tro-ly-the p { margin: 0; color: var(--ink2); }
.tro-ly-md { font-size: 15px; line-height: 1.5; } .tro-ly-md p:last-child { margin-bottom: 0; }
.tro-ly-tim { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #1F5A55; background: var(--side-on); padding: 4px 10px; border-radius: 10px; }
.tro-ly-canh { background: #FFF1DC; border-radius: 10px; padding: 10px 12px; color: #6B3A00; }
.tro-ly-mo { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 22px; background: var(--side-on); color: #1F5A55; font-size: 14px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; padding: 0 14px; text-align: center; }
.tro-ly-mo:hover { background: #D6E9E7; }
.tro-ly-cham { align-items: center; }
.tro-ly-tron { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 22px; background: #fff; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.tro-ly-tron.on { border-color: var(--brand); color: var(--accent); background: var(--side-on); }
.tro-ly-chan { padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #fff; display: flex; flex-direction: column; gap: 6px; }
.tro-ly-chan input { height: 48px; border-radius: 24px; padding: 0 16px; font-size: 16px; min-width: 0; }
.tro-ly-gui { width: 48px; height: 48px; border: 0; border-radius: 24px; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.tro-ly-gui:disabled { opacity: .45; cursor: default; }
.tro-ly-chan .c { text-align: center; }
@media (max-width: 760px) {
  .tro-ly { width: 100%; animation-name: qc-up; }
  .tro-ly-nen { pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) { .tro-ly { animation: none; } }
/* Quản trị › Trợ lý AI, Thư viện tài liệu */
.tlq-dau { padding: 0; overflow: hidden; }
.tlq-nhom { margin: 0; padding: 14px 16px 2px; color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.tlq-tong { border-bottom: 8px solid var(--bg, #F5F6F7); }
.tlq-ghi { margin: 0; padding: 10px 16px 14px; }
.tlq-luoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.tlq-dong { min-height: 40px; align-items: center; border-bottom: 1px solid var(--line2); }
.tlq-so { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tlq-so > div { background: var(--bg, #F5F6F7); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; }
.tlq-so b { font-family: 'Be Vietnam Pro', var(--font, sans-serif); font-size: 18px; }
.tbl tr.mo td { opacity: .55; }
.tl-tha { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; border: 1.5px dashed var(--brand); border-radius: 12px; background: #F7FCFB; color: #1F5A55; text-align: center; cursor: pointer; }
.tl-tha input[type=file] { max-width: 100%; }
@media (max-width: 760px) { .tlq-luoi { grid-template-columns: minmax(0, 1fr); } }
/* Nhân sự › Vai trò — nhóm Trợ lý AI */
.pq-ai { margin-bottom: 4px; }
.pq-ai-dau { align-items: center; margin-bottom: 8px; }
.pq-ai .tbl.pq tr.mo td { opacity: .6; }
.pq-ai-o { width: 56px; height: 32px; text-align: center; padding: 0 4px; font-size: 13px; }
/* ---------- Phiếu 1000d: Đồng phục giao khoán, báo cáo, sĩ số, định giá ---------- */
.kho-bang-bao { overflow-x: auto; max-width: 100%; }
.kho-bang-bao .kho-bang { width: 100%; border-collapse: collapse; }
.kho-bang-bao .kho-bang th, .kho-bang-bao .kho-bang td { padding: 6px 8px; border-bottom: 1px solid var(--line2); text-align: left; vertical-align: top; }
.dp-o { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.dp-o-mot { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; min-width: 0; }
.dp-o-mot b { font-size: 20px; overflow-wrap: anywhere; } .dp-o-mot.canh { background: #FFF4D6; }
@media (max-width: 400px) { .dp-o { grid-template-columns: 1fr 1fr; } .dp-o-mot b { font-size: 17px; } }
.dp-size { display: flex; flex-wrap: wrap; gap: 8px; }
.dp-size-nut { min-height: 44px; min-width: 72px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: 14px; cursor: pointer; }
.dp-size-nut.on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); font-weight: 700; }
.dp-size-nut.het { color: #B42318; border-color: #F1B8B2; background: #FDECEA; }
.dp-size-nut:disabled { opacity: .45; cursor: default; }
.dp-gio { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-gio-mon { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 10px; border-radius: 999px; background: var(--side-on); font-size: 13px; }
.dp-gio-mon button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font: inherit; }
.dp-nut { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.dp-nut .btn { text-align: center; justify-content: center; }
.dp-thanh { height: 8px; border-radius: 999px; background: var(--line2); overflow: hidden; } .dp-thanh span { display: block; height: 100%; background: var(--ok); }
.dp-cot { display: flex; align-items: flex-end; gap: 6px; height: 110px; }
.dp-cot-mot { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 2px; min-width: 0; }
.dp-cot-mot span { width: 100%; background: #9EC9C4; border-radius: 4px 4px 0 0; min-height: 2px; } .dp-cot-mot span.vuot { background: #C9372C; }
.dp-cot-mot small { font-size: 10px; color: var(--muted); }
.dp-tat { border-left: 4px solid #B42318; }
.dg-dong { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line2); font: inherit; text-align: left; cursor: pointer; color: inherit; }
@media print { body:has(.kho-bc) .kho-chip-ky, body:has(.kho-dp) .dp-nut { display: none !important; } }

/* ---------- Bếp ăn (phiếu 1300b) — dùng chung kiểu Kho, thêm phần riêng ---------- */
.bep .do { color: #B42318; } .bep .vang { color: #B54708; } .bep .xanh { color: var(--accent); }
.kit-ngay .ongay[data-kieu=date] { width: 150px; min-height: 36px; padding: 4px 8px; }
.kit-lop { margin-bottom: 12px; } .kit-ten-lop { margin: 0; font-size: 18px; }
.kit-dong-nhom { padding: 8px 0; border-top: 1px solid var(--line2); } .kit-dong-nhom:first-of-type { border-top: 0; }
.kit-nhom-ten { margin-bottom: 6px; }
.kit-gui { min-height: 48px; width: 100%; margin-top: 8px; font-size: 16px; }
.kit-td-lop summary { cursor: pointer; color: var(--accent); margin-top: 8px; }
.kit-td-ul { margin: 6px 0 0; padding-left: 18px; } .kit-td-ul li { margin: 2px 0; }
.kit-nghi { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--line2); }
.kit-dai { border-left: 4px solid var(--line); margin-bottom: 14px; } .kit-dai.xanh { border-left-color: var(--accent); } .kit-dai.vang { border-left-color: #F79009; } .kit-dai.do { border-left-color: #B42318; }
.kit-h2 { font-size: 15px; margin: 14px 0 8px; }
.kit-the-nhom { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-bottom: 14px; }
.kit-nhom { display: flex; flex-direction: column; gap: 4px; }
.kit-so-lon { font-size: 30px; font-weight: 700; line-height: 1.1; }
.kit-chi-tiet summary { cursor: pointer; color: var(--accent); }
.kit-diung { background: #FFFAEB; border-color: #FEDF89; margin-bottom: 12px; }
.kit-td-bang th { text-align: left; white-space: nowrap; vertical-align: top; padding-right: 10px; }
.kit-dd b.do { color: #B42318; }
@media (max-width: 480px) { .kit-the-nhom { grid-template-columns: 1fr; } .kit-ngay .ongay[data-kieu=date] { width: 130px; } }
/* Tính khẩu phần (1280) + Định lượng */
.kit-tab-nhom { margin-bottom: 10px; }
.kit-kp { display: flex; flex-direction: column; gap: 12px; }
.kit-kp-thanh, .kit-kp-nut { margin-bottom: 8px; } .kit-so-suat { width: 90px; min-height: 36px; padding: 4px 8px; }
.kit-bang { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.kit-bang td, .kit-bang th { padding: 7px 10px; font-size: 13px; } .kit-bang .tc-nhan { margin-right: 4px; font-size: 11px; }
.kit-bang tr.kit-dong-do td { background: #FFF5F3; }
.kit-ogam { display: inline-flex; align-items: center; gap: 4px; } .kit-ogam input { width: 70px; min-height: 32px; padding: 2px 6px; text-align: right; }
.kit-kp-phai { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.kit-mon { max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kit-kpi { display: flex; justify-content: space-between; gap: 8px; padding: 4px 0; border-bottom: 1px dashed var(--line2); } .kit-kpi:last-child { border-bottom: 0; }
.kit-dl-dau { margin-bottom: 12px; } .kit-dl-buoi { margin-bottom: 14px; padding: 4px 0; } .kit-dl-h2 { font-size: 15px; margin: 8px 16px; }
.kit-dl-bang th[colspan] { text-align: center; } .kit-dl-mon td { background: #F7F8FA; } .kit-dl-nl { padding-left: 24px !important; }
.print-only { display: none; }
@media (max-width: 900px) { .kit-bang { display: block; overflow-x: auto; } }
@media print { .print-only { display: block; margin-bottom: 8px; } .kit-dl-buoi { break-inside: avoid; box-shadow: none; } .kit-bang td, .kit-bang th { padding: 3px 6px; font-size: 11px; } }
.kit-kp-trai { min-width: 0; } .kit-kp-trai .kit-bang { display: block; overflow-x: auto; } .kit-bang td.r, .kit-bang th.r { white-space: nowrap; }
.kit-bang td.r .muted.xs { white-space: nowrap; }
/* Thực đơn tuần, Món, Nguyên liệu, Nhóm ăn, Cài đặt (1300b) */
.kit-td-luoi-wrap { overflow-x: auto; margin-bottom: 12px; } .kit-td-luoi { min-width: 900px; } .kit-td-luoi th.kit-homnay, .kit-td-luoi td.kit-homnay { background: #F3FAF8; }
.kit-td-buoi { white-space: nowrap; vertical-align: top; } .kit-td-o { vertical-align: top; min-width: 110px; padding: 6px !important; }
.kit-td-mon { position: relative; background: #F7F8FA; border: 1px solid var(--line2); border-radius: 8px; padding: 4px 22px 4px 8px; margin-bottom: 4px; font-size: 12px; cursor: grab; }
.kit-td-mon-ten { font-weight: 600; } .kit-td-bo { position: absolute; right: 2px; top: 2px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 14px; line-height: 1; padding: 2px 4px; }
.kit-td-them { border: 1px dashed var(--line); background: transparent; color: var(--accent); border-radius: 8px; padding: 3px 8px; font-size: 12px; cursor: pointer; width: 100%; }
.kit-tomtat td { vertical-align: top; }
.kit-goiy { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.kit-mon-ds { max-height: 50vh; overflow: auto; margin-top: 8px; } .kit-mon-ds li { list-style: none; }
.kit-mon-dong { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 8px 6px; border-bottom: 1px solid var(--line2); cursor: pointer; font: inherit; } .kit-mon-dong:hover { background: #F7F8FA; }
.kit-loc { margin-bottom: 10px; } .kit-loc .input { min-height: 36px; } .kit-grow { flex: 1; min-width: 200px; }
.kit-so-nho { width: 80px; text-align: right; }
.kit-2cot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .kit-2cot .field { margin-top: 6px; } .kit-2cot .row-gap .field { min-width: 120px; flex: 1; }
.kit-chip { display: inline-block; background: #EEF0F3; border-radius: 999px; padding: 2px 22px 2px 10px; margin: 2px 4px 2px 0; position: relative; font-size: 13px; } .kit-chip .kit-td-bo { top: 0; }
.kit-dv-la { font-weight: 600; min-width: 80px; }
.kit-anchieu { max-width: 520px; }
@media (max-width: 760px) { .kit-2cot { grid-template-columns: 1fr; } }
.kit-loc .input, .kit-loc select.input { width: auto; max-width: 280px; }

/* ---------- Phiếu 200t: báo hỏng — bảo vệ xử lý trước ---------- */
.wf-the.do { border: 2px solid #B42318; }
.wf-bh-nguy { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; background: var(--card); }
.wf-bh-nguy.on { border: 2px solid #B42318; background: #FFF6F5; }
.wf-bh-nguy.on .wf-check { color: #8A1C12; }
.wf-bh-chan { border: 2px solid #F3C9B5; background: #FFF8F6; }
.wf-bh-nk ul { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.wf-hang-cam td { background: #FFF8F6; }
.wf-bh-bang { display: none; }
@media (min-width: 900px) {
  .wf-bh-bang { display: block; }
  .wf-bh-the { display: none; }
}
.wf-bh-o { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wf-bh-o-so { display: flex; flex-direction: column; gap: 2px; border-radius: 10px; background: var(--bg); padding: 8px; color: var(--ink); text-decoration: none; min-height: 44px; }
.wf-bh-o-so b { font-size: 22px; line-height: 1; }
.wf-bh-o-so span { font-size: 12px; color: var(--muted); }
.wf-bh-o-so.cam { background: #FFF4E5; } .wf-bh-o-so.cam b, .wf-bh-o-so.cam span { color: #6B3A00; }
.wf-ct-dau .row-between { flex-wrap: wrap; gap: 6px; }
/* 1300b-2: Tính khẩu phần 2 cột như Kafood — bảng trái cuộn ngang trong khung, cột phải dinh dưỡng + khối tiền (dính khi cuộn) */
.kit-kp2 { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 12px; align-items: start; }
.kit-kp2 .kit-kp-phai { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 72px; }
@media (max-width: 1100px) { .kit-kp2 { grid-template-columns: minmax(0, 1fr); } .kit-kp2 .kit-kp-phai { position: static; } }
.kit-bang-cuon { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.kit-bang-cuon .kit-bang-kp { display: table; width: 100%; border: 0; border-radius: 0; }
.kit-bang-kp th { position: sticky; top: 0; background: #F7F8FA; font-size: 12px; white-space: normal; line-height: 1.25; vertical-align: bottom; }
.kit-bang-kp td, .kit-bang-kp th { padding: 6px 7px; } .kit-bang-kp th.r { white-space: normal; }
.kit-bang-kp .kit-ten { min-width: 120px; max-width: 170px; } .kit-bang-kp .kit-ten .tc-nhan { margin-left: 4px; }
.kit-bang-kp .kit-ncc { max-width: 110px; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kit-bang-kp .kit-mon { max-width: 160px; }
.kit-bang-kp .kit-ogam { flex-direction: column; align-items: flex-end; gap: 1px; } .kit-bang-kp .kit-ogam input { width: 60px; }
.kit-bang-kp tfoot th { white-space: nowrap; }
.kit-chu-giai { margin: 0 0 6px; } .kit-chu-giai .tc-nhan { font-size: 10px; }
.kit-dd { width: 100%; } .kit-dd th, .kit-dd td { padding: 5px 4px; font-size: 12px; white-space: nowrap; } .kit-dd th { background: #F7F8FA; font-size: 11.5px; }
.bep .lam { color: #0E7490; }
.kit-tien .kit-kpi { font-size: 13.5px; }
.kit-nut-huy { color: #A33A1F; }
@media (max-width: 1320px) and (min-width: 1101px) { .kit-kp2 { grid-template-columns: minmax(0, 1fr) 295px; } .kit-dd th, .kit-dd td { padding: 4px 3px; font-size: 11.5px; } }
.kit-kp2 .kit-kp-phai .card.pad { padding: 12px 10px; } .kit-dd th { white-space: normal; line-height: 1.2; vertical-align: bottom; } .kit-dd { table-layout: auto; }
/* 1300b-3: Thay đổi bếp — buổi → món như Kafood */
.kit-tdb { display: flex; flex-direction: column; gap: 10px; }
.kit-tdb-buoi { padding: 0; overflow: hidden; }
.kit-tdb-buoi-ten { padding: 8px 14px; background: #F7F8FA; font-weight: 600; font-size: 13px; border-bottom: 1px solid var(--line2); }
.kit-tdb-mon { border-bottom: 1px solid var(--line2); } .kit-tdb-mon:last-child { border-bottom: 0; }
.kit-tdb-dau { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 14px; border: 0; background: var(--card); font: inherit; text-align: left; cursor: pointer; }
.kit-tdb-dau:hover { background: #F7F8FA; } .kit-tdb-dau .grow { flex: 1; }
.kit-tdb-than { padding: 4px 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.kit-tdb-bang { display: table; width: 100%; } .kit-tdb-o { width: 72px; min-height: 32px; padding: 2px 6px; text-align: right; }

/* 1300b-4 — Thực đơn tuần như Kafood: cột món trái kéo vào lưới; hộp "Thứ X – Buổi Y" bảng món × nhóm có công tắc */
.page.kp.kit-trang-mon .kit-bang td:first-child { min-width: 220px; }
.kit-td2 { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 12px; align-items: start; } .kit-td2 .kit-td-luoi { min-width: 760px; }
.kit-td-kho { position: sticky; top: 8px; padding: 10px; display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 24px); }
.kit-td-kho select, .kit-td-kho input { width: 100%; }
.kit-td-kho-ds { margin: 0; padding: 0; overflow: auto; flex: 1 1 auto; min-height: 120px; }
/* 1300o: tạo món ngay khi lập Thực đơn tuần */
.kit-td-kho-moi { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.kit-td-kho-moi .kit-td-kho-ds { flex: 0 0 auto; min-height: 0; max-height: 180px; }
.kit-td-kho-mon-moi { background: var(--accent-soft); }
.kit-tao-mon { border: 1px dashed var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; text-align: left; }
.kit-bao-tao { background: #E8F3EC; border-color: #B9DCC5; display: flex; flex-direction: column; gap: 2px; }
.kit-chua-luu { box-shadow: 0 0 0 3px var(--sun); }
.kit-chua-luu-nhan { color: #8A5300; background: #FFF8E1; border: 1px solid #F2D58A; border-radius: 8px; padding: 4px 10px; }
.kit-mt-wrap { overflow-x: auto; }
.kit-mt th, .kit-mt td { vertical-align: middle; }
.kit-mt th.r { white-space: nowrap; }
.kit-mt-chep { display: block; margin-top: 4px; height: 30px; font-size: 12px; padding: 0 6px; width: 100%; min-width: 0; max-width: 104px; }
.kit-mon-dt li { min-height: 52px; gap: 10px; border-bottom: 1px solid var(--line2); }
.kit-mon-dt .kit-so-nho { width: 92px; min-height: 44px; font-size: 16px; }
.kit-bat-dau { display: flex; flex-direction: column; gap: 4px; }
.kit-bat-dau-ds { flex-wrap: wrap; }
.kit-td-kho-mon { list-style: none; padding: 6px 8px; border-bottom: 1px solid var(--line2); font-size: 13px; cursor: grab; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kit-td-kho-mon:hover { background: #F3FAF8; }
.kit-td-mon:focus-visible { outline: 2px solid var(--accent); } .kit-td-mon:hover { border-color: var(--accent); }
.kit-td-luoi .kit-td-mon { cursor: pointer; }
.kit-td-hop th.c, .kit-td-hop td.c { text-align: center; } .kit-td-hop td { vertical-align: middle; }
.kit-td-hop-on td { background: #F3FAF8; }
.kit-td-hop-them { border-top: 1px solid var(--line2); padding-top: 8px; margin-top: 4px; }
.kit-cong-tac { position: relative; display: inline-block; width: 40px; height: 22px; cursor: pointer; }
.kit-cong-tac input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.kit-cong-tac span { position: absolute; inset: 0; background: #CBD2D9; border-radius: 999px; transition: background .15s; pointer-events: none; }
.kit-cong-tac span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.kit-cong-tac input:checked + span { background: var(--accent); } .kit-cong-tac input:checked + span::after { transform: translateX(18px); }
.kit-cong-tac input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; } .kit-cong-tac input:disabled + span { opacity: .55; }
@media (max-width: 1100px) { .kit-td2 { grid-template-columns: 1fr; } .kit-td-kho { position: static; max-height: 260px; } }
.kit-ncc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.kit-nhap-gia { max-height: 45vh; overflow: auto; }
.kit-td-hop-nut { white-space: nowrap; } .kit-td-hop-nut .btn + .btn { margin-left: 6px; }
.kit-td-kho-loc { display: flex; flex-direction: column; gap: 6px; }
.kit-td-hien-kho { margin-bottom: 8px; }

/* 1300c-1 — Đơn tuần (máy tính) + Đi chợ hôm nay (điện thoại) */
.kit-dt-dau { padding: 10px 12px 0; flex-wrap: wrap; gap: 8px; } .kit-dt-dau .kit-dl-h2 { margin: 0; }
.kit-dt-bang td.kit-dt-o { min-width: 84px; } .kit-dt-bang td.kit-dt-o .input { width: 76px; text-align: right; }
.kit-dt-bang td.doi { background: #FFF1E0; box-shadow: inset 0 0 0 1px #F0B45A; }
.kit-vanban { width: 100%; font-family: inherit; font-size: 14px; line-height: 1.5; white-space: pre; }
.kit-dc-chip { margin: 8px 0; flex-wrap: wrap; }
.kit-dc-bang .input { width: 72px; text-align: right; } .kit-dc-bang .kit-dc-gia { width: 92px; }
tr.kit-dc-them td { background: #FFF6E5; } tr.kit-dc-bot td { background: #EEF5FF; }
span.kit-dc-them { background: #FFF6E5; padding: 0 4px; border-radius: 4px; } span.kit-dc-bot { background: #EEF5FF; padding: 0 4px; border-radius: 4px; }
.kit-dc-nut { padding-bottom: 12px; flex-wrap: wrap; }
@media (max-width: 600px) { .kit-dc-bang th, .kit-dc-bang td { padding: 6px 4px; font-size: 13px; } .kit-dc-bang .input { width: 58px; } .kit-dc-bang .kit-dc-gia { width: 72px; } }

/* 1300c-2 — Nhận hàng */
.kit-nh-the { overflow: hidden; }
.kit-nh-dau { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; border: 0; background: transparent; padding: 12px; font: inherit; cursor: pointer; flex-wrap: wrap; }
.kit-nh-tong { margin-left: auto; font-weight: 600; }
.kit-nh-bang .input { width: 72px; text-align: right; } .kit-nh-bang .kit-dc-gia { width: 92px; }
.kit-nh-bang tr.kit-nh-lech td { background: #FFF1EE; } .kit-nh-bang tr.kit-nh-lech td .input { width: 100%; text-align: left; }
.kit-nh-ok { min-width: 40px; font-weight: 700; } .kit-nh-ok.dat { color: #1B7F4B; border-color: #9FD8B8; } .kit-nh-ok.khong { color: #B3261E; border-color: #F1B8AC; background: #FDECEA; }
.kit-nh-chan { display: flex; flex-direction: column; gap: 10px; padding-bottom: 12px; }
.kit-nh-anh { position: relative; display: inline-block; }
.kit-nh-khoa { margin: 12px 0; align-items: center; }
@media (max-width: 600px) { .kit-nh-bang th, .kit-nh-bang td { padding: 6px 4px; font-size: 13px; } .kit-nh-bang .input { width: 58px; } .kit-nh-bang .kit-dc-gia { width: 74px; } }
/* 1300c-3 Sổ 3 bước + lưu mẫu */
.kit-so3-lo { display: grid; grid-template-columns: 1fr 150px 1.4fr; gap: 6px; }
.kit-so3-mon-ds { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; padding: 0 12px 12px; }
.kit-so3-mon { display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 10px; background: var(--card); }
.kit-so3-mon.kit-so3-co { border-color: #B7E1C7; }
.kit-so3-gio { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .kit-so3-gio label { display: grid; gap: 2px; }
.kit-so3-check { flex-wrap: wrap; } .kit-so3-check .btn { min-width: 0; }
.kit-o-do { border-color: #D93025 !important; background: #FFF5F3; }
@media (max-width: 600px) { .kit-so3-lo { grid-template-columns: 1fr 1fr; } .kit-so3-lo input:last-child { grid-column: 1 / -1; } .kit-so3-mon-ds { padding: 0 8px 8px; } }
.kit-in-trang { break-after: page; font-size: 11px; color: #000; } .kit-in-trang:last-child { break-after: auto; }
.kit-in-dau { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin-bottom: 8px; } .kit-in-dau h3 { grid-column: 1 / -1; text-align: center; margin: 8px 0 0; font-size: 14px; }
.kit-in-dau > div:last-child { grid-column: 1 / -1; text-align: center; }
.kit-in-muc { font-weight: 600; margin: 8px 0 4px; }
.kit-in-bang { width: 100%; border-collapse: collapse; } .kit-in-bang th, .kit-in-bang td { border: 1px solid #000; padding: 3px 4px; vertical-align: top; font-size: 10.5px; } .kit-in-bang th { font-weight: 600; text-align: center; }
.kit-in-bang tr { break-inside: avoid; }
.kit-in-ky { display: grid; grid-template-columns: 1fr 1fr; text-align: center; margin-top: 16px; min-height: 80px; }
.kit-in-ky4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; text-align: center; margin-top: 14px; min-height: 90px; } .kit-in-ten { margin-top: 48px; font-weight: 600; }
.kit-in-hd th, .kit-in-hd td { font-size: 11px; }
.kit-in-xn { margin: 6px 0 0; }
.kit-nh-lydo { flex-wrap: wrap; } .kit-nh-lydo .input { flex: 1 1 180px; min-width: 0; }
/* 1300aq: bảo vệ nhận hàng tối giản — ô cân, nút to cho điện thoại cũ / người lớn tuổi */
.kit-nh-bang .input.kit-bv-o { width: 110px; min-height: 52px; font-size: 22px; font-weight: 600; text-align: center; }
.kit-nh-bang tr.kit-nh-lech td .input.kit-bv-o { width: 110px; text-align: center; color: #B42318; border-color: #E5917F; }
.kit-bv-lydo .btn { min-height: 44px; font-size: 16px; }
.btn.kit-bv-nut { width: 100%; min-height: 56px; font-size: 19px; font-weight: 700; border-radius: 14px; margin-top: 8px; }
.btn.kit-bv-nut2 { min-height: 48px; font-size: 17px; flex: 1 1 0; }
.kit-bv-hoi li { margin: 4px 0; font-size: 16px; } div.kit-bv-hoi { margin-bottom: 10px; }
.kit-bt-ht { border-top: 1px solid var(--line, #E6E2DA); padding-top: 10px; }
.kit-bv-hk { background: #FFF8EC; border: 1px solid #F2D48A; border-radius: 10px; padding: 8px 10px; margin-top: 6px; } /* 1300ar: Hàng khác */
.kit-bt-hk { margin: 6px 0; } .kit-bt-hk li { margin: 6px 0; }
.kit-nh-xn { border-top: 1px solid var(--line); padding-block: 10px; display: grid; gap: 8px; } .kit-nh-xn h3 { margin: 0; }
.kit-nh-yt { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; padding-block: 4px; } .kit-nh-yt .input { flex: 1 1 200px; min-width: 0; }
/* 1300aj: y tế kiểm song song — khung Không đạt (lý do, ảnh), nhắc trên nút Xong, chữ Đạt cột Y tế, Bảng bếp ở Suất ăn */
.kit-nh-yt-khong { flex: 1 1 100%; display: flex; flex-direction: column; gap: 6px; }
.kit-nh-nhac { background: #FFF4D6; border: 1px solid #F2D48A; border-radius: 8px; padding: 8px 10px; margin: 4px 0; color: #5C3D00; }
.ok-xanh { color: var(--ok); font-weight: 600; }
.kit-suat-bep { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.kit-suat-bep .kit-to-bep { padding: 12px; font-size: 13px; }
.kit-nh-toky { border-top: 1px solid var(--line); padding-block: 10px; display: grid; gap: 6px; }
.kit-bc-mo { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.kit-bc-con td { background: var(--line2); } .kit-bc-con2 td { background: var(--line2); color: var(--ink2); }
.kit-ky-dong { display: grid; grid-template-columns: 1fr 1fr 130px auto; gap: 6px; align-items: center; } @media (max-width: 560px) { .kit-ky-dong { grid-template-columns: 1fr 1fr; } }

.kit-ky-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.kit-nh-gt { margin-left: 6px; padding: 1px 8px; font-size: 12px; } .kit-nh-gt-dong td { background: var(--line2); } .kit-nh-gt-muc { display: inline-flex; align-items: center; gap: 4px; margin-right: 10px; }
.kit-in-nhan-ds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4mm; } .kit-in-nhan { border: 1px solid #000; padding: 6px 8px; display: grid; gap: 3px; break-inside: avoid; }
@media print { body.print-doc .kit-so3 .no-print { display: none !important; } body.print-doc .kit-in-so { display: block !important; } @page { size: A4 landscape; margin: 10mm; } }
/* 1300e — quy trình đặt mua 4 bước */
.kit-buoc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.kit-buoc-o { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: #EEF0F3; color: var(--ink2); font-size: 13px; text-decoration: none; }
.kit-buoc-o:hover { background: #E3E6EA; }
.kit-buoc-o.xong { background: #EAF6EE; color: var(--ok); font-weight: 600; }
.kit-buoc-o.dang { background: var(--accent); color: #fff; font-weight: 600; }
.kit-buoc-tiep { display: flex; justify-content: flex-end; margin: 12px 0; }
.kit-dong-suat { margin: 8px 0 12px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2, #f1f4f3); font-size: 14px; line-height: 1.5; }
.kit-tab-dicho { margin-bottom: 12px; } .kit-tab-dicho a { text-decoration: none; }
.kit-du-tru { margin-top: 4px; } .kit-du-tru-nut { margin-left: 6px; }
.kit-td-sua { margin-left: 6px; vertical-align: baseline; }
.kit-td-bao { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.kit-td-canh { background: #FFF8EC; border: 1px solid #F3D9A4; margin-bottom: 12px; } .kit-td-canh b { color: #7A4A00; } .kit-td-canh .kit-td-ul { margin: 6px 0 0; }
.kit-td-mon.kit-td-trung { background: #FFF4D6; outline: 1px solid #F3D9A4; }
.kit-td-trung-nhan { font-size: 11px; font-weight: 600; color: #7A4A00; margin-left: 4px; }
.kit-td-luoi th.kit-td-vuot { background: #FDECEA; } .kit-td-luoi th.kit-td-vuot.nang { background: #F9D2CE; }
.kit-kp-bang4 { margin-bottom: 14px; } .b { font-weight: 700; }
@media (max-width: 600px) { .kit-buoc-an { display: none; } .kit-buoc-o { padding: 0 10px; } }
.kit-bang-nhom { background: var(--card); width: 100%; } .kit-bang-nhom td, .kit-bang-nhom th { padding: 7px 10px; font-size: 13px; } .kit-bang-nhom td.r, .kit-bang-nhom th.r { text-align: right; white-space: nowrap; }
/* 1300e-3: báo tiền / suất gấp hơn 2 lần định mức */
.kit-kp-gap{margin:8px 0;padding:10px 12px;border-radius:10px;background:#fbebeb;color:#9b1c1c;font-size:14px;line-height:1.45}
/* 200u: mục kiểm Có / Không có / Không áp dụng; chứng từ; cảnh báo cho người duyệt; ứng lương còn ứng được */
.wf-muc { display: flex; flex-direction: column; gap: 10px; }
.wf-muc-dong { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-top: 1px solid var(--line); }
.wf-muc-dong:first-of-type { border-top: 0; }
.wf-td-muc-ten { display: flex; flex-direction: column; gap: 2px; }
.wf-muc-chon { display: flex; flex-wrap: wrap; gap: 8px; }
.wf-muc-chon .pill { min-height: 44px; padding: 0 16px; font-size: 14px; }
.wf-muc-chon .pill:disabled { opacity: .4; cursor: not-allowed; }
.wf-muc-chon .pill.wf-muc-khong.on { background: var(--wf-cam, #9A3412); border-color: var(--wf-cam, #9A3412); }
.wf-muc-ly { min-height: 44px; }
.wf-bao.vang { background: #FFF4D6; color: #7A4B00; } .wf-bao.xanh { background: var(--wf-ngoc-nhat, #DDF1EF); color: var(--wf-ngoc-dam, #0B5454); }
.wf-bao .btn { align-self: flex-start; margin-top: 6px; }
.wf-cb-ds { margin: 4px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.wf-vang-nen { background: #FFF8E6; border-color: #F2D48A; }
.wf-cd-rieng { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.wf-cd-rieng .wf-cd-dong { flex-wrap: wrap; }
.pay-kv-khoi { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; border-radius: var(--radius); background: #F6FBFA; border: 1px solid var(--line); }
.pay-kv-khoi .row-between { gap: 8px; }
@media (max-width: 400px) { .wf-muc-chon .pill { flex: 1 1 auto; padding: 0 10px; } }
/* Bếp ăn 1300f — báo ăn theo sĩ số − nghỉ, bảng từng lớp */
.kit-ai-bao { margin-top: 4px; color: var(--ok); }
.kit-bao-than { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.kit-siso { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.kit-so-vua { font-size: 24px; font-weight: 700; line-height: 1.1; }
.kit-o-nghi { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.kit-dien-san { background: #EEF6FF; color: #1D4F91; border-radius: 8px; padding: 6px 10px; }
.kit-so-an { padding: 8px 12px; border-radius: 10px; background: #EAF6EE; } .kit-so-an b { font-size: 26px; color: var(--ok); margin-left: 6px; }
.kit-nhan-cam { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #FFF1E6; color: #B54708; border: 1px solid #F9C99F; }
.kit-diung-lop { padding: 8px 10px; border-radius: 10px; background: #FFFAEB; border: 1px solid #FEDF89; }
.kit-diung-lop .input { flex: 1; min-width: 0; }
.kit-ly-do { border: 0; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 6px; } .kit-ly-do legend { margin-bottom: 4px; }
.kit-tien-do { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kit-thanh { flex: 1; min-width: 120px; max-width: 320px; height: 8px; border-radius: 4px; background: var(--line2); overflow: hidden; }
.kit-thanh > span { display: block; height: 100%; background: var(--accent); }
.kit-bang-lop { margin-bottom: 14px; display: flex; flex-direction: column; gap: 8px; }
.kit-bl { width: 100%; } .kit-bl th, .kit-bl td { padding: 7px 10px; font-size: 13px; text-align: left; }
.kit-bl .so { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kit-bl-nhom th { background: var(--line2); font-weight: 600; }
.kit-bl tr.chua td { background: #FFF8F6; }
.kit-bl tr.bam { cursor: pointer; } .kit-bl tr.bam:hover td { background: #F3F7FF; }
.kit-bl-tong th, .kit-bl-tong td { border-top: 2px solid var(--line); font-weight: 600; }
@media (max-width: 640px) {
  .kit-bang-lop .kit-bang-cuon { border: 0; background: transparent; }
  .kit-bl, .kit-bl tbody, .kit-bl tfoot { display: block; width: auto; }
  .kit-bl thead { display: none; }
  .kit-bl-nhom, .kit-bl-nhom th { display: block; } .kit-bl-nhom th { border-radius: 8px; margin-top: 8px; }
  .kit-bl tbody tr:not(.kit-bl-nhom), .kit-bl tfoot tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px 8px; align-items: start;
    border: 1px solid var(--line); border-radius: 10px; margin: 6px 0; padding: 8px 10px; background: var(--card); }
  .kit-bl td, .kit-bl tfoot th { display: block; padding: 0; border: 0; text-align: left; min-width: 0; }
  .kit-bl td.so::before { content: attr(data-n); display: block; font-size: 11px; color: var(--muted); }
  .kit-bl td[data-n="Lớp"], .kit-bl tfoot th { grid-column: 1 / 3; }
  .kit-bl td[data-n="Trạng thái"] { grid-column: 3 / 5; grid-row: 1; text-align: right; }
  .kit-bl td[data-n="Ghi chú"], .kit-bl td[data-n="Ai báo"], .kit-bl tfoot td[data-n=""] { grid-column: 1 / -1; font-size: 12px; }
  .kit-bl td[data-n="Ai báo"] { color: var(--muted); }
  .kit-bl td.so { text-align: left; } .kit-bl td.trong { display: none; }
  .kit-bl tr.chua td { background: transparent; } .kit-bl tbody tr.chua { background: #FFF8F6; }
}
.kit-nhan-xanh { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #EAF6EE; color: var(--ok); border: 1px solid #BFE3CC; }
.kit-siso-dau { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 10px; background: #EEF6FF; border: 1px solid #B9D5F5; }

/* ---------- Quy trình · phiếu 200v: danh sách gom "Chờ hậu kiểm, ghi sổ" (Việc › Kế toán kiểm), cài đặt kiểm chứng từ của cơ sở ---------- */
.wf-hk { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; min-width: 0; }
.wf-hk-dau { gap: 8px; flex-wrap: wrap; }
.wf-hk-ds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wf-hk-dong { display: grid; grid-template-columns: 44px 56px minmax(0, 1fr); gap: 8px; align-items: start; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; min-width: 0; }
.wf-hk-dong.qua { border-color: #E8B4AE; background: #FFF8F6; }
.wf-hk-dong.chon { border-color: var(--wf-ngoc, #0F6E6E); box-shadow: 0 0 0 1px var(--wf-ngoc, #0F6E6E); }
.wf-hk-tick { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; }
.wf-hk-tick input { width: 22px; height: 22px; min-height: 0; margin: 0; accent-color: var(--wf-ngoc, #0F6E6E); }
.wf-hk-tick input:disabled { opacity: .35; cursor: not-allowed; }
.wf-hk-anh { position: relative; width: 56px; height: 56px; border: 1px solid var(--line); border-radius: 8px; background: #F3F5F7; padding: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font: inherit; font-size: 12px; color: var(--muted); cursor: pointer; }
.wf-hk-anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wf-hk-anh i { position: absolute; right: 2px; bottom: 2px; font-style: normal; font-size: 11px; background: rgba(0,0,0,.6); color: #fff; border-radius: 6px; padding: 0 4px; }
.wf-hk-anh.trong { cursor: default; }
.wf-hk-than { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: inherit; text-decoration: none; }
.wf-hk-hang { display: flex; justify-content: space-between; gap: 8px; min-width: 0; }
.wf-hk-ten { min-width: 0; overflow-wrap: anywhere; }
.wf-hk-than .xs { overflow-wrap: anywhere; }
.wf-hkcd { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.wf-hkcd-cs select { max-width: 100%; }
.wf-hkcd-chon .pill { flex: 1 1 auto; }
.wf-hkcd-ls summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
@media (max-width: 400px) { .wf-hk-dong { grid-template-columns: 40px 48px minmax(0, 1fr); gap: 6px; } .wf-hk-tick { width: 40px; } .wf-hk-anh { width: 48px; height: 48px; } }

/* ---------- Kho · phiếu 1000f: khối trưởng cân đối, kho đạo cụ của khối, đồ tươi tiết dạy ---------- */
.kho-cd-mh { border-top: 1px solid var(--line2); } .kho-cd-mh:first-child { border-top: 0; }
.kho-cd-dau { padding-bottom: 4px; } .kho-cd-dau .kho-dong-ten .b { font-size: 15px; }
.kho-cd-co { color: #245F5A; margin-top: 2px; }
.kho-cd-lop { padding: 6px 0 6px 12px; border-top: 0; } .kho-cd-lop.khoa { color: var(--muted); }
.kho-cd-nhan { color: #B45309; min-height: 0; }
.kho-cd-nut { display: flex; gap: 6px; align-items: center; flex: none; } .kho-cd-nut .btn.sm { min-height: 36px; padding: 0 10px; }
.kho-cd-bo .kho-dong-ten { opacity: .6; } .kho-cd-bo .kho-o-nho.rong { opacity: 1; width: 100%; text-align: left; margin-top: 6px; }
.kho-chip-lop { flex: none; display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font-size: 13px; white-space: nowrap; }
.kho-chip-lop.cho { background: #FFF4D6; color: #7A4A00; box-shadow: none; }
.kho-can-doi-tt { background: var(--side-on); color: #245F5A; display: flex; flex-direction: column; gap: 4px; }
.kho-can-doi-tt .xs.muted { color: #245F5A; }
.kho-tien { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); flex: none; }
.kho-tien .kho-o-nho.gia { height: 40px; text-align: right; font-weight: 600; font-size: 15px; }
.kho-dong input[type=checkbox] { width: 22px; height: 22px; flex: none; margin: 0 8px 0 0; }
.pad-y { padding: 8px 0 4px; }
.kho-dao-cu .kho-cd-lop .kho-cd-nhan { color: var(--muted); }
/* ---------- 1300d Báo cáo bếp ---------- */
.kit-baocao .tabs { margin-bottom: 12px; }
.kit-bc { display: grid; gap: 12px; padding-block: 12px; min-width: 0; }
.kit-bc .do { color: #B42318; } .kit-bc .ok { color: var(--ok); }
.kit-bc-thanh { padding-inline: 12px; justify-content: space-between; }
.kit-bc-nut { margin-left: auto; }
.kit-bc-dukien { margin-inline: 12px; background: #FFF4D6; color: #7A4A00; border-radius: 10px; padding: 8px 12px; font-size: 13px; }
.kit-bc-kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; padding-inline: 12px; }
.kit-bc-kpi > div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 2px; align-content: start; }
.kit-bc-kpi b { font-size: 19px; }
.kit-bc-bang td .tc-nhan { margin-left: 6px; }
.kit-bc-bang td, .kit-bc-bang th { white-space: nowrap; }
.kit-bc-tong td { font-weight: 700; background: var(--accent-soft); }
.kit-bc-nhom { width: auto; min-width: 160px; }
.kit-bc-2 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; }
@media (max-width: 900px) { .kit-bc-2 { grid-template-columns: minmax(0, 1fr); } }
.kit-bc-thang { display: grid; gap: 8px; padding-inline: 12px; }
.kit-bc-thang-dong { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kit-bc-dd { display: grid; gap: 6px; }
.kit-nh-dc { padding: 0 12px 8px; display: grid; gap: 4px; }
@media print { .kit-bc-dukien { border: 1px solid #ccc; } .kit-baocao .tabs { display: none; } }
.kit-bc-ngay { width: auto; }
.kit-dd-tuan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px; padding-inline: 12px; align-items: start; }
@media (max-width: 900px) { .kit-dd-tuan { grid-template-columns: minmax(0, 1fr); } }
.kit-dd-tien td { white-space: nowrap; }
.kit-dd-bang th.c, .kit-dd-bang td.c, .kit-bc-bang th.c, .kit-bc-bang td.c { text-align: center; }
.kit-dd-thieu td { background: #FFFBEA; }
h2.kit-dl-h2.c { text-align: center; }
/* 1600b — Báo ăn theo bé: danh sách bé, nút Nghỉ / Cắt chiều, tổng, suất ngoài danh sách */
.kit-tong-be { display: flex; gap: 16px; align-items: baseline; flex-wrap: wrap; padding: 8px 12px; border-radius: 10px; background: #EAF6EE; }
.kit-tong-be > span { white-space: nowrap; }
.kit-ds-be { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.kit-ds-be li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line2); }
.kit-ds-be li:last-child { border-bottom: 0; }
.kit-ds-be li.nghi .kit-be-ten > span:first-child { color: var(--muted); text-decoration: line-through; }
.kit-be-ten { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.kit-be-ten .input.xs { min-height: 30px; font-size: 12px; padding: 0 8px; }
.kit-be-nut { display: flex; gap: 6px; flex-shrink: 0; }
.btn.xs { min-height: 34px; min-width: 44px; padding: 0 10px; font-size: 12px; }
.btn.xs.do { background: #FEE4E2; border-color: #FDA29B; color: #B42318; } .btn.xs.vang { background: #FEF0C7; border-color: #FEDF89; color: #B54708; }
.kit-den-muon { margin-top: 12px; padding: 10px 12px; border: 1px solid #FEDF89; background: #FFFAEB; border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.kit-den-muon .kit-ds-be li { border-bottom-color: #FEF0C7; }
.kit-ngoai-ds { display: flex; flex-direction: column; gap: 6px; padding: 8px 10px; border-radius: 10px; background: #F6FBFA; border: 1px solid var(--line); }
.kit-de-nghi { margin: 4px 0 0; padding-left: 18px; }
/* 1600c — Lớp hôm nay */
.lhn-the { display: flex; flex-direction: column; gap: 8px; }
.lhn-dem { font-size: 13px; color: var(--muted); }
.lhn-so3 { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; } .lhn-so3 b { font-size: 22px; }
.lhn-viec { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lhn-viec li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line2); } .lhn-viec li:last-child { border-bottom: 0; }
.lhn-viec .ten { flex: 1; min-width: 0; font-size: 14px; }
.lhn-lien-ket { display: flex; gap: 8px; flex-wrap: wrap; }
.lhn-lien-ket a { flex: 1 1 calc(50% - 8px); min-width: 140px; }
/* Phiếu 1550c (anh Cường 30/10/2026, kiểu A): màn nhập email có nút tròn Face ID bên phải, cùng hàng như màn đã nhớ người dùng;
   dòng nhắc và báo lỗi căn theo ô email (không tính nút Face ID) */
.auth-form.with-face { flex-direction: row; align-items: center; gap: 10px; }
.auth-form.with-face .auth-field { flex: 1; min-width: 0; }
.auth-below.with-face .auth-note, .auth-below.with-face > .errorbox { align-self: flex-start; width: calc(100% - 78px); }
@media (min-width: 900px) {
  .auth-form.with-face .auth-field { height: 68px; border-radius: 34px; padding-left: 20px; padding-right: 8px; }
  .auth-form.with-face .auth-go-btn { width: 52px; height: 52px; border-radius: 50%; }
}

/* Phiếu 1600e — Học sinh › Thứ 7 */
.hs-t7-nhom { margin: 6px 0 10px; padding-left: 22px; display: grid; gap: 6px; }
.hs-t7-nhom li { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; }
.hs-t7-bang td, .hs-t7-bang th { white-space: nowrap; }
.hs-t7-bang select.input.xs { min-width: 110px; }
/* 1300i — Sổ nhận hàng */
.kit-snh tr.kit-snh-dong { cursor: pointer; } .kit-snh tr.kit-snh-dong:hover td { background: var(--hover, #F5F6F7); }
.kit-snh tr.kit-nh-lech td { background: #FFF1EE; }
.kit-snh-ct { background: var(--bg, #F5F6F7); display: table-cell; } .kit-snh-ct .tbl { margin-block: 6px; }
/* 1000g — hai thẻ dự trù (Học tập — tuần · Bán trú — tháng) */
.kho-hai-the { flex-wrap: nowrap; }
.kho-hai-the button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; padding: 4px 8px; }
.kho-hai-the button .xs { font-weight: 500; }
.kho-nhip-dong { flex-wrap: wrap; gap: 6px 10px; }
.kho-nhip-dong .kho-dong-ten { flex: 1 1 200px; min-width: 0; }
.kho-nhip-dong select { flex: 0 1 auto; max-width: 100%; }
/* 1600f — Thực đơn hôm nay ở Lớp hôm nay */
.lhn-td { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
/* 1300m — chuẩn tên phiếu: loại là chính (màu cố định toàn app), NCC tên ngắn dòng phụ; nút cuộn ngang một hàng */
.kit-loai { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 1px; line-height: 1.2; text-align: left; }
.kit-loai.gon { flex-direction: row; align-items: center; gap: 6px; } .kit-loai.gon .kit-loai-ncc::before { content: '· '; }
.kit-loai b { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.kit-loai-cham { width: 9px; height: 9px; border-radius: 50%; background: #8A8F96; flex: 0 0 auto; display: inline-block; vertical-align: middle; margin-right: 6px; }
.kit-loai b .kit-loai-cham { margin-right: 0; } .kit-loai > .kit-loai-cham { display: none; }
.kit-loai-ncc { font-size: 12px; font-weight: 400; color: var(--ink2); white-space: nowrap; }
.btn.primary .kit-loai-ncc { color: rgba(255,255,255,.85); }
.kit-loai.l-tre .kit-loai-cham { background: #2E9E5B; } .kit-loai.l-co .kit-loai-cham { background: #2B6CB0; } .kit-loai.l-kho .kit-loai-cham { background: #9A6B2F; }
.kit-loai.l-chung .kit-loai-cham { background: #8A8F96; } .kit-loai.l-kho_bep .kit-loai-cham { background: #5B6B78; }
.kit-dc-chip.kit-chon-phieu { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.kit-dc-chip.kit-chon-phieu .btn { flex: 0 0 auto; min-height: 44px; padding: 4px 14px; }
.kit-ma-phieu { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--ink3, #8a8f96); margin-left: auto; white-space: nowrap; }
/* nhận hàng theo chuyến xe: một thẻ mỗi NCC, trong thẻ các phiếu Trẻ / Cô / Đồ khô */
.kit-xe { margin-bottom: 14px; } .kit-xe-dau { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px 4px; }
.kit-xe-dau h2 { margin: 0; font-size: 17px; } .kit-xe .kit-nh-the { box-shadow: none; border: 1px solid var(--line, #e3e6ea); margin: 8px 12px; }
.kit-xe-ky { padding: 4px 12px 12px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
/* thẻ Đồ khô trên Hôm nay */
.kit-dk-the .kit-dk-viec { display: flex; gap: 8px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line, #e3e6ea); }
.kit-dk-viec .cham { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; margin-top: 7px; background: #8A8F96; }
.kit-dk-viec .cham.do { background: #c0392b; } .kit-dk-viec .cham.vang { background: #b7791f; } .kit-dk-viec .cham.xanh { background: #2E9E5B; }
.kit-dk-bang td, .kit-dk-bang th { padding: 5px 8px; font-size: 13px; } .kit-dk-ok { display: flex; justify-content: space-between; align-items: center; }
/* kiểm kê kho bếp */
.kit-kk-lech { background: #FFF4D6; } .kit-kk-lydo { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px 0; }
.kit-kk-chenh { font-weight: 700; } .kit-kk-chenh.am { color: #c0392b; } .kit-kk-chenh.duong { color: #2E9E5B; }
.tc-nhan.nau { background: #F3E9DC; color: #7A4A00; }
.kit-kho-xn { background: #FFF8EC; border: 1px solid #F3D9A4; display: grid; gap: 6px; margin-top: 8px; }
.kit-bang-kp .kit-omua input { width: 54px; } .kit-bang-kp .kit-mon { max-width: 140px; }

/* phiếu 200z: khung 5 ô — chữ trong Quy trình tối thiểu 13px (anh Cường chốt mục 10); thẻ tiến độ; 3 nút cố định; hộp Phê duyệt; màn Lập; Tổng quan; Thêm */
.wf .xs, .wf-ct .xs, .page.viec .xs, .wf-tin b, .wf-tin span, .wf-tin.he, .wf .badge, .wf-5b-o, .wf .wf-nhan, .wf-ct .wf-nhan, .wf-5b-o > i, .wf-tt-buoc > i { font-size: 13px; }
.wf .avatar, .wf-ct .avatar { font-size: 13px !important; }
.wf-tien-do .wf-5b { margin: 6px 0 4px; }
.wf-nut-co-dinh { display: flex; gap: 10px; margin: 4px 0 12px; } .wf-nut-co-dinh .btn { flex: 1 1 auto; min-height: 52px; border-radius: 14px; font-size: 16px; }
.wf-nut-co-dinh .btn.grow { flex: 2 1 auto; }
.shell.co-ph .wf-nut-co-dinh { position: fixed; left: 10px; right: 10px; bottom: calc(66px + env(safe-area-inset-bottom)); z-index: 30; margin: 0; padding: 10px;
  background: rgba(255,255,255,.96); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 6px 24px rgba(0,0,0,.12); backdrop-filter: blur(8px); }
.shell.co-ph .wf-ct:has(.wf-nut-co-dinh) { padding-bottom: 90px; }
.wf-sheet-duyet .pills .pill { min-height: 44px; }
.wf-tim-loai { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; } .wf-tim-loai input { flex: 1; min-height: 44px; }
.wf-loai-the { position: relative; padding: 0; min-height: 0; }
.wf-loai-the .wf-loai-chon { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 132px; width: 100%; padding: 14px 40px 14px 14px; text-align: left; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; border-radius: 16px; }
.wf-loai-the .wf-loai-chon:disabled { cursor: default; opacity: .6; }
.wf-loai-the .wf-ghim { position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; background: none; color: #C9D2DE; font-size: 20px; cursor: pointer; border-radius: 18px; }
.wf-loai-the .wf-ghim.on, .wf-loai-the.ghim .wf-ghim { color: #E0A800; } .wf-loai-the.ghim { border-color: #E0A800; }
/* Phiếu 200ah: Bước 1 — lối tắt "Không phải chi tiền? Làm ở đây" */
.wf-loi-tat { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.wf-loi-tat-ten { letter-spacing: .04em; }
.wf-loi-tat .card { padding: 0; overflow: hidden; }
.wf-loi-tat-dong { display: flex; align-items: center; border-top: 1px solid var(--line2); }
.wf-loi-tat-dong:first-child { border-top: 0; }
.wf-loi-tat-dong > a { display: flex; align-items: center; gap: 12px; padding: 12px 6px 12px 14px; min-height: 56px; min-width: 0; color: var(--ink); text-decoration: none; }
.wf-loi-tat-dong > a .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wf-loi-tat-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--side-on); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.wf-loi-tat .wf-ghim { flex: none; width: 44px; height: 44px; margin-right: 4px; border: 0; background: none; color: #C9D2DE; font-size: 20px; cursor: pointer; border-radius: 22px; }
.wf-loi-tat .wf-ghim.on { color: #E0A800; }
.wf-so-luong { display: flex; align-items: stretch; gap: 0; }
.wf-so-luong button { width: 44px; min-height: 44px; border: 1px solid #C9D2DE; background: #fff; font-size: 20px; font-weight: 600; cursor: pointer; border-radius: 12px 0 0 12px; }
.wf-so-luong button + input { border-radius: 0; text-align: center; min-width: 0; flex: 1; } .wf-so-luong button:last-child { border-radius: 0 12px 12px 0; }
.wf-se-di ol { margin: 0; padding-left: 20px; } .wf-se-di li { padding: 2px 0; }
.wf-mo-them { align-self: flex-start; }
.wf-tq-loc { margin-bottom: 10px; }
.wf-them a { min-height: 52px; }
.wf-tin.he { align-self: stretch; text-align: left; padding: 4px 8px 4px 22px; position: relative; }
.wf-tin.he::before { content: ''; position: absolute; left: 6px; top: 11px; width: 8px; height: 8px; border-radius: 4px; background: var(--wf-ngoc); }

/* ---------- Phiếu 200aa: màn Thêm — thẻ Cơ sở đang làm việc, Của tôi, Tuỳ chỉnh thanh dưới, Thiết lập ---------- */
.them-co-so { margin-top: 12px; }
.them-co-so-dong { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.them-co-so-dong .grow { display: flex; flex-direction: column; min-width: 0; }
.them-co-so-dong b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.them-co-so-ds { border-top: 1px solid var(--line2); padding: 6px 8px 10px; }
.them-co-so-ds button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 10px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15px; color: var(--ink); text-align: left; cursor: pointer; }
.them-co-so-ds button.on { background: #E6EEEF; color: #2F5B63; font-weight: 600; }
.them-co-so-ds p { margin: 6px 10px 0; }
.them-phu { display: block; font-weight: 400; }
.them-cua-toi-luoi a .them-bt { background: #FBF3E4; color: #7A5A1E; }
.them-ds [role="radio"].on { background: #F2F6F7; font-weight: 600; }
.tc-thanh-duoi .page-head { gap: 8px; }
/* chữ ≥ 13 px trên điện thoại (tiêu chí 200z / 200aa) — nhãn lưới và dòng phụ ở màn Thêm, Tuỳ chỉnh */
.them .xs, .them .them-luoi a { font-size: 13px; }
/* 1300n — phiên bản công thức món: hộp Lưu vào công thức (Khẩu phần), lịch sử ở Món ăn, nhãn thực đơn tuần */
.kit-ct-mon { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.kit-ct-chon { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.kit-ct-chon.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.kit-ctn-nhac { display: flex; align-items: center; gap: 10px; padding: 10px 14px; margin: 0 0 12px; background: color-mix(in srgb, var(--accent) 8%, #fff); border: 1px solid color-mix(in srgb, var(--accent) 30%, #fff); font-size: 14px; }
.kit-ctn-nhac-chu { flex: 1; min-width: 0; }
.kit-ctn-nhac-an { min-width: 36px; justify-content: center; }
.kit-ctn-ds { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0 12px; }
.kit-ctn-dong { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; min-height: 44px; border-bottom: 1px solid var(--line2); cursor: pointer; }
.kit-ctn-dong:last-child { border-bottom: 0; }
.kit-ctn-dong input { margin-top: 3px; width: 18px; height: 18px; flex-shrink: 0; }
.kit-ctn-dong.tat { cursor: default; opacity: .75; }
.kit-ctn-dong-chu { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kit-ctn-dong-nhom .tc-nhan { margin-left: 6px; }
.kit-ctn-lydo { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
@media (max-width: 640px) { .kit-ctn-nhac { flex-wrap: wrap; } .kit-ctn-nhac-chu { flex-basis: 100%; } }
.kit-ctn-ss { display: flex; flex-direction: column; gap: 6px; }
.kit-ct-bang { margin: 6px 0; }
.kit-ct-doi td { background: color-mix(in srgb, #e8a317 14%, transparent); }
.kit-ct-ss { margin: 8px 0; }
.kit-ct-luoi { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin-top: 4px; }
.kit-ct-aptu { flex-wrap: wrap; margin-top: 8px; }
.kit-ct-aptu .ongay[data-kieu=date] { width: auto; }
.kit-ct-ls { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 8px; }
.kit-ct-ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.kit-ct-dong { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; }
.kit-ct-dong.dang-dung { border-color: var(--accent); }
.kit-ct-dong.tu_choi { opacity: .7; }
.kit-ct-dong .row-gap { flex-wrap: wrap; }
.kit-ct-ve .ongay[data-kieu=date] { width: auto; }
.kit-ct-cuon { overflow-x: auto; max-width: 100%; }
.kit-ct-cuon table { width: 100%; min-width: 0; }
.kit-ct-dong .muted.xs { min-width: 0; white-space: normal; }
.kit-td-ct-nhan { display: inline-block; font-size: 10px; line-height: 1.3; padding: 0 4px; border-radius: 4px; background: color-mix(in srgb, #e8a317 22%, transparent); color: #7a4f00; margin-left: 4px; white-space: nowrap; }
.page.kp.kit-trang-mon .kit-ct-ls .kit-bang td:first-child { min-width: 0; }

/* ---------- Phiếu 1000h: Kho, Tài sản khung 5 ô ---------- */
.kho-so-gon { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.kho-so-hang { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kho-so-hang.ts-so3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kho-so-o { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #F0F2F3; color: var(--ink); text-decoration: none; min-height: 44px; min-width: 0; }
.kho-so-o b { font-size: 20px; line-height: 1.2; }
.kho-so-o span { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.kho-so-o.canh { background: #FFF4E5; } .kho-so-o.canh b, .kho-so-o.canh span { color: #7A4A00; }
.kho-so-o.nhat b { color: var(--muted); }
.kho-lop-toi { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; }
.kho-lop-toi .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kho-nhom-ten { margin: 10px 2px 6px; letter-spacing: .02em; }
.kho-tao-dong { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 56px; border-top: 1px solid var(--line2); color: var(--ink); text-decoration: none; }
.kho-tao-dong:first-child { border-top: 0; }
.kho-tao-dong .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kho-tao-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--side-on); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.kho-tim-o { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; background: #F0F2F3; border-radius: 12px; margin: 6px 0; }
.kho-tim-o input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; outline: none; }
.kho-mon { margin-bottom: 8px; }
.kho-mon-dau { display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 14px; min-height: 52px; border: 0; background: none; font: inherit; text-align: left; color: var(--ink); cursor: pointer; }
.kho-mon-dau .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kho-mon-than { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.kho-mon-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kho-mon-3 > div { background: #F5F6F7; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kho-nho { white-space: nowrap; }
.kho-goi-y-tem { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 10px; background: #F5F6F7; }
.ts-do { color: #B3261E; text-decoration: none; min-height: 44px; display: flex; align-items: center; }
.ts-thanh { display: block; height: 8px; border-radius: 4px; background: var(--side-on); overflow: hidden; margin: 6px 0; }
.ts-thanh i { display: block; height: 100%; background: var(--brand); border-radius: 4px; }
.ts-tien-do { display: flex; flex-direction: column; gap: 8px; }
.ts-tien-do-dong { display: block; color: var(--ink); text-decoration: none; min-height: 44px; }
.ts-dang-chuyen { background: var(--side-on); color: #245F5A; display: flex; flex-direction: column; gap: 4px; }
.ts-phong-lech { box-shadow: inset 4px 0 0 #B3261E; }
.ts-phong-lech.xong { box-shadow: inset 4px 0 0 var(--brand); }
.ts-duyet-phong { margin-top: 8px; }
.ts-duyet-phong .btn { min-height: 44px; flex: 1; }
.ts-xu-ly-lech { background: #FFF4E5; color: #7A4A00; display: flex; flex-direction: column; gap: 4px; }
.wf-hoc-lieu { border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.wf-hoc-lieu.trong { background: var(--side-on); color: #245F5A; }
.wf-hoc-lieu.ngoai { background: #FFF4E5; color: #7A4A00; }
/* Quét toàn màn hình */
.ts-quet { position: fixed; inset: 0; z-index: 60; background: #121A1A; color: #fff; display: flex; flex-direction: column; overflow-y: auto; }
.ts-quet-dau { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.ts-quet-nut { width: 44px; height: 44px; border-radius: 22px; background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; }
.ts-quet-che-do { display: flex; justify-content: center; gap: 6px; padding: 0 12px; flex-wrap: wrap; }
.ts-quet-che-do button { min-height: 44px; padding: 0 14px; border-radius: 22px; border: 0; background: rgba(255,255,255,.14); color: #fff; font: inherit; font-size: 13px; }
.ts-quet-che-do button.on { background: #fff; color: #1F2A2A; font-weight: 600; }
.ts-quet-than { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px; max-width: 480px; width: 100%; margin: 0 auto; box-sizing: border-box; }
.ts-quet-khung { position: relative; width: min(280px, 80vw); aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #000; }
.ts-quet-khung .hr-qr-video { width: 100%; height: 100%; max-height: none; object-fit: contain; border-radius: 0; }
.ts-quet-khung .hr-qr-dich { height: 60%; border: 3px solid #6FD3C8; border-radius: 12px; box-shadow: none; }
.ts-quet .btn { background: #fff; color: #1F2A2A; border-color: #fff; min-height: 44px; }
.ts-quet-goi-y { color: #D5E3E1; text-align: center; font-size: 14px; }
.ts-quet-go { display: flex; gap: 8px; width: 100%; }
.ts-quet-go input { flex: 1; min-width: 0; min-height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; padding: 0 12px; font: inherit; }
.ts-quet .btn.block { width: 100%; }
.ts-quet-ket-qua { position: sticky; bottom: 0; background: #fff; color: #1F2A2A; border-radius: 20px 20px 0 0; padding: 14px 16px 24px; display: flex; flex-direction: column; gap: 8px; }
.ts-quet-ket-qua .btn { min-height: 44px; }

/* ---------- Phiếu 1800 / 300d-c: thẻ "Liên quan" dùng chung ---------- */
.lq { margin: 12px 0; }
.lq-dau { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 2px 6px; }
.lq-dau h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin: 0; }
.lq-nhom { padding: 0; }
.lq-nhom-ten { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.lq-tong { font-weight: 600; color: var(--ink); }
.lq-dong { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line2); color: inherit; text-decoration: none; min-height: 48px; }
.lq-nhom > .lq-dong:first-child, .lq-nhom-ten + .lq-dong { border-top: 0; }
.lq-ic { flex: none; width: 30px; height: 30px; border-radius: 9px; background: #E6EEEF; color: #2F5B63; display: inline-flex; align-items: center; justify-content: center; }
.lq-noi-dung { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lq-tieu-de { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.lq-phu { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.lq-phai { flex: none; font-size: 14px; font-weight: 600; }
.lq-phai.do { color: #C9372C; } .lq-phai.cam { color: #8A4B00; } .lq-phai.ngoc { color: #1D6B52; } .lq-phai.xam { color: var(--muted); font-weight: 500; }
.lq-rong { padding: 10px 12px; }
/* Phiếu 17g — một ô chọn cơ sở dùng chung, bên phải tiêu đề: "Cơ sở · tên ▾"; người một cơ sở: khoá (chỉ tên) */
.co-so-chung { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 4px 0 14px; border-radius: 20px;
  background: var(--card); box-shadow: 0 1px 2px rgba(16,24,40,.06), 0 0 0 1px rgba(16,24,40,.08); font-size: 14px; font-weight: 600; max-width: 100%; min-width: 0; flex: 0 1 auto; overflow: hidden; }
.co-so-chung > .muted { font-weight: 500; white-space: nowrap; }
.co-so-chung select { border: 0; background-color: transparent; box-shadow: none; min-height: 38px; padding: 0 28px 0 0; font-weight: 600; width: auto; min-width: 0; max-width: 100%; flex: 0 1 auto; text-overflow: ellipsis; }
.co-so-chung select:focus { outline: none; }
.co-so-chung:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.co-so-chung.khoa { padding-right: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-head > .co-so-chung { margin-left: auto; }
.co-so-chon-de-lam { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.co-so-chon-de-lam .co-so-chung { margin-left: 0; max-width: 100%; }
.toast.co-nut { display: flex; align-items: center; gap: 12px; }
.toast-nut { background: transparent; border: 0; color: #9FE3D8; font-weight: 700; padding: 4px 0; min-height: 32px; cursor: pointer; white-space: nowrap; }
/* Đầu màn có ô cơ sở: tiêu đề trái, ô cơ sở phải, cùng một hàng kể cả điện thoại 360 px */
.page-head.co-so-dau { flex-wrap: nowrap; }
.page-head.co-so-dau > h1 { min-width: 0; max-width: 62%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 0 auto; }
/* tiêu đề không co nhỏ hơn chữ của nó (chữ tràn đè lên ô cơ sở); ô khác (tháng…) xuống hàng */
.page-head:has(> .co-so-chung) > h1 { flex: 0 0 auto; }
.page-head:has(> .co-so-chung) > div:first-child { flex: 0 1 auto; min-width: 0; }
.page-head:not(.co-so-dau):has(> .co-so-chung) { flex-wrap: wrap; }
.page-head.co-so-dau > .co-so-chung { flex: 0 1 auto; }
/* 17u: Quy trình — dòng phụ dưới hàng tiêu đề + ô cơ sở */
.wf-dau-phu { margin: -4px 0 12px; }
.kho-dau-nut { margin: -4px 0 12px; }
.viec-tong-dong { margin: 4px 2px 8px; }
.ts-cac-cs { display: flex; flex-direction: column; }
.ts-cs-dong { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 14px; border-top: 1px solid var(--line, #eceef1); color: inherit; text-decoration: none; font-size: 14px; }
.ts-cs-dong:first-child { border-top: 0; }
.ts-cs-dong .nhat { opacity: .5; }
.ts-cs-dong .canh b { color: var(--late, #B54708); }
.kho-so-tat-ca { display: flex; flex-direction: column; gap: 4px; }
.page-head.qt-dau.co-so-dau { flex-wrap: wrap; }

/* ===== Phiếu 1000i — kho của thủ kho: Việc kho, nhập / xuất khác, nhập file, quét, thẻ kho, NXT, in 01-VT / 02-VT ===== */
.kho-viec-kho { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.kho-viec-kho .kho-so-hang { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 520px) { .kho-viec-kho .kho-so-hang { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.kho-nhom-viec .kho-dong { min-height: 48px; }
.kho-tuy-chinh { gap: 6px; padding: 6px 0; border-top: 1px solid var(--line2); }
.kho-tuy-chinh label { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.kho-nut-noi { margin-top: 8px; }
.kho-chip-ly-do { flex-wrap: wrap; margin: 4px 0 8px; }
.kho-chip-ly-do .btn { min-height: 40px; }
.kho-nhap-file { display: flex; align-items: center; gap: 10px; border: 1.5px dashed var(--line); background: #FAFBFB; margin-bottom: 8px; }
.kho-nhap-file.keo { border-color: var(--info); background: #EEF4FC; }
.kho-nhap-dong.kho-nhap-khac-dong { grid-template-columns: auto minmax(0, 1fr) auto auto; }
.kho-nhap-dong.kho-xk-dong { grid-template-columns: auto auto; justify-content: space-between; }
.kho-nhap-khac-dong .kho-dong-ten, .kho-xk-dong .kho-dong-ten { grid-column: 1 / -1; }
.kho-nhap-khac-dong .kho-o-nho.gia { width: 110px; }
.kho-xem-file { max-height: 55vh; overflow-y: auto; margin-top: 8px; border-top: 1px solid var(--line2); }
.kho-xem-file .kho-dong-ten { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kho-tt-loi { background: #FDECEC; } .kho-tt-loi .kho-dong-ten > span.xs:not(.muted) { color: var(--late); }
.kho-tt-canh_bao { background: #FFF8EC; } .kho-tt-canh_bao .kho-dong-ten > span.xs:not(.muted) { color: #7A4A00; }
.kho-canh-bao { color: #7A4A00; background: #FFF4E5; border-radius: 8px; padding: 6px 10px; }
.kho-quet-khung { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.kho-quet-video { width: 100%; max-height: 52vh; border-radius: 12px; background: #111; object-fit: cover; }
.kho-the-kho-so { grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0; }
.kho-nxt-bang th, .kho-nxt-bang td { white-space: nowrap; } .kho-nxt-bang td:first-child { white-space: normal; min-width: 160px; }
.kho-nxt-cong td { border-top: 2px solid var(--line); }
.kho-bang td.n, .kho-bang th.n { text-align: right; font-variant-numeric: tabular-nums; }
/* In phiếu nhập / xuất theo mẫu 01-VT, 02-VT */
.kho-in-phieu { max-width: 820px; margin: 0 auto; background: #fff; color: #000; font-size: 13px; }
.kho-in-dau { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; }
.kho-in-mau { text-align: center; }
.kho-in-ten { text-align: center; font-size: 20px; margin: 14px 0 2px; letter-spacing: .5px; }
.kho-in-giua { text-align: center; margin-bottom: 10px; }
.kho-in-tt { display: flex; flex-direction: column; gap: 3px; margin: 8px 0; }
.kho-in-bao { overflow-x: auto; }
.kho-in-bang { width: 100%; min-width: 640px; border-collapse: collapse; }
@media print { .kho-in-bang { min-width: 0; } }
.kho-in-bang th, .kho-in-bang td { border: 1px solid #000; padding: 4px 6px; vertical-align: top; }
.kho-in-bang th { font-weight: 600; text-align: center; } .kho-in-bang td.n { text-align: right; font-variant-numeric: tabular-nums; }
.kho-in-cot td { text-align: center; font-style: italic; }
.kho-in-ky { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: 16px; text-align: center; }
.kho-in-ky > div { display: flex; flex-direction: column; gap: 2px; min-height: 110px; }
.kho-in-ky span { margin-top: auto; }
@media print { body.print-doc .kho-in-phieu { max-width: none; } .kho-in-bang tr { break-inside: avoid; } }
@media (max-width: 600px) { .kho-in-dau { flex-direction: column; } }

/* ===== Phiếu 1000k — Kho đúng bản vẽ 1000i ===== */
@media (max-width: 900px) {
  .bottombar a.tb-noi { justify-content: flex-start; }
  .bottombar .tb-noi-tron { width: 56px; height: 56px; margin-top: -20px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,143,137,.35), 0 0 0 3px #fff; }
  .bottombar a.tb-noi.on .tb-noi-tron { background: var(--accent-ink, #245F5A); }
  .shell.bar-compact .bottombar .tb-noi-tron { transform: scale(.72); margin-top: -14px; }
}

/* thẻ việc / phiếu theo bản vẽ 1000i */
.kho-the-viec { position: relative; background: var(--card); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.kho-the-viec.canh { border: 1px solid #F1C9C5; }
.kho-the-viec-dau { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; font-size: 15px; }
.kho-the-viec-dau > b { min-width: 0; overflow-wrap: anywhere; }
.kho-the-viec-dau > span { flex: none; text-align: right; }
.kho-the-viec-nut { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.kho-the-viec-nut .btn { min-height: 44px; }
.kho-the-viec-phu { position: absolute; inset: 0; border-radius: 14px; }
.kho-the-viec-phu:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kho-nhom-ten { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin: 6px 2px 8px; }
.kho-nhom-ten.do { color: #B3261E; } .kho-nhom-ten.vang { color: #8A5A00; }
.kho-chu-do { color: #B3261E; } .kho-chu-vang { color: #8A5A00; } .kho-chu-xanh { color: #1F5BA8; } .kho-chu-dam { color: var(--ink); }
.kho-o4-hang { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 6px; }
.kho-o4 { background: var(--card); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; min-height: 88px; box-sizing: border-box; color: inherit; text-decoration: none; }
.kho-o4 > b { font-size: 26px; line-height: 1.15; }
.kho-o4-ten { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; } .kho-o4-ten svg { color: var(--brand); }
@media (min-width: 900px) { .kho-o4-hang { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kho-viec-kho .kho-o4-hang { margin-top: 2px; }
.kho-nut-tuy-chinh { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; background: var(--card); border: 0; border-radius: 14px; font: inherit; font-size: 14px; font-weight: 600; color: var(--accent); cursor: pointer; }
.kho-tuy-chinh-ds { display: flex; flex-direction: column; touch-action: none; }
.kho-tuy-chinh { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-top: 1px solid var(--line2); background: var(--card); }
.kho-tuy-chinh label { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 14px; }
.kho-tuy-chinh.dang-keo { box-shadow: 0 6px 16px rgba(0,0,0,.12); border-radius: 10px; position: relative; z-index: 2; }
.kho-nam-keo { flex: none; width: 36px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--muted); cursor: grab; touch-action: none; }
.kho-nut-nho { flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); cursor: pointer; }
.kho-nut-nho:disabled { opacity: .35; cursor: default; }
/* Bắt đầu dùng Kho */
.kho-bat-dau { display: flex; flex-direction: column; margin-bottom: 4px; }
.kho-bat-dau-tieu { font-size: 17px; }
.kho-tien-do { height: 6px; background: #EEF0F1; border-radius: 3px; overflow: hidden; } .kho-tien-do > div { height: 6px; background: var(--brand); border-radius: 3px; }
.kho-buoc { background: var(--card); border-radius: 14px; padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.kho-buoc.canh { border: 1px solid #F1D9A8; }
.kho-buoc-so { flex: none; width: 32px; height: 32px; border-radius: 16px; background: #EEF0F1; color: var(--muted); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.kho-buoc-so.xong { background: var(--accent); color: #fff; } .kho-buoc-so.canh { background: #FFF6E0; color: #8A5A00; }
.kho-buoc-than { display: flex; flex-direction: column; gap: 8px; min-width: 0; } .kho-buoc-than > b { font-size: 15px; }
.kho-hang-2 { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; min-height: 32px; }
.kho-hang-2 > span:last-child, .kho-hang-2 > a { text-align: right; }
.kho-bat-dau-chu { padding: 0 2px 6px; }
.kho-mo-so { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line2); padding-top: 10px; }
.kho-o3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kho-o3 > div { background: #F5F6F7; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 2px; } .kho-o3 > div b { font-size: 20px; }
.kho-o3 > div.loi { background: #FDECEC; }
.kho-mo-so-ds { padding: 4px 12px; margin: 0; background: #FAFBFB; }
.kho-mo-so-dong { padding: 8px 0; border-bottom: 1px solid var(--line2); align-items: flex-start; } .kho-mo-so-dong:last-of-type { border-bottom: 0; }
.kho-nhan-moi { margin-left: 6px; font-size: 12px; color: #1F5BA8; background: #EAF1FB; border-radius: 6px; padding: 2px 6px; font-weight: 600; }
.kho-so-phai { text-align: right; white-space: nowrap; }
.btn-link { background: none; border: 0; color: var(--accent); font: inherit; font-weight: 600; padding: 8px 0; cursor: pointer; text-align: left; }
.kho-chan-2 { display: flex; gap: 10px; } .kho-chan-2 > :first-child { flex: 1; } .kho-chan-2 > :last-child { flex: 2; }
.kho-ds-phieu { padding-bottom: 72px; }
.kho-rong { padding: 4px 2px 10px; }
.kho-fab { position: fixed; right: 16px; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 25; height: 52px; padding: 0 20px; border-radius: 26px; background: var(--accent); color: #fff;
  display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 15px; font-weight: 600; box-shadow: 0 4px 12px rgba(0,143,137,.35); }
@media (min-width: 901px) { .kho-fab { bottom: 24px; right: 28px; } }
.kho-trang-nhap { margin: -6px 2px 8px; }
.kho-quet-ton { display: flex; flex-direction: column; gap: 2px; padding: 4px 0; } .kho-quet-so { font-size: 22px; }
.kho-chon-thang { height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; background: var(--card); }
.kho-chon-mon { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 10px 12px; font: inherit; text-align: left; cursor: pointer; }
.kho-chon-mon b { font-size: 16px; }
/* NXT: lọc một hàng (máy tính), xuống dòng trên điện thoại */
.kho-nxt-loc { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 4px 0 12px; }
.kho-nxt-loc label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); flex: 0 0 auto; }
.kho-nxt-loc label.grow { flex: 1 1 200px; }
.kho-nxt-loc input, .kho-nxt-loc select { height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; background: var(--card); color: var(--ink); }
.kho-nut-vien { height: 40px; border: 1px solid var(--accent); color: var(--accent); background: var(--card); font-weight: 600; }
.kho-mo-so-dong > span.grow { text-align: left; }
/* 1000k: nút chân phiếu (Lưu nháp · Gửi) nổi TRÊN thanh dưới điện thoại, không bị thanh dưới che */
@media (max-width: 760px) { .shell.co-tb .kho-chan { bottom: calc(66px + env(safe-area-inset-bottom)); } }
.kho-ds-phieu .kho-chip-ky { margin: 6px 0 12px; }

/* Phiếu 1000l — người phụ trách từng kho (bản vẽ 13–15) */
.kho-nguoi { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; font-size: 14px; }
.kho-nguoi-chu { flex: none; width: 28px; height: 28px; border-radius: 14px; background: var(--teal-50, #E3F0EE); color: var(--teal-700, #245F5A);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.kho-chip-thay { flex: none; font-size: 12px; font-weight: 600; color: #8A5A00; background: #FFF6E0; border-radius: 8px; padding: 2px 8px; }
.kho-nguoi-dong { align-items: center; }
.kho-nut-bo { color: #B3261E; }
.kho-nguoi-ds { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.kho-nguoi-ghi { background: var(--teal-50, #E3F0EE); border-radius: 12px; margin: 8px; line-height: 1.45; }
.kho-dong-kho { flex-direction: column; align-items: stretch; gap: 8px; }
.kho-dong-kho .kho-dong-ten { width: 100%; }
.kho-dong-kho .kho-dong-nut { justify-content: flex-end; }
.kho-them-nguoi .them-ds { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; }
.kho-them-nguoi .them-ds .kho-dong { text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); min-height: 44px; font: inherit; }
.kho-nhat-ky { line-height: 1.6; }
.kho-kho-toi { align-items: center; flex-wrap: wrap; }
.kho-chip-toi { padding: 6px 10px; border-radius: 16px; background: var(--teal-50, #E3F0EE); color: var(--teal-700, #245F5A); font-weight: 600; font-size: 13px; }
/* ===== Lương đợt 1 (phiếu 600e): dải 7 bước, tiêu đề nhóm cột đứng yên, tìm / lọc, nhập AMIS, so khớp, hồ sơ lương, duyệt lô ===== */
.pay-buoc { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pay-buoc li { display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--line); min-width: 0; }
.pay-buoc li b { font-size: 13.5px; } .pay-buoc li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-buoc li.xong { background: #EAF6EE; box-shadow: 0 0 0 1px #BFE3CC; } .pay-buoc li.xong > span:first-child { color: var(--ok); }
.pay-buoc li.dang { background: var(--side-on); box-shadow: 0 0 0 2px var(--accent, var(--accent)); } .pay-buoc li.dang > span:first-child { color: var(--accent, var(--accent)); font-weight: 700; }
@media (max-width: 900px) { .pay-buoc { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); overflow-x: auto; padding-bottom: 4px; } }
.pay .pay-bang-cuon.card:has(.pay-bang-luong) { max-height: calc(100vh - 150px); overflow: auto; }
.pay-bang-luong thead th { position: sticky; top: 0; z-index: 2; background: var(--card); }
.pay-bang-luong thead tr + tr th { top: 33px; }
.pay-bang-luong thead th:first-child, .pay-bang-luong thead th:nth-last-child(-n+3) { z-index: 3; }
.pay-bang-luong .pay-nhom-cot th { font-size: 11px; letter-spacing: .3px; text-transform: uppercase; color: var(--ink3); border-bottom: 0; padding-top: 8px; padding-bottom: 2px; height: 33px; box-sizing: border-box; }
.pay-bang-luong .pay-nhom-cot th[colspan] { border-left: 2px solid var(--line); }
.pay-loc { margin-bottom: 10px; } .pay-tim { min-height: 40px; border-radius: 10px; border: 1px solid var(--line); padding: 0 12px; font: inherit; min-width: 200px; background: var(--card); }
.pay-loc .btn.on { background: var(--side-on); color: var(--accent, var(--accent)); }
.pay-so-amis { text-decoration: none; color: inherit; } .pay-so-amis:hover b { text-decoration: underline; }
.pay-dai-do { margin-bottom: 10px; } .pay-dai-do a { font-weight: 600; }
.pay-loai { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
/* 600o mục 4: Loại khoản & kênh — danh mục dùng hết bề ngang, dòng mô tả trên đầu (không bị ép thành cột hẹp) */
.pay-loai-khoan { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.pay-loai-khoan .pay-bang-cuon { width: 100%; }
.pay-loai-o { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px; display: flex; flex-direction: column; gap: 4px; text-align: left; background: var(--card); font: inherit; color: var(--ink); cursor: pointer; min-height: 44px; }
.pay-loai-o.on { border-color: var(--accent, var(--accent)); background: var(--side-on); } .pay-loai-o:disabled { opacity: .5; cursor: default; }
@media (max-width: 720px) { .pay-loai { grid-template-columns: 1fr 1fr; } }
.pay-tha { border: 2px dashed #B9C4C8; border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 4px; background: #FAFBFB; cursor: pointer; }
.pay-tha input[type=file] { max-width: 100%; }
.pay-tep { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--line); } .pay-tep:last-child { border-bottom: 0; }
.pay-cot { display: flex; gap: 6px; flex-wrap: wrap; } .pay-cot-o { display: inline-flex; gap: 6px; align-items: center; border-radius: 8px; padding: 4px 10px; background: var(--bg); font-size: 13px; min-height: 36px; cursor: pointer; }
.pay-cot-o.on { background: var(--side-on); }
.pay-chan { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px; }
.tc-dem-hang.pay-dem-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .tc-dem-hang.pay-dem-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 720px) { .tc-dem-hang.pay-dem-5, .tc-dem-hang.pay-dem-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tc-dem.on { box-shadow: 0 0 0 2px var(--accent, var(--accent)); }
.pay-lo-cho { background: #FFF8E6; }
.pay-duyet-lo { max-width: 640px; }
.pay-duyet-lo .pay-nut-dinh { gap: 10px; } .pay-duyet-lo .pay-nut-dinh > * { flex: 1; }
.pay .pay-card .pay-bang-cuon { overflow-x: auto; max-width: 100%; } .pay .pay-card { min-width: 0; }
/* Phiếu 1000m — kho theo nhịp, cảnh báo xác nhận chéo */
.kho-cap-ky { align-items: center; flex-wrap: wrap; }
.pq-canh-bao { color: #8A5A00; background: #FFF6E0; border-radius: 8px; padding: 4px 8px; margin-top: 4px; display: block; }

/* ===== Phiếu 500f — "Chấm công của tôi" một màn gộp (#/cham-cong/cua-toi; bản vẽ anh Cường duyệt 04/11/2026) ===== */
.tc-nhan.teal { background: #E8F3F2; color: var(--accent-ink); }
.tc-mui-phai { transform: rotate(180deg); color: #9CA3AF; flex: none; }
.tc-mui-sau svg { transform: rotate(180deg); }
.tc-loi-vao { flex-direction: row; align-items: center; gap: 10px; min-height: 56px; }
.tc-man-toi { padding-bottom: 104px; }
.tc-dau-toi { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.tc-dau-toi h1 { font-size: 24px; margin: 0; line-height: 1.15; }
.tc-toi-than { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.tc-gio-ba > span { display: flex; flex-direction: column; min-width: 0; } .tc-gio-ba b { font-size: 20px; font-weight: 700; } .tc-gio-ba b.tc-ca-gio { font-size: 15px; padding-top: 4px; }
.tc-dai-nhac { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #FFF4D6; border: 1px solid #F2D48A; color: #7A4A00; }
.tc-dai-nhac b { color: #5C3A00; font-size: 13.5px; } .tc-dai-ic { flex: none; color: #9A5B00; }
.tc-dong-duyet { flex-direction: row; align-items: center; gap: 10px; min-height: 52px; font: inherit; color: var(--ink); cursor: pointer; text-align: left; width: 100%; }
.tc-so-tron { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: #B42318; color: #fff; font-size: 12.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tc-nhom-tieu { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .06em; color: var(--muted); margin: 6px 0 -8px; }
.tc-thang-chon { gap: 0; flex-wrap: nowrap; min-width: 0; } .tc-thang-chon .icon-btn { width: 40px; height: 44px; color: var(--ink); } .tc-thang-chon .icon-btn:disabled { color: #C4C8CE; cursor: default; }
.tc-ten-thang { font-family: var(--display); font-weight: 800; font-size: 17px; white-space: nowrap; }
.tc-man-toi .tc-seg button { white-space: nowrap; min-height: 44px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; padding: 0 11px; }
.tc-man-toi .tc-seg button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.tc-bon-tong { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.tc-tong { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 10px 9px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font: inherit; text-align: left; color: var(--ink); min-width: 0; min-height: 72px; }
button.tc-tong { cursor: pointer; }
.tc-tong .n { font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1; }
.tc-tong .l { font-size: 11.5px; color: var(--muted); line-height: 1.25; } .tc-tong .s { font-size: 10.5px; color: var(--muted); }
.tc-tong.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; background: #F2F8F7; }
.tc-tong.warn .n { color: #9A5B00; } .tc-tong.co .n { color: var(--accent); }
.tc-goi-y { margin-top: -4px; }
.tc-lt { padding: 10px 4px 12px; }
.tc-lt-luoi { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; }
.tc-lt-thu { padding-bottom: 6px; } .tc-lt-thu span { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); } .tc-lt-thu .cn { color: var(--late); }
.tc-oc { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 50px; padding: 7px 0 0; box-sizing: border-box; border-radius: 10px; border: 1px solid transparent; background: transparent; font: inherit; color: var(--ink); cursor: pointer; min-width: 0; }
.tc-oc:disabled { cursor: default; }
.tc-oc b { font-size: 15px; font-weight: 600; line-height: 1; }
.tc-oc .m { font-size: 10px; font-weight: 600; line-height: 1.1; white-space: nowrap; overflow: hidden; max-width: 100%; letter-spacing: -.01em; }
.tc-oc .d { width: 7px; height: 7px; border-radius: 50%; }
.tc-oc.out b { color: #C4C8CE; } .tc-oc.tuong b { color: #9CA3AF; } .tc-oc.cn b { color: var(--late); }
.tc-oc.du .d { background: var(--ok); } .tc-oc.lam .d { background: var(--accent); } .tc-oc.lam .m { color: var(--accent); }
.tc-oc.muon .m { color: #9A5B00; } .tc-oc.thieu .m { color: #B42318; } .tc-oc.phep .m { color: var(--ink2); } .tc-oc.them .m { color: var(--info); } .tc-oc.off .m { color: var(--late); }
.tc-oc.dim { opacity: .25; } .tc-oc.nay { border: 2px solid var(--accent); }
.tc-chu-thich { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 6px 0; border-top: 1px solid var(--line2); margin-top: 8px; color: var(--ink2); }
.tc-chu-thich > span { display: inline-flex; align-items: center; gap: 5px; } .tc-chu-thich b { font-size: 11px; }
.tc-chu-thich .d { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.tc-chu-thich .vang { color: #9A5B00; } .tc-chu-thich .do { color: #B42318; } .tc-chu-thich .xam { color: var(--ink2); } .tc-chu-thich .lam { color: var(--info); }
.tc-ds { display: flex; flex-direction: column; padding: 6px 16px 4px; }
.tc-ds-tieu { font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 0 4px; } .tc-ds-rong { padding: 4px 0 8px; }
.tc-ds-dong { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; border: 0; border-top: 1px solid var(--line2); background: transparent; font: inherit; color: var(--ink); text-align: left; cursor: pointer; width: 100%; }
.tc-ds-dong.cao { min-height: 54px; }
.tc-ds-ngay { flex: none; width: 40px; display: flex; flex-direction: column; align-items: center; } .tc-ds-ngay b { font-size: 16px; line-height: 1.1; }
.tc-ds-ngay.ngang { flex-direction: row; justify-content: center; gap: 3px; } .tc-ds-ngay.ngang b { font-size: 13px; }
.tc-ds-giua { display: flex; flex-direction: column; min-width: 0; }
.tc-ds-them { min-height: 44px; border: 0; border-top: 1px solid var(--line2); background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--accent); cursor: pointer; }
.tc-phep { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; }
.tc-phep-so { display: flex; align-items: flex-end; gap: 10px; color: var(--ink2); } .tc-phep-so .n { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: .9; color: var(--accent); }
.tc-phep-thanh { height: 8px; border-radius: 4px; background: #E9ECEF; overflow: hidden; display: flex; } .tc-phep-thanh .da { background: #9CA3AF; } .tc-phep-thanh .con { background: var(--brand); }
.tc-phep .tc-ba-o b { font-size: 15px; }
.tc-fab { position: fixed; right: 16px; bottom: 24px; z-index: 25; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 26px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; font-size: 15px; box-shadow: 0 6px 18px rgba(31,74,85,.28); cursor: pointer; }
@media (max-width: 900px) { .tc-fab { bottom: calc(80px + env(safe-area-inset-bottom)); } }
.tc-tam-nen { position: fixed; inset: 0; z-index: 60; background: rgba(20,32,36,.45); display: flex; align-items: flex-end; justify-content: center; }
.tc-tam { width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; background: #fff; border-radius: 22px 22px 0 0; padding: 10px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 8px; box-sizing: border-box; transition: transform .15s ease; }
@media (min-width: 900px) { .tc-tam-nen { align-items: center; } .tc-tam { border-radius: 18px; } }
.tc-tam-keo { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: #D5D8DD; margin-bottom: 6px; flex: none; }
.tc-tam-tieu { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.15; }
.tc-tam-dau { align-items: flex-start; }
.tc-tam-nut { min-height: 48px; justify-content: center; width: 100%; gap: 8px; }
.tc-luot { display: flex; flex-direction: column; } .tc-luot-dong { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-top: 1px solid var(--line2); }
.tc-lien-ket-44 { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); text-decoration: none; }
.tc-tao-dong { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 4px; border-top: 1px solid var(--line2); color: var(--ink); text-decoration: none; }
.tc-tao-dong:hover { background: #F7F8FA; } .tc-tao-dong b { font-weight: 600; }
.tc-tao-ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; }
.tc-tao-ic.vang { background: #FFF4D6; color: #9A5B00; } .tc-tao-ic.do { background: #FDECEA; color: #B42318; } .tc-tao-ic.tim { background: #F1E9FB; color: #6B3FA0; }
.tc-tao-ic.lam { background: #E8F0FA; color: var(--info); } .tc-tao-ic.teal { background: #E8F3F2; color: var(--brand); } .tc-tao-ic.xam { background: #EEF0F3; color: var(--ink2); }
body.tc-tam-mo { overflow: hidden; }

/* ---------- Mua hàng (phiếu 2000a, chỉ đọc) ---------- */
.mh-dau-nut { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.mh-tim { flex: 1 1 220px; } .mh-tim input { width: 100%; box-sizing: border-box; }
.mh-o4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
@media (min-width: 900px) { .mh-o4 { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.mh-o { padding: 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mh-o > b { font-size: 24px; line-height: 1.15; } .mh-o > span { color: var(--muted); font-size: 13px; font-weight: 600; }
.mh-o > small { color: var(--ink2); font-size: 12px; } .mh-o.can > b { color: #7A4A00; }
.mh-de-mat h2, .mh-hai h2 { font-size: 15px; margin: 0 0 8px; }
.mh-dong { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 10px; margin-bottom: 6px;
  border-left: 4px solid var(--line2); background: var(--bg); color: inherit; text-decoration: none; font-size: 14px; }
.mh-dong.vang { border-left-color: #E0A400; background: #FFF8E6; } .mh-dong.do { border-left-color: var(--late); background: #FDEEEE; }
.mh-dong.lam { border-left-color: var(--info); background: #EEF4FF; }
.mh-mo { color: var(--accent); white-space: nowrap; font-weight: 600; }
.mh-hai { display: grid; gap: 10px; margin: 10px 0; } @media (min-width: 900px) { .mh-hai { grid-template-columns: 1fr 1fr; } }
.mh-cot { display: flex; align-items: flex-end; gap: 8px; height: 150px; }
.mh-cot-1 { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; font-size: 11px; color: var(--muted); min-width: 0; }
.mh-cot-1 > div { width: 100%; max-width: 44px; background: var(--accent-soft); border-radius: 6px 6px 0 0; min-height: 2px; }
.mh-cot-1 > div.on { background: var(--accent); }
.mh-thanh { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr auto; gap: 8px; align-items: center; padding: 5px 0; color: inherit; text-decoration: none; font-size: 14px; }
.mh-thanh > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mh-thanh > div { height: 8px; background: var(--bg); border-radius: 4px; overflow: hidden; } .mh-thanh i { display: block; height: 100%; background: var(--accent); }
.mh-tong { margin: 6px 0 8px; font-size: 14px; }
.mh-bang td { vertical-align: top; } .mh-bang .tc-nhan { margin-left: 4px; } .mh-bam { cursor: pointer; } .mh-bam:hover td { background: var(--bg); }
.mh-ncc-ds { display: grid; gap: 8px; } @media (min-width: 900px) { .mh-ncc-ds { grid-template-columns: 1fr 1fr; } }
.mh-ncc-the { display: flex; flex-direction: column; gap: 3px; color: inherit; text-decoration: none; }
.mh-ncc-ten { display: flex; gap: 6px; align-items: center; } .mh-ncc-tien { font-weight: 700; }
.mh-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 6px 0 10px; } .mh-dl dt { color: var(--muted); } .mh-dl dd { margin: 0; }
.mh-tv { padding-left: 18px; margin: 4px 0; } .mh-tv li { margin-bottom: 4px; }
.mh-goi-y { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mh-nguon { display: grid; gap: 8px; margin-top: 10px; } @media (min-width: 900px) { .mh-nguon { grid-template-columns: repeat(3, 1fr); } }
.mh-nguon-1 { display: flex; flex-direction: column; gap: 5px; color: inherit; text-decoration: none; }
.mh-nguon-dau { display: flex; justify-content: space-between; font-size: 15px; } .mh-nguon-dau span { font-weight: 700; }
.mh-nguon-tt { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.mh-dau-nut .ongay[data-kieu=month] { width: auto; max-width: 190px; flex: 0 0 auto; }
.mh-the-ds { display: grid; gap: 8px; } .mh-bang-wrap { display: none; }
@media (min-width: 760px) { .mh-the-ds { display: none; } .mh-bang-wrap { display: block; } }
.mh-the { padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; }
.mh-the-1 { display: flex; justify-content: space-between; gap: 8px; } .mh-the-2 { font-size: 14px; color: var(--ink2); }
.mh-the-3 { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mh-bang td.r, .mh .kp-table td.r { white-space: nowrap; } .mh .kp-table td .tc-nhan { margin-left: 6px; }
/* 1000p — ô chọn kho chung, cách xem, bảng chéo tồn, kho không gồm, Ai xem được */
.kho-chon-kho { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; }
.kho-chon-kho-o { display: flex; flex-direction: column; gap: 4px; }
.kho-chon-kho select { min-height: 44px; border: 1px solid var(--accent); border-radius: 10px; padding: 0 10px; font: inherit; font-weight: 600; color: var(--accent); background: var(--card); max-width: 100%; }
.kho-cach-xem { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin: 0 0 10px; }
.kho-cach-xem button { min-height: 40px; padding: 0 14px; border: 0; background: var(--card); color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; }
.kho-cach-xem button.on { background: var(--accent); color: #fff; font-weight: 600; }
.kho-khong-gom { background: #FFF4E5; color: #7A4A00; margin-bottom: 10px; }
.kho-bang-cheo { padding: 0; overflow: hidden; }
.kho-bang-cheo-cuon { overflow-x: auto; }
.kho-bang-cheo table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 420px; font-size: 14px; }
.kho-bang-cheo th { background: var(--bg); font-size: 12px; font-weight: 600; padding: 10px 8px; text-align: left; white-space: nowrap; }
.kho-bang-cheo th.n, .kho-bang-cheo td.n { text-align: right; }
.kho-bang-cheo td { padding: 10px 8px; border-top: 1px solid var(--line); white-space: nowrap; }
.kho-bang-cheo .kho-cheo-ghim { position: sticky; left: 0; background: var(--card); box-shadow: 1px 0 0 var(--line); white-space: normal; min-width: 130px; max-width: 46vw; z-index: 1; }
.kho-bang-cheo th.kho-cheo-ghim { background: var(--bg); }
.kho-bang-cheo td.kho-cheo-duoi { background: #FDECEA; }
.kho-bang-cheo td.kho-cheo-duoi a { color: #8C1D18; font-weight: 600; }
.kho-cheo-chu { padding-top: 8px; padding-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.kho-xem-chon { display: flex; flex-direction: column; gap: 6px; }
.kho-xem-mot { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; }
.kho-xem-mot input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.kho-xem-luon { background: var(--bg); border-radius: 10px; padding: 8px 10px; }
.kho-viec-khac { display: flex; align-items: center; gap: 10px; width: 100%; margin: 0 0 10px; border: 0; background: #FFF4E5; color: #7A4A00; font: inherit; text-align: left; cursor: pointer; min-height: 44px; }

.mh-gia-mo { margin: -4px 0 8px; }
.mh-pct { font-weight: 600; white-space: nowrap; } .mh-pct.tang { color: #7A4A00; } .mh-pct.giam { color: var(--info); }
.mh-gia-mot { display: flex; flex-direction: column; gap: 10px; }
.mh-gia-mot .tc-nhan { margin-left: 4px; }

.mh-lan { display: flex; flex-direction: column; }
.mh-lan-1 { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.mh-lan-gia { white-space: nowrap; } .mh-phieu { display: inline-flex; flex-wrap: wrap; gap: 2px 10px; }

/* 1000q — Tổng quan Kho của người quản lý (bản vẽ 20 / 20b) */
.kho-tq-chon { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.kho-chon-kho-gon { min-height: 40px; border: 1px solid var(--accent); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--accent); background: var(--card); max-width: 100%; }
.kho-tq-chon-dt { display: none; margin: 0 0 10px; } .kho-tq-chon-dt .kho-chon-kho-gon { width: 100%; min-height: 44px; }
@media (max-width: 760px) { .kho-tq-chon-may { display: none; } .kho-tq-chon-dt { display: block; } }
.kho-bat-dau-gon { display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 12px 14px; margin: 0 0 12px; border: 0; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.kho-bat-dau-gon .kho-tien-do { display: block; } .kho-tien-do > span { display: block; height: 6px; background: var(--brand); border-radius: 3px; }
.kho-bat-dau-thu { align-self: flex-end; }
.viec-trong-gon { margin: 0 0 4px; }
.kho-tq-khoi { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 0; }
.kho-tq-ten { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.kho-tq-mat { display: flex; flex-direction: column; overflow: hidden; }
.kho-tq-mat-dong { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: inherit; text-decoration: none; border-top: 1px solid var(--line); min-height: 44px; }
.kho-tq-mat-dong:first-child { border-top: 0; }
.kho-tq-mat-dong .grow { display: flex; flex-direction: column; min-width: 0; }
.kho-tq-so { min-width: 36px; height: 36px; padding: 0 6px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.kho-tq-so.do, .kho-tq-chip.do { background: #FDECEA; color: #8C1D18; }
.kho-tq-so.vang, .kho-tq-chip.vang { background: #FFF6E0; color: #5C3D00; }
.kho-tq-so.xanh, .kho-tq-chip.xanh { background: var(--side-on); color: #245F5A; }
.kho-tq-chip.xam { background: #F0F2F3; color: #3F4B4B; }
.kho-tq-nhan { display: flex; flex-wrap: wrap; gap: 6px; }
.kho-tq-chip { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.kho-tq-ds { display: flex; flex-direction: column; overflow: hidden; }
.kho-tq-kho { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font: inherit; color: inherit; text-decoration: none; width: 100%; }
button.kho-tq-kho, a.kho-tq-kho { cursor: pointer; }
.kho-tq-kho:first-child { border-top: 0; } .kho-tq-kho.dp { background: #FAFBFB; }
.kho-tq-kho-dau { gap: 8px; } .kho-tq-kho-dau b { font-size: 15px; display: inline-flex; align-items: center; gap: 4px; }
.kho-tq-bang { display: none; width: 100%; border-collapse: collapse; font-size: 14px; overflow: hidden; }
.kho-tq-bang th { background: #F0F2F3; color: var(--muted); font-weight: 600; text-align: left; padding: 10px 8px; }
.kho-tq-bang td { padding: 10px 8px; border-top: 1px solid var(--line); vertical-align: top; }
.kho-tq-bang th:first-child, .kho-tq-bang td:first-child { padding-left: 14px; }
.kho-tq-bang .so { text-align: right; white-space: nowrap; } .kho-tq-bang tr.dp td { background: #FAFBFB; }
.kho-tq-bang tfoot td { font-weight: 700; border-top: 2px solid var(--line); background: #FAFBFB; }
.kho-tq-bang .link { padding: 0; text-align: left; }
.kho-tq-ghi { margin-top: 2px; }
@media (min-width: 1000px) { .kho-tq-ds { display: none; } .kho-tq-bang { display: table; } }
.kho-duyet-rieng { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.kho-duyet-chon { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.kho-duyet-chon select { flex: 1 1 200px; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; background: var(--card); }
/* 05/11/2026: dòng "N việc ở cơ sở khác" ở danh sách việc (đếm theo cơ sở đang chọn, không sót việc cơ sở khác) */
.viec-co-so-khac{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:10px 14px;margin:8px 0;border:0;border-radius:12px;
  background:#fff;box-shadow:var(--bong);color:inherit;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.viec-co-so-khac .grow{flex:1;min-width:0;overflow-wrap:anywhere}
.viec-co-so-khac .link{white-space:nowrap}
/* 2000c — giá NCC chờ duyệt (Nguyên liệu, Duyệt giá NCC) */
.kit-gia-tang, .kit-gia-cho { background: #FFF8EC; border: 1px solid #F3D9A4; border-radius: 8px; padding: 8px 10px; margin-top: 8px; }
.kit-gia-tra { background: #FDECEA; border: 1px solid #F1B8AC; border-radius: 8px; padding: 8px 10px; margin-top: 8px; color: #7A271A; }
.kit-gia-them { align-items: flex-start; } .kit-gia-note { flex: 1 1 240px; min-width: 0; }
.kit-gd-tab { margin: 4px 0 8px; }
.kit-gd-ds { display: grid; gap: 12px; max-width: 760px; }
.kit-gd-the { display: grid; gap: 8px; } .kit-gd-the.kit-gd-on { box-shadow: 0 0 0 2px #F79009; }
.kit-gd-dong { display: grid; gap: 10px; margin: 0; padding: 0; } .kit-gd-dong > li { display: grid; gap: 3px; padding-bottom: 8px; border-bottom: 1px solid var(--line); list-style: none; }
.kit-gd-dong > li:last-child { border-bottom: 0; padding-bottom: 0; }
.kit-gd-ten { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; } .kit-gd-ten input { margin: 0; }
.kit-gd-gia { font-size: 16px; } .kit-gd-gia .tc-nhan { margin-left: 6px; }
.kit-gd-the .vang { color: #93370D; } .kit-gd-the .do { color: #B42318; }
.kit-gd-note { background: var(--line2); border-radius: 8px; padding: 6px 10px; }
.kit-gd-nut { justify-content: flex-end; }
@media (max-width: 480px) { .kit-gd-nut > * { flex: 1 1 0; } }
/* 1000s — lô khởi tạo đồng phục: kéo thả file */
.kho-dp-file { display: flex; flex-direction: column; gap: 10px; }
.kho-dp-tieu { letter-spacing: .04em; }
.kho-dp-cot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kho-dp-cot label { display: flex; flex-direction: column; gap: 4px; }
.kho-dp-cot select { min-height: 40px; }
.kho-dp-o4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kho-dp-o4 > div { background: #F5F6F7; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.kho-dp-o4 > div b { font-size: 22px; }
.kho-dp-o4 > div.moi { background: #EAF1FB; color: #1A4A8A; }
.kho-dp-o4 > div.loi { background: #FDECEC; }
.kho-dp-chon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px #E8B44A; background: #FFFBF0; }
.kho-dp-chon > span { flex: 1 1 100%; }
.kho-dong-cong td { border-top: 2px solid #D9DDE0; background: #FAFBFB; }
@media (min-width: 900px) { .kho-dp-cot, .kho-dp-o4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ===== Phiếu 500j — Chấm công theo khung 5 ô (Tổng quan, Thêm, Tạo đơn, Đồng bộ AMIS, Lệch AMIS) ===== */
.tc-nhom-tieu-2 { font-family: var(--display); font-size: 15px; font-weight: 700; margin: 10px 0 6px; }
.tc-cho-toi { margin-bottom: 8px; }
.tc-hn-dau { align-items: baseline; }
.tc-o-do > .hr-odem { box-shadow: inset 0 0 0 2px #B42318; } .tc-o-do, .tc-o-thuong { display: contents; }
.tc-dong-phu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 6px 0 12px; color: var(--muted); }
.tc-chip-phu { min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font: inherit; font-size: 13px; cursor: pointer; }
.tc-chip-phu.on { border-color: var(--accent); background: #E8F0FA; color: var(--ink); }
.tc-chip-hang { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.tc-chip-tat-ca { padding: 4px 10px; border-radius: 10px; background: #E8F0FA; color: #1F5F8B; font-weight: 600; }
.tc-de-mat { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #FDECEA; border: 1px solid #F5C2C2; color: #7A1A12; margin-bottom: 12px; }
.tc-de-mat a { color: #B42318; font-weight: 600; }
.tc-bang-tat-ca { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.tc-bang-gon { width: 100%; border-collapse: collapse; font-size: 14px; }
.tc-bang-gon th, .tc-bang-gon td { text-align: right; padding: 10px 4px; border-top: 1px solid var(--line2); }
.tc-bang-gon th:first-child, .tc-bang-gon thead th:first-child { text-align: left; }
.tc-bang-gon thead th { font-size: 12px; color: var(--muted); font-weight: 600; border-top: 0; }
.tc-bang-gon tr.bam { cursor: pointer; } .tc-bang-gon tr.bam:hover { background: #F7F8FA; }
.tc-bang-gon td.do { color: #B42318; font-weight: 700; } .tc-bang-gon td.vang { color: #9A5B00; font-weight: 600; }
.tc-them-khoi { margin-bottom: 14px; }
.tc-them-ds { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.tc-them-dong { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 0; border-top: 1px solid var(--line2); background: none;
  color: var(--ink); text-decoration: none; font: inherit; font-size: 15px; text-align: left; cursor: pointer; width: 100%; }
.tc-them-dong:first-child { border-top: 0; } .tc-them-dong:hover { background: #F7F8FA; } .tc-them-dong.dam { color: #1F5F8B; font-weight: 600; }
.tc-them-cs { margin-bottom: 10px; align-items: center; }
.tc-tao-ds { padding: 0 10px; margin-bottom: 8px; }
.tc-tao-dong-o { display: flex; align-items: center; gap: 4px; border-top: 1px solid var(--line2); } .tc-tao-dong-o:first-child { border-top: 0; }
.tc-tao-dong-o .tc-tao-dong { border-top: 0; }
/* 500n: nút ★ ghim loại đơn — chưa ghim xám nhạt, đã ghim vàng (như Quy trình); trước đây mọi nút giống nhau */
.tc-tao-dong-o .wf-ghim { flex: none; width: 44px; height: 44px; margin-right: 6px; border: 0; background: none; color: #C9D2DE; font-size: 22px; cursor: pointer; border-radius: 22px; }
.tc-tao-dong-o .wf-ghim.on { color: #E0A800; }
.tc-tao-dong-o .wf-ghim:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tc-lap-ho { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font: inherit; text-align: left; cursor: pointer; padding: 8px 12px; margin-top: 8px; }
.tc-dong-bam { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; min-height: 48px; color: var(--ink); }
.tc-dong-bo-dong { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 14px; border-top: 1px solid var(--line2); }
.tc-dong-bo-dong:first-child { border-top: 0; }
.tc-dong-bo .card.pad { margin-top: 12px; } .tc-dong-bo > .btn { margin-top: 12px; min-height: 44px; }
.tc-ghep-dong { min-height: 44px; } .tc-ghep-dong .input { max-width: 160px; }
.tc-lech .card.tc-nhom { padding: 8px 12px; }

/* 05/11/2026 (anh chốt 23:04): thanh trên điện thoại không bao giờ rộng hơn màn hình — tên phân hệ dài tự rút "…", nút bên phải giữ nguyên.
   Trước đây "‹ Chấm công" + 🔍 + cờ · ✨ Trợ lý · ? · chuông ≈ 417 px > iPhone 390 px → cả trang vuốt ngang được, chuông bị cắt. */
.ph-ten-chu { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (max-width: 760px) {
  .topbar { gap: 6px; min-width: 0; }
  .topbar .ph-ten { min-width: 0; flex: 0 1 auto; overflow: hidden; }
  .topbar-right { gap: 2px; flex: none; }
  .shell.co-ph .topbar .searchbox { flex: 0 0 40px; max-width: 40px; }
}
/* 06/11/2026 — Tổng quan Chấm công: 4 ô đếm số trên, chữ dưới (ô "Chưa đến" không xuống dòng lệch các ô khác); cơ sở chưa có lượt chấm; việc ở cơ sở khác */
.tc-tq .hr-dem.bon .hr-odem { flex-direction: column; align-items: flex-start; gap: 2px; }
.tc-tq .hr-dem.bon .hr-odem span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tc-cho-may { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius); background: #F2F4F7; color: var(--ink2); line-height: 1.45; }
.tc-cs-khac { margin: 8px 0 0; color: var(--ink2); display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.tc-cs-khac button { background: none; border: 0; padding: 0 2px; color: var(--accent); font: inherit; cursor: pointer; }
.tc-cham-tron.xam { background: #98A2B3; }
/* 200ae — ô Theo dõi (Quy trình) */
.viec-o-so b.viec-o-do { color: #B42318; }
.viec-o-so.on b.viec-o-do { color: #fff; }
.td-nhom { display: flex; flex-direction: column; gap: 8px; margin: 0 0 16px; }
.td-nhom-ten { margin: 4px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #4A535C; }
.td-nhom-ten.do { color: #B42318; }
.td-the-chuyen .wf-the { border-color: #F3C7C2; }
.td-chuyen { color: #B42318; font-weight: 600; }
.td-xong-dau { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.td-ky { display: flex; gap: 4px; background: #E9ECEF; border-radius: 18px; padding: 3px; }
.td-ky button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 15px; background: transparent; font: inherit; font-size: 13px; cursor: pointer; }
.td-ky button.on { background: #fff; font-weight: 600; }
.td-chon { display: flex; align-items: center; gap: 8px; font-size: 14px; } .td-chon input { min-height: 44px; font: inherit; padding: 0 10px; border: 1px solid #D5DAE0; border-radius: 12px; }
.td-nam { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.td-nam button { min-width: 44px; min-height: 44px; border: 1px solid #D5DAE0; border-radius: 12px; background: #fff; font: inherit; font-size: 18px; cursor: pointer; }
.td-tong { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.td-tong > div { padding: 10px; border-radius: 14px; background: #E3F3F1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.td-tong b { font-size: 16px; overflow-wrap: anywhere; } .td-tong span { font-size: 13px; color: #1F4F4B; }
.td-thang { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.td-thang button { flex: 0 0 auto; min-height: 36px; padding: 0 10px; border: 1px solid #E4E7EB; border-radius: 10px; background: #fff; font: inherit; font-size: 13px; cursor: pointer; }
.td-tim input { width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 14px; border: 1px solid #E4E7EB; border-radius: 14px; font: inherit; font-size: 15px; background: #fff; }

/* ===== Phiếu 200af (06/11/2026): bình luận trên phiếu + thẻ người đề nghị (Nhắn riêng · Gọi) ===== */
.wf-lien-he { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.wf-lh-avatar { width: 44px; height: 44px; border-radius: 22px; background: #E3F2F0; color: var(--accent); display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.wf-lh-avatar.nho { width: 34px; height: 34px; border-radius: 17px; font-size: 13px; }
.wf-lh-ten { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.wf-lh-ten b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-lh-nut { width: 44px; height: 44px; padding: 0; border-radius: 12px; display: grid; place-items: center; color: var(--wf-ngoc, #1F6B65); }
.wf-goi-sheet { text-align: left; align-items: stretch; gap: 10px; }
.wf-goi-dau { display: flex; flex-direction: column; gap: 2px; padding: 4px 4px 6px; }
.wf-goi-dau b { font-size: 18px; }
.wf-goi-nut { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.wf-goi-nut:disabled { opacity: .5; cursor: default; }
.wf-goi-nut > span { display: flex; flex-direction: column; }
.wf-goi-nut i { font-style: normal; font-size: 13px; font-weight: 400; color: var(--muted); }
.wf-goi-huy { min-height: 52px; border: 0; border-radius: 14px; background: #F1F3F5; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; }
.wf-bl-gui { display: flex; flex-direction: column; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.wf-bl-gui textarea { width: 100%; box-sizing: border-box; min-height: 64px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; resize: vertical; }
.wf-bl-dang { display: flex; gap: 8px; align-items: center; padding: 6px 10px; border-radius: 10px; background: #F0F3F7; }
.wf-bl-nhac { display: flex; flex-direction: column; gap: 2px; padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); max-height: 220px; overflow-y: auto; }
.wf-bl-nhac button[role="option"] { text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 8px; font: inherit; cursor: pointer; min-height: 40px; }
.wf-bl-nhac button[role="option"]:hover { background: #F0F3F7; }
.wf-bl-hang { display: flex; align-items: center; gap: 6px; }
.wf-bl-at { width: 44px; height: 44px; padding: 0; font-weight: 700; font-size: 18px; }
.wf-bl-ds { display: flex; flex-direction: column; gap: 12px; padding: 12px 16px; }
.wf-bl-nhanh { display: flex; flex-direction: column; gap: 6px; }
.wf-bl-tin { display: flex; gap: 10px; }
.wf-bl-than { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.wf-bl-bong { padding: 8px 12px; border-radius: 14px; background: #F0F3F7; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.45; }
.wf-bl-bong b { font-size: 13px; }
.wf-bl-tin.toi .wf-bl-bong { background: #E3F2F0; }
.wf-bl-chu { white-space: pre-wrap; overflow-wrap: anywhere; }
.wf-bl-chu .mention { color: var(--wf-ngoc, #1F6B65); font-weight: 600; }
.wf-bl-chan { display: flex; flex-wrap: wrap; gap: 4px 12px; padding-left: 4px; }
.wf-bl-chan .link, .wf-bl-chan span { white-space: nowrap; }
.wf-bl-chan .link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; min-height: 24px; }
.wf-bl-con { display: flex; flex-direction: column; gap: 6px; margin-left: 44px; }
@media (prefers-color-scheme: dark) { .wf-bl-bong, .wf-bl-dang, .wf-bl-nhac button[role="option"]:hover { background: #18302F; } .wf-bl-tin.toi .wf-bl-bong { background: #1E3A38; } .wf-goi-huy { background: #22393A; } }

/* Phiếu 200ag — ngân sách đề xuất, phiếu chi gắn đề xuất */
.wf-dx { display: flex; flex-direction: column; gap: 8px; }
.wf-dx-o { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.wf-dx-o > div { display: flex; flex-direction: column; gap: 2px; padding: 8px; border: 1px solid var(--line, #E4E6EA); border-radius: 10px; min-width: 0; }
.wf-dx-o .b { font-size: 14px; overflow-wrap: anywhere; }
@media (max-width: 420px) { .wf-dx-o { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wf-dx-dong { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.wf-dx-dong > li { padding: 6px 0; border-top: 1px solid var(--line, #E4E6EA); }
.wf-dx-dong > li:first-child { border-top: 0; }
.wf-dx-dong > li.mo { opacity: .6; }
.wf-dx .lq { margin: 0; }

/* ---------- Cộng đồng (phiếu 2100a): bảng tin kiểu Facebook — bài tràn bề ngang điện thoại, thẻ không viền bo 16 px (Bảng màu B).
   Chỉ dùng biến màu chung (--card, --ink, --muted, --line, --accent) để theo bộ màu của app. Ô nhập ≥ 16 px, vùng bấm ≥ 44 px. ---------- */
.cd .cd-khung { display: grid; grid-template-columns: minmax(0, 680px) 300px; gap: 20px; align-items: start; }
.cd .cd-cot { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cd .cd-phai { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 12px; }
.cd .cd-help-dt { display: none; }
@media (max-width: 1100px) { .cd .cd-khung { grid-template-columns: minmax(0, 1fr); } .cd .cd-phai { display: none; } .cd .cd-help-dt { display: block; margin-top: 12px; } }
@media (min-width: 1101px) { .cd .cd-chen { display: none; } }
.cd .cd-nut44 { min-width: 44px; min-height: 44px; }
.cd .cd-o16, .cd .cd-soan-chu { font-size: 16px; }
.cd .block { display: block; }
.cd .cd-mb { margin-bottom: 10px; }
.cd .cd-h2 { margin: 12px 0 4px; font-size: 17px; }
.cd-dang { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.cd-dang-o { flex: 1; min-height: 44px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg); color: var(--muted); text-align: left; padding: 0 16px; font-size: 15px; cursor: pointer; }
.cd-loc { display: flex; gap: 8px; overflow-x: auto; align-items: center; }
.cd-loc button, .cd-loc a { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); font-size: 13px; white-space: nowrap; cursor: pointer; display: inline-flex; align-items: center; }
.cd-loc button.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.cd-loc a { color: var(--accent); font-weight: 600; margin-left: auto; }
.cd-bo-lo { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 14px; }
.cd-bai { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cd-bai-an { opacity: .92; outline: 1px dashed var(--line); }
.cd-ghim-nhan, .cd-an-nhan { display: flex; align-items: center; gap: 6px; padding: 10px 16px 0; font-size: 12px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .02em; }
.cd-an-nhan { text-transform: none; font-weight: 600; color: #9A5B00; background: #FFF6D6; padding: 8px 16px; }
.cd-bai-dau { display: flex; align-items: center; gap: 10px; padding: 12px 8px 8px 16px; }
.cd-bai-ten { display: flex; flex-direction: column; min-width: 0; font-size: 15px; line-height: 1.35; }
.cd-chu { margin: 0; padding: 0 16px 10px; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-xem-them { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.cd-luoi { display: grid; gap: 2px; }
.cd-luoi-o { position: relative; padding: 0; border: 0; background: var(--line2); cursor: pointer; overflow: hidden; min-height: 0; }
.cd-luoi-o img, .cd-luoi-o .cd-anh-cho, .cd-luoi-o .cd-anh-loi { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-luoi-mot .cd-luoi-o { max-height: 480px; } .cd-luoi-mot img { height: auto; max-height: 480px; }
.cd-luoi-doi { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
.cd-luoi-ba { grid-template-columns: 2fr 1fr; grid-template-rows: 150px 150px; } .cd-luoi-ba .cd-luoi-o:first-child { grid-row: 1 / 3; }
.cd-luoi-bon { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
.cd-luoi-them { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.42); color: #fff; font-size: 26px; font-weight: 700; }
.cd-luoi-o video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cd-luoi-video { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; padding-left: 4px; pointer-events: none; }
.cd-anh-cho { display: block; min-height: 120px; background: var(--line2); }
.cd-anh-loi { display: flex; align-items: center; justify-content: center; min-height: 120px; font-size: 13px; color: var(--muted); }
.cd-tep-ds { display: flex; flex-direction: column; gap: 6px; padding: 0 16px 10px; }
.cd-tep { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 12px; background: var(--bg); text-align: left; font-size: 14px; cursor: pointer; max-width: 100%; }
.cd-tep-loai { min-width: 36px; height: 32px; padding: 0 4px; border-radius: 6px; background: var(--accent); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; }
.cd-tep-loai.pdf { background: #B42318; }
.cd-so { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px 6px; font-size: 13px; color: var(--muted); }
.cd-so-cx, .cd-so-xem { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; min-height: 32px; text-align: left; }
.cd-chong { display: inline-flex; } .cd-chong > * { margin-left: -6px; box-shadow: 0 0 0 2px var(--card); border-radius: 50%; } .cd-chong > *:first-child { margin-left: 0; }
.cd-hang-nut { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line2); }
.cd-hang-nut > button, .cd-hang-nut > a { min-height: 44px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink2); display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.cd-hang-nut > button.on { color: #B42318; }
.cd-cx-chip { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 16px 12px; }
.cd-cx-chip button { min-height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); font-size: 13px; cursor: pointer; }
.cd-cx-chip button.on { background: #FDECEF; border-color: #F3C2CB; color: #A12C42; font-weight: 600; }
.cd-sheet-nen { align-items: flex-end; }
.cd-sheet { width: 100%; max-width: 520px; margin: 0 auto; background: var(--card); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 24px rgba(31,35,41,.14); padding: 8px 16px calc(16px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; }
@media (min-width: 761px) { .cd-sheet-nen { align-items: center; } .cd-sheet { border-radius: 16px; } }
.cd-sheet-tay { width: 40px; height: 4px; border-radius: 2px; background: var(--line); align-self: center; margin: 4px 0 10px; }
.cd-sheet > button { min-height: 48px; border: 0; border-bottom: 1px solid var(--line2); background: none; font: inherit; font-size: 15px; text-align: left; display: flex; align-items: center; gap: 12px; cursor: pointer; color: var(--ink); }
.cd-sheet > button.cd-do { color: #A33A1F; font-weight: 600; border-bottom: 0; }
.cd-sheet-ghi { padding: 0 0 4px 30px; line-height: 1.45; }
.cd-ds-nguoi { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cd-ds-nguoi li { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.cd-ds-nguoi li > button { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 48px; border: 0; background: none; text-align: left; cursor: pointer; border-radius: 10px; padding: 4px 6px; }
.cd-ds-nguoi li > button:hover { background: var(--bg); }
.cd-tim { display: flex; flex-direction: column; gap: 10px; }
.cd-tim input { min-height: 44px; }
.cd-chon { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-direction: column; gap: 4px; }
.cd-chon label { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; }
.cd-chon input { width: 20px; height: 20px; min-height: 0; flex-shrink: 0; accent-color: var(--accent); }
.cd-moc { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.cd-moc-dau { display: flex; align-items: center; gap: 10px; }
.cd-moc-logo { width: 32px; height: 32px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.cd-moc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cd-moc li { display: flex; align-items: center; gap: 10px; }
.cd-moc .btn.sm { min-height: 36px; }
.cd-dong { display: flex; flex-direction: column; gap: 10px; }
.cd-cu-hon { align-self: center; min-height: 44px; }
.cd-trong { text-align: center; }
.cd-chao { background: var(--stage); color: #fff; border-radius: 16px; padding: 24px 20px; display: flex; flex-direction: column; gap: 10px; }
.cd-chao h2 { color: #fff; font-size: 26px; line-height: 1.2; margin: 0; }
.cd-chao p { margin: 0; color: #DDEFEC; font-size: 15px; line-height: 1.5; }
.cd-chao-nho { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--mint); }
.cd-goi-y { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cd-goi-y > button { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); text-align: left; cursor: pointer; }
.cd-goi-y-icon { width: 40px; height: 40px; border-radius: 20px; background: var(--side-on, var(--side-on)); color: var(--accent-ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
/* soạn bài: điện thoại toàn màn hình, máy tính hộp giữa */
.cd-soan-nen { align-items: stretch; justify-content: center; padding: 0; }
.cd-soan { width: 100%; max-width: 620px; background: var(--card); display: flex; flex-direction: column; max-height: 100dvh; overflow: hidden; }
@media (min-width: 761px) { .cd-soan-nen { align-items: center; padding: 24px; } .cd-soan { border-radius: 16px; max-height: calc(100dvh - 48px); } }
.cd-soan-dau { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.cd-soan-dau h2 { font-size: 18px; margin: 0; }
.cd-soan-dau .btn.primary { min-height: 40px; padding: 0 20px; border-radius: 20px; }
.cd-soan-than { padding: 16px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.cd-soan-ai { display: flex; gap: 10px; align-items: center; }
.cd-soan-noi { display: flex; align-items: center; gap: 6px; font-size: 13px; margin-top: 4px; }
.cd-soan-noi select { width: auto; min-height: 36px; border-radius: 18px; font-weight: 600; color: var(--accent); font-size: 16px; }
.cd-soan-chu { border: 0; resize: none; min-height: 120px; line-height: 1.5; padding: 0; font-size: 18px; }
.cd-soan-chu:focus { outline: none; }
.cd-gan { font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cd-gan-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 4px 2px 10px; border-radius: 14px; background: var(--side-on, var(--side-on)); font-weight: 600; }
.cd-gan-chip button { border: 0; background: none; min-width: 32px; min-height: 32px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.cd-soan-anh { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cd-soan-o { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--line2); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 4px; }
.cd-soan-o.tep { aspect-ratio: auto; min-height: 64px; }
.cd-soan-o img, .cd-soan-o video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-soan-vid { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; padding-left: 3px; pointer-events: none; }
.cd-soan-tien { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--accent); }
.cd-soan-loi { position: absolute; inset: auto 0 0 0; background: #FDE8E4; color: #A33A1F; padding: 2px 4px; }
.cd-soan-bo { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border: 0; border-radius: 16px; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.cd-soan-them { display: flex; flex-direction: column; border-top: 1px solid var(--line2); }
.cd-soan-them button { min-height: 48px; border: 0; border-bottom: 1px solid var(--line2); background: none; font: inherit; font-size: 15px; text-align: left; display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--ink); }
.cd-soan-them button:disabled { color: var(--muted); cursor: default; }
/* chi tiết + bình luận */
.cd-chi-tiet-cot { max-width: 680px; display: flex; flex-direction: column; gap: 10px; }
.cd-bls { padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.cd-bl { display: flex; gap: 10px; }
.cd-bl.nho { margin-top: 8px; }
.cd-bl-bong { background: var(--bg); border-radius: 14px; padding: 8px 12px; font-size: 14px; line-height: 1.45; display: inline-block; max-width: 100%; }
.cd-bl-chu { white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-nhac-ten { color: var(--accent); }
.cd-bl-chan { display: flex; gap: 14px; font-size: 13px; color: var(--muted); padding: 2px 4px; align-items: center; }
.cd-bl-chan button { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink2); padding: 0; min-height: 32px; cursor: pointer; }
.cd-bl-chan button.on { color: #B42318; }
.cd-o-bl { border-top: 1px solid var(--line2); padding-top: 12px; position: relative; }
.cd-o-bl-hang { display: flex; gap: 8px; align-items: flex-end; }
.cd-o-bl textarea { flex: 1; min-height: 44px; border-radius: 22px; padding: 10px 14px; background: var(--bg); resize: none; }
.cd-gui { width: 44px; height: 44px; min-width: 44px; border-radius: 22px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.cd-tra-loi { margin-bottom: 6px; }
.cd-goi-y-nhac { list-style: none; margin: 0 0 6px; padding: 4px; border-radius: 12px; background: var(--card); box-shadow: 0 8px 24px rgba(16,24,40,.14); }
.cd-goi-y-nhac button { width: 100%; display: flex; align-items: center; gap: 8px; min-height: 44px; border: 0; background: none; text-align: left; cursor: pointer; padding: 0 8px; border-radius: 8px; }
.cd-goi-y-nhac button:hover { background: var(--bg); }
.cd-kd-muc { display: flex; flex-direction: column; gap: 6px; }
.cd-kd-ly ul { margin: 6px 0; padding-left: 18px; }
/* Bàn làm việc + thanh dưới */
.cd-o-moi { font-size: 12px; font-weight: 700; color: #fff; background: #C9372C; border-radius: 10px; padding: 1px 8px; }
.cd-o-bai .clamp1 { display: block; }
.cd-o-dang { align-self: flex-start; min-height: 40px; }
.bottombar .tb-cham { position: absolute; top: 6px; left: 56%; width: 9px; height: 9px; border-radius: 50%; background: #C9372C; box-shadow: 0 0 0 2px var(--card); }
/* điện thoại: bài tràn bề ngang (như Facebook) */
@media (max-width: 760px) {
  .cd .cd-bai, .cd .cd-dang, .cd .cd-bo-lo, .cd .cd-moc, .cd .cd-goi-y, .cd .cd-bls { border-radius: 0; margin-left: -16px; margin-right: -16px; }
  .cd .cd-chao { border-radius: 0; margin-left: -16px; margin-right: -16px; }
  /* đầu trang gọn (anh duyệt mẫu 09/11): thanh trên đã có "‹ Cộng đồng" → bỏ tiêu đề to; người một cơ sở không cần ô cơ sở */
  .cd > .page-head.co-so-dau { margin: 0 0 6px; min-height: 0; justify-content: flex-start; }
  .cd > .page-head.co-so-dau > h1 { display: none; }
  .cd > .page-head.co-so-dau:has(> .co-so-chung.khoa) { display: none; }
  .cd > .page-head .co-so-chung { margin-left: 0; min-height: 36px; padding-left: 12px; font-size: 13px; }
  .cd > .page-head .co-so-chung > .muted { display: none; }
  .cd .cd-dang { padding: 8px 12px; gap: 8px; }
  .cd .cd-dang-o { min-height: 40px; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* nút lọc nhỏ nhưng vùng bấm đủ 44px: viền trong suốt 4px + nền chỉ trong phần đệm */
  .cd .cd-loc { gap: 0; margin: 0 -4px; }
  .cd .cd-loc button, .cd .cd-loc a { min-height: 44px; padding: 0 12px; border: 4px solid transparent; background-clip: padding-box;
    box-shadow: inset 0 0 0 1px var(--line); border-radius: 22px; font-size: 13px; }
  .cd .cd-loc button.on { border-color: transparent; box-shadow: none; }
}

/* ---------- Cộng đồng 2100b: Thẻ cảm ơn (nền vàng nhạt như bản vẽ), Được ghi nhận ---------- */
.cd-hang-nut.ba { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cd-bai-cam-on { background: #FFF6D6; }
.cd-bai-cam-on .cd-hang-nut { border-top-color: #F2D98A; }
.cd-bai-cam-on .cd-hang-nut > button, .cd-bai-cam-on .cd-hang-nut > a { color: #6B5300; }
.cd-bai-cam-on .cd-so, .cd-bai-cam-on .cd-so-cx, .cd-bai-cam-on .cd-so-xem { color: #6B5300; }
.cd-cam-on { padding: 6px 8px 8px 16px; display: flex; flex-direction: column; gap: 8px; color: #1F2329; }
.cd-cam-on-dau { display: flex; align-items: center; gap: 8px; }
.cd-cam-on-nhan { flex: 1; font-size: 12px; font-weight: 700; color: #6B5300; letter-spacing: .02em; }
.cd-cam-on-ai { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.4; padding-right: 8px; }
.cd-cam-on-loi { margin: 0; font-size: 16px; line-height: 1.5; font-style: italic; white-space: pre-wrap; overflow-wrap: anywhere; padding-right: 8px; }
.cd-cam-on-chan { color: #6B5300; }
.cd-gui-cam-on { display: flex; flex-direction: column; gap: 12px; }
.cd-gui-cam-on textarea { width: 100%; margin-top: 6px; }
.cd-ly-do, .cd-goi-y-nguoi { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-ly-do button, .cd-goi-y-nguoi button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.cd-ly-do button.on, .cd-goi-y-nguoi button.on { background: #FFF6D6; border-color: #F2D98A; color: #6B5300; font-weight: 700; }
.cd-nguoi-chon { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.cd-cam-on-dau-tien { background: #FFF6D6; border-radius: 16px; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; color: #3B4048; }
.cd-cam-on-dau-tien > b { font-size: 16px; color: #1F2329; }
.cd-cam-on-dau-tien .btn.primary { min-height: 48px; border-radius: 24px; }
.cd-cam-on-dau-tien .xs { color: #6B5300; }
.cd-cam-on-dau-tien .cd-goi-y-nguoi button { border-color: #F2D98A; font-weight: 600; }
.cd-ghi-nhan { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.cd-ghi-nhan-dau { display: flex; align-items: baseline; gap: 10px; } .cd-ghi-nhan-dau h2 { flex: 1; font-size: 17px; margin: 0; }
.cd-ghi-nhan-so { font-size: 13px; font-weight: 700; color: #6B5300; background: #FFF6D6; border-radius: 12px; padding: 2px 10px; }
.cd-ghi-nhan-ly { display: flex; flex-wrap: wrap; gap: 6px; }
.cd-ly-chip { font-size: 12px; padding: 3px 10px; border-radius: 12px; background: #FFF6D6; color: #6B5300; font-weight: 600; }
.cd-ghi-nhan-ds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cd-ghi-nhan-ds a { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; }
.clamp2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) { .cd .cd-cam-on-dau-tien { border-radius: 0; margin-left: -16px; margin-right: -16px; } }

/* ---------- Ảnh đại diện (phiếu 2200): ảnh tròn trong ô chữ tắt; khung cắt vuông ---------- */
.avatar { overflow: hidden; position: relative; }
.avatar-anh { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: var(--card); }
.dd-nut { position: relative; border: 0; background: none; padding: 0; cursor: pointer; flex: none; border-radius: 50%; min-width: 44px; min-height: 44px; }
.dd-but { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px var(--card); }
.dd-chu { margin-top: 4px; min-height: 32px; font-size: 14px; }
.dd-than { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dd-hien { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.dd-khung { position: relative; overflow: hidden; border-radius: 12px; background: #111; touch-action: none; cursor: grab; max-width: 100%; }
.dd-khung img { position: absolute; left: 0; top: 0; max-width: none; user-select: none; -webkit-user-drag: none; transform-origin: 0 0; }
.dd-tron { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(0,0,0,.45); pointer-events: none; }
.dd-zoom { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 280px; font-size: 14px; }
.dd-zoom input { flex: 1; min-height: 44px; }

/* ---------- Cộng đồng 2100f: thẻ tự động "sống" — NGOẠI LỆ bảng màu chung cho NỘI DUNG Cộng đồng (anh Cường chốt 07/11/2026 20:48, phiếu 2100 mục 19,
   NGUYEN-TAC mục 7): nền nhạt từ bộ màu thương hiệu theo loại thẻ, chữ đậm cùng tông (tương phản ≥ 4,5 : 1); nút / menu vẫn theo bảng màu chung.
   Không khối nền đậm, số to ≤ 40 px, chữ đậm 700. Thẻ không cao hơn bài thường (trừ chạm mốc). ---------- */
:root {
  --cd-hong: #FDECF2; --cd-hong-chu: #8E1F4C; --cd-hong-vien: #F3A9C4;      /* sinh nhật */
  --cd-vang: #FFF6D6; --cd-vang-chu: #6B5300; --cd-vang-vien: #F2D98A;      /* vinh danh / cảm ơn */
  --cd-bac-ha: #E6F6F4; --cd-bac-ha-chu: #1B4550; --cd-bac-ha-vien: #9FD6D0; /* chấm công */
  --cd-xanh-troi: #E8F1FC; --cd-xanh-troi-chu: #1F4F8A; --cd-xanh-troi-vien: #9DBFEA; /* sự kiện, đua cơ sở */
  --cd-tim: #F0EBFA; --cd-tim-chu: #4B2E8C; --cd-tim-vien: #C9B8F0;         /* mốc làm việc */
  --cd-cam: #FFF0EC; --cd-cam-chu: #9A3412;
}
.cdt { padding: 0 0 12px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.cdt-hong { --n: var(--cd-hong); --c: var(--cd-hong-chu); --v: var(--cd-hong-vien); }
.cdt-vang { --n: var(--cd-vang); --c: var(--cd-vang-chu); --v: var(--cd-vang-vien); }
.cdt-bac_ha { --n: var(--cd-bac-ha); --c: var(--cd-bac-ha-chu); --v: var(--cd-bac-ha-vien); }
.cdt-xanh_troi { --n: var(--cd-xanh-troi); --c: var(--cd-xanh-troi-chu); --v: var(--cd-xanh-troi-vien); }
.cdt-tim { --n: var(--cd-tim); --c: var(--cd-tim-chu); --v: var(--cd-tim-vien); }
.cdt-dau { display: flex; align-items: center; gap: 10px; padding: 10px 8px 0 16px; }
.cdt-logo { width: 36px; height: 36px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line2); padding: 3px; object-fit: contain; flex: none; }
.cdt-nen { background: var(--n); color: #1F2329; }
.cdt-nen-cam { background: var(--cd-cam); }
.cdt-nhan { font-size: 12px; font-weight: 700; color: var(--c); letter-spacing: .03em; display: block; }
.cdt-p { padding: 0 16px; margin: 0; }
.cdt-tieu-de { margin: 0 16px; font-size: 17px; font-weight: 700; line-height: 1.3; }
h2.cdt-tieu-de.cdt-nen { padding: 10px 12px; border-radius: 12px; color: var(--c); }
.cdt-ten-lon { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; color: #1F2329; }
.cdt-ten-vua { font-size: 17px; line-height: 1.3; }
.cdt-so { font-size: 36px; font-weight: 700; line-height: 1; color: var(--c); }
.cdt-so-moc { font-size: 28px; font-weight: 700; line-height: 1.15; color: var(--c); }
.cdt-khoi { margin: 0 16px; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.cdt-ngang { flex-direction: row; align-items: center; gap: 14px; }
.cdt-hero { padding: 16px; display: flex; gap: 14px; align-items: center; }
.cdt-hero-anh { display: flex; } .cdt-hero-anh > * + * { margin-left: -14px; }
.cdt-vong { box-shadow: 0 0 0 3px var(--v); background-clip: padding-box; }
.cdt-chan { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 16px; flex-wrap: wrap; }
.cdt-so-bam { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.cdt-nut { min-height: 44px; border-radius: 22px; padding: 0 18px; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.cdt-dai { display: flex; gap: 10px; padding: 0 16px 2px; overflow-x: auto; scroll-snap-type: x mandatory; }
.cdt-dai-o { flex: 0 0 132px; scroll-snap-align: start; border-radius: 16px; background: var(--bg); padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.cdt-dai-o .btn { width: 100%; min-height: 36px; margin-top: 4px; }
.cdt-ds { display: flex; flex-direction: column; gap: 10px; }
.cdt-dong { display: flex; align-items: center; gap: 12px; padding: 0 16px; font-size: 15px; line-height: 1.4; }
.cdt-o { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: var(--c); flex: none; }
.cdt-hang-nguoi { display: flex; gap: 10px; flex-wrap: wrap; }
.cdt-hang-nguoi > span { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 84px; text-align: center; }
.cdt-so-hang { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cdt-chip { margin-left: auto; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 12px; background: #fff; color: #5E5E63; }
.cdt-chip.tang { color: #1B6B3A; background: #E3F4EA; }
.cdt-bieu-do { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 0 16px; align-items: end; }
.cdt-cot { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cdt-cot b { font-size: 12px; color: var(--cd-cam-chu); min-height: 16px; }
.cdt-cot i { display: block; width: 100%; border-radius: 6px; background: #CFD8D7; }
.cdt-cot i.nhieu { background: #FFA593; }
.cdt-khen { margin: 0 16px; font-size: 15px; font-weight: 700; color: var(--c); }
.cdt-hai-o { display: flex; gap: 10px; padding: 0 16px; }
.cdt-hai-o > span { flex: 1; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.cdt-nen-cam .cdt-so { color: var(--cd-cam-chu); }
.cdt-moc { position: relative; padding: 40px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.cdt-hoa { position: absolute; left: 0; top: 0; width: 100%; height: 90px; }
.cdt-to .cdt-moc { animation: cdt-vao .6s ease-out; }
@keyframes cdt-vao { from { transform: scale(.96); opacity: .4; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cdt-to .cdt-moc { animation: none; } }
.cdt-chuoi { display: flex; gap: 6px; align-items: center; }
.cdt-chuoi > span:not(.xs) { width: 20px; height: 20px; border-radius: 50%; background: var(--sun); }
.cdt-chuoi.nho > span:not(.xs) { width: 12px; height: 12px; }
.cdt-dua { display: flex; flex-direction: column; gap: 12px; padding: 0 16px; }
.cdt-dua-dau { display: flex; justify-content: space-between; font-size: 14px; }
.cdt-thanh { display: block; height: 12px; border-radius: 6px; background: var(--line2); overflow: hidden; }
.cdt-thanh i { display: block; height: 100%; border-radius: 6px; background: var(--v); }
.cdt-thanh i.nhat { background: var(--c); }
.cdt-dem { display: flex; flex-direction: column; align-items: center; min-width: 72px; color: var(--c); }
.cdt-tien-do { padding: 0 16px; display: flex; flex-direction: column; gap: 6px; }
.cdt-tien-do > div { display: flex; justify-content: space-between; }
.cdt-link { color: inherit; text-decoration: none; }
/* Cài đặt thẻ tự động */
.cd-cai-xem { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.cd-cai-xem select { width: auto; min-height: 44px; border-radius: 22px; font-weight: 600; color: var(--accent); font-size: 16px; }
.cd-cai-ds { padding: 0; display: flex; flex-direction: column; }
.cd-cai-dong { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line2); min-height: 44px; }
.cd-cai-dong:last-child { border-bottom: 0; }
.cd-khoa { margin-left: 8px; font-size: 11px; font-weight: 700; color: #6B5300; background: #FFF1D6; padding: 2px 8px; border-radius: 10px; }
.cd-so-o { width: 80px; min-height: 44px; }
/* Màn ngày đầu: bớt khối nền đậm (mục 19) — nền bạc hà nhạt, chữ đậm cùng tông */
.cd-chao { background: var(--cd-bac-ha); color: var(--cd-bac-ha-chu); }
.cd-chao h2 { color: #1F2329; font-weight: 700; }
.cd-chao p { color: #3B4048; }
.cd-chao-nho { color: var(--cd-bac-ha-chu); }
.cd-chao.cd-chao-gon { padding: 14px 16px; gap: 4px; }
.cd-chao.cd-chao-gon h2 { font-size: 18px; }
@media (max-width: 760px) { .cd .cdt { border-radius: 0; margin-left: -16px; margin-right: -16px; } }
@media (min-width: 1101px) { .cd .cd-chen { display: block; } }

/* ===== Phiếu 2100d mục 20: cảm xúc có hình + nút 😊 (emoji phông của máy) ===== */
.cd-hang-nut > .cd-cx-vo { display: flex; }
.cd-cx-vo { position: relative; display: inline-flex; }
.cd-cx-nut { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.cd-hang-nut .cd-cx-nut { flex: 1; min-height: 44px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink2);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.cd-hang-nut .cd-cx-nut.on { color: #B42318; }
.cd-bai-cam-on .cd-hang-nut .cd-cx-nut { color: #6B5300; }
.cd-cx-em { font-size: 18px; line-height: 1; }
.cd-cx-thanh { position: absolute; bottom: calc(100% + 6px); left: 4px; z-index: 30; display: flex; gap: 2px; padding: 4px 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 6px 20px rgba(16, 24, 40, .16); animation: cdCxLen .14s ease-out; }
.cd-cx-thanh button { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; font-size: 28px; line-height: 1; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; transition: transform .12s; }
.cd-cx-thanh button:hover, .cd-cx-thanh button:focus-visible { transform: scale(1.25) translateY(-3px); }
.cd-cx-thanh button.on { background: #FDECEF; }
.cd-cx-vo.nho .cd-cx-thanh { left: -8px; }
.cd-cx-vo.nho .cd-cx-thanh button { width: 40px; height: 40px; font-size: 24px; }
@keyframes cdCxLen { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cd-cx-thanh { animation: none; } .cd-cx-thanh button { transition: none; } }
.cd-cx-chong { display: inline-flex; align-items: center; }
.cd-cx-chong > span { width: 22px; height: 22px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 2px var(--card);
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px; line-height: 1; margin-left: -5px; }
.cd-cx-chong > span:first-child { margin-left: 0; }
.cd-cx-chip button { display: inline-flex; align-items: center; gap: 6px; }
.cd-cx-chip button > span[aria-hidden] { font-size: 18px; line-height: 1; }
.cd-cx-chip .cd-cx-ten { color: var(--muted); }
.cd-bl-bong { position: relative; }
.cd-bl-cx { position: absolute; right: -6px; bottom: -12px; display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px 1px 3px;
  background: var(--card); border-radius: 12px; box-shadow: 0 1px 4px rgba(16, 24, 40, .18); font-size: 12px; color: var(--muted); }
.cd-bl-cx .cd-cx-chong > span { width: 18px; height: 18px; font-size: 13px; }
.cd-bl-chan .cd-cx-nut { border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink2); padding: 0; min-height: 32px; cursor: pointer; }
.cd-bl-chan .cd-cx-nut.on { color: #B42318; }
.cd-bl:has(.cd-bl-cx) .cd-bl-chan { margin-top: 8px; }
.cd-emoji-nut { width: 44px; height: 44px; min-width: 44px; border: 0; border-radius: 22px; background: none; padding: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; }
.cd-emoji-nut .cd-emoji-mat { font-size: 22px; line-height: 1; }
.cd-emoji-nut.on { background: var(--bg); }
.cd-soan-them .cd-emoji-nut.co-chu { width: auto; height: auto; border-radius: 0; justify-content: flex-start; }
.cd-emoji { border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 8px 8px 4px; margin-top: 8px; max-height: 240px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 6px; }
.cd-emoji-nhom { display: flex; flex-direction: column; gap: 2px; }
.cd-emoji-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); }
.cd-emoji-luoi button { height: 44px; border: 0; background: none; border-radius: 8px; font-size: 26px; line-height: 1; padding: 0; cursor: pointer; }
.cd-emoji-luoi button:hover, .cd-emoji-luoi button:focus-visible { background: var(--bg); }
.cd-emoji-dong { align-self: flex-end; min-height: 32px; }
.cd-soan-than .cd-emoji { margin: 8px 0; }

/* ===== Phiếu 2100d: Góp ý ẩn danh + màn quản lý ===== */
.cd-gy { display: flex; flex-direction: column; gap: 12px; }
.cd-gy-moi { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--cd-xanh-troi, #E8F1FC); flex-wrap: wrap; }
.cd-gy-moi .btn { min-height: 44px; }
.cd-gy-the { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.cd-gy-dau { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cd-gy-tt { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 12px; background: var(--bg); color: var(--ink2); }
.cd-gy-tt-moi { background: #FFF6D6; color: #6B5300; }
.cd-gy-tt-dang_xu_ly { background: #E8F1FC; color: #1F4F8A; }
.cd-gy-tt-da_lam { background: #E6F6F4; color: var(--accent-ink); }
.cd-gy-tt-khong_lam { background: #F2F4F7; color: #475467; }
.cd-gy-cua-toi { font-weight: 600; color: #4B2E8C; background: #F0EBFA; padding: 2px 8px; border-radius: 10px; }
.cd-gy-chu { margin: 0; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-gy-tl { border-left: 3px solid var(--accent); background: var(--bg); padding: 8px 12px; border-radius: 0 10px 10px 0; display: flex; flex-direction: column; gap: 4px; }
.cd-gy-tl p { margin: 0; font-size: 14px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.cd-gy-chan { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cd-gy-chan .btn { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; }
.cd-gy-chan .btn.on { color: #B42318; border-color: #F3C2CB; background: #FDECEF; }
.cd-gy-form { display: flex; flex-direction: column; gap: 10px; }
.cd-gy-form textarea { width: 100%; }
.cd-gy-hang { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.cd-gy-an { background: #F0EBFA; color: #4B2E8C; }
.cd-ql { display: flex; flex-direction: column; gap: 12px; }
.cd-ql-tg { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.cd-ql-dong { display: grid; grid-template-columns: minmax(80px, 120px) 1fr auto; grid-template-areas: "ten thanh so" "ten phu phu"; align-items: center; column-gap: 10px; }
.cd-ql-ten { grid-area: ten; font-weight: 600; }
.cd-ql-thanh { grid-area: thanh; height: 10px; background: var(--bg); border-radius: 6px; overflow: hidden; }
.cd-ql-thanh > span { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.cd-ql-so { grid-area: so; font-size: 18px; min-width: 48px; text-align: right; }
.cd-ql-phu { grid-area: phu; }
.cd-ql-o { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.cd-ql-so-o { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; }
.cd-ql-so-o b { font-size: 28px; line-height: 1.1; }
.cd-ql-so-o span { font-size: 14px; color: var(--ink2); }
.cd-ql-nk { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cd-ql-nk li { display: flex; flex-direction: column; gap: 2px; border-bottom: 1px solid var(--line2); padding-bottom: 8px; }
.cd-gy-cho { font-weight: 600; color: #6B5300; background: #FFF6D6; padding: 2px 8px; border-radius: 10px; }
.cd-gy-cho.qua-han { color: #B42318; background: #FEE4E2; }
.cd-ql-qua-han { display: flex; align-items: center; gap: 10px; background: #FEE4E2; color: #912018; border: 1px solid #FDA29B; text-decoration: none; }
.cd-gy-dau > .grow { flex: 1 1 160px; min-width: 0; }

/* ===== Phiếu 2100c: Nhóm (bản vẽ màn 8) ===== */
.cd-nhom-o { display: inline-block; border-radius: 12px; flex-shrink: 0; }
.cd-nhom-list { display: flex; flex-direction: column; padding: 4px 0; }
.cd-nhom-dong { display: flex; align-items: center; gap: 12px; padding: 10px 16px; min-height: 52px; text-decoration: none; color: inherit; }
.cd-nhom-dong + .cd-nhom-dong { border-top: 1px solid var(--line2); }
.cd-nhom-dong.nho { padding: 6px 0; min-height: 44px; border-top: 0 !important; }
.cd-nhom-dong b { font-size: 15px; }
.cd-nhom-moi { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #B42318; color: #fff; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; }
.cd-nhom-gon { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; }
.cd-nhom-gon-dau { display: flex; align-items: center; gap: 8px; }
.cd-nhom-dau { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cd-nhom-bia { height: 120px; }
.cd-nhom-tt { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 6px; }
.cd-nhom-tt h1 { margin: 0; font-size: 24px; line-height: 1.25; overflow-wrap: anywhere; }
.cd-nhom-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cd-nhom-co { color: #4B2E8C; background: #F0EBFA; border-radius: 10px; padding: 4px 10px; align-self: flex-start; }
.cd-nhom-mo-ta { margin: 0; white-space: pre-wrap; }
.cd-nhom-nut { display: flex; gap: 8px; margin-top: 6px; }
.cd-nhom-nut .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.cd-nhom-nut .cd-nut44 { width: 44px; padding: 0; flex-shrink: 0; }
.cd-nhom-dang { border-top: 1px solid var(--line2); border-radius: 0; box-shadow: none; }
.cd-nhom-o-nho { width: 36px; height: 36px; border-radius: 18px; background: #DDF3F1; color: var(--accent-ink); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cd-nhan-nhom { font-weight: 600; color: var(--accent); text-decoration: none; }
.cd-nhan-nhom:hover { text-decoration: underline; }
.cd-av-an { border-radius: 50%; background: #F0EBFA; color: #4B2E8C; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cd-an-chon { display: flex; align-items: center; gap: 8px; min-height: 40px; flex-wrap: wrap; }
.cd-an-chon input { width: 20px; height: 20px; accent-color: var(--accent); }
.cd-tao-nhom fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cd-tao-nhom legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 6px; }
.cd-rieng-tu label { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; font-size: 14px; }
.cd-rieng-tu input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.cd-mau-chon { display: flex; gap: 8px; flex-wrap: wrap; }
.cd-mau-chon button { width: 40px; height: 40px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; }
.cd-mau-chon button.on { border-color: var(--accent); }
.cd-chi-anh { display: flex; flex-direction: column; gap: 8px; background: #F4F7F7; border-radius: 12px; padding: 10px 12px; }
.cd-vt { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; max-height: 180px; overflow-y: auto; }
.cd-vt-o { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; }
.cd-chon-nguoi { display: flex; flex-direction: column; gap: 6px; }
.cd-chon-nguoi input { width: 100%; min-height: 44px; }
.cd-do { color: #B42318; }
.cd-nhom-meta { flex-wrap: nowrap; align-items: flex-start; } .cd-nhom-meta > svg { margin-top: 3px; flex-shrink: 0; } .cd-nhom-meta > span { min-width: 0; }
.cd .cd-nhom-dang { padding: 10px 16px; display: flex; align-items: center; gap: 10px; }
.cd-chon-nguoi li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.cd-chon-nguoi li .btn { border: 1px solid var(--line); border-radius: 18px; background: var(--card); min-height: 36px; padding: 0 14px; font-weight: 600; color: var(--accent); }

/* Báo có bản mới (sửa gấp 08/11/2026) */
.ban-moi { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 1000; display: flex; align-items: center; gap: 10px;
  background: #1F2329; color: #fff; padding: 8px 8px 8px 16px; border-radius: 24px; box-shadow: 0 6px 20px rgba(16, 24, 40, .25); font-size: 14px; max-width: calc(100vw - 32px); }
.ban-moi .btn { min-height: 36px; }
.ban-moi .icon-btn { color: #fff; width: 36px; height: 36px; font-size: 20px; }
@media (min-width: 900px) { .ban-moi { bottom: 24px; } }

/* ===================== Tuyển sinh & Chăm sóc (phiếu 2300b) — bảng màu chung B; màu chỉ mang ý nghĩa (đỏ = quá hạn, vàng = sắp hết hạn) ===================== */
.crm .crm-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 12px; }
.crm .crm-tim { display: flex; align-items: center; gap: 8px; flex: 1 1 220px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); color: var(--muted); }
.crm .crm-tim input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.crm .crm-kieu { display: inline-flex; gap: 4px; } .crm .btn.on { background: var(--side-on, var(--side-on)); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.crm .crm-dem { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 4px 0 12px; }
.crm .crm-dem-o { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border: 2px solid transparent; border-radius: 14px; background: var(--card); box-shadow: var(--bong); font: inherit; color: var(--ink); text-align: left; cursor: pointer; min-height: 44px; }
.crm .crm-dem-o b { font-size: 22px; } .crm .crm-dem-o b.do { color: #C9372C; } .crm .crm-dem-o.khong b { color: #A0A6AD; } .crm .crm-dem-o.on { border-color: var(--accent); }
.crm .crm-ds { display: flex; flex-direction: column; gap: 10px; }
.crm .crm-the { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 0; border-radius: 16px; box-shadow: var(--bong); color: var(--ink); text-decoration: none; }
.crm a.crm-the:hover { background: #FAFBFB; } .crm .crm-the-ten { font-size: 16px; line-height: 1.35; color: var(--ink); text-decoration: none; }
.crm .crm-trong { background: #F7F8F9; box-shadow: none; border: 1px dashed var(--line); }
.crm .crm-nhom { margin: 14px 0 6px; } .crm .crm-nhom-ten { font-size: 15px; color: var(--ink2); margin: 0 2px 8px; } .crm .crm-nhom-ten .muted { font-weight: 500; }
.crm .crm-nut-cuoi { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 4px; }
.crm .crm-nut-cuoi .btn, .crm .crm-loc .btn.primary { min-height: 44px; }
.crm .crm-goi-y { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 14px; line-height: 1.45; }
.crm .crm-do { color: #C9372C; } .crm .crm-vang { color: #7A4A00; }
.crm .crm-the.qua-han { box-shadow: inset 0 0 0 1px #F3C2BD, var(--bong); } .crm .crm-the-dau { align-items: flex-start; }
.crm .crm-the a.crm-the-ten:hover { text-decoration: underline; } .crm .crm-viec { color: var(--info); } .crm .crm-ghi-xep { margin: 2px 2px 8px; }
.crm .crm-the .menu-nut .crm-the-menu { min-width: 36px; min-height: 32px; padding: 0 8px; } .crm .crm-the .tc-nhan { font-size: 11px; padding: 2px 8px; }
.crm .crm-thanh-buoc { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; } .crm .crm-thanh-buoc span { height: 6px; border-radius: 3px; background: var(--line); }
.crm .crm-thanh-buoc span.on { background: var(--info); }
.crm .crm-viec-hop { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #E8F0FA; color: var(--info); }
.crm .crm-viec-hop.qua-han { background: #FDECEA; color: #B42318; }
.crm .crm-o-so-nho { width: 96px; flex: none; text-align: right; } .crm .crm-dau { display: flex; flex-direction: column; } .crm .crm-dau .crm-dong { min-height: 44px; gap: 8px; }
.crm .crm-tich-bao-gia { padding: 10px 12px; border-radius: 12px; background: #FFF4D6; color: #7A4A00; margin: 4px 0 8px; } .crm .crm-tich-bao-gia input { width: 20px; height: 20px; }
.crm .crm-xanh { color: var(--ok); }
/* 2300g: dải xin số (Hộp thư Zalo), form Zalo Ads dưới dòng OA */
.crm .crm-xin-so { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border-radius: 12px; background: #FFF4D6; }
.crm .crm-zalo-form { margin: 6px 0 0 14px; display: flex; flex-direction: column; gap: 2px; }
.crm .crm-khoi { margin: 12px 0; display: flex; flex-direction: column; gap: 8px; } .crm .card.crm-khoi { padding: 14px 16px; border: 0; border-radius: 16px; box-shadow: var(--bong); }
.crm .crm-khoi h2 { font-size: 16px; margin: 0; }
.crm .crm-dong { padding: 6px 0; border-top: 1px solid var(--line2); } .crm .crm-dong:first-of-type { border-top: 0; }
.crm .crm-dong-tg { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.crm .crm-dong-tg > li { padding: 12px 14px; border: 0; border-radius: 14px; box-shadow: var(--bong); display: flex; flex-direction: column; gap: 4px; }
.crm .crm-dong-tg p { margin: 0; }
.crm .crm-2cot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.crm .crm-chon-buoc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.crm-buoc-o { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 20px; cursor: pointer; font-size: 14px; }
.crm-buoc-o.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; } .crm-buoc-o input { margin: 0; }
.modal .crm-chon-buoc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; } .modal .crm-2cot { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.crm .crm-ho-so-dau { display: flex; flex-direction: column; gap: 6px; margin: 6px 0 12px; } .crm .crm-ho-so-dau h1 { margin: 0; font-size: 26px; }
.crm .crm-ho-so-dau .crm-nut-cuoi { justify-content: flex-start; }
.crm .crm-buoc-yc { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.crm .crm-buoc-yc li.on { color: var(--accent-ink); font-weight: 700; }
.crm .crm-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; font-size: 14px; } .crm .crm-dl dt { color: var(--muted); } .crm .crm-dl dd { margin: 0; }
.crm .crm-soan { padding: 12px; border: 0; border-radius: 16px; box-shadow: var(--bong); display: flex; flex-direction: column; gap: 8px; } .crm .crm-nhac { width: auto; max-width: 220px; }
.crm .crm-bang { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.crm .crm-cot { display: flex; flex-direction: column; gap: 8px; min-height: 120px; padding: 10px; border-radius: 16px; background: #EEF0F2; }
.crm .crm-cot.tha { outline: 2px dashed var(--accent-line); } .crm .crm-cot.mat { background: #FDECEA; } .crm .crm-cot-ten { font-size: 14px; margin: 0 2px 2px; }
.crm .crm-cot .crm-the { padding: 12px; } .crm .crm-cot .crm-the-ten { font-size: 14px; }
.crm .crm-tuan { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.crm .crm-ngay { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 64px; padding: 6px 2px; border: 2px solid transparent; border-radius: 14px; background: var(--card); box-shadow: var(--bong); font: inherit; color: var(--ink); cursor: pointer; }
.crm .crm-ngay b { font-size: 18px; } .crm .crm-ngay.on { border-color: var(--accent); } .crm .crm-ngay.nay b { color: var(--accent); }
.crm .crm-thang { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 4px; margin-bottom: 12px; }
.crm .crm-thang th { font-size: 12px; color: var(--muted); font-weight: 600; }
.crm .crm-o-ngay { position: relative; width: 100%; min-height: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 4px 6px; border: 2px solid transparent; border-radius: 10px; background: var(--card); font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; text-align: left; }
.crm .crm-o-ngay.on { border-color: var(--accent); } .crm .crm-o-ngay.nay > span:first-child { color: var(--accent); font-weight: 700; }
.crm .crm-so-luot { position: absolute; top: 4px; right: 6px; font-size: 12px; color: var(--accent-ink); }
.crm .crm-o-luot { display: none; } @media (min-width: 900px) { .crm .crm-o-ngay { min-height: 92px; } .crm .crm-o-luot { display: flex; flex-direction: column; font-size: 11.5px; color: var(--ink2); overflow: hidden; } }
.crm .crm-khung { display: grid; grid-template-columns: 52px 1fr; gap: 8px; align-items: start; } .crm .crm-khung-gio { padding-top: 14px; font-size: 14px; }
.crm .crm-o-so { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 8px 0 12px; }
.crm .crm-o-so .card { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 0; border-radius: 16px; box-shadow: var(--bong); } .crm .crm-o-so b { font-size: 22px; }
.crm .crm-bang-so { padding: 8px 12px; border: 0; border-radius: 16px; box-shadow: var(--bong); overflow-x: auto; }
.crm .crm-bang-so table { width: 100%; border-collapse: collapse; font-size: 14px; } .crm .crm-bang-so th, .crm .crm-bang-so td { padding: 10px 8px; border-bottom: 1px solid var(--line2); text-align: right; white-space: nowrap; }
.crm .crm-bang-so th:first-child { text-align: left; } .crm .crm-bang-so thead th { font-size: 12px; color: var(--muted); font-weight: 600; }
.crm .crm-3cot { display: grid; grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) minmax(220px, 300px); gap: 14px; align-items: start; }
.crm .crm-hop-ds, .crm .crm-chat, .crm .crm-hop-ho-so, .crm .crm-hop-trong { border: 0; border-radius: 16px; box-shadow: var(--bong); }
.crm .crm-hop-trong { grid-column: span 2; }
.crm .crm-hop-loc { padding: 12px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--line2); }
.crm .chip.on { background: var(--accent); color: #fff; } .crm .crm-hop-loc .chip { min-height: 34px; padding: 0 12px; border: 0; cursor: pointer; font: inherit; font-size: 13px; }
.crm .crm-hop-dong { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-bottom: 1px solid var(--line2); color: var(--ink); text-decoration: none; }
.crm .crm-hop-dong.on { background: #F2F8F7; } .crm .crm-1dong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .crm .crm-hop-ghi { padding: 12px; margin: 0; }
.crm .crm-3dong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.crm .crm-chat { display: flex; flex-direction: column; min-height: 420px; } .crm .crm-chat-dau { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line2); }
.crm .crm-chat-than { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: #FAFBFC; }
.crm .crm-tin { display: flex; flex-direction: column; gap: 2px; max-width: 78%; } .crm .crm-tin.vao { align-self: flex-start; } .crm .crm-tin.ra { align-self: flex-end; align-items: flex-end; }
.crm .crm-tin-bong { padding: 10px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 14px; line-height: 1.5; white-space: pre-wrap; }
.crm .crm-tin.ra .crm-tin-bong { background: var(--side-on, var(--side-on)); border-color: transparent; }
.crm .crm-chat-soan { padding: 12px 16px; border-top: 1px solid var(--line2); } .crm .crm-hop-ho-so { padding: 16px; }
.crm .crm-chi-dt { display: none; } .crm .crm-thu { min-width: 110px; } .crm .crm-gio { width: 120px; }
@media (max-width: 899px) {
  .crm .crm-3cot { grid-template-columns: 1fr; } .crm .crm-3cot.co-mo .crm-hop-ds, .crm .crm-3cot:not(.co-mo) .crm-hop-trong, .crm .crm-hop-ho-so { display: none; }
  .crm .crm-3cot.co-mo .crm-hop-ho-so { display: block; } .crm .crm-chi-dt { display: inline-flex; } .crm .crm-hop-trong { grid-column: auto; }
  .crm .crm-o-so { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .crm .crm-dem { grid-template-columns: repeat(2, minmax(0, 1fr)); } .crm .crm-2cot, .modal .crm-2cot { grid-template-columns: 1fr; } .crm .crm-thu { min-width: 0; flex: 1 1 100%; } }
.crm .crm-hop-loc .crm-tim { flex: none; }
@media (max-width: 899px) { .crm .crm-3cot { grid-template-columns: minmax(0, 1fr); } .crm .crm-hop-dong > * { min-width: 0; } }
.crm .crm-nhap { margin: 0 16px; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); display: flex; flex-direction: column; gap: 6px; }
.crm .crm-nhap p { margin: 0; white-space: pre-wrap; }
.crm .crm-soan-o textarea { flex: 1 1 220px; font-size: 16px; } .crm .crm-tin-bong.loi { border-color: #F4C7C3; background: #FDECEA; }
/* 2300x — Hộp thư chuẩn: ngăn, lọc gạch chân, nhãn dòng, ô soạn có nháp sẵn */
.crm .crm-hop-ngan { display: flex; gap: 4px; padding: 12px 12px 0; }
.crm .crm-hop-ngan button { flex: 1 1 auto; white-space: nowrap; padding: 0 8px; min-height: 40px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.crm .crm-hop-ngan button.on { background: var(--accent-soft); color: var(--accent-ink, var(--ink)); font-weight: 700; }
.crm .crm-hop-loc { flex-direction: row; align-items: center; border-bottom: 0; }
.crm .crm-hop-loc .crm-tim { flex: 1 1 auto; min-width: 0; } .crm .crm-hop-loc .menu-nut .btn { white-space: nowrap; }
.crm .crm-hop-tab { display: flex; gap: 16px; padding: 0 16px; border-bottom: 1px solid var(--line2); }
.crm .crm-hop-tab button { padding: 8px 0 10px; border: 0; border-bottom: 3px solid transparent; background: none; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.crm .crm-hop-tab button.on { border-bottom-color: var(--sun); color: var(--ink); font-weight: 700; }
.crm .crm-hop-dong .row > span:last-child { white-space: nowrap; flex: none; } .crm .crm-hop-dong.moi b { font-weight: 700; } .crm .crm-hop-dong.moi .crm-1dong { color: var(--ink); }
.crm .crm-hop-nhan { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.crm .crm-nhan { display: inline-block; padding: 1px 6px; border-radius: 6px; background: var(--line2); color: var(--ink2); font-size: 11px; font-weight: 600; }
.crm .crm-nhan.vang { background: color-mix(in srgb, var(--sun) 22%, var(--card)); color: var(--ink); }
.crm .crm-chat-ten { display: flex; flex-direction: column; flex: 1 1 160px; min-width: 0; }
.crm .crm-chat-soan { display: flex; flex-direction: column; gap: 8px; } .crm .crm-chat-soan .crm-nhan { align-self: flex-start; }
.crm textarea.crm-soan-o { width: 100%; box-sizing: border-box; resize: vertical; font-size: 16px; line-height: 1.45; }
.crm .crm-soan-nut { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* 2300x4 — Tin nhắn | Bình luận, ảnh đại diện có chấm nền tảng, Chưa đọc, số trong tin */
.crm .crm-hop-loai { display: flex; margin: 12px 12px 0; padding: 3px; border-radius: 10px; background: var(--line2); }
.crm .crm-hop-loai button { flex: 1; min-height: 34px; border: 0; border-radius: 8px; background: transparent; font: inherit; font-size: 14px; color: var(--ink2); cursor: pointer; white-space: nowrap; }
.crm .crm-hop-loai button.on { background: var(--card); color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.crm .crm-hop-loc { flex-wrap: wrap; gap: 6px; }
.crm .crm-chua-doc { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; } .crm .crm-chua-doc.on { background: var(--accent-soft); border-color: var(--accent); }
.crm .crm-cham-doc { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--accent); display: inline-block; }
.crm .crm-hop-dong { flex-direction: row; align-items: flex-start; gap: 12px; } .crm .crm-hop-than { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.crm .crm-hop-anh { position: relative; width: 40px; height: 40px; flex: none; }
.crm .crm-hop-chu { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.crm .crm-cham { position: absolute; right: -3px; bottom: -3px; width: 18px; height: 18px; border-radius: 50%; background: var(--card); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 1px var(--line2); font-size: 10px; line-height: 1; }
.crm .crm-cham svg { width: 12px; height: 12px; } .crm .crm-cham.nt-facebook { color: #0A7CFF; } .crm .crm-cham.nt-instagram { color: #C13584; }
.crm .crm-cham.nt-zalo { background: #0068FF; color: #fff; box-shadow: 0 0 0 2px var(--card); } .crm .crm-cham.nt-app { background: var(--accent); color: #fff; box-shadow: 0 0 0 2px var(--card); }
.crm .crm-so-tin { display: flex; flex-direction: column; gap: 8px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line2); }
.crm .crm-han { padding: 4px 10px; border-radius: 999px; background: var(--line2); color: var(--ink2); white-space: nowrap; }
.crm .crm-han.do { background: color-mix(in srgb, var(--late) 10%, var(--card)); color: var(--late); }

/* 2300x6 — Bình luận Facebook: mỗi bài một hội thoại (thẻ bài, bình luận + trả lời lùi vào, trả lời công khai / nhắn riêng) */
.crm .crm-bl-anh { position: relative; width: 48px; height: 40px; flex: none; border-radius: 8px; background: var(--line2); display: flex; align-items: center; justify-content: center; color: var(--ink3, var(--ink2)); }
.crm .crm-bl-anh img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
.crm .crm-bl-than { gap: 12px; }
.crm .crm-bl-bai { display: flex; gap: 14px; padding: 12px; border: 1px solid var(--line2); border-radius: 14px; background: var(--card); }
.crm .crm-bl-bai-anh { position: relative; width: 168px; height: 112px; flex: none; border-radius: 10px; overflow: hidden; background: var(--line2); display: flex; align-items: center; justify-content: center; color: var(--ink2); }
.crm .crm-bl-bai-anh img { width: 100%; height: 100%; object-fit: cover; display: block; }
.crm .crm-bl-play { position: absolute; inset: 0; margin: auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.crm .crm-bl-bai-chu { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.crm .crm-bl-bai-nd { margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; overflow-wrap: anywhere; }
.crm .crm-bl-cum { display: flex; flex-direction: column; gap: 6px; }
.crm .crm-bl-mot { display: flex; gap: 10px; align-items: flex-start; } .crm .crm-bl-mot.con { margin-left: 42px; } .crm .crm-bl-mot.mo { opacity: .55; }
.crm .crm-bl-av { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--accent-soft); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.crm .crm-bl-av.trang { width: 28px; height: 28px; background: var(--accent); color: #fff; font-size: 11px; }
.crm .crm-bl-noi { display: flex; flex-direction: column; gap: 2px; min-width: 0; max-width: 85%; }
.crm .crm-bl-bong { padding: 8px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.crm .crm-bl-mot.chon > .crm-bl-noi > .crm-bl-bong { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.crm .crm-bl-bong.trang { background: var(--side-on); border-color: transparent; } .crm .crm-bl-bong.loi { border-color: var(--late); }
.crm .crm-bl-hd { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 2px 14px 0; }
.crm .crm-lk { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 600; color: var(--accent-ink, var(--accent)); cursor: pointer; min-height: 24px; }
.crm .crm-lk.on { color: #E0245E; } .crm .crm-lk:disabled { opacity: .5; cursor: default; }
.crm .crm-bl-hd .crm-nhan { border: 0; cursor: pointer; font: inherit; font-size: 11px; font-weight: 600; }
.crm .crm-nhan.vang { background: #FFF4CC; color: #7A4A00; }
.crm .crm-bl-cach { flex-wrap: wrap; } .crm .crm-bl-tab { margin: 0; flex: none; } .crm .crm-bl-tab button { padding: 0 12px; font-size: 13px; min-height: 32px; }
.crm .crm-bl-tab button:disabled { opacity: .5; cursor: default; }
.crm .crm-bl-sua { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 899px) {
  .crm .crm-bl-bai { flex-direction: column; } .crm .crm-bl-bai-anh { width: 100%; height: 180px; }
  .crm .crm-bl-mot.con { margin-left: 24px; } .crm .crm-bl-noi { max-width: 100%; }
}

/* ===== Phiếu 2100e: AI gợi ý câu chữ (bản vẽ màn 2) ===== */
.cd-ai-hang { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }
.cd-ai-nut { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid #F2D98A; border-radius: 18px; background: #FFFBEB; color: #6B5300;
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.cd-ai-nut:disabled { opacity: .55; cursor: default; }
.cd-ai { border: 1px solid #F2D98A; background: #FFFBEB; border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; }
.cd-ai-dau { display: flex; align-items: center; gap: 8px; color: #6B5300; }
.cd-ai-dau b { font-size: 14px; }
.cd-ai-dong { width: 32px; height: 32px; color: #6B5300; }
.cd-ai-cau { margin: 0; font-size: 15px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.cd-ai-cho { display: flex; align-items: center; gap: 10px; min-height: 44px; color: #6B5300; }
.cd-ai-loi { margin: 0; color: #912018; }
.cd-ai-nuts { display: flex; flex-wrap: wrap; gap: 8px; }
.cd-ai-nuts .btn { min-height: 36px; border-radius: 18px; }

/* ===== Phiếu 2100g (mục 21): ô đăng bài như Facebook — "Thêm vào bài viết" biểu tượng màu, nền màu chữ (Aa) ===== */
/* Biểu tượng màu = ngoại lệ màu Cộng đồng (NGUYEN-TAC mục 7) mở rộng sang các nút chọn trong ô đăng bài; màu đạt ≥ 3 : 1 trên nền trắng */
.cd-soan-than { flex: 1 1 auto; min-height: 0; }
.cd-soan-o-chu { display: flex; flex-direction: column; }
.cd-soan-o-chu.co-nen { border-radius: 16px; min-height: 240px; align-items: center; justify-content: center; padding: 20px; }
.cd-soan-o-chu.co-nen .cd-soan-chu { background: transparent; color: inherit; text-align: center; font-size: 24px; font-weight: 700; line-height: 1.35; min-height: 0; width: 100%; }
.cd-soan-o-chu.co-nen .cd-soan-chu::placeholder { color: inherit; opacity: .75; }
.cd-soan-dem { align-self: flex-end; margin-top: -8px; }
.cd-soan-chan { flex: none; border-top: 1px solid var(--line2); background: var(--card); }
.cd-nen-ds { display: flex; gap: 10px; padding: 10px 12px; overflow-x: auto; border-bottom: 1px solid var(--line2); }
.cd-nen-o { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(31, 35, 41, .14); padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cd-nen-o.khong { background: var(--card); color: var(--muted); border-color: var(--line); }
.cd-nen-o.on { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--accent); }
.cd-them { padding: 4px 0 calc(6px + env(safe-area-inset-bottom, 0px)); }
.cd-them-aa { display: flex; align-items: center; gap: 10px; padding: 6px 16px; }
.cd-aa { width: 44px; height: 44px; flex: none; border-radius: 10px; border: 0; cursor: pointer; font: inherit; font-size: 15px; font-weight: 700;
  background: linear-gradient(135deg, var(--cd-bac-ha) 0%, var(--cd-vang) 50%, var(--cd-hong) 100%); color: var(--cd-bac-ha-chu); }
.cd-aa:disabled { background: var(--line2); color: var(--muted); cursor: default; }
.cd-aa.on { box-shadow: inset 0 0 0 2px var(--accent); }
.cd-them-tieu { display: block; padding: 6px 16px 2px; font-size: 13px; font-weight: 600; color: var(--muted); }
.cd-them-ds { display: flex; flex-direction: column; }
.cd-them-nut { min-height: 52px; border: 0; background: none; font: inherit; font-size: 15px; display: flex; align-items: center; gap: 14px; padding: 0 16px; color: var(--ink); text-align: left; cursor: pointer; }
.cd-them-nut:disabled { cursor: default; }
.cd-them-nut:disabled svg { opacity: .45; }
.cd-them-nut:disabled .cd-them-ten { color: var(--muted); }
.cd-them-nut.on { background: var(--bg); }
.cd-them-nut.mau-xanh-la svg { color: #2E9E4F; }
.cd-them-nut.mau-xanh-duong svg { color: #1F6FD1; }
.cd-them-nut.mau-vang svg { color: #B88600; }
.cd-them-nut.mau-xam svg { color: #6B7280; }
.cd-them-nut.mau-tim svg { color: #7C4DDB; }
/* đang gõ (điện thoại) + máy tính: một hàng biểu tượng — Aa bên trái, các nút bên phải, chữ hiện khi rê chuột (title) */
.cd-them.gon { display: flex; align-items: center; gap: 2px; padding: 4px 8px calc(4px + env(safe-area-inset-bottom, 0px)); }
.cd-them.gon .cd-them-aa { padding: 0; }
.cd-them.gon .cd-them-phu, .cd-them.gon .cd-them-tieu, .cd-them.gon .cd-them-ten { display: none; }
.cd-them.gon .cd-them-ds { flex-direction: row; margin-left: auto; gap: 2px; }
.cd-them.gon .cd-them-nut { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; border-radius: 10px; }
.cd-them.gon .cd-them-nut.mau-tim:not(:disabled) { background: var(--cd-tim); }
@media (min-width: 761px) {
  .cd-them, .cd-them.gon { display: flex; align-items: center; gap: 8px; margin: 10px 16px 14px; padding: 4px 6px 4px 8px; border: 1px solid var(--line); border-radius: 10px; }
  .cd-them .cd-them-aa { padding: 0; }
  .cd-them .cd-them-phu, .cd-them .cd-them-ten { display: none; }
  .cd-them .cd-them-tieu { display: block; padding: 0 4px; color: var(--ink); font-size: 14px; }
  .cd-them .cd-them-ds { flex-direction: row; margin-left: auto; gap: 2px; }
  .cd-them .cd-them-nut { width: 40px; height: 40px; min-height: 40px; padding: 0; justify-content: center; border-radius: 20px; }
  .cd-them .cd-them-nut:not(:disabled):hover { background: var(--line2); }
  .cd-them .cd-them-nut.mau-tim:not(:disabled) { background: var(--cd-tim); }
  .cd-soan-chan { border-top: 0; }
}
/* điện thoại: khung soạn cao bằng phần màn hình còn thấy → chân (hàng biểu tượng) nằm sát trên bàn phím (--vvh, --vvtop: lib/chatGestures.ts) */
@media (max-width: 760px) {
  .cd-soan { height: 100dvh; }
  html.kb-open .cd-soan { position: fixed; left: 0; right: 0; top: var(--vvtop, 0px); height: var(--vvh, 100dvh); max-height: none; }
}
/* bài có nền trên bảng tin: chữ to, canh giữa, màu chữ đậm cùng tông */
.cd-chu-nen { margin: 0 0 2px; min-height: 200px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 28px 24px;
  font-size: 24px; font-weight: 700; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; }
/* ---------- Phiếu 2300e: trang công khai đặt tham quan /dat-tham-quan/ ---------- */
.dtq { min-height: 100vh; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 16px 32px; background: var(--bg); }
.dtq.nhung { min-height: 0; padding: 0; background: transparent; }
.dtq-dau { width: calc(100% + 32px); display: flex; justify-content: center; padding: 14px 16px; background: var(--brand); }
.dtq-dau img { height: 36px; width: auto; }
.dtq-the { width: 100%; max-width: 520px; padding: 18px 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.dtq.nhung .dtq-the { max-width: none; border: 0; }
.dtq-h { font-family: var(--display); font-size: 24px; line-height: 1.2; margin: 0; color: var(--accent-ink); }
.dtq-sub { margin: 0 0 6px; }
.dtq-nhom { border: 0; padding: 0; margin: 10px 0 0; min-width: 0; }
.dtq-nhom legend { padding: 0; margin-bottom: 6px; }
.dtq-ngay, .dtq-gio { display: flex; flex-wrap: wrap; gap: 6px; }
.dtq-gio .btn { min-width: 72px; }
.dtq-bq { display: flex; flex-wrap: wrap; gap: 6px; }
.dtq-bq-khac { margin-top: 8px; width: 100%; }
.dtq-dong-y { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 8px; font-size: 13px; color: var(--ink2); }
.dtq-ts { min-height: 65px; margin-bottom: 10px; max-width: 100%; }
.dtq-loi { color: var(--late); margin: 8px 0; }
.dtq-do { color: var(--late); }
/* 3100t: chọn Đặt tham quan / Đăng ký nhập học; hai ô ngày cạnh nhau (điện thoại: xuống dòng) */
.dtq-chon { display: flex; gap: 6px; margin-bottom: 12px; }
.dtq-chon .btn { flex: 1; }
.dtq-2cot { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 12px; }
.dtq-the select { width: 100%; }
.crm-qr { display: flex; gap: 12px; align-items: center; margin: 10px 0; }
.crm-qr img { width: 96px; height: 96px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.crm-loi { color: var(--late); }
.crm-bang-so tr.loi td:last-child { color: var(--late); font-weight: 600; }
.crm-ma { font-family: ui-monospace, monospace; letter-spacing: .08em; }
.crm-link { word-break: break-all; margin: 0; }
.crm-nhung { width: 100%; min-height: 72px; font-family: ui-monospace, monospace; font-size: 12px; }
/* Phiếu 2300f — Nhập dữ liệu MISA: ghép cột, chọn cơ sở, nhóm cần xử lý (đỏ = cần xử lý) */
.crm .crm-ghep { display: flex; flex-direction: column; margin-top: 6px; }
.crm .crm-ghep .input, .crm .card .crm-dong select.input { max-width: 260px; min-width: 0; flex: 0 1 260px; }
.crm .crm-co-so { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.crm summary.do, .crm td.do, .crm b.do { color: #C9372C; }
@media (max-width: 420px) { .crm .crm-ghep .input, .crm .card .crm-dong select.input { flex-basis: 52%; } }

/* ---------- Phiếu 400h: trình độ & bằng, xem trước HĐ ---------- */
.hr-trinh-do { gap: 4px; }
.hr-dau-nho { font-weight: 400; }
.btn.hr-nut-vien { border-color: var(--accent); color: var(--accent); font-weight: 600; }
.hr-xem-truoc .hr-giay { max-height: none; }
@media (max-width: 480px) { .hr-xem-truoc .hr-giay { padding: 12px 8px; } }
.hr-dc-ds { display: flex; flex-direction: column; gap: 4px; }
/* 1300s: giấy in Bếp ăn theo mẫu bếp — Bảng định lượng chi tiết (A4 dọc) + ô ký cơ sở tự cài */
.kit-bep-tos { display: flex; flex-direction: column; gap: 16px; }
.kit-to-bep { background: #fff; color: #111; border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; font-family: "Times New Roman", Tinos, Times, serif; font-size: 14px; max-width: 820px; width: 100%; margin: 0 auto; }
.kit-to-dau { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.kit-to-ten { text-align: center; font-size: 18px; margin: 12px 0 2px; letter-spacing: .02em; }
.kit-to-phu { text-align: center; font-style: italic; margin-bottom: 10px; font-size: 13px; }
.kit-to-cuon { overflow-x: auto; }
.kit-to-bang { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 520px; }
.kit-to-bang th, .kit-to-bang td { border: 1px solid #333; padding: 4px 6px; vertical-align: middle; }
.kit-to-bang th { background: #f1f3f2; font-weight: 700; text-align: center; font-size: 13px; }
.kit-to-bang td.r { text-align: right; white-space: nowrap; }
.kit-to-bang .c-ca { width: 60px; text-align: center; font-weight: 700; }
.kit-to-bang .c-mon { font-weight: 700; }
.kit-to-bang .c-so { width: 62px; text-align: center; font-weight: 700; }
.kit-to-bang .c-g { width: 96px; } .kit-to-bang .c-kl { width: 104px; }
.kit-to-bang tr.kit-to-giavi td:not(.c-ca):not(.c-mon):not(.c-so) { color: #555; }
.kit-to-diung { font-size: 13px; margin: 8px 0 0; }
.kit-in-oky { display: grid; gap: 10px; margin-top: 18px; text-align: center; font-size: 13px; break-inside: avoid; }
.kit-in-oky-ngay { grid-column: 1 / -1; text-align: right; font-style: italic; }
.kit-in-oky-o { display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 104px; }
.kit-in-oky-o b { text-transform: uppercase; }
.kit-in-oky-hd { font-style: italic; font-size: 11.5px; }
.kit-in-oky-app { margin-top: 6px; font-size: 11px; border: 1px dashed #666; padding: 1px 6px; }
.kit-in-oky-ten { margin-top: auto; font-weight: 700; }
.kit-in-oky-trong { margin-top: auto; }
@page bepdoc { size: A4 portrait; margin: 12mm; }
@media print {
  .kit-to-bep { page: bepdoc; border: 0; border-radius: 0; padding: 0; max-width: none; break-after: page; }
  .kit-to-bep:last-child { break-after: auto; }
  .kit-to-cuon { overflow: visible; } .kit-to-bang { min-width: 0; }
}
.kit-oky-luoi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.kit-oky-o { border: 1px solid var(--line); border-radius: 10px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; }
.kit-oky-o > .row { grid-column: 1 / -1; }
.kit-oky-o .field { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kit-oky-chep { width: auto; min-height: 32px; font-size: 13px; }
.kit-oky-xem { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.kit-oky-to { padding: 14px 16px; font-size: 12px; } .kit-oky-to .kit-to-ten { font-size: 15px; }
.kit-oky-giua { text-align: center; border: 1px dashed var(--line); padding: 18px 6px; margin-top: 8px; }
@media (max-width: 760px) { .kit-oky-luoi { grid-template-columns: minmax(0, 1fr); } .kit-oky-o { grid-template-columns: minmax(0, 1fr); } }
@media print {
  body.in-bang-bep .page.kit-dinhluong > :not(.kit-bep-tos) { display: none !important; }
  body.in-bang-bep .page.kit-dinhluong { padding: 0 !important; max-width: none !important; }
  body.in-bang-bep .kit-bep-tos { gap: 0; }
}
/* 1300q: màn Suất ăn của tổ bếp — hai số Nấu / Chia */
.kit-suat-ngay { margin: 0 0 10px; }
.kit-suat-tong { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.kit-suat-tong > div, .kit-suat-2so > div { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 12px; border-radius: 10px; background: var(--bg); }
.kit-suat-tong b { font-size: 34px; line-height: 1.1; }
.kit-suat-2so { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 6px; }
.kit-suat-2so b { font-size: 26px; line-height: 1.1; }
.kit-duphong-dau { width: 100%; background: none; border: 0; padding: 0; min-height: 44px; cursor: pointer; text-align: left; color: inherit; font: inherit; gap: 8px; }
.kit-duphong-rieng { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

/* 1300r — thanh lưu Tính khẩu phần (ngay dưới nút, không bật hộp) */
.kit-thanh-luu { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 12px; border: 1px solid #BFD8DC; }
.kit-thanh-luu.bat-thuong { border-color: #F2B8B5; }
.kit-thanh-luu-chip { flex-wrap: wrap; align-items: center; }
.kit-thanh-luu-nut { align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.kit-gia-cho-o { display: block; font-size: 11px; color: #7A4A00; }
.kit-gia-nut { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline dotted var(--accent); text-underline-offset: 3px; }
.kit-gia-nut:hover, .kit-gia-nut:focus-visible { color: var(--accent); }
@media print { .kit-gia-nut { text-decoration: none; } }
/* Phiếu 400i: danh sách chữ trong hộp huỷ hồ sơ */
.hr-ds-chu { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }

/* ---------- Cộng đồng 2100h: Bình chọn (bản vẽ hàng 2 — nền trắng như bài thường, điểm nhấn màu chủ đạo; thẻ kết quả cam nhạt) ---------- */
.cdt-cam { --n: var(--cd-cam); --c: var(--cd-cam-chu); --v: #F6C2B0; }
.cd-them-nut.mau-cam svg { color: #C2410C; }
.bc { padding: 4px 16px 6px; display: flex; flex-direction: column; gap: 8px; }
.bc-nhan { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bc-loai { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--accent); }
.bc-phu { font-size: 12px; color: var(--muted); }
.bc-han { font-size: 12px; color: var(--muted); background: var(--line2); border-radius: 999px; padding: 3px 10px; }
.bc-han.sap { color: var(--cd-cam-chu); background: var(--cd-cam); font-weight: 700; }
.bc-hoi { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.bc-an { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--accent-ink); }
.bc-ds { display: flex; flex-direction: column; gap: 8px; }
.bc-pa { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border: 1px solid #D5DCE6;
  border-radius: 12px; background: var(--card); color: var(--ink); font: inherit; font-size: 15px; text-align: left; cursor: pointer; }
.bc-pa > * { position: relative; }
.bc-pa .bc-thanh { position: absolute; left: 0; top: 0; bottom: 0; background: #EEF3F3; transition: width .3s ease-out; }
.bc-pa.on { border: 2px solid var(--accent); padding: 0 11px; font-weight: 700; }
.bc-pa.on .bc-thanh { background: #D3ECE9; }
.bc-pa:disabled { cursor: default; color: var(--ink); }
.bc.khoa .bc-pa:not(.dau) { color: var(--muted); }
.bc.khoa .bc-pa.dau { border: 2px solid var(--accent); padding: 0 11px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .bc-pa .bc-thanh { transition: none; } }
.bc-o { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid #9AA4B2; background: #fff; display: grid; place-items: center; color: #fff; }
.bc-o.vuong { border-radius: 6px; }
.bc-pa.on .bc-o { border-color: var(--accent); background: var(--accent); }
.bc-ten { flex: 1; min-width: 0; overflow-wrap: anywhere; padding: 10px 0; }
.bc-thang { font-size: 11px; font-weight: 600; color: var(--accent-ink); background: #fff; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.bc-anh .avatar { border: 2px solid var(--card); }
.bc-pt { font-weight: 700; font-size: 14px; color: var(--accent-ink); min-width: 38px; text-align: right; }
.bc-them { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; padding: 0; }
.bc-them-o { display: flex; gap: 6px; align-items: center; }
.bc-them-o input { flex: 1; min-width: 0; min-height: 44px; }
.bc-dong { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); min-height: 32px; }
.bc-kq { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 44px; }
.lat { transform: rotate(180deg); }
.quay-xuong { transform: rotate(-90deg); }
.bc-kq-than { display: flex; flex-direction: column; gap: 14px; }
.bc-kq-hoi { font-size: 17px; }
.bc-kq-ai { display: flex; gap: 6px; align-items: center; margin-top: 4px; }
.bc-kq-ds { display: flex; flex-direction: column; gap: 14px; }
.bc-kq-dong { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.bc-kq-dong span { color: var(--accent-ink); font-weight: 600; white-space: nowrap; }
.bc-kq-thanh { display: block; height: 8px; border-radius: 4px; background: #EEF3F3; margin-top: 6px; overflow: hidden; }
.bc-kq-thanh i { display: block; height: 8px; border-radius: 4px; background: var(--accent); }
.bc-kq-mo { display: inline-flex; align-items: center; gap: 10px; border: 0; background: none; color: var(--accent); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; min-height: 40px; padding: 0; }
.bc-kq-nguoi { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bc-kq-nguoi li { display: flex; align-items: center; gap: 10px; }
.bc-kq-chua { display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--cd-vang-vien); background: var(--cd-vang); color: #3B3000; border-radius: 14px; padding: 12px 14px; }
.bc-kq-chua b { color: var(--cd-vang-chu); }
.bc-nhac { align-self: flex-start; }
.bc-kq-nut { display: flex; gap: 8px; flex-wrap: wrap; }
.bc-kq-gh { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.bc-tao-than { display: flex; flex-direction: column; gap: 14px; padding: 12px 16px 24px; overflow-y: auto; }
.bc-noi { color: var(--ink); }
.bc-mau { display: flex; flex-direction: column; gap: 6px; }
.bc-mau > div { display: flex; gap: 6px; flex-wrap: wrap; }
.bc-mau button { min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font: inherit; font-size: 13px; cursor: pointer; }
.bc-nhan-o { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink2); }
.bc-hoi-o { min-height: 50px; font-size: 17px; font-weight: 600; border: 1.5px solid var(--accent); border-radius: 12px; padding: 0 14px; }
.bc-pa-ds { display: flex; flex-direction: column; gap: 8px; }
.bc-nhan-o.bc-nhan-dong { flex-direction: row; gap: 4px; }
.bc-pa-o { display: flex; align-items: center; gap: 6px; }
.bc-pa-o input { flex: 1; min-width: 0; min-height: 46px; border-radius: 12px; font-size: 15px; }
.bc-pa-o input.moi { border-style: dashed; background: #FAFBFC; }
.bc-keo { display: flex; flex-direction: column; }
.bc-keo button { border: 0; background: none; color: #9AA4B2; width: 28px; height: 22px; display: grid; place-items: center; cursor: pointer; }
.bc-keo button:disabled { opacity: .3; cursor: default; }
.bc-loi { color: var(--late); }
.bc-tc { display: flex; align-items: center; gap: 10px; min-height: 56px; border: 1px solid var(--line); background: var(--bg); border-radius: 14px; padding: 0 14px; text-align: left; font: inherit; cursor: pointer; color: var(--ink); }
.bc-tc-ds { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; }
.bc-tc-ds label { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: 15px; }
.bc-tc-ds label + label { border-top: 1px solid var(--line2); }
.bc-tc-ds input[type=checkbox] { width: 20px; height: 20px; flex: none; }
.bc-han-chon { justify-content: space-between; }
.bc-han-chon select { width: auto; }

/* Phiếu 300d-B — Sự kiện: tab Việc (đếm ngược, chấm trạng thái), giao việc từ mẫu, lịch năm học, mẫu sự kiện */
.sk-viec, .sk-giao, .sk-lich { display: flex; flex-direction: column; gap: 12px; }
.sk-dem { gap: 6px; }
.sk-dem-so { font-family: 'Be Vietnam Pro', sans-serif; font-size: 26px; font-weight: 700; line-height: 1.15; }
.sk-link-hang { display: flex; flex-wrap: wrap; gap: 0 14px; } .sk-link-hang .link { min-height: 44px; display: inline-flex; align-items: center; }
.sk-viec-ds { padding-top: 2px; padding-bottom: 2px; }
.sk-viec-dong { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.sk-viec-dong:last-child { border-bottom: 0; }
.sk-viec-chu { display: flex; flex-direction: column; gap: 2px; color: inherit; min-width: 0; min-height: 40px; }
.sk-gach { text-decoration: line-through; color: var(--muted); }
.sk-tick { width: 26px; height: 26px; flex: none; border-radius: 7px; border: 2px solid #4A5565; background: #fff; margin: 2px 2px 0; cursor: pointer; padding: 0; }
.sk-tick:hover { border-color: var(--brand); }
.sk-cham { width: 12px; height: 12px; flex: none; border-radius: 50%; margin: 6px 9px 0; display: inline-block; box-sizing: border-box; }
.sk-cham.dang { background: #fff; box-shadow: inset 0 0 0 2px #8A9199; }
.sk-cham.xong { background: var(--ok); } .sk-cham.tre { background: var(--late); }
.sk-cham.xem { background: #fff; box-shadow: inset 0 0 0 2px #B98900; }
.sk-chu-giai { display: flex; flex-wrap: wrap; gap: 4px 14px; } .sk-chu-giai span { display: inline-flex; align-items: center; } .sk-chu-giai .sk-cham { margin: 0 6px 0 0; }
.sk-giao-dong { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line2); }
.sk-giao-dong:last-child { border-bottom: 0; } .sk-giao-dong.thut { padding-left: 32px; }
.sk-giao-chon { display: flex; align-items: flex-start; gap: 10px; min-height: 40px; flex: 1; min-width: 0; cursor: pointer; }
.sk-giao-chon input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; }
.sk-giao-ghi { flex-basis: 100%; margin-left: 32px; }
.sk-giao-tom { padding: 4px 0 0 32px; }
.sk-chon-nguoi { max-height: 52vh; overflow: auto; }
.sk-mau-the { text-align: left; width: 100%; font: inherit; color: inherit; border: 0; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.sk-mau-the.on { box-shadow: inset 0 0 0 2px var(--brand); }
.sk-lich-muc { gap: 6px; }
.sk-lich-dau { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sk-lich-ngay { min-height: 44px; border-radius: 10px; }
.sk-lich-trung { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; background: #FFF6DB; border-radius: 10px; padding: 8px 10px; }
.sk-mau-moc { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.sk-so-ngay { width: 64px; flex: none; text-align: center; }
.sk-mau-viec { gap: 8px; }
.sk-viec-cua { display: block; color: inherit; text-decoration: none; }
.sk-tabs a { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 9px; color: var(--ink2); font-weight: 600; font-size: 14px; text-decoration: none; }
.sk-tabs a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
/* ---------- Cộng đồng 2100i: bảng tin tự cập nhật, sinh nhật hôm nay, câu chúc gợi sẵn ---------- */
.cd-bai-moi { position: sticky; top: 8px; z-index: 5; align-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px;
  border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 24, 40, .25); animation: cd-truot .3s ease-out; }
@keyframes cd-truot { from { transform: translateY(-10px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cd-nay { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
.cd-cx-vo.nay .cd-cx-nut > :first-child { animation: cd-nay .4s ease-out; }
@media (prefers-reduced-motion: reduce) { .cd-bai-moi, .cd-cx-vo.nay .cd-cx-nut > :first-child { animation: none; } }
.cd-sn { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.cd-sn-tieu { font-size: 14px; }
.cd-sn-ds { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 2px; }
.cd-sn-ds button { flex: none; display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 64px; min-height: 44px; border: 0; background: none;
  font: inherit; font-size: 12px; color: var(--ink); cursor: pointer; padding: 0; }
.cd-sn-ds button:disabled { cursor: default; }
.cdt-chuc { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 2px; }
.cdt-chuc button { flex: none; max-width: 280px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--cd-hong-vien); border-radius: 20px; background: var(--card);
  color: var(--ink); font: inherit; font-size: 13px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.cdt-chuc button:disabled { opacity: .6; cursor: default; }
.hr-tn-ds { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.hr-tn-ds li { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 40px; border-top: 1px solid var(--line2); }
/* 1000u — đặt hàng đồng phục theo bảng size */
.dp-khoi-gon { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; min-height: 52px; border: 0; text-align: left; font: inherit; cursor: pointer; }
.dp-khoi-gia { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; padding-top: 4px; padding-bottom: 4px; }
.dp-khoi-gia label { display: flex; flex-direction: column; gap: 2px; } .dp-khoi-gia .dp-rieng { flex-direction: row; align-items: center; gap: 6px; min-height: 34px; }
.dp-bang-size tr.dp-size-moi td { background: #EAF1FB; }
.dp-size-them { display: flex; flex-direction: column; gap: 6px; padding-top: 8px; padding-bottom: 10px; border-top: 1px dashed var(--line2); }
.dp-size-them input { flex: 1; min-width: 0; }
.dp-chip { display: flex; flex-wrap: wrap; gap: 6px; } .dp-chip .btn { min-height: 36px; border-radius: 18px; }
button.lk { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.dp-gia-doi { display: flex; flex-direction: column; gap: 4px; } .dp-gia-doi .no { display: flex; justify-content: space-between; gap: 8px; background: var(--card); border-radius: 8px; padding: 8px 10px; color: var(--ink); }
.dp-size-moi-bao { background: #EAF1FB; color: #1A4A8A; font-size: 13px; }
.dm-size { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line2); }
.dm-size-o { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 10px 0 12px; border: 1px solid var(--line2); border-radius: 18px; font-size: 14px; }
.dm-size-o.moi { background: #EAF1FB; border-color: #8DB3E2; } .dm-size-o.ngung { border-style: dashed; color: var(--muted, #5B6666); }
.dm-size .row-gap input { flex: 1; min-width: 0; }
/* Phiếu 800j: dòng báo "Mới thêm vào bàn" — tên ô + nút Ẩn ô */
.blv-chuan-moi .blv-moi-o { display: inline-flex; align-items: center; gap: 2px; margin-right: 8px; font-weight: 600; }
.blv-chuan-moi .blv-moi-o .btn { min-height: 44px; }

/* ===== Phiếu 300d-B đợt B2: Kho gắn sự kiện, đồ từ kho, Gantt, ô chi / trẻ ===== */
.sk-kho-dong { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.sk-kho-dong .link { min-height: 32px; padding: 0 4px; }
.sk-kho-tag { display: inline-flex; align-items: center; border-radius: 6px; padding: 1px 7px; font-size: 12px; font-weight: 600; background: #EEE7FB; color: #4B2C86; }
.sk-kho-chon { border: 0; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 2px; }
.sk-kho-opt { display: flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; }
.sk-kho-opt input[type=radio], .sk-kho-opt input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.sk-kho-m3 { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin: 4px 0; }
.sk-kho-m3 legend { padding: 0 4px; font-size: 13px; }
.sk-kho-warn { background: #FFF1CC; color: #6B4A00; border-radius: 8px; padding: 6px 10px; margin: 4px 0; }
.sk-kho-chenh { display: inline-block; margin-left: 6px; border-radius: 999px; padding: 0 8px; font-size: 11px; font-weight: 600; background: #FFF1CC; color: #6B4A00; white-space: nowrap; }
.sk-kho .sk-bang { margin-top: 6px; }

.sk-gantt { display: flex; flex-direction: column; gap: 8px; }
.sk-gantt-loc { align-items: center; flex-wrap: wrap; }
.sk-gantt-chu { margin-left: auto; }
.sk-gantt-khung { display: flex; align-items: flex-start; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sk-gantt-bang { flex: 1; min-width: 0; overflow-x: auto; }
.sk-gantt-hang { display: flex; border-bottom: 1px solid var(--line2); min-height: 40px; }
.sk-gantt-ten { position: sticky; left: 0; z-index: 2; background: var(--card); flex: none; width: 280px; box-sizing: border-box; padding: 6px 10px;
  display: flex; align-items: center; gap: 6px; border-right: 1px solid var(--line2); }
.sk-gantt-tv { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.sk-gantt-ten .sk-cham { margin: 0; }
.sk-gantt-truc { position: relative; flex: none; height: 40px; }
.sk-gantt-dau .sk-gantt-ten, .sk-gantt-dau { background: #F7F8F9; font-weight: 600; color: var(--ink2); }
.sk-gantt-moc, .sk-gantt-moc .sk-gantt-ten { background: #F7F8F9; }
.sk-gantt-moc .link { min-height: 32px; padding: 0; }
.sk-gantt-moc-ngay { position: absolute; top: 11px; font-size: 12px; color: var(--muted); padding-left: 4px; font-weight: 500; }
.sk-gantt-luoi { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line2); }
.sk-gantt-hn { position: absolute; top: 0; bottom: 0; width: 2px; background: #F5B400; }
.sk-gantt-hoi { position: absolute; top: 0; bottom: 0; width: 2px; background: #9B1C1C; }
.sk-gantt-thanh { position: absolute; top: 10px; height: 20px; min-height: 0; padding: 0; border: 0; border-radius: 6px; background: var(--accent); cursor: pointer; touch-action: none; }
.sk-gantt-thanh.keo { cursor: grab; } .sk-gantt-thanh.keo:active { cursor: grabbing; }
.sk-gantt-thanh.xong { background: #8FC5A6; } .sk-gantt-thanh.tre { background: var(--late); }
.sk-gantt-thanh.chon { outline: 3px solid #F5B400; outline-offset: 1px; }
.sk-gantt-thanh.thoi { width: 16px; height: 16px; top: 12px; border-radius: 3px; transform: rotate(45deg); }
.sk-gantt-ben { flex: none; width: 320px; box-sizing: border-box; padding: 14px 16px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.sk-gantt-tieu { margin: 0; font-size: 16px; }
.sk-gantt-truoc { border: 0; padding: 0; margin: 0; max-height: 260px; overflow: auto; }
.sk-gantt-doi { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.sk-chi-tre-chon { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; }

/* B2c: tab Gantt dùng hết bề ngang */
.page.kp.sk-rong { max-width: none; }

/* ---------- 600i: bảng lương rộng, góc nhìn, chọn cột, phóng to ---------- */
.page.pay.pay-trang-rong { max-width: none; }
.pay-goc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 10px; }
.pay-goc-ds { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-goc .btn.on { background: var(--side-on); color: var(--accent, var(--accent)); border-color: var(--accent, var(--accent)); font-weight: 600; }
.pay-goc .pay-goc-to { font-weight: 600; }
.pay-chon-cot { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.pay-chon-cot-luoi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pay-chon-cot-nhom { display: flex; flex-direction: column; gap: 2px; }
.pay-chon-cot-o { display: flex; align-items: center; gap: 8px; font-size: 14px; min-height: 30px; cursor: pointer; }
@media (max-width: 900px) { .pay-chon-cot-luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pay .pay-bang-cuon.card { max-height: calc(100vh - 140px); overflow: auto; }
.pay-bang-luong thead tr.pay-dau-cot th { position: sticky; top: 0; z-index: 2; background: var(--card); box-shadow: 0 1px 0 var(--line, #E2E5DF); }
.pay-bang-luong thead tr.pay-dau-cot th:first-child, .pay-bang-luong thead tr.pay-dau-cot th:last-child { z-index: 4; }
.pay-bang-luong tfoot th, .pay-bang-luong tfoot td { position: sticky; bottom: 0; z-index: 2; background: #F2F4F1; box-shadow: 0 -1px 0 var(--line, #E2E5DF); }
.pay-bang-luong tfoot th:first-child, .pay-bang-luong tfoot td:last-child { z-index: 4; }
.pay-bang-luong td.pay-o-vang { background: #FFF1D6; color: #7A4B00; font-weight: 600; }
.pay-bang-luong td.pay-o-do { background: #FDECEA; color: #8A1C12; font-weight: 600; }
.pay-thang.gon .pay-bang-luong th, .pay-thang.gon .pay-bang-luong td { padding-top: 3px; padding-bottom: 3px; font-size: 12.5px; }
body.pay-phong-to .shell > .side, body.pay-phong-to .topbar, body.pay-phong-to .page-head { display: none !important; }
body.pay-phong-to .content { padding: 8px 12px; }
/* 1300z: nút Phóng to Thực đơn tuần chỉ ở máy tính (điện thoại không đổi) */
@media (max-width: 899px) { .kit-td-to { display: none; } }
.pay-thang.phong-to > :not(.pay-goc):not(.pay-chon-cot):not(.pay-khung):not(.pay-loc) { display: none; }
.pay-thang.phong-to .pay-khung { grid-template-columns: minmax(0, 1fr); }
.pay-thang.phong-to .pay-khung > .pay-ngan { display: none; }
.pay-thang.phong-to .pay-bang-cuon.card { max-height: calc(100vh - 120px); }


/* ---------- Marketing (phiếu 2500c): Lịch tháng ---------- */
.mkt .mkt-dieu-huong { flex-wrap: wrap; }
.mkt .mkt-kieu { display: inline-flex; gap: 4px; }
.mkt-tom-tat { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; margin-bottom: 12px; }
.mkt-tom-tat > :only-child { grid-column: 1 / -1; }
.mkt-nhom, .mkt-suc { display: flex; flex-direction: column; gap: 8px; }
.mkt-thanh { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: #EEF0F3; }
.mkt-thanh > span { min-width: 4px; }
.mkt-thanh-0 { background: #2F7A73; } .mkt-thanh-1 { background: #B7791F; } .mkt-thanh-2 { background: #5B6FB5; } .mkt-thanh-3 { background: #9B4F96; } .mkt-thanh-4 { background: #C2412D; }
.mkt-chu-giai { display: inline-flex; align-items: center; gap: 4px; }
.mkt-cham { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.mkt-hang-nut { margin-bottom: 12px; align-items: center; }
.mkt-than { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.mkt-cho { display: flex; flex-direction: column; gap: 10px; }
.mkt-the-cho { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.mkt-xep { flex-wrap: wrap; }
.mkt-xep .ongay[data-kieu=date] { min-height: 32px; max-width: 150px; font-size: 13px; }
.mkt-bang-boc, .mkt-luoi-boc { overflow-x: auto; }
.mkt-bang { width: 100%; border-collapse: collapse; font-size: 14px; }
.mkt-bang th { text-align: left; font-size: 12px; color: var(--ink2); padding: 10px 12px; background: #FAFBFC; }
.mkt-bang td { padding: 10px 12px; border-top: 1px solid var(--line, #E4E7EB); vertical-align: top; }
.mkt-bang .nowrap { white-space: nowrap; }
.mkt-luoi { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 700px; }
.mkt-luoi th { font-size: 12px; color: var(--ink2); padding: 8px 6px; text-align: left; background: #FAFBFC; }
.mkt-luoi td { height: 104px; vertical-align: top; padding: 6px; border-top: 1px solid var(--line, #E4E7EB); border-right: 1px solid var(--line, #E4E7EB); }
.mkt-luoi td.ngoai { background: #FAFBFC; }
.mkt-luoi td.nay { box-shadow: inset 0 0 0 2px var(--accent); }
.mkt-luoi td.tha { background: var(--accent-soft, #E0F2F1); }
.mkt-the { display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; margin-top: 4px; padding: 4px 6px; font-size: 12px; line-height: 1.3;
  border: 0; border-left: 3px solid var(--accent); border-radius: 6px; background: #EEF0F3; cursor: grab; }
.mkt-moc-o { color: var(--accent); font-weight: 600; margin-top: 2px; line-height: 1.25; }
.mkt-dai-moc { padding: 8px 12px 0; margin: 0; }
.mkt-them-o { border: 0; background: none; color: var(--ink2); font-size: 16px; line-height: 1; min-width: 24px; min-height: 24px; cursor: pointer; }
.mkt-goi-y { padding: 8px 12px; margin: 0; }
.mkt-kenh { border: 0; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
@media (max-width: 899px) {
  .mkt-tom-tat, .mkt-than { grid-template-columns: minmax(0, 1fr); }
}
/* Marketing 2500d: bài, duyệt */
.mkt-loc { margin-bottom: 12px; flex-wrap: wrap; }
.mkt-soan { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.mkt-soan-trai { display: flex; flex-direction: column; gap: 12px; }
.mkt-soan-phai { display: flex; flex-direction: column; gap: 10px; }
.mkt-tab-kenh { flex-wrap: wrap; }
.mkt-xem-truoc { border: 1px solid var(--line, #E4E7EB); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; background: #FAFBFC; }
.mkt-dang-kenh { display: flex; flex-direction: column; gap: 6px; padding-top: 4px; }
.mkt-dg { display: grid; gap: 12px; }
.mkt-dg h3 { margin: 0 0 8px; font-size: 1rem; }
.mkt-dg-qr-hang { display: flex; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.mkt-dg-qr { width: 160px; height: 160px; background: #fff; border-radius: 8px; padding: 4px; flex-shrink: 0; }
.mkt-dg-qr svg { width: 100%; height: 100%; }
.mkt-dg-qr-chu { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; min-width: 0; word-break: break-all; }
.mkt-dg-sao-to { font-size: 1.6rem; }
.mkt-dg-ds { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 6px; }
.mkt-dg-ds li { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--line, #e5e7eb); }
.mkt-dg-muc { padding: 10px 0; border-top: 1px solid var(--line, #e5e7eb); display: grid; gap: 6px; }
.mkt-dg-muc.xau .mkt-dg-sao { color: #b42318; }
.mkt-dg-sao { color: #f59e0b; letter-spacing: 1px; }
.mkt-dg-nd { margin: 0; white-space: pre-wrap; }
.mkt-dg-tl { margin: 0; padding-left: 10px; border-left: 3px solid var(--line, #e5e7eb); white-space: pre-wrap; }
.mkt-web { display: grid; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line, #e5e7eb); margin-bottom: 8px; }
.mkt-web-anh { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.mkt-web-anh > img { max-width: 260px; border-radius: 8px; }
.mkt-web-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; width: 100%; }
.mkt-web-luoi figure { margin: 0; display: grid; gap: 4px; }
.mkt-web-luoi img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.mkt-web-dung { margin-bottom: 12px; }
.mkt-web-ds { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.mkt-web-ds li { display: flex; gap: 12px; padding: 10px; align-items: flex-start; }
.mkt-web-ds li.an { opacity: .6; }
.mkt-web-ds img { width: 120px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.mkt-web-ds-chu { display: grid; gap: 4px; min-width: 0; }
@media (max-width: 560px) { .mkt-web-ds img { width: 84px; } }
.mkt-web-cho { margin-bottom: 12px; display: grid; gap: 10px; }
.mkt-web-cho-dong { border-top: 1px solid var(--line, #e5e7eb); padding-top: 8px; display: grid; gap: 4px; }
.mkt-web-cho-anh, .mkt-web-khoi-anh { max-width: 200px; border-radius: 6px; display: block; }
.mkt-web-khoi { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.mkt-web-khoi li { border-top: 1px solid var(--line, #e5e7eb); padding-top: 8px; display: grid; gap: 4px; }
.mkt-kiem { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.mkt-kiem-sai { border-left: 4px solid #B42318; }
.mkt-gop-y { display: flex; flex-direction: column; gap: 8px; }
.mkt-gop-y-dong { background: #F1F3F5; border-radius: 10px; padding: 8px 10px; }
.mkt-gop-y-dong.cua-toi { background: var(--accent-soft, #E0F2F1); }
.mkt-gop-y textarea { flex: 1; }
.mkt-chan { position: sticky; bottom: 0; background: var(--bg, #F4F5F7); padding: 12px 0; margin-top: 12px; }
.mkt-cot-boc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.mkt-cot { background: #EBEEF1; border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.mkt-the-duyet { display: flex; gap: 10px; padding: 10px 12px; align-items: flex-start; }
.mkt-the-duyet input[type=checkbox] { margin-top: 3px; width: 18px; height: 18px; flex: none; }
@media (max-width: 899px) { .mkt-soan, .mkt-cot-boc { grid-template-columns: minmax(0, 1fr); } }
/* 1300z: nhãn / nhắc "Kiểm quy đổi" */
.kit-nhac-qd { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; color: inherit; text-decoration: none; }
.kit-qd-hop { margin: 8px 0; display: grid; gap: 6px; }

/* ---------- Phiếu 1600g — bên Lớp học (anh Cường chốt 11/11/2026 13:44): ngoại lệ bảng màu chung, CHỈ trong .shell.ben-lop-hoc.
   Nền kem; trang Lớp hôm nay có hình nền mầm non (mây, lá, sao, chấm màu) + đầu trang dải nắng; tiêu đề chữ Baloo 2 (--display).
   Màu báo hiệu giữ nghĩa (đỏ = an toàn bé, vàng = việc cần làm, xanh = xong); màu trang trí không dùng vàng / cam. Thanh dưới riêng (lib/thanh-duoi THANH_LOP_HOC). */
.shell.ben-lop-hoc .main-col { background: #FFFCF5; }
.shell.ben-lop-hoc .page.lhn {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg opacity='.55'%3E%3Cpath d='M30 52a12 12 0 0 1 22-6 10 10 0 0 1 16 8 8 8 0 0 1-2 16H32a10 10 0 0 1-2-18z' fill='%23E1ECFA'/%3E%3Cpath d='M150 150c14-14 34-12 40 0-12 12-30 14-40 0z' fill='%23DDF1EE'/%3E%3Cpath d='M60 160l5 10 11 2-8 8 2 11-10-5-10 5 2-11-8-8 11-2z' fill='%23FBE1EC'/%3E%3Ccircle cx='110' cy='100' r='4' fill='%23FFE3DD'/%3E%3Ccircle cx='20' cy='120' r='3' fill='%239FD6D0'/%3E%3Ccircle cx='170' cy='40' r='9' fill='%23E8F4DF'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat; }
.shell.ben-lop-hoc .page.lhn .page-head { padding: 18px 16px 14px; border-radius: 22px; margin-bottom: 12px;
  background: radial-gradient(circle at 92% 24%, rgba(255,255,255,.6) 0 30px, transparent 31px), linear-gradient(160deg, #FFF3C4 0%, #FFE9D6 55%, #DDF1EE 100%); }
.shell.ben-lop-hoc .page.lhn h1, .shell.ben-lop-hoc .lhn h2.kit-ten-lop { font-family: var(--display); }
.shell.ben-lop-hoc .lhn-the { border-radius: 18px; }
.shell.ben-lop-hoc .bottombar .on { position: relative; }
.shell.ben-lop-hoc .bottombar a.on svg { background: #DDF1EE; border-radius: 14px; padding: 3px 13px; box-sizing: content-box; }
.bottombar .tb-sap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; font-size: 11px; color: var(--muted); opacity: .5; cursor: default; }
.bottombar .tb-sap.tb-noi .tb-noi-tron { width: 52px; height: 52px; margin-top: -18px; border-radius: 50%; background: var(--muted); color: #fff; display: flex; align-items: center; justify-content: center; }
/* Màn Thêm bên Lớp học: lưới mục nhiều màu nhạt (mây, bạc hà, tím, hồng, lá) */
.them-chuyen-ben button { width: 100%; }
.them-chuyen-ben .badge { position: static; margin-right: 6px; }
.them-lop-hoc a[data-mau="0"] .them-bt { background: #DDF1EE; } .them-lop-hoc a[data-mau="1"] .them-bt { background: #E1ECFA; }
.them-lop-hoc a[data-mau="2"] .them-bt { background: #ECE4F8; } .them-lop-hoc a[data-mau="3"] .them-bt { background: #FBE1EC; }
.them-lop-hoc a[data-mau="4"] .them-bt { background: #E8F4DF; }
@media (prefers-color-scheme: dark) {
  /* Giao diện tối: bỏ hình nền và dải màu sáng (bản tối đầy đủ làm sau — chốt 11/11) */
  .shell.ben-lop-hoc .main-col { background: var(--bg); }
  .shell.ben-lop-hoc .page.lhn { background-image: none; }
  .shell.ben-lop-hoc .page.lhn .page-head { background: var(--card); }
  .shell.ben-lop-hoc .bottombar a.on svg { background: var(--accent-soft); }
  .them-lop-hoc a .them-bt { background: var(--accent-soft) !important; }
}

/* ---------- Phiếu 1600t — công tắc "Lớp học | Nội bộ" kiểu EMIS + trang Toàn trường hôm nay (anh chốt 12/11/2026).
   Màu báo hiệu: đỏ = việc gấp / không phép, cam = chưa điểm danh SAU giờ chốt, xanh = đi học, tím = có phép, xám = chưa tới giờ. ---------- */
.cong-tac-ben { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-top: 12px; border-radius: 18px; background: rgba(255,255,255,.85);
  box-shadow: 0 2px 8px rgba(31,74,85,.08); width: 100%; max-width: 420px; }
.cong-tac-ben button { min-height: 44px; border: 0; border-radius: 14px; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.cong-tac-ben button.on { background: var(--accent); color: #fff; font-weight: 700; }
.cong-tac-ben .badge { position: static; }
.page-head .cong-tac-ben { flex-basis: 100%; }
.page.blv .cong-tac-ben { background: #E9ECEE; box-shadow: none; }
.page.blv .cong-tac-ben button.on { background: #fff; color: var(--accent); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.lht .page-head { flex-wrap: wrap; }
.lht-dau { display: flex; flex-direction: column; gap: 2px; }
.lht-than { display: flex; flex-direction: column; gap: 12px; }
.lht-gap { background: #FDE8E4; border: 1px solid #F3B5A8; border-radius: 18px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.lht-gap h2 { font-size: 15px; color: #A33A1F; font-family: inherit; }
.lht-gap-dong { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 8px 10px; }
.lht-gap-dong .grow { display: flex; flex-direction: column; min-width: 0; } .lht-gap-dong .sm { color: #7A2A16; }
.lht-the { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; }
.lht-so4, .lht-so3 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.lht-so3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 10px; }
.lht-so4 > *, .lht-so3 > * { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 14px; text-align: center; min-height: 44px; }
.lht-so4 b, .lht-so3 b { font-family: var(--display); font-size: 22px; line-height: 1; } .lht-so4 span, .lht-so3 span { font-size: 12px; color: var(--ink2); }
.lht .xanh { background: #E6F5F2; } .lht .xanh b { color: #1B6B3A; }
.lht .tim { background: #EEEAFB; } .lht .tim b { color: #4A3C9A; }
.lht .do { background: #FCEDF3; } .lht .do b { color: #A33A1F; }
.lht .cam { background: #FFF1DC; box-shadow: inset 0 0 0 1.5px #E9A23B; } .lht .cam b { color: #8A4B00; }
.lht .xam { background: #F3F4F6; } .lht .xam b { color: var(--ink2); }
.lht-thanh { display: flex; height: 10px; border-radius: 5px; overflow: hidden; background: #F0F1F3; }
.lht-thanh i { display: block; height: 100%; } .lht-thanh i.xanh { background: #3FA37A; } .lht-thanh i.tim { background: #8C7BE0; }
.lht-thanh i.do { background: #D9534F; } .lht-thanh i.cam { background: #F2B04C; } .lht-thanh i.xam { background: #D5D8DD; }
.lht-mo { align-self: center; min-height: 44px; }
.lht-lop { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lht-lop a { display: flex; flex-direction: column; gap: 5px; padding: 8px 10px; border: 1px solid var(--line2); border-radius: 12px; }
.lht-doi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lht-o { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 18px; }
.lht-o b { font-family: var(--display); font-size: 26px; line-height: 1; } .lht-o small { font-size: 13px; color: var(--muted); }
.lht-o.cam-nhat { background: #FFF4E6; } .lht-o.xanh-nhat { background: #EAF1FB; } .chu-cam { color: #8A4B00; font-weight: 600; }
.lht-xam h3 { font-size: 12px; letter-spacing: .02em; color: var(--muted); text-transform: uppercase; margin: 0; }
.lht-dong { display: flex; align-items: center; gap: 10px; min-height: 44px; border-top: 1px solid var(--line2); }
.lht-dong-ds .lht-dong:first-child { border-top: 0; }
.lht-xam .lht-dong b { color: var(--muted); }
.lht-lop-toi { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 2px solid var(--mint); border-radius: 18px; }
.lht-cs { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 18px; width: 100%; text-align: left; border: 0; cursor: pointer; margin-bottom: 10px; }
.lht-cs-dau b { font-family: var(--display); font-size: 17px; }
.lht-nhan { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.lht-duyet a, .lht-sap { display: flex; align-items: center; gap: 10px; min-height: 56px; }
.lht-duyet .badge { position: static; } .lht-sap { opacity: .6; padding: 0 14px; }
@media (prefers-color-scheme: dark) { .cong-tac-ben { background: var(--card); } }

/* ---------- Phiếu 1600h — màn Điểm danh (lưới 3 cột, chạm = đi học, giữ = nghỉ). Màu báo hiệu: xanh = đi học, vàng = nghỉ, viền đứt = chưa. ---------- */
.dd-dem { font-size: 13px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
.dd-loc { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 8px; }
.dd-loc button { flex: none; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; color: var(--ink2); white-space: nowrap; }
.dd-loc button.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.dd-nut { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }
.dd-nut .btn { min-height: 44px; justify-content: center; white-space: nowrap; }
.dd-goi-y { margin: 6px 0 8px; }
.dd-luoi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 700px) { .dd-luoi { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }
.dd-be { display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 104px; padding: 8px 4px; border-radius: 16px; background: #fff;
  border: 2px dashed #C9CDD2; font: inherit; color: var(--ink); cursor: pointer; -webkit-user-select: none; user-select: none; touch-action: manipulation; }
.dd-be.di, .dd-be.ve { border-style: solid; border-color: var(--mint); }
.dd-be.ve { background: #F4F7F7; }
.dd-be.nghi { border-style: solid; border-color: #F2D98A; background: #FFF1DC; }
.dd-be.cho { box-shadow: 0 0 0 2px #E1ECFA inset; }
.dd-av { width: 40px; height: 40px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px; background: #DDF1EE; color: var(--accent-ink); }
.dd-be[data-mau="1"] .dd-av { background: #E1ECFA; color: #1F4F8A; } .dd-be[data-mau="2"] .dd-av { background: #ECE4F8; color: #4B2E7A; }
.dd-be[data-mau="3"] .dd-av { background: #FBE1EC; color: #7A2048; } .dd-be[data-mau="4"] .dd-av { background: #E8F4DF; color: #2F5A1B; }
.dd-ten { font-size: 14px; font-weight: 600; text-align: center; line-height: 1.2; }
.dd-tt { font-size: 13px; text-align: center; line-height: 1.25; color: var(--muted); }
.dd-be.di .dd-tt { color: #1B6B3A; font-weight: 600; } .dd-be.nghi .dd-tt { color: #8A4B00; font-weight: 600; }
.dd-tam { position: fixed; inset: 0; z-index: 60; background: rgba(16,24,40,.35); display: flex; align-items: flex-end; justify-content: center; }
.dd-tam .card { width: 100%; max-width: 480px; border-radius: 22px 22px 0 0; display: flex; flex-direction: column; gap: 12px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
.dd-chon { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .dd-chon .btn { min-height: 48px; justify-content: center; }
@media (prefers-color-scheme: dark) { .dd-be, .dd-loc button { background: var(--card); } .dd-be.nghi { background: #3A2E12; } .dd-be.ve { background: var(--card); } }
/* Phiếu 1600j — Đơn nghỉ */
.dn-ghi { width: 100%; min-height: 48px; justify-content: center; margin-bottom: 8px; }
.dn-ds { display: flex; flex-direction: column; gap: 10px; }
.dn-the { display: flex; flex-direction: column; gap: 6px; }
.dn-ngay { display: flex; flex-wrap: wrap; gap: 6px; }
.dn-form { display: flex; flex-direction: column; gap: 12px; margin-bottom: 10px; } .dn-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.dn-form label.inline { flex-direction: row; align-items: center; font-weight: 400; }
.dn-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* Phiếu 1600k — Dặn thuốc */
.dt-h2 { font-size: 17px; margin: 12px 0 6px; }
.dt-cho { border: 1px solid #F2D98A; }
.dt-tre { border: 1px solid #F3B5A8; }
.dt-thuoc { margin: 0; padding-left: 18px; font-size: 14px; }
.dt-fs { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 8px; } .dt-fs legend { font-size: 13px; font-weight: 600; }
.dt-bo { align-self: flex-start; }

/* ---------- Marketing › Kế hoạch (phiếu 2500k) ---------- */
.mkt-kh-dau { align-items: center; margin-bottom: 8px; }
.mkt-kh-dai { display: none; }
.mkt-kh-ds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.mkt-kh-ds li { border-top: 1px solid #E4E7EB; padding: 8px 0; display: flex; flex-direction: column; gap: 4px; }
.mkt-kh-ds li.nay { background: #E3F0EE; border-radius: 8px; padding: 8px; }
.mkt-kh-ds .link { text-align: left; }
@media (min-width: 900px) {
  .mkt-kh-dai { display: flex; flex-direction: column; overflow: hidden; }
  .mkt-kh-ds { display: none; }
}
.mkt-kh-hang { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid #E4E7EB; }
.mkt-kh-hang:first-child { border-top: 0; grid-template-columns: 110px repeat(12, minmax(0, 1fr)); }
.mkt-kh-thang { text-align: center; font-size: 13px; font-weight: 600; padding: 4px 0; }
.mkt-kh-thang.nay { background: #E3F0EE; color: #1F6B65; border-radius: 6px; }
.mkt-kh-nhan { font-size: 13px; font-weight: 600; color: #4A535C; }
.mkt-kh-luoi { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.mkt-kh-luoi.moc > span { min-height: 18px; }
.mkt-kh-lan { display: flex; flex-direction: column; gap: 4px; }
.mkt-kh-thanh { border: 0; border-left: 3px solid #4A535C; border-radius: 6px; padding: 6px 8px; font-size: 13px; font-weight: 600; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #EEF1F4; color: #4A535C; }
.mkt-kh-thanh.mua-0 { background: #E4EEF7; border-color: #1F5F8B; color: #1F5F8B; }
.mkt-kh-thanh.mua-1 { background: #EEF1F4; border-color: #4A535C; color: #4A535C; }
.mkt-kh-thanh.mua-2 { background: #FCE4E1; border-color: #B42318; color: #B42318; }
.mkt-kh-thanh.mua-3 { background: #FDF0D5; border-color: #8A5A00; color: #8A5A00; }
.mkt-kh-thanh.cd { background: #E3F3EC; border-color: #1B6B45; color: #1B6B45; cursor: pointer; }
.mkt-kh-thanh.cd.dung { opacity: .55; }
.mkt-kh-mua { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto auto; gap: 6px; align-items: center; margin-bottom: 8px; }
.mkt-kh-mua input, .mkt-kh-mua select { width: auto; min-width: 0; }
.mkt-kh-mua input { width: 100%; }
.mkt-cd-ds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mkt-cd.mo { outline: 2px solid #1F6B65; }
.mkt-cd-tt { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 8px 0; }
.mkt-cd-tt dt { color: #4A535C; }
.mkt-cd-tt dd { margin: 0; }
/* 2500l Báo cáo Marketing */
.mkt-bc { display: grid; gap: 8px; margin-bottom: 12px; }
.mkt-bc h2 { font-size: 16px; margin: 0; }
.mkt-bc-thang b { min-width: 92px; text-align: center; }
.mkt-bc-pheu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mkt-bc-pheu li { display: grid; gap: 4px; align-content: start; padding: 10px; border-radius: 12px; background: #F6F7F9; min-width: 0; }
.mkt-bc-so { font-size: 20px; } .mkt-bc-so .muted { font-size: 14px; font-weight: 500; }
.mkt-bc-pheu .tc-nhan { justify-self: start; }
.mkt-bc-tl { overflow-wrap: anywhere; }
@media (max-width: 640px) { .mkt-bc-pheu { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.mkt-bc-bang { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.mkt-bc-bang table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mkt-bc-bang th, .mkt-bc-bang td { padding: 8px 6px; border-bottom: 1px solid var(--line2); text-align: right; white-space: nowrap; }
.mkt-bc-bang th:first-child { text-align: left; } .mkt-bc-bang thead th { font-size: 12px; color: var(--muted); font-weight: 600; white-space: normal; min-width: 64px; }
.mkt-bc-bang tr.lop th { font-weight: 400; padding-left: 22px; } .mkt-bc-bang tr.khoi th .btn, .mkt-bc-bang td .btn { margin-left: 6px; }
.mkt-bc-bang td .tc-nhan { margin-left: 4px; font-size: 11px; }
.mkt-bc-thieu { color: #7A4A00; }
.mkt-bc-bai { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.mkt-bc-bai .btn { margin-left: 6px; }
.mkt-bai-link { display: grid; gap: 6px; } .mkt-bai-link li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mkt-bai-link code { font-size: 12px; overflow-wrap: anywhere; word-break: break-all; }
.mkt-bc-len { color: var(--ok); } .mkt-bc-xuong { color: #B42318; }
.mkt-cd-so { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; padding: 8px 10px; background: #F7F8FA; border-radius: 10px; }
.mkt-cd-bh { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Tuyển sinh: ba mẹ biết trường qua đâu (phiếu 2300m) ---------- */
.crm-biet-qua { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; justify-content: space-between; border-top: 1px dashed #E4E7EB; padding-top: 8px; margin-top: 4px; }
.crm-biet-qua.can { background: #FDF0D5; border: 0; border-radius: 10px; padding: 8px 10px; }
.crm-biet-qua-chon { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 12px; border: 0; padding: 0; margin: 0 0 8px; }
.crm-bq-trang { border-top: 1px dashed #E4E7EB; margin-top: 10px; padding-top: 8px; display: grid; gap: 4px; justify-items: start; }
.crm-bq-ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.crm-bq-ds li { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "c t n" ". g n"; align-items: center; gap: 2px 8px; }
.crm-bq-ds li > input[type=checkbox] { grid-area: c; } .crm-bq-ds li > .input { grid-area: t; min-width: 0; }
.crm-bq-ds li > span { grid-area: g; } .crm-bq-ds li > .btn { grid-area: n; }
.crm-bq-ds li.tat > .input { opacity: .55; }
/* 1000v — xuất tặng đồng phục, đợt tặng, huỷ xuất 7 ngày */
.dp-tang-dong { flex-wrap: wrap; row-gap: 6px; }
.dp-tang-chu { padding-top: 8px; padding-bottom: 10px; }
.dp-go-tay { margin-left: 4px; padding: 1px 6px; border-radius: 6px; background: #FFF1E0; color: #8A4B00; }
.dp-tang-chon { min-height: 44px; padding: 6px 10px; border-radius: 10px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.dp-tang-be { max-height: 260px; overflow: auto; }
.dp-tang-be button.kho-dong { width: 100%; border: 0; background: none; text-align: left; font: inherit; color: inherit; min-height: 48px; cursor: pointer; }
.dp-tang-be button.kho-dong:disabled { opacity: .55; cursor: default; }
.dp-tang-mon { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line2); }
.dp-tang-size { display: inline-flex; flex-direction: column; gap: 2px; }
.dp-tang-so { padding-bottom: 6px; }
.dp-tang-mo { min-height: 40px; text-align: left; }
.kho-ton-chua-mo { text-align: right; max-width: 70%; }

/* ---------- Marketing › Hội nhóm (phiếu 2500m) ---------- */
.mkt-hn { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 1000px) { .mkt-hn { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.mkt-hn-ben { display: flex; flex-direction: column; gap: 12px; }
.mkt-hn-ds { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mkt-hn-viec { border: 1px solid #E4E7EB; box-shadow: none; display: flex; flex-direction: column; gap: 8px; }
.mkt-hn-viec.mo { outline: 2px solid #1F6B65; }
.mkt-hn-hoi { margin: 0; padding: 8px 10px; background: #F1F3F5; border-left: 3px solid #D5DAE0; border-radius: 8px; white-space: pre-wrap; }
.mkt-hn-goi-y { display: flex; flex-direction: column; gap: 6px; }
.mkt-hn-g { text-align: left; border: 1px solid #D5DAE0; background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.mkt-hn-g.on { border-color: #1F6B65; background: #E3F0EE; }
.mkt-hn-loi { margin: 0; padding: 8px 10px; background: #F7F8FA; border-radius: 8px; white-space: pre-wrap; }
.mkt-hn-nt { margin: 6px 0 0; padding-left: 18px; line-height: 1.6; }
.mkt-hn-nong { align-items: center; padding: 4px 0; }
/* 1600h đợt 2 — tổng hợp điểm danh (HT) */
.dd-th { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.dd-th-tong { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 18px; }
.dd-th-ds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dd-th-ds a { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 48px; padding: 8px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line2); color: inherit; text-decoration: none; }
.dd-th-ds a b { flex: 1 1 120px; }
.dd-th-ds li.chua a { border-color: var(--red, #d33); }

/* ---------- Phiếu 2700b — Văn thư (bản vẽ FjD3GxGHzHYnMzdiRe1qTB; màu theo bảng màu chung: đỏ = cần xử lý) ---------- */
.vb .vb-dem { display: grid; grid-template-columns: repeat(auto-fit, minmax(76px, 1fr)); gap: 8px; margin: 4px 0 10px; }
.vb .vb-o { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 0; border-radius: 12px; background: var(--card); padding: 8px 4px;
  font: inherit; color: inherit; text-decoration: none; cursor: pointer; min-height: 56px; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.vb .vb-o b { font-size: 20px; } .vb .vb-o span { font-size: 12px; text-align: center; }
.vb .vb-o.nong { background: #FDECEA; color: #B42318; } .vb .vb-o.mo { opacity: .55; } .vb .vb-o.on { outline: 2px solid var(--info); }
.vb .vb-loc { flex-wrap: wrap; margin-bottom: 10px; } .vb .vb-loc input[type=search] { flex: 1 1 220px; min-width: 0; font-size: 16px; }
.vb .vb-ds { display: flex; flex-direction: column; gap: 10px; }
.vb .vb-the { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; text-decoration: none; color: inherit; }
.vb .vb-the-dau { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; } .vb .vb-the-so { margin-left: auto; }
.vb .vb-khoi { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.vb .vb-2cot { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.vb .vb-o-nhap { display: flex; align-items: center; gap: 6px; } .vb .vb-o-nhap > :last-child { flex: 1; min-width: 0; }
.vb .vb-ai { color: var(--info); font-weight: 700; font-size: 13px; } .vb .vb-ai-bao { background: #E8F0FA; color: #174A6C; border-radius: 10px; padding: 8px 10px; margin: 0; }
.vb .vb-mat { align-items: flex-start; }
.vb .vb-chan { position: sticky; bottom: 0; background: var(--bg); padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; z-index: 2; }
.vb .vb-chan .btn { min-height: 44px; }
.vb .vb-nhan { margin: 2px 0 4px; flex-wrap: wrap; }
.vb .vb-phe { background: #E8F0FA; } .vb .vb-trinh { background: #FFF4D6; } .vb .vb-phe .xs, .vb .vb-trinh .xs { margin-bottom: 4px; }
.vb .vb-tt { display: grid; grid-template-columns: 110px minmax(0, 1fr); row-gap: 6px; column-gap: 10px; font-size: 14px; margin: 0 0 12px; }
.vb .vb-tt dt { color: var(--ink2); } .vb .vb-tt dd { margin: 0; }
.vb .vb-chu { white-space: pre-wrap; overflow-wrap: anywhere; }
.vb .vb-tieu { justify-content: space-between; margin-bottom: 6px; }
.vb .vb-tep { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; padding: 4px 0; }
.vb .vb-tep > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.vb .vb-ls { padding: 4px 0; border-top: 1px solid var(--line, #E3E6EB); }
.vb .vb-dong { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line, #E3E6EB); text-decoration: none; color: inherit; flex-wrap: wrap; }
.vb .vb-qua-han { display: block; margin-top: 10px; background: #FDECEA; color: #B42318; border-radius: 10px; padding: 10px 12px; font-weight: 600; text-decoration: none; }
.vb .vb-do { color: #B42318; } .vb .vb-vang { color: #7A4A00; }
.vb .card { margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .vb .vb-o.nong, .vb .vb-qua-han { background: #3A1A17; } .vb .vb-phe, .vb .vb-ai-bao { background: #16283A; color: inherit; } .vb .vb-trinh { background: #3A2E12; } }
/* 1600m — nhật ký lớp */
.nk-tuan { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.nk-bai { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.nk-bai.go { opacity: .65; }
.nk-qua-han .nk-bai { border-left: 4px solid var(--red, #d33); }
.nk-chu { margin: 0; white-space: pre-wrap; }
.nk-lv { display: flex; flex-wrap: wrap; gap: 6px; }
.nk-luoi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.nk-o { position: relative; aspect-ratio: 1; border: 0; padding: 0; border-radius: 10px; overflow: hidden; background: var(--line2); cursor: pointer; }
.nk-o img, .nk-o video { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.nk-chon .nk-o.on { outline: 3px solid var(--accent); outline-offset: -3px; }
.nk-ten { position: absolute; left: 4px; right: 4px; bottom: 4px; font-size: 11px; color: #fff; background: rgba(0,0,0,.55); border-radius: 6px; padding: 1px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nk-nhan { position: absolute; top: 4px; right: 4px; font-size: 12px; color: #fff; background: rgba(0,0,0,.55); border-radius: 6px; padding: 0 5px; }
.nk-nhan.an { right: auto; left: 4px; }
.nk-them { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; color: #fff; background: rgba(0,0,0,.45); }
.nk-video { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 14px; }
.nk-tai { display: block; width: 100%; height: 100%; }
.nk-x { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border-radius: 12px; background: rgba(0,0,0,.6); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.nk-be { display: flex; flex-wrap: wrap; gap: 6px; max-height: 260px; overflow: auto; }
.nk-be-nut { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 72px; min-height: 64px; padding: 4px; border: 1px solid var(--line2); border-radius: 12px; background: var(--card); cursor: pointer; }
.nk-be-nut.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--card)); }
.nk-xem { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.92); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.nk-xem img, .nk-xem video { max-width: 100vw; max-height: 80vh; object-fit: contain; -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none; }
.nk-xem-nut { display: flex; gap: 10px; align-items: center; color: #fff; }
/* 1600n — nhận xét tuần */
.nx-ds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nx-dong { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 56px; padding: 8px 12px; border: 1px solid var(--line2); border-radius: 12px; background: var(--card); text-align: left; cursor: pointer; color: inherit; }
.nx-dong .grow { flex: 1; min-width: 0; }
.nx-so { padding: 8px 10px; border-radius: 10px; background: var(--line2); }
.nx-tc { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.nx-tc-dong { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.btn.vang-nen { background: #f6c343; border-color: #f6c343; color: #3a2a00; }
/* 1600s — chỉ số lớp */
.cs-co-so { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.cs-o-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.cs-o { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line2); }
.cs-so { font-size: 22px; font-weight: 700; }
/* 1600q — hồ sơ bé */
.hs-the-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 12px; }
.hs-the { display: flex; flex-direction: column; gap: 6px; }
.hs-the h2 { font-size: 16px; margin: 0; }
.hs-luu-y { border: 2px solid var(--red, #d33); }
.hs-don, .hs-ds { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hs-don li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--line2); }
.hs-don li:last-child { border-bottom: 0; }
.dd-don .btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 56px; text-align: left; }
.dd-thay { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }

/* ---------- Phiếu 2700c — Văn thư: hồ sơ, nhập sổ ---------- */
.vb .vb-hs-ds { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.vb .vb-hs-chon { display: flex; flex-direction: column; align-items: flex-start; height: auto; padding: 8px 12px; text-align: left; white-space: normal; }
.vb .vb-hs-moi { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.vb .vb-hs-dong { display: flex; flex-direction: column; gap: 4px; }
.vb .vb-hs-dong > .btn { align-self: flex-end; }
.vb .vb-nhap-bang { display: flex; flex-direction: column; gap: 4px; max-height: 420px; overflow: auto; margin: 8px 0; }
.vb .vb-nhap-dong { display: grid; grid-template-columns: 64px 1fr; gap: 2px 8px; padding: 6px 8px; border-radius: 8px; background: #F6F7F9; font-size: 14px; }
.vb .vb-nhap-dong > span:last-child { grid-column: 2; }
.vb .vb-nhap-dong.loi { background: #FDECEA; }
.vb .vb-nhap-dong.loi > span:last-child { color: #B42318; }
.vb .vb-hs-tim { width: 100%; margin-bottom: 10px; }
.vb .vb-hs-sua { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
/* 2700d — đơn vị ban hành, số dự kiến, số đã dùng tới, nhập sổ cũ (bản vẽ 17–20) */
.vb .vb-du-kien { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; background: #EEF6F0; color: #1B6B3A; }
.vb .vb-du-kien-so { font-size: 22px; letter-spacing: .3px; }
.vb .vb-don-vi { display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 12px; background: #F6F7F9; margin-top: 8px; }
.vb .vb-chon-che-do { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 12px; border: 1px solid var(--line); margin-top: 8px; cursor: pointer; }
.vb .vb-chon-che-do.on { border-color: var(--accent); background: var(--accent-soft); }
.vb .vb-chon-che-do input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.vb .vb-so-dung { display: flex; flex-direction: column; margin: 8px 0; }
.vb .vb-so-dung-dong { display: grid; grid-template-columns: 1fr 72px 92px; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #F0F1F3; }
.vb .vb-so-dung-dong input { width: 72px; text-align: right; font-size: 16px; }
.vb .vb-so-dung-dong > b { text-align: right; }
.vb .vb-can-chon { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.vb .vb-nhom-loi { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 10px; background: #FDECEA; }
.vb .vb-nhom-loi .vb-nhap-dong { background: #fff; }
.vb .vb-nhom-loi .vb-nhap-dong > :is(select, input) { grid-column: 2; justify-self: start; }
.vb .vb-duoi select { flex: 1; min-width: 0; }
.vb .vb-hs-chon-vb { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.vb .vb-hs-chon-vb.on { border-color: var(--accent); background: var(--accent-soft); }
.vb .vb-hs-chon-vb input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.vb .vb-ky { align-items: flex-end; }
.vb .vb-ky .field { flex: 1 1 140px; }
/* 1600o — Kế hoạch giảng dạy */
.kh-bang-cuon { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.kh-bang { border-collapse: collapse; min-width: 860px; width: 100%; }
.kh-bang th, .kh-bang td { border: 1px solid var(--line, #e5e7eb); padding: 2px; vertical-align: top; }
.kh-bang th { font-size: 12px; font-weight: 600; background: var(--soft, #f8fafc); }
.kh-bang td:nth-child(1) { width: 92px; } .kh-bang td:nth-child(2) { width: 130px; }
.kh-bang .input { width: 100%; min-width: 0; border: 0; background: transparent; resize: vertical; }
.kh-bang td.kh-sua, .kh-bang td.kh-sua .input { background: #fff4d6; }
.kh-luoi { border-collapse: collapse; width: 100%; }
.kh-luoi th, .kh-luoi td { border-bottom: 1px solid var(--line, #e5e7eb); padding: 6px; text-align: left; font-size: 13px; }
.kh-thang-ds { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 12px; }

/* ---------- Phiếu 800k — điện thoại gọn (anh chốt 12/11/2026 14:48): nút giữa thanh dưới, lật khi chuyển thế giới, nút + nổi, chọn lớp.
   Màu nút giữa theo NƠI SẼ TỚI: vàng ấm = sang Lớp học, xanh Hugo = sang Nội bộ / phân hệ chính. ---------- */
@media (max-width: 760px) {
  .bottombar a.tb-giua { justify-content: center; }
  /* nhô lên nhưng chỉ chiếm chỗ bằng một biểu tượng (22 px) → nhãn thẳng hàng các nút khác (anh 18:21) */
  .bottombar .tb-giua-tron { width: 58px; height: 58px; margin-top: -36px; margin-bottom: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: var(--brand); color: #fff; box-shadow: 0 4px 12px rgba(0,143,137,.35), 0 0 0 3px #fff; }
  .bottombar a.tb-giua.toi-lop .tb-giua-tron { background: #F6B93B; color: #4A2E00; box-shadow: 0 4px 12px rgba(200,130,20,.35), 0 0 0 3px #fff; }
  .bottombar a.tb-giua.on .tb-giua-tron { background: var(--accent-ink); }
  .bottombar a.tb-giua .badge { top: -24px; left: 58%; }
  .bottombar a.tb-giua .tb-cham { top: -22px; left: 62%; }
  .shell.bar-compact .bottombar .tb-giua-tron { transform: scale(.72); margin-top: -14px; }
  .shell.ben-lop-hoc .bottombar a.tb-giua svg { background: none; padding: 0; }
  /* Lật nhẹ khi chuyển thế giới (≤ 250 ms); máy bật Giảm chuyển động thì không chạy (lib/ben chuyenBen) */
  html.lat-ben .main-col { animation: lat-ben .25s ease-out; transform-origin: 50% 40%; }
  /* Nút + thêm nhanh nổi góc dưới phải (chỉ Lớp hôm nay) */
  .lhn-cong { position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 35; width: 56px; height: 56px; border-radius: 50%; border: 0;
    background: #F6B93B; color: #4A2E00; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(200,130,20,.4); cursor: pointer; }
  .lhn-cong[aria-expanded="true"] { background: var(--ink); color: #fff; }
}
@media (min-width: 761px) { .lhn-cong, .lhn-cong-ds { display: none !important; } }
@keyframes lat-ben { from { transform: perspective(900px) rotateY(-14deg) scale(.98); opacity: .55; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html.lat-ben .main-col { animation: none; } }
.lhn-cong-ds { position: fixed; right: 16px; bottom: calc(150px + env(safe-area-inset-bottom)); z-index: 35; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.lhn-cong-ds a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: 24px; background: var(--card); color: var(--ink);
  font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.16); }
.lhn-cong-nen { position: fixed; inset: 0; z-index: 34; background: rgba(20,30,35,.28); border: 0; }
/* Cô nhiều lớp: ô "Lớp · Mầm 2 ▾" như ô chọn cơ sở, bảng chọn trượt lên */
.lhn-chon-lop { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line);
  background: rgba(255,255,255,.9); font-weight: 600; color: var(--ink); cursor: pointer; }
.lhn-lop-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--card); border-radius: 20px 20px 0 0; padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 6px; box-shadow: 0 -6px 24px rgba(0,0,0,.18); max-height: 70vh; overflow: auto; animation: lhn-len .2s ease-out; }
.lhn-lop-sheet h2 { font-size: 16px; margin: 0 0 4px; }
.lhn-lop-sheet button[role="radio"] { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px; border: 0; border-radius: 12px; background: none; text-align: left; font-size: 15px; color: var(--ink); cursor: pointer; }
.lhn-lop-sheet button[aria-checked="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.lhn-lop-nen { position: fixed; inset: 0; z-index: 59; background: rgba(20,30,35,.35); border: 0; }
@keyframes lhn-len { from { transform: translateY(30px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lhn-lop-sheet { animation: none; } }
.lhn-toan-truong { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 2px solid var(--mint); border-radius: 18px; margin-bottom: 12px; }
@media (prefers-color-scheme: dark) { .lhn-chon-lop { background: var(--card); } }

/* ---------- Phiếu 800k Đợt B — Bảng tin, Thêm, Điều hành trên điện thoại (nếp AMIS) ---------- */
@media (max-width: 760px) {
  .chi-may-tinh { display: none !important; }
  .topbar .tb-bang-tin { flex: 1; margin: 0 0 0 8px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
  .topbar .tb-bang-tin + .topbar-right .icon-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); }
  .page.blv-dt { display: flex; flex-direction: column; gap: 12px; }
  .page.blv-dt .blv-luoi { display: block; }
  .page.blv-dt .blv-luoi:not(:has(.blv-o, .blv-cho, .card)) { display: none; }   /* mọi ô trống → không để khoảng trống */
  .page.blv-dt .blv-cot { display: flex; flex-direction: column; gap: 12px; }
  .page.blv-dt .blv-tieu-de { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
  .page.blv-dt .blv-tieu-de h1 { margin: 0; }
  /* Ô bỏ nhãn phân hệ và dòng chân — cả ô là liên kết (chân giữ cho trình đọc màn hình) */
  .page.blv-dt .blv-ph { display: none; }
  .page.blv-dt .blv-o-chan { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; margin: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .page.blv-dt .blv-o { position: relative; }
  .page.blv-dt .blv-o-bam { cursor: pointer; }
  .page.blv-dt .blv-o-bam:active { background: var(--accent-soft); }
  .page.blv-dt .wn-dong { margin: 0; border-radius: 16px; }
  .blv-tuy-chinh { align-self: center; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
  /* Lối tắt 4 ô một trang, vuốt sang */
  /* cân trên / dưới (anh 18:56): mép trên → ô 12 · nhãn → chấm 8 · chấm → mép dưới 12; không chấm: nhãn → mép dưới 12 */
  /* anh 19:04: mép trên → ô 16 px, dưới 13 px. 19:51: số đỏ nhô 6 px bị cắt (khung vuốt ngang cắt theo chiều dọc) → chừa 8 px trong vùng vuốt, bớt 8 px lề khung */
  .loi-tat { padding: 7px 4px 12px; }
  .loi-tat-cuon { padding-top: 8px; }
  .loi-tat .o-ph { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-height: 0; padding: 0; min-width: 0; }
  .loi-tat .o-ph-ten { font-size: 12.5px; line-height: 1.25; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .loi-tat .o-ph-so { top: -6px; right: -8px; }
  .loi-tat-cuon { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .loi-tat-cuon::-webkit-scrollbar { display: none; }
  .loi-tat-trang { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .loi-tat-trang .o-ph { min-width: 0; }
  /* chấm trang nhỏ, sát (anh 18:28): 4 px, chấm đang xem 10 × 4; nhãn → chấm 6 px, chấm → đáy 8 px */
  .loi-tat-cham { display: flex; justify-content: center; gap: 4px; padding-top: 8px; }
  .loi-tat-cham button { width: 4px; height: 4px; min-height: 0; padding: 0; border: 0; border-radius: 2px; background: #D3DCDB; cursor: pointer; transition: width .2s; }
  .loi-tat-cham button.on { width: 10px; background: var(--accent); }
  /* Thêm: nhóm Ứng dụng có nút Tuỳ chỉnh bên phải */
  .them-nhom-nut { display: flex; align-items: baseline; justify-content: space-between; }
  .them-tuy-chinh { font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--accent); padding: 8px 4px; }
  .lop-quay-lai { display: inline-block; padding: 6px 0; }
  .lop-muc-khac { margin-top: 12px; }
  .lop-muc-tieu-de { font-size: 15px; margin: 4px 12px 6px; }
  /* 18:21 — Việc anh giao: nhãn trạng thái xuống dưới tên việc (không gãy 3 dòng) */
  .page.blv-dt .cv-td-xl { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 10px; border-radius: 12px; background: var(--bg); }
  .page.blv-dt .cv-td-xl > span:last-child { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--card); }
  /* Cộng đồng — phần bảng tin dưới cùng */
  .bt-cd { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
  .bt-cd-dau { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
  .bt-cd-dau h2 { flex: 1; margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; }
  .bt-cd-tat-ca { align-self: center; font-weight: 600; padding: 10px 16px; min-height: 44px; }
  /* Trợ lý: ngôi sao chuyển màu, lấp lánh một lần khi mở */
  .tro-ly-nut svg:not([width="0"]) { stroke: url(#hh-ai); animation: ai-lap-lanh 1.2s ease-out 1; }
  /* 19:49: ngôi sao tô kín (nét mảnh không thấy màu) */
  .tro-ly-nut svg:not([width="0"]) path { fill: url(#hh-ai); }
  .tt-sao { margin-left: auto; display: inline-flex; } .tt-sao svg { stroke: url(#hh-ai); } .tt-sao svg path { fill: url(#hh-ai); }
  /* 19:49 Việc anh giao gọn; 19:53 Cộng đồng kéo đọc tiếp, bài ghim một dòng */
  .cv-ag-gon { display: block; font-size: 14px; color: var(--ink2); padding: 2px 0; }
  .cv-ag-dong { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line2); color: var(--ink); }
  .cv-ag-dong:first-child { border-top: 0; padding-top: 0; }
  .bt-cd-mo { font-size: 13px; padding: 0 4px; margin-top: -4px; }
  .bt-cd-ghim { display: flex; align-items: center; gap: 8px; padding: 12px 14px; min-height: 44px; color: var(--ink); font-size: 14px; }
  .bt-cd-het { text-align: center; padding: 8px 0 16px; }
  .page.blv-dt .blv-tuy-chinh { align-self: flex-end; display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 4px; border: 0; background: none; color: var(--muted); font-size: 13px; cursor: pointer; }
}
.tro-ly-nut svg:not([width="0"]) { stroke: url(#hh-ai); }
@keyframes ai-lap-lanh { 0% { transform: scale(.8) rotate(-12deg); opacity: .4; } 60% { transform: scale(1.12) rotate(4deg); opacity: 1; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .tro-ly-nut svg { animation: none !important; } }
@media (prefers-reduced-motion: reduce) { .loi-tat-cham button { transition: none; } }
/* Sự kiện — PDF bản dự trù / kế hoạch (chốt 12/11/2026) */
.sk-pdf-ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.sk-pdf-ds li { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; min-height: 44px; border-bottom: 1px solid var(--line, #e5e7eb); }
.sk-pdf-ds li:last-child { border-bottom: 0; }
.sk-pdf-ten { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; text-align: left; flex: 1 1 60%; }
.sk-pdf-ds .link:not(.sk-pdf-ten), .sk-pdf-them { min-height: 44px; display: inline-flex; align-items: center; }

/* Phiếu 2300o — chăm sóc bé đang học: việc đón trẻ nổi đỏ, màn ghi kết quả, 2 nút trên hồ sơ bé */
.crm .crm-the.cs-gap { border-left: 4px solid var(--red, #d93025); }
.cs-ghi { display: flex; flex-direction: column; gap: 8px; }
.cs-ghi .dd-chon .btn { min-height: 44px; }
.cs-nut-be { margin: 8px 0; }
.cs-nut-be .btn { min-height: 44px; }
.cs-ghi .dd-chon, .modal .field[role=group] .dd-chon { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-ghi .dd-chon .btn, .modal .field[role=group] .dd-chon .btn { white-space: normal; max-width: 100%; flex: 1 1 auto; text-align: center; }
.kh-tha.tren, .kh-tha-o.tren { outline: 2px dashed var(--accent, #2563eb); outline-offset: 2px; background: rgba(37, 99, 235, .05); }
.kh-tha-lon { display: block; padding: 18px; border: 1px dashed var(--line, #cbd5e1); border-radius: 10px; text-align: center; cursor: pointer; margin: 8px 0; }
.kh-kh { margin: 0; padding-left: 18px; } .kh-kh li { margin: 2px 0; }
.kh-ngay { display: flex; gap: 4px; overflow-x: auto; margin: 6px 0; } .kh-ngay button { flex: 1 0 auto; }
.kh-dt { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.kh-dt li { border: 1px solid var(--line, #e5e7eb); border-radius: 10px; padding: 6px; display: grid; gap: 4px; }
.kh-dt-dau { display: flex; gap: 4px; align-items: center; } .kh-dt-dau .input:first-child { width: 112px; flex: none; }
.kh-dt .input.kh-sua, .kh-dt-dau.kh-sua { background: #fff4d6; }
/* 1600o3: báo kết quả đọc file kế hoạch tuần (không đọc được / chọn tuần) */
.kh-bao { border-radius: 10px; padding: 10px 12px; margin: 8px 0; display: flex; flex-direction: column; gap: 8px; line-height: 1.45; }
.kh-bao.vang { background: #FFF4E5; color: #7A4A00; }
.kh-bao.do { background: #FEF3F2; color: #B42318; }

/* ===== 800k 20:42 — màn Thêm nếp AMIS (bản vẽ bảng 7, anh chốt "Làm đi") ===== */
.them-nhom { text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--ink); padding: 16px 4px 8px; }
.them-ho-so .them-chuc-vu { font-size: 14px; color: var(--ink2, #33514F); }
.them-ho-so .grow { gap: 1px; }
.them-cua-toi-luoi .them-luoi, .them [data-testid="them-ung-dung"] .them-luoi { padding: 16px 6px 12px; }
.them-luoi .o-ph { min-width: 0; }
.them-luoi .o-ph-ten { font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) {
  /* dải xanh Hugo nhạt ở đầu màn Thêm (chỉ giao diện sáng) */
  .shell.o-them:not(.ben-lop-hoc) .main-col { background: linear-gradient(180deg, #DDF1EE 0, #EEF7F4 150px, var(--bg) 300px) no-repeat, var(--bg); }
  .shell.o-them:not(.ben-lop-hoc) .topbar { background: rgba(221,241,238,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom-color: transparent; }
  /* khoảng cách gọn như bản vẽ: tên nhóm sát lưới, nhóm cách nhau vừa phải */
  .page.them { gap: 10px; }
  .page.them .them-nhom { padding: 12px 4px 0; }
  .page.them .them-nhom-nut .them-tuy-chinh { padding: 0 4px; }
  .page.them .them-ho-so { margin-top: 2px; }
  .page.them .them-co-so { margin-top: 10px; }
  .page.them > .card { border-radius: 18px; }
}
@media (max-width: 760px) and (prefers-color-scheme: dark) {
  .shell.o-them .main-col { background: var(--bg); }
}
/* Sinh nhật trong tháng */
.sn-thang { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 4px 0 4px; }
.sn-thang b { min-width: 90px; text-align: center; font-size: 16px; }
.sn-ds { padding: 0; overflow: hidden; }
.sn-dong { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line2); }
.sn-dong:first-child { border-top: 0; }
.sn-dong .grow { display: flex; flex-direction: column; min-width: 0; }
.sn-ngay { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.sn-anh { position: relative; flex: none; }
.sn-dip { position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--card); box-shadow: 0 1px 3px rgba(0,0,0,.15);
  font-size: 13px; font-style: normal; display: flex; align-items: center; justify-content: center; }
.sn-hn { border-top: 1px solid var(--line2); }
.sn-hn:first-child { border-top: 0; }
.sn-hn .sn-dong { border-top: 0; }
.sn-toi { padding: 0 16px 12px 72px; }
.sn-xem-bai { font-weight: 600; margin-left: auto; }
.sn-da-qua .sn-dong { opacity: .7; }
/* 800k: bài chúc mừng sinh nhật / kỷ niệm ở Cộng đồng (nền hồng nhạt, cùng khung thẻ cảm ơn) */
.cd-bai-sn { background: #FFF1F7; }
.cd-bai-sn .cd-hang-nut { border-top-color: #F6C9DE; }
.cd-bai-sn .cd-hang-nut > button, .cd-bai-sn .cd-hang-nut > a, .cd-bai-sn .cd-hang-nut .cd-cx-nut, .cd-bai-sn .cd-so, .cd-bai-sn .cd-so-cx, .cd-bai-sn .cd-so-xem { color: #8A1D57; }
.cd-sn { padding: 6px 8px 8px 16px; display: flex; flex-direction: column; gap: 8px; color: #1F2329; }
.cd-sn-nhan { flex: 1; font-size: 12px; font-weight: 700; color: #8A1D57; letter-spacing: .02em; }
.cd-sn-ai { display: flex; align-items: center; gap: 12px; padding-right: 8px; }
.cd-sn-ai .grow { display: flex; flex-direction: column; min-width: 0; }
.cd-sn-ai b { font-size: 18px; }
.cd-sn-chan { color: #8A1D57; }
@media (prefers-color-scheme: dark) {
  .cd-bai-sn { background: var(--card); }
  .cd-sn, .cd-sn-nhan, .cd-sn-chan, .cd-bai-sn .cd-hang-nut > button, .cd-bai-sn .cd-hang-nut > a { color: var(--ink); }
}
/* màn Sinh nhật: chúc mừng + lời chúc */
.sn-nut, .sn-loi { padding: 0 16px 0 72px; }
.sn-nut { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sn-da-chuc { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--ok); padding: 6px 2px; }
.sn-loi { margin-top: 8px; padding-bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.sn-loi .input { border-radius: 20px; }
.sn-gui { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 400px) { .sn-nut, .sn-loi, .sn-toi { padding-left: 16px; } }
/* ---------- Phiếu 1600h đợt 3 — Sổ trông muộn ---------- */
.dd-tm { font-size: 12px; line-height: 1.2; color: #3C3489; background: #EEEDFE; border-radius: 999px; padding: 1px 8px; }
.lht-tm { width: 100%; background: none; border-left: 0; border-right: 0; border-bottom: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.lht-tm:disabled { cursor: default; }
.lht-tm-tat { color: var(--muted); }
.lht-tm-ds { list-style: none; margin: 0 0 8px; padding: 0 0 0 8px; display: flex; flex-direction: column; gap: 4px; }
.lht-tm-ds a { display: block; min-height: 36px; padding: 6px 0; color: inherit; text-decoration: none; }
.tm .tm-dong { cursor: pointer; }
.tm .link-btn { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.tm .tm-tat b { color: var(--ink); }
.tm-tam { max-height: 80vh; overflow-y: auto; }
.tm-luot { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tm-luot li { display: flex; align-items: center; gap: 8px; min-height: 48px; border-top: 1px solid var(--line2); font-size: 14px; }
.tm-luot li:first-child { border-top: 0; }
.tm-ls ul { margin: 6px 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.tm-cai { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.tm-kieu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tm-kieu .btn { justify-content: center; min-height: 44px; }
.tm-khung { display: flex; flex-direction: column; gap: 8px; }
/* mỗi khung một dòng: K1 · từ · đến · giá · ✕ (bản vẽ anh duyệt 12/11) */
.tm-k { display: grid; grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr) 32px; gap: 6px; align-items: center; font-size: 14px; }
.tm-k > span:first-child { font-weight: 600; }
.tm-k .input { min-width: 0; font-size: 15px; padding-left: 6px; padding-right: 4px; }
.tm-k > button { padding: 0; min-width: 32px; }
.tm-loc { flex-wrap: nowrap; }
.tm-loc .tm-thang { flex: none; width: auto; min-width: 0; }
.tm-loc .btn { flex: none; }
/* công tắc bật / tắt */
.tm-gat { position: relative; flex: none; width: 48px; height: 28px; }
.tm-gat input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.tm-gat span { position: absolute; inset: 0; border-radius: 14px; background: #D9DCE1; transition: background .15s; pointer-events: none; }
.tm-gat span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 11px; background: #fff; transition: transform .15s; }
.tm-gat input:checked + span { background: var(--accent, var(--accent)); }
.tm-gat input:checked + span::after { transform: translateX(20px); }
.tm-gat input:focus-visible + span { outline: 2px solid var(--accent, var(--accent)); outline-offset: 2px; }
/* sổ theo bé trên điện thoại: 4 cột vừa 360 px (bỏ min-width 640 của .table-wrap) */
.table-wrap .tbl.tm-bang { min-width: 0; }
.table-wrap .tbl.tm-bang td:first-child { min-width: 0; }
.tm-bang td, .tm-bang th { padding-left: 8px; padding-right: 8px; }
.tm-bang td.r { white-space: nowrap; }
.tm-ngay table { font-variant-numeric: tabular-nums; }
.tm-ngay th, .tm-ngay td { white-space: nowrap; }
.tm-ngay .ghim { position: sticky; left: 0; background: var(--card); z-index: 1; }
.tm-ngay .ghim2 { position: sticky; left: 88px; background: var(--card); z-index: 1; }
.tm-ngay .ghim { min-width: 88px; max-width: 88px; overflow: hidden; text-overflow: ellipsis; }
.tm-bang th.r { text-align: right; }

/* ---------- Phiếu 1600l — Cân đo ---------- */
.cd .cd-be .cd-ten { color: inherit; text-decoration: none; }
.cd .cd-so { margin-top: 4px; }
.cd .cd-nhan { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.cd .cd-nhap { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; align-items: end; }
.cd .cd-nhap label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink2); }
.cd .cd-nhap .input { font-size: 16px; }
.cd .cd-nhap .cd-lydo, .cd .cd-nhap .row-gap { grid-column: 1 / -1; }
.cd .cd-hoi { box-shadow: 0 0 0 2px #E8B33A inset; }
.cd .cd-canh { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: #FFF4D6; color: #5C3A00; font-size: 14px; }
.cd .cd-canh ul { margin: 6px 0 8px 18px; padding: 0; }
.cd .cd-kiem { margin-bottom: 8px; gap: 8px; }
.cd a.cd-lop { color: inherit; text-decoration: none; display: block; }
.cd .cd-bd { margin-bottom: 10px; }
.cd .cd-bd svg { width: 100%; height: auto; display: block; }
.cd .cd-dai { fill: #E3F1E8; stroke: none; }
.cd .cd-tv { fill: none; stroke: #7FB896; stroke-width: 1.2; stroke-dasharray: 4 3; }
.cd .cd-truc { stroke: #B8BDC6; }
.cd .cd-chu { font-size: 10px; fill: #5E5E63; }
.cd .cd-be-duong { fill: none; stroke: var(--accent); stroke-width: 2; }
.cd .cd-diem { fill: var(--accent); stroke: #fff; stroke-width: 1.5; }

/* Phiếu 2900 — Học phí (bản vẽ anh Cường duyệt 13/11/2026) */
.hp-bao { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; background: #FFF8E6; border: 1px solid #F3DFA8; border-radius: 10px; padding: 10px 14px; margin: 0 0 12px; font-size: 13px; }
.hp-bao-do { color: #B42318; }
.hp-nn { text-align: left; font: inherit; color: inherit; cursor: pointer; }
.hp-nn.on { outline: 2px solid var(--brand, #17a673); }
.hp-tbl td .tc-nhan { margin-left: 6px; font-size: 11px; }
.hp-tbl tr.hp-dong { cursor: pointer; } .hp-tbl tr.hp-dong:hover td { background: #F7F8FA; }
.hp-tbl tr.mo td { color: var(--muted); }
.hp-tbl tr.hp-con td { font-size: 12px; padding-top: 4px; padding-bottom: 4px; color: var(--ink2); background: #FAFBFC; }
.hp .r, .hp-be .r { text-align: right; } .hp .c { text-align: center; }
.hp-luoi { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 24px; margin-top: 12px; }
.hp-nhan { font-size: 12px; font-weight: 600; color: var(--muted); margin: 10px 0 6px; text-transform: uppercase; letter-spacing: .03em; }
.hp-chon { display: flex; align-items: center; gap: 8px; margin: 6px 0; font-size: 14px; }
.hp input[type=radio], .hp-be input[type=radio], .modal .hp-chon input[type=radio] { width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--accent); }
.hp .row > .field, .modal .row > .field { flex: 1 1 140px; min-width: 0; }
.hp-tbl th:first-child, .hp-tbl td:first-child { width: 36px; }
.hp-so { width: 70px; } .hp-so-dai { width: 110px; }
.hp-cong-thuc { margin-top: 10px; padding: 8px 12px; background: #F2F6FB; border-radius: 8px; font-size: 13px; }
.hp section.card { margin-bottom: 12px; }
.hp-the-ds { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-bottom: 12px; }
.hp-the { text-align: left; display: flex; flex-direction: column; gap: 6px; cursor: pointer; border: 1px solid var(--line); background: var(--card); font: inherit; color: inherit; }
.hp-the:hover { border-color: var(--info); } .hp-the.mo { opacity: .6; }
.hp-h2 { font-size: 16px; margin: 18px 0 8px; display: flex; gap: 8px; align-items: center; }
.hp-cho { display: grid; grid-template-columns: 120px 1fr 1.3fr 1.6fr auto; gap: 10px; align-items: start; margin-bottom: 8px; }
.hp-cho.gap { border-left: 3px solid #E0A100; }
.hp-cho-nut { justify-content: flex-end; }
.hp-chua td { background: #FFF6F5; }
.hp-tbl-muc select, .hp-tbl-muc input { max-width: 100%; }
.hp-be .btn { margin-top: 6px; margin-right: 6px; } .hp-be li { margin-bottom: 6px; }
@media (max-width: 720px) { .hp-cho { grid-template-columns: 1fr 1fr; } .hp-cho-nut { grid-column: 1 / -1; } }
/* 1300af / 1300ag: Trợ lý kiểm bếp · dị ứng dạng danh sách */
.kit-tro-ly { margin-bottom: 10px; display: grid; gap: 6px; }
.kit-tl-ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.kit-tl-dong { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.kit-tl-dong.da-xn { opacity: .6; }
.kit-du-ds { display: grid; gap: 6px; max-height: 55vh; overflow: auto; }
.kit-du-dong { padding: 4px 6px; border-radius: 6px; }
.kit-du-dong.chon { background: var(--bg-soft, rgba(0,0,0,.04)); }
.kit-khay-rieng { margin-bottom: 10px; }
.hp-luoi > div:nth-child(4) { grid-column: 1 / -1; } .hp-luoi > div:nth-child(4) .row > .field { flex: 1 1 200px; max-width: 320px; }

/* 1300aa — thanh 6 bước có chấm trạng thái + thẻ Thiết lập ban đầu (Hôm nay) */
.kit-buoc-cham { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-left: 2px; background: #b7791f; flex: 0 0 auto; }
.kit-buoc-cham.tre { background: #c0392b; } .kit-buoc-cham.cho, .kit-buoc-cham.vang { background: #b7791f; }
.kit-buoc-o.dang .kit-buoc-cham { box-shadow: 0 0 0 2px #fff; }
.kit-thiet-lap { margin-bottom: 10px; display: grid; gap: 6px; }
.kit-tl-tien { height: 6px; background: #EEF0F3; border-radius: 6px; overflow: hidden; } .kit-tl-tien i { display: block; height: 100%; background: var(--accent); }
.kit-tl-ds { list-style: none; margin: 0; padding: 0; display: grid; }
.kit-tl-ds li { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0; border-top: 1px solid var(--line); }
.kit-tl-ds li:first-child { border-top: 0; }
.kit-tl-so { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex: 0 0 auto; }
.kit-tl-so.ok { background: #EAF6EE; color: var(--ok); } .kit-tl-so.cho { background: #FFF4D6; color: #7A4A00; }
.kit-tl-mo-ta { display: block; }
.kit-tl-gon { width: 100%; margin-bottom: 10px; text-align: left; cursor: pointer; border: 1px solid var(--line); font: inherit; color: inherit; }

/* Phiếu 2900c — ưu đãi riêng trên thẻ tiềm năng + Quyết định ưu đãi */
.crm-ud { border-top: 1px solid var(--line2); margin-top: 8px; padding-top: 4px; display: grid; gap: 8px; }
.crm-ud .hp-nhan { margin: 6px 0 0; }
.crm-ud-dong { border: 1px solid var(--line2); border-radius: 10px; padding: 8px 10px; display: grid; gap: 3px; }
.crm-ud-dong.cho_duyet { background: #FFFBF0; border-color: #F3DFA6; }
.crm-ud-dong.tu_choi { opacity: .75; }
.crm-ud-qd { flex-wrap: wrap; align-items: center; margin-top: 4px; }
.crm-ud input[type=checkbox], .hp-be input[type=checkbox], .hp-qd-trang input[type=checkbox], .modal .hp-chon input[type=checkbox] {
  width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--accent); }
.modal .hp-chon { flex-wrap: wrap; }
.modal .hp-chon .ongay[data-kieu=month] { width: auto; min-width: 140px; }
.crm-ud-so { width: 64px !important; flex: none; }
.hp-qd { max-width: 760px; margin: 12px auto; background: #fff; border: 1px solid var(--line2); padding: 28px 40px; font-family: 'Times New Roman', Times, serif; font-size: 15px; line-height: 1.5; color: #000; }
.hp-qd p { margin: 6px 0; text-align: justify; }
.hp-qd-dau { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; text-align: center; font-size: 13.5px; }
.hp-qd-gach { width: 35%; margin: 3px auto 6px; border-top: 1px solid #000; }
.hp-qd-ten { text-align: center; font-size: 17px; margin: 22px 0 2px; letter-spacing: .02em; }
.hp-qd-ve, .hp-qd-ky-tren { text-align: center; margin: 4px 0 10px; }
.hp-qd-cuoi { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.hp-qd-nhan { font-size: 13px; }
.hp-qd-ky { text-align: center; }
.hp-qd-cho-ky { height: 84px; }
@media print { body.print-doc .hp-qd { border: 0; padding: 0; margin: 0; max-width: none; } }
/* 2300p — Kênh kết nối toàn hệ thống; ô Kênh đăng bài (Marketing) */
.crm .kenh-dong { display: grid; grid-template-columns: minmax(0, 1fr) 180px auto; gap: 10px; align-items: center; }
.crm .kenh-ten { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.crm .kenh-dung { gap: 6px; }
.crm .kenh-co-so { min-height: 40px; }
.modal .kenh-dong { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line2); }
.modal .kenh-ten { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.modal .crm-do { color: #C9372C; } .modal .crm-vang { color: #7A4A00; }
@media (max-width: 640px) { .crm .kenh-dong { grid-template-columns: minmax(0, 1fr) auto; } .crm .kenh-dong .kenh-ten { grid-column: 1 / -1; }
  .modal .kenh-dong { grid-template-columns: 1fr; } }
.mkt-kenh-dang { margin-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.mkt-kenh-dang h2 { margin: 0; }
.mkt-kenh-dang .crm-xanh { color: var(--ok); } .mkt-kenh-dang .crm-vang { color: #7A4A00; }

/* 1300ak — đơn đã đổi sau khi in */
.kit-don-doi { margin-bottom: 10px; display: grid; gap: 6px; border-left: 4px solid #b7791f; }
.kit-don-doi-ds { margin: 4px 0 0; padding-left: 18px; }

/* 2900b1 — Kỳ thu (song song EMIS) */
.kt-so { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0 0 12px; }
.kt-so .card b { font-size: 18px; display: block; margin: 2px 0; }
.kt-file { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 12px; }
.kt-luoi { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: start; }
@media (max-width: 1100px) { .kt-luoi { grid-template-columns: minmax(0, 1fr); } }
.kt-loc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; }
.kt-loc select { width: auto; min-width: 160px; }
.kt-tbl td .tc-nhan { margin-left: 0; margin-right: 4px; }
.kt-cb { display: flex; flex-direction: column; gap: 8px; }
.kt-cb-dong { display: flex; gap: 8px; align-items: flex-start; text-align: left; background: none; border: 0; padding: 2px 0; font: inherit; color: inherit; cursor: pointer; }
.kt-cb-dong:hover span:last-child { text-decoration: underline; }
.kt-ct { display: flex; flex-direction: column; gap: 10px; }
.kt-cuoi { display: flex; justify-content: flex-end; margin-top: 10px; }
.hp-ky { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.hp-ky select { width: auto; }

/* ===== Phiếu 3000 — Ký điện tử nội bộ (bảng màu chung B; màu chỉ mang nghĩa) ===== */
.ky .ky-phu { display: block; }
.ky-mau .ky-anh, .ky-so-sanh img { max-width: 100%; max-height: 120px; background: #fff; border-radius: 8px; }
.ky-anh.dau { max-height: 110px; }
.ky-so-sanh { display: flex; gap: 12px; flex-wrap: wrap; }
.ky-so-sanh figure { margin: 0; flex: 1 1 140px; }
.ky-so-sanh figcaption { font-size: 12px; color: var(--ink2); }
.ky-canh { background: #FFF6E5; color: #7A4F00; padding: 8px 12px; border-radius: 10px; }
.ky-ds { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 6px; }
.ky-ds li.ky-huy { text-decoration: line-through; color: var(--ink2); }
.ky-chan { position: sticky; bottom: 0; padding: 10px 0; background: var(--bg); }
.ky-bang { display: grid; gap: 10px; margin-top: 8px; }
.ky-dong { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); }
.ky-dong select { min-height: 44px; }
@media (min-width: 760px) { .ky-dong { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; align-items: center; } .ky-dong.tk { grid-template-columns: 2fr auto 2fr; } }
.ky-kq.ok { border-left: 4px solid #1B6B3A; }
.ky-kq.sai { border-left: 4px solid #C9372C; }
.ky-khoi { margin-top: 10px; display: grid; gap: 6px; flex-basis: 100%; }
.hr-hd-ky { flex-basis: 100%; }
.ky-giu select { min-height: 44px; max-width: 100%; }
.ky .card { padding: 12px 14px; margin-bottom: 10px; }
.ky-loc { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ky-loc button { display: inline-flex; gap: 6px; align-items: baseline; padding: 8px 12px; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; }
.ky-loc button.on { background: var(--side-on); border-color: var(--brand); }
.ky-loc button.mo { color: var(--ink2); }
.ky-dong-y { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; }
.ky-dong-y input { margin-top: 3px; width: 20px; height: 20px; flex: none; }
/* ---------- Cộng đồng 2100k (A): bình luận mới của người khác trượt vào, nhãn "mới" 10 giây, nút "N bình luận mới" ---------- */
.cd-bl.moi { animation: cd-bl-vao .35s ease-out; }
.cd-bl.moi > .grow > .cd-bl-bong { background: var(--side-on); box-shadow: inset 0 0 0 1px var(--accent-line); transition: background .6s, box-shadow .6s; }
@keyframes cd-bl-vao { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.cd-bl-nhan-moi { display: inline-block; margin-left: 6px; padding: 0 7px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; vertical-align: 1px; }
.cd-bl-moi-nut { position: sticky; bottom: calc(var(--thanh-duoi, 0px) + 72px); z-index: 5; align-self: center; display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; box-shadow: 0 4px 14px rgba(16, 24, 40, .25); animation: cd-truot .3s ease-out; }
@media (prefers-reduced-motion: reduce) { .cd-bl.moi, .cd-bl-moi-nut { animation: none; } }
/* ---------- 2100k (C): bình chọn trong Chat dùng giao diện bình chọn Cộng đồng (.bc) ---------- */
.poll-card.bc { padding: 12px; gap: 8px; }
.poll-card.bc .poll-row { display: flex; flex-direction: column; align-items: stretch; gap: 4px; }
.poll-card.bc .bc-pa { width: 100%; font: inherit; text-align: left; cursor: pointer; }
.poll-card.bc .bc-hoi { font-size: 16px; }
.poll-card.bc .poll-who { padding: 0 4px; }
.poll-card.bc .bc-dong .row { gap: 12px; }
#poll-new .bc-han-chon { display: flex; align-items: center; gap: 12px; }

/* ===== Phiếu 3000b — trang Ký kiểu MISA eSign + Trình ký tự do (bản vẽ 3000b-1…5) ===== */
.kyb, .kyb-trang { max-width: 720px; }
.kyb-trang { display: flex; flex-direction: column; gap: 12px; padding-bottom: 150px; }
.kyb { padding-top: 0; padding-bottom: 150px; }
.kyb-dau { background: #1F6B65; color: #fff; padding: 18px 16px 56px; margin: 0 -16px; display: flex; flex-direction: column; gap: 4px; border-radius: 0 0 18px 18px; }
@media (min-width: 901px) { .kyb-dau { margin: 0; border-radius: 18px; } }
.kyb-dau a { color: #CDEAE6; font-size: 14px; text-decoration: none; }
.kyb-dau h1 { margin: 0; font-size: 26px; font-weight: 700; color: #fff; }
.kyb-dau > span { font-size: 13px; color: #CDEAE6; }
.kyb-than { margin-top: -40px; display: flex; flex-direction: column; gap: 14px; }
.kyb-the { background: #fff; border-radius: 18px; box-shadow: 0 4px 16px rgba(0,0,0,.06); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; color: var(--ink); text-decoration: none; }
.kyb-cho { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-height: 48px; }
.kyb-cho b { font-size: 16px; display: block; }
.kyb-so { font-size: 34px; font-weight: 700; color: #1F6B65; min-width: 44px; }
.kyb-so.dau { font-size: 24px; color: #9A5B00; }
.kyb-phu { display: block; font-size: 13px; color: #5B646D; }
.kyb-nut-ky { height: 40px; padding: 0 16px; border-radius: 10px; background: #1F6B65; color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; white-space: nowrap; }
.kyb-ke { border-top: 1px solid #EEF0F2; }
.kyb-nhac { color: #7A4F00; background: #FFF6E5; font-size: 14px; }
.kyb-nhanh { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 16px 8px; }
.kyb-nhanh a { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-size: 12.5px; text-align: center; line-height: 1.25; }
.kyb-nhanh a > span { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.kyb-tieu { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.kyb-tieu b { font-size: 16px; }
.kyb-tieu a, .kyb-tieu .btn-link { font-size: 14px; font-weight: 600; white-space: nowrap; }
.kyb-t16 { font-size: 16px; } .kyb-t17 { font-size: 17px; }
.kyb-ls { display: flex; gap: 12px; align-items: center; padding: 10px 0; border: 0; border-top: 1px solid #EEF0F2; background: none; font: inherit; color: var(--ink); text-align: left; width: 100%; cursor: pointer; min-height: 48px; }
.kyb-ls b { font-size: 14px; display: block; overflow-wrap: anywhere; }
.kyb-pdf { width: 36px; height: 40px; flex: none; border-radius: 8px; background: #E3F3F1; color: #1F6B65; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.kyb-pdf.lon { width: 44px; height: 52px; }
.kyb-face { display: flex; gap: 12px; align-items: center; }
.kyb-face b { font-size: 14px; display: block; }
.kyb-face a { font-size: 14px; font-weight: 600; }
.kyb-xanh { display: block; font-size: 13px; color: #1F6B65; }
.kyb-qt { padding: 6px 16px; gap: 0; }
.kyb-qt > span { padding: 8px 0 2px; }
.kyb-qt a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #EEF0F2; text-decoration: none; color: var(--ink); font-size: 15px; min-height: 44px; }
.kyb-qt a:last-child { border-bottom: 0; }
.kyb-fab { position: fixed; right: 16px; bottom: calc(92px + env(safe-area-inset-bottom)); z-index: 25; height: 56px; padding: 0 20px 0 16px; border-radius: 28px; background: #5B3FA6; color: #fff;
  display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 6px 18px rgba(91,63,166,.35); }
.kyb-fab:hover { color: #fff; background: #4C3390; }
@media (min-width: 901px) { .kyb-fab { bottom: 28px; right: 28px; } }
/* bảng chọn trượt từ dưới */
.kyb-man { position: fixed; inset: 0; z-index: 60; }
.kyb-nen { position: absolute; inset: 0; background: rgba(27,31,35,.38); border: 0; display: block; }
.kyb-sheet { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto; background: #fff; border-radius: 22px 22px 0 0;
  padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 901px) { .kyb-sheet { left: 50%; right: auto; width: 440px; transform: translateX(-50%); bottom: 10vh; border-radius: 22px; } }
.kyb-tay { width: 40px; height: 4px; border-radius: 2px; background: #D5DAE0; align-self: center; }
.kyb-sheet-t { font-size: 20px; text-align: center; }
.kyb-giua { text-align: center; }
.kyb-ba { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kyb-ba button { border: 0; background: transparent; display: flex; flex-direction: column; align-items: center; gap: 8px; font: inherit; font-weight: 500; font-size: 14px; color: var(--ink); cursor: pointer; min-height: 88px; }
.kyb-ba button > span { width: 60px; height: 60px; border-radius: 30px; display: flex; align-items: center; justify-content: center; }
.kyb-dong { width: 48px; height: 48px; border-radius: 24px; border: 0; background: #EEF0F2; align-self: center; display: flex; align-items: center; justify-content: center; cursor: pointer; }
/* Chữ ký của tôi (3000b-2) */
.kyb-huong { background: #E3F3F1; border-radius: 18px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.kyb-huong > span { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #1E4A46; }
.kyb-huong b { font-size: 14px; }
.kyb-chip { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 12px; white-space: nowrap; background: #EEF0F2; color: #5B646D; }
.kyb-chip.cho, .kyb-chip.tra_lai { background: #FFF1D6; color: #9A5B00; }
.kyb-chip.hoan_thanh { background: #E3F3F1; color: #1F6B65; }
.kyb-chip.chuyen_giay { background: #EEF0F2; color: #4A535C; }
.kyb-them { height: 96px; border: 2px dashed #B9C1CA; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: none;
  color: #1F6B65; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; width: 100%; }
.kyb-them.tat { height: 64px; flex-direction: row; border-color: #D5DAE0; font-size: 14px; }
.kyb-co-mau { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kyb-co-mau .ky-anh { max-height: 90px; max-width: 70%; }
.kyb-ds-dong { padding: 6px 16px; gap: 0; }
.kyb-ds-dong > a, .kyb-ds-dong > button { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border: 0; border-bottom: 1px solid #EEF0F2; background: none;
  text-decoration: none; color: var(--ink); font: inherit; font-size: 15px; text-align: left; width: 100%; cursor: pointer; min-height: 48px; }
.kyb-ds-dong > button { border-bottom: 0; }
.kyb-cot { display: flex; flex-direction: column; }
/* Trình ký — điền thông tin (3000b-4) */
.kyb-dong-dau { display: flex; justify-content: space-between; align-items: center; }
.kyb-o { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: #4A535C; }
.kyb-o input:not([type=range]), .kyb-o select { min-height: 46px; border: 1px solid #D5DAE0; border-radius: 12px; padding: 0 12px; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: #fff; }
.kyb-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kyb-hang { display: flex; gap: 8px; flex-wrap: wrap; }
.kyb-tep { flex-direction: row; align-items: center; gap: 12px; }
.kyb-tep b { overflow-wrap: anywhere; }
.kyb-tien { background: #FFF6E5; color: #6B4A00; border-radius: 12px; padding: 10px 12px; font-size: 13px; }
.kyb-cach { display: flex; gap: 18px; font-size: 14px; }
.kyb-cach label { display: flex; align-items: center; gap: 6px; min-height: 40px; }
.kyb-ng { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.kyb-ng li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid #EEF0F2; }
.kyb-ng li b { font-size: 14px; display: block; }
.kyb-ng select { min-height: 40px; border: 1px solid #D5DAE0; border-radius: 10px; padding: 0 6px; font: inherit; font-size: 13px; max-width: 108px; }
.kyb-keo { border: 0; background: none; color: #8A939C; font-size: 16px; letter-spacing: -2px; cursor: grab; touch-action: none; min-width: 32px; min-height: 44px; }
.kyb-stt { width: 24px; height: 24px; border-radius: 12px; background: #E3F3F1; color: #1F6B65; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.kyb-bo { border: 0; background: none; font-size: 22px; color: #8A939C; min-width: 36px; min-height: 44px; cursor: pointer; }
.kyb-tuy .kyb-tieu > span { display: flex; flex-direction: column; }
.kyb-vi-tri { display: flex; flex-direction: column; gap: 8px; font-size: 14px; background: #F4F5F7; border-radius: 12px; padding: 10px 12px; }
.kyb-vi-tri label { display: flex; gap: 8px; align-items: center; }
.kyb-bat { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; border-top: 1px solid #EEF0F2; }
.kyb-bat > span { display: flex; flex-direction: column; }
.kyb-bat input { width: 22px; height: 22px; flex: none; }
.kyb-chan { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr 2fr; gap: 10px; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: var(--bg); z-index: 5; }
.kyb-chan .btn { min-height: 48px; justify-content: center; }
.kyb-chan-doc { grid-template-columns: 2fr 1fr; }
.kyb-chan-doc > :nth-child(3) { grid-column: 1 / -1; }
.kyb-chon input[type=search] { min-height: 46px; border: 1px solid #D5DAE0; border-radius: 12px; padding: 0 12px; font: inherit; }
.kyb-chon-ds { display: flex; flex-direction: column; gap: 4px; max-height: 50vh; overflow: auto; }
.kyb-chon-ds button { display: flex; flex-direction: column; align-items: flex-start; width: 100%; border: 0; border-bottom: 1px solid #EEF0F2; background: none; font: inherit; color: var(--ink);
  text-align: left; padding: 10px 2px; cursor: pointer; min-height: 48px; }
.kyb-chon-ds button:disabled { opacity: .45; cursor: default; }
/* Văn bản tôi đã trình (3000b-5) */
.kyb-tab { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.kyb-tab a { white-space: nowrap; padding: 8px 14px; border-radius: 18px; background: #fff; border: 1px solid #E4E7EB; color: var(--ink); text-decoration: none; font-size: 14px; min-height: 40px; display: flex; align-items: center; }
.kyb-tab a.on { background: #1F6B65; border-color: #1F6B65; color: #fff; font-weight: 600; }
.kyb-vb .kyb-tieu b { overflow-wrap: anywhere; }
.kyb-buoc { list-style: none; margin: 4px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.kyb-buoc li { display: flex; gap: 10px; align-items: center; }
.kyb-buoc li > span:first-child { width: 28px; height: 28px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex: none; background: #EEF0F2; color: #5B646D; }
.kyb-buoc li.xong > span:first-child { background: #1F6B65; color: #fff; }
.kyb-buoc li.dang > span:first-child { background: #FFE8B8; color: #6B4A00; }
.kyb-buoc li b { font-size: 14px; display: block; }
.kyb-cach input[type=radio], .kyb-vi-tri input[type=radio] { width: 20px; height: 20px; min-height: 0; flex: none; margin: 0; padding: 0; }
.kyb-vi-tri label { justify-content: flex-start; text-align: left; }
.kyb-vi-tri input[type=range] { width: 100%; }
.kt-nguon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; flex-basis: 100%; padding-top: 10px; border-top: 1px solid var(--line, #e5e7eb); }
.kt-nguon label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; white-space: nowrap; }
.kt-nguon select { padding: 3px 6px; }
/* 3000c — người ký thay mặt pháp nhân theo loại giấy */
.ky-nk { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.ky-nk-dong { display: flex; flex-direction: column; gap: 4px; padding: 8px 0; border-top: 1px solid var(--line); }
.ky-nk-dong.het b { color: var(--muted); }
.ky-nk-tich { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ky-nk-tich label { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; }
.ky-nk-tich input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 0; }
.ky-nk-them { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
.ky-thay-mat { background: #EEF3FB; border-radius: 10px; padding: 8px 10px; }
/* 1300al: ô Bếp hôm nay (Điều hành + đầu Bếp ăn › Hôm nay) — chỉ việc quá hạn */
.kit-vt { display: grid; gap: 6px; }
.kit-vt-ok { background: #e9f6ee; color: #1f7a45; border-radius: 10px; padding: 8px 10px; font-weight: 600; }
.kit-vt-ok span { display: block; font-weight: 400; color: var(--muted, #68736c); font-size: 12.5px; margin-top: 2px; }
.kit-vt-ds { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.kit-vt-ds a { display: flex; gap: 8px; align-items: flex-start; text-decoration: none; color: inherit; background: #fdecec; border-radius: 9px; padding: 7px 10px; font-size: 13.5px; }
.kit-vt-ds a i { width: 8px; height: 8px; border-radius: 50%; background: #d64545; margin-top: 6px; flex: none; }
.kit-vt-ds a.xam { background: var(--bg-soft, #eef0ed); color: var(--muted, #68736c); }
.kit-vt-ds a.xam i { background: #9aa59c; }
.kit-vt-ds .tc-nhan { margin-left: 6px; }
.kit-vt-bon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; font-size: 11.5px; text-align: center; }
.kit-vt-bon div { border: 1px solid var(--line, #e2e6e0); border-radius: 8px; padding: 4px 2px; display: grid; }
.kit-vt-bon div.ok b { color: #1f7a45; } .kit-vt-bon div.do b { color: #d64545; }
.kit-vt-the { margin-bottom: 10px; display: grid; gap: 8px; border-left: 4px solid #d64545; }
/* Thẻ chứa vẫn nền sáng khi máy để chế độ tối (bản tối đầy đủ chưa làm) → không đổi nền riêng ô này, kẻo nền tối đè chữ tối */
/* 2900b2 — xác nhận / chốt */
.kt-tt { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding: 8px 10px; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; }
.xn-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; margin-bottom: 14px; }
.xn-be { display: flex; flex-direction: column; gap: 6px; }
.xn-so { margin: 0; padding-left: 18px; font-size: 14px; }
.xn-so li { margin: 2px 0; }
.xn-thanh { align-items: center; margin: 0 0 12px; flex-wrap: wrap; }

/* ---------- Phiếu 800l (anh Cường chốt 14/11/2026): Bàn làm việc MÁY TÍNH — một dòng đầu, menu chung gọn, bàn Hôm nay 3 cột ---------- */
.tb-trai { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.tb-trai:empty { display: block; }
.blv-tb-ten { margin: 0; font-size: 22px; line-height: 1.2; white-space: nowrap; }
.blv-tb-ban.blv-tabs { margin-top: 0; }
.blv-tb-ban { display: inline-flex; padding: 3px; gap: 2px; background: #E9ECEE; border-radius: 10px; flex: none; }
.blv-tb-ban a { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 8px; font-size: 14px; color: var(--ink2); text-decoration: none; white-space: nowrap; }
.blv-tb-ban a.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.blv-dau-tam { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.blv-mt .blv-apps-khung { margin-top: 0; }
.blv-luoi.blv-3cot { grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr) minmax(300px, 1fr); }
.blv-luoi.blv-2cot { grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); }
/* Bảng tin (giữa) dài vô tận → hai cột bên đứng yên khi cuộn. Anh 15/11 20:33: cột bên KHÔNG tự cuộn riêng (cuộn chuột trên cột bên từng bị "kẹt", trang không xuống);
   cột cao hơn màn hình cuộn theo trang tới hết rồi đứng ở đáy — top tính trong BanLamViec.tsx (min(76px, cao màn − cao cột − 16px)) */
.blv-3cot > .blv-cot-trai, .blv-3cot > .blv-cot-phai { position: sticky; top: 76px; align-self: start; }
.blv-cho-duyet .viec-dong { padding-left: 0; padding-right: 0; }
.blv-cho-duyet .viec-ic { display: none; }
.blv-cot .wn-dong, .blv-mt > .wn-dong { margin-bottom: 0; }
/* Mục "Ứng dụng" trong menu chung: lưới mở cố định cạnh nút (không bị menu thu gọn cắt) */
.ph-chuyen-hang > .nl { width: 100%; border: 0; background: transparent; font: inherit; font-size: 14px; cursor: pointer; text-align: left; }
.ph-chuyen-hang > .nl:hover { background: #F1F3F4; }
.ph-luoi.ph-luoi-noi { position: fixed; z-index: 300; grid-template-columns: repeat(4, 84px); max-height: calc(100vh - 16px); overflow-y: auto; }
/* Cột trái hẹp: dòng việc xếp dọc (tên trên, hạn dưới); "… quá hạn" không rớt chữ */
.blv-3cot .blv-cot-trai .cv-td-xl { flex-direction: column; align-items: flex-start; gap: 0; }
.blv-3cot .blv-cot-trai .blv-viec-so i { white-space: nowrap; font-size: 12px; }
@media (min-width: 761px) {
  .shell.mini .ph-chuyen-hang > .nl { justify-content: center; padding: 0; gap: 0; }
  .shell.mini .ph-chuyen-hang > .nl .nl-label { display: none; }
}
/* Màn hẹp hơn 1192px: bảng tin xuống dưới, hai cột ô đứng cạnh nhau (17k-b: menu thu gọn 68 → 80px nên ngưỡng +12px; ngưỡng menu mở 1352px giữ nguyên) */
@media (max-width: 1192px) {
  .blv-luoi.blv-3cot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .blv-3cot > .blv-cot-giua { grid-column: 1 / -1; order: 3; }
  .blv-3cot > .blv-cot-trai, .blv-3cot > .blv-cot-phai { position: static; max-height: none; overflow: visible; }
}
/* 2900f — công nợ + số dư */
.kt-tk { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; padding: 8px 10px; border: 1px dashed var(--line, #E4E7EB); border-radius: 8px; font-size: 13px; }
.kt-tk > b:first-child { flex-basis: 100%; font-size: 12px; color: var(--ink2); }
.cn-ky { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; border-top: 1px solid var(--line, #E4E7EB); }
.cn-tbl td { vertical-align: middle; }
/* 800l sửa 14/11 19:25 (anh báo "nhảy chữ"): kiểu dáng đầu bảng tin Cộng đồng trước đây chỉ khai cho điện thoại (≤ 760px) → ở cột giữa máy tính chữ dồn, nhảy dòng */
.blv-cot-giua .bt-cd { display: flex; flex-direction: column; gap: 12px; }
.blv-cot-giua .bt-cd-dau { display: flex; align-items: center; gap: 8px; padding: 0 4px; }
.blv-cot-giua .bt-cd-dau h2 { flex: 1; margin: 0; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.blv-cot-giua .bt-cd-mo { font-size: 13px; padding: 0 4px; margin-top: -4px; }
.blv-cot-giua .bt-cd-ghim { display: flex; align-items: center; gap: 8px; padding: 12px 14px; min-height: 44px; color: var(--ink); font-size: 14px; }
.blv-cot-giua .bt-cd-tat-ca { align-self: center; font-weight: 600; padding: 10px 16px; min-height: 40px; }
.blv-cot-giua .bt-cd-het { text-align: center; padding: 8px 0 16px; }
/* 800l (anh chốt 14/11/2026 19:52): hàng ứng dụng MỘT dòng, trượt ngang; nút ‹ › hai đầu, nút › mang số ứng dụng có việc đang khuất */
.blv-apps-1dong { position: relative; }
.blv-apps-1dong .blv-apps { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin-top: 0; padding-top: 12px; padding-bottom: 10px; }
.blv-apps-1dong .blv-apps::-webkit-scrollbar { display: none; }
.blv-apps-nut { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.14); }
.blv-apps-nut.trai { left: 6px; } .blv-apps-nut.phai { right: 6px; }
.blv-apps-nut:hover { border-color: var(--accent); }
.blv-apps-cham { position: absolute; top: -7px; right: -7px; min-width: 18px; padding: 0 5px; line-height: 18px; border-radius: 9px; background: #B3261E; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; text-align: center; }
/* Nút thu gọn / mở rộng menu ghim ở đáy menu, ngay trên ảnh đại diện */
@media (min-width: 761px) {
  /* 15/11/2026: khoảng chừa đáy 24px chuyển từ vùng cuộn sang chân menu — trình duyệt tính "bottom: 0" của chân dính TRỪ khoảng chừa của vùng cuộn,
     nên trước đây chân dừng cách đáy 24px và mục menu cuộn qua khe đó lọt ra dưới tên người dùng (Bếp ăn, Lương, menu thu gọn) */
  .side-scroll { padding-bottom: 0; }
  .side-day { margin-top: auto; position: sticky; bottom: 0; background: #fff; padding-top: 4px; padding-bottom: calc(env(safe-area-inset-bottom) + 24px); }
  .side-day .side-foot { margin-top: 0; }
  .side-day .nl-mini-toggle { margin-bottom: 0; min-height: 40px; border-top: 1px solid var(--line2); border-radius: 0; color: var(--ink2); }
  .shell.mini .side-day > .nl { justify-content: center; padding: 0; gap: 0; }
  .shell.mini .side-day > .nl .nl-label { display: none; }
}
/* 800l sửa 14/11 21:05: 3 cột quyết định theo bề rộng PHẦN NỘI DUNG, không chỉ theo cửa sổ — menu trái mở rộng (240px, hơn 172px so với thu gọn 68px)
   thì cần cửa sổ rộng hơn 172px mới đủ chỗ 3 cột (≈ 1057px nội dung). Không dùng container query ở đây: nó biến trang thành khung chứa cho hộp thoại position: fixed. */
@media (max-width: 1352px) {
  .shell:not(.mini) .blv-luoi.blv-3cot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .shell:not(.mini) .blv-3cot > .blv-cot-giua { grid-column: 1 / -1; order: 3; }
  .shell:not(.mini) .blv-3cot > .blv-cot-trai, .shell:not(.mini) .blv-3cot > .blv-cot-phai { position: static; max-height: none; overflow: visible; }
}

/* ---------- Phiếu 17k (anh Cường chốt 14–15/11/2026): KHUNG TRANG CHUẨN cho MÁY TÍNH — components/KhungTrang.tsx ----------
   Một dòng đầu trong khe #tb-trai của thanh trên: "‹ Tên phân hệ" (Shell) · › trang cha · tên trang · tab · — · ô Cơ sở · ⋯ · nút đối · nút chính.
   Thân trang cùng mép trái, tràn bề ngang tới 1440px (rộng hơn thì canh giữa cả khối). Điện thoại không dùng khung này.
   Bố cục nhiều cột quyết định theo bề rộng PHẦN NỘI DUNG = cửa sổ − menu trái (mở 240px / thu 80px) — ngưỡng viết thành cặp theo .shell.mini,
   không dùng container query (biến trang thành khung chứa cho hộp thoại position: fixed — ghi chú 800l ở trên). */
@media (min-width: 761px) {
  .page.ktr { max-width: 1440px; width: 100%; margin-left: auto; margin-right: auto; }
  .topbar:has(.ktr-dau) { padding-left: max(28px, calc((100% - 1440px) / 2)); padding-right: max(28px, calc((100% - 1440px) / 2)); }
  /* Không đủ chỗ trên một dòng (máy tính bảng, menu mở): cụm bên phải (ô Cơ sở + nút) XUỐNG DÒNG HAI, canh phải — anh chốt 15/11/2026.
     Thứ tự nhường chỗ: nút xuống dòng → trang cha co (hệ số 100) → tên trang rút gọn "…" (chỉ khi một mình một dòng vẫn không vừa). */
  .topbar:has(.ktr-dau) { align-items: flex-start; }
  .topbar:has(.ktr-dau) > .ph-ten, .topbar:has(.ktr-dau) > .topbar-right { min-height: 40px; }
  .ktr-dau { flex: 1; min-width: 0; min-height: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
  .ktr-trai { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; max-width: 100%; }
  .ktr-duong { display: flex; align-items: center; gap: 6px; flex: 0 100 auto; min-width: 0; overflow: hidden; white-space: nowrap; }
  .ktr-duong a { color: var(--muted); font-weight: 500; font-size: 15px; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
  .ktr-duong a:hover { color: var(--accent); }
  .ktr-ten { font-family: inherit; font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: 0; margin: 0 0 0 2px; flex: 0 1 auto; min-width: 48px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ktr-gian { flex: 1 1 0; min-width: 0; }
  .ktr-phai { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 8px; flex: 0 1 auto; min-width: 0; max-width: 100%; margin-left: auto; }
  .ktr-phai .co-so-chung { margin-left: 0; }
  .ktr-phai .btn, .ktr-phai select { min-height: 40px; }
  .ktr-nut { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 8px; } .ktr-nut:empty { display: none; }
  .ktr-nut .btn { white-space: nowrap; }
  /* tab trên dòng đầu (≤ 3 tab, đủ chỗ) / dòng hai */
  .ktr-tab { display: inline-flex; background: #EEF0F3; border-radius: 10px; padding: 3px; gap: 2px; flex: none; }
  .ktr-tab a, .ktr-tab button { border: 0; background: none; min-height: 34px; padding: 0 12px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--ink2);
    display: inline-flex; align-items: center; cursor: pointer; white-space: nowrap; text-decoration: none; }
  .ktr-tab .on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
  .ktr-tab-duoi { align-self: flex-start; }
  .page.ktr > .ktr-tab-duoi:not(.ktr-tab-luon) { display: none; }
  /* nút "⋯" */
  .ktr-them { position: relative; display: inline-flex; }
  .ktr-them-nut { width: 40px; padding: 0; }
  .ktr-them-ds { position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; min-width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,.14); padding: 6px; display: flex; flex-direction: column; }
  .ktr-them-ds button { border: 0; background: none; text-align: left; padding: 9px 12px; border-radius: 8px; font-size: 14px; cursor: pointer; min-height: 38px; }
  .ktr-them-ds button:hover, .ktr-them-ds button:focus-visible { background: #F3F5F6; }
  .ktr-them-ds button.do { color: #A33A1F; }
  /* thân trang */
  .page.ktr .kp-back, .page.ktr > .kp-tabs, .page.ktr .wf-fab { display: none; }   /* quay lại, tab theo vai, nút nổi: đã ở dòng đầu / menu trái */
  .page.ktr.wf-co-fab { padding-bottom: 0; }
  .page.ktr .cv-sua-mau h1.cv-ct-ten { display: none; }                /* tên trang đã ở dòng đầu — không lặp tiêu đề trong thân */
  .ktr-phu { margin-top: -6px; }
  .page.ktr.ktr-nhap > * { max-width: 760px; }
  .page.ktr.ktr-than-cu:not(.sk-rong) > * { max-width: 860px; }      /* thân chưa chuyển sang khung chuẩn (Sự kiện — chờ 300d-b): giữ bề rộng cũ, cùng mép trái */                         /* trang nhập: cột trái của bố cục chi tiết, cùng mép trái */
  .ktr-2cot { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; max-width: none; }
  .ktr-cot { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
  .ktr-o-ten { font-family: inherit; font-size: 16px; font-weight: 700; }
  .ktr-tt dl { margin: 0; } .ktr-tt dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line2); }
  .ktr-tt dt { color: var(--muted); flex: none; } .ktr-tt dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
  .ktr-nk ul { list-style: none; margin: 0; padding: 0; }
  .ktr-nk li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line2); font-size: 13.5px; }
  .ktr-nk li > span:last-child { flex: none; }
  .ktr-trao-doi .row-between { align-items: center; gap: 16px; }
  .ktr-luoi2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  .ktr-luoi2 > .ktr-o { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
  .page.ktr .cv-td-o { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
/* 17k — danh sách dạng DÒNG THẲNG CỘT (Tôi giao, máy tính): Việc · Người làm · Hạn · Trạng thái · nút. Cột cố định bề rộng để mọi dòng thẳng nhau. */
@media (min-width: 761px) {
  .page.ktr .ktr-bang { padding: 0; overflow: hidden; }
  .ktr-hang { display: grid; grid-template-columns: minmax(0, 1fr) 160px 124px 150px 236px; column-gap: 14px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line2); }
  .ktr-hang-dau { border-top: 0; padding-top: 12px; padding-bottom: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
  .ktr-nhom { display: block; width: 100%; text-align: left; border: 0; border-top: 1px solid var(--line2); background: #F7F8F9; padding: 9px 18px; font-size: 13px; font-weight: 700; color: var(--ink2); }
  .ktr-nhom-nut { cursor: pointer; } .ktr-nhom-nut:hover { background: #F0F2F4; }
  .ktr-c-viec { min-width: 0; }
  .ktr-ten-viec { font-weight: 600; overflow-wrap: anywhere; } a.ktr-ten-viec:hover { color: var(--accent); }
  .ktr-mo { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; display: inline-flex; gap: 6px; align-items: baseline; min-height: 0; }
  .ktr-phu-dong { margin-top: 2px; }
  .ktr-nguoi-hep { display: none; }
  .ktr-tien-do { max-width: 220px; margin-top: 6px; }
  .ktr-c-nguoi, .ktr-c-han { min-width: 0; overflow-wrap: anywhere; }
  .ktr-c-nut { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px; text-align: right; }
  .ktr-c-nut .btn { min-height: 32px; padding: 0 12px; font-size: 13px; white-space: nowrap; }
  .ktr-hang-con { grid-column: 1 / -1; padding: 8px 0 2px 18px; max-width: 640px; }
  .ktr-hang.tre { background: #FFFBF7; }
}
/* phần nội dung < ~1100px (menu thu: cửa sổ < 1236px · menu mở: < 1396px): bỏ cột Người làm, tên người xuống dòng phụ dưới tên việc — cột Việc luôn ≥ ~380px ở 1099–1440px */
@media (min-width: 761px) and (max-width: 1235px) {
  .ktr-hang { grid-template-columns: minmax(0, 1fr) 112px 140px 210px; } .ktr-hang > .ktr-c-nguoi { display: none; } .ktr-nguoi-hep { display: inline; }
}
@media (min-width: 761px) and (max-width: 1395px) {
  .shell:not(.mini) .ktr-hang { grid-template-columns: minmax(0, 1fr) 112px 140px 210px; } .shell:not(.mini) .ktr-hang > .ktr-c-nguoi { display: none; } .shell:not(.mini) .ktr-nguoi-hep { display: inline; }
}
/* ≤ 760px: lưới 2 ô của Theo dõi không tồn tại — các phần tử con xếp như trước phiếu 17k */
@media (max-width: 760px) { .ktr-luoi2, .ktr-luoi2 > .ktr-o { display: contents; } }
/* phần nội dung < ~920px (menu thu: cửa sổ < 1056px · menu mở: < 1216px) → chi tiết và lưới 2 ô về một cột */
@media (min-width: 761px) and (max-width: 1055px) { .ktr-2cot, .ktr-luoi2 { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 761px) and (max-width: 1215px) { .shell:not(.mini) .ktr-2cot, .shell:not(.mini) .ktr-luoi2 { grid-template-columns: minmax(0, 1fr); } }
/* dòng đầu < ~720px (menu thu: cửa sổ < 1120px · menu mở: < 1280px) → tab xuống dòng hai */
@media (min-width: 761px) and (max-width: 1119px) { .ktr-dau .ktr-tab-tren { display: none; } .page.ktr > .ktr-tab-duoi:not(.ktr-tab-luon) { display: inline-flex; } }
@media (min-width: 761px) and (max-width: 1279px) {
  .shell:not(.mini) .ktr-dau .ktr-tab-tren { display: none; } .shell:not(.mini) .page.ktr > .ktr-tab-duoi:not(.ktr-tab-luon) { display: inline-flex; }
}

/* ---------- Phiếu 17k-b (anh Cường chốt 14–15/11/2026): MENU TRÁI trên máy tính ----------
   (1) Menu thu gọn CÓ CHỮ dưới biểu tượng: cột 80px (trước 68px), chữ tối đa 2 dòng rồi "…" (rê chuột vẫn hiện đủ tên), menu dài thì cuộn; nhóm ngăn bằng một đường kẻ mảnh.
       Mọi ngưỡng bố cục viết theo menu thu gọn đã +12px (Bàn làm việc 3 cột 1180 → 1192px; khung trang chuẩn 1043 / 1107 / 1223 → 1055 / 1119 / 1235px).
   (2) Đầu menu phân hệ = "‹ Bàn làm việc" (lối thoát phân hệ duy nhất); tên phân hệ ở dòng đầu của trang — ở trang đầu phân hệ là chữ thường, không bấm được. */
.ph-dau > .nl { flex: 1; min-width: 0; }
.topbar .ph-ten-tinh { color: var(--ink); cursor: default; }
@media (min-width: 761px) {
  .shell.mini { --side: 80px; }
  .shell.mini .side { width: 80px; }
  .shell.mini .side-head, .shell.mini .side-scroll { padding-left: 6px; padding-right: 6px; }
  .shell.mini .side-scroll > .nl, .shell.mini .ph-dau > .nl, .shell.mini .ph-chuyen-hang > .nl, .shell.mini .side-day > .nl {
    flex-direction: column; justify-content: center; align-items: center; gap: 3px; padding: 6px 2px 5px; min-height: 52px; height: auto; text-align: center; }
  .shell.mini .side-scroll > .nl .nl-label, .shell.mini .ph-dau > .nl .nl-label, .shell.mini .ph-chuyen-hang > .nl .nl-label, .shell.mini .side-day > .nl .nl-label {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; white-space: normal; overflow-wrap: anywhere; flex: none; width: 100%;
    font-size: 10.5px; line-height: 1.2; font-weight: 500; text-align: center; }
  .shell.mini .side-scroll > .nl.on .nl-label, .shell.mini .ph-dau > .nl.on .nl-label { font-weight: 700; }
  .shell.mini .side-scroll > .nl.on::before { left: -6px; }
  .shell.mini .side-scroll > .ns { display: block; height: 1px; padding: 0; margin: 6px 12px; font-size: 0; background: var(--line2); }
  .shell.mini .ph-dau { padding-bottom: 6px; }
  .shell.mini .side-day .nl-mini-toggle { min-height: 48px; }
}

/* 2900h — Danh sách kỳ thu (theo danh sách kỳ thu EMIS) + cột File xuất từ EMIS */
.ky-ds { margin: 0 0 12px; display: flex; flex-direction: column; gap: 10px; }
.ky-dau { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; }
.ky-tbl { min-width: 920px; }
.ky-tbl th.ky-file, .ky-tbl td.ky-file { background: var(--bg-soft, #F4F8F6); }
.ky-tbl th.ky-file:first-of-type, .ky-tbl td.ky-file:first-of-type { padding-left: 20px; }
.ky-xanh { color: var(--ok, #0B6E4F); }
.ky-bao { flex: 1 1 100%; background: #FFF4DB; color: #6B4100; border-radius: 10px; padding: 8px 12px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.ky-bao-dong td { border-top: 0; padding-top: 0; }
.ky-them { border-style: dashed; }
.ky-khac { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 0; border-top: 1px solid var(--line, #E4E7EB); }
.ky-khac-ten { flex: 1 1 300px; }
.ky-khac-file { flex: 1 1 240px; }
.ky-cu > div { padding: 2px 0; }
.ky-tbl th:first-child, .ky-tbl td:first-child { width: 36px; }
.table-wrap .ky-tbl th:first-child, .table-wrap .ky-tbl td:first-child { min-width: 0; width: 36px; }
/* ---------- Màu theo logo — bản 2 (anh Cường chốt 15/11/2026, docs/chot/chot-2026-11-15-mau-logo.md, phiếu 17m) ----------
   Máy tính: thanh trên nền xanh ngọc logo pha nhạt (mọi phân hệ, cùng khung trang chuẩn 17k) · tab đang chọn chữ xanh đậm + vạch vàng logo
   (vàng logo CHỈ dùng ở đây — vàng còn lại là cảnh báo) · số thông báo giữ đỏ (anh bỏ bản xám 15/11 20:33)
   · nút phụ trong ô Chờ tôi duyệt viền xanh. Bộ màu tự chọn (bước 2) chỉ cần đổi các biến dưới đây + biến màu ở đầu file. */
:root { --thanh-tren: rgba(229,244,243,.94); --thanh-tren-vien: #B3DEDB; --tab-nen: #CCE9E7; }
@media (min-width: 761px) {
  .topbar { background: var(--thanh-tren); border-bottom-color: var(--thanh-tren-vien); }
  .topbar .blv-tb-ban, .topbar .ktr-tab { background: var(--tab-nen); }
  .topbar .blv-tb-ban a.on, .topbar .ktr-tab .on { color: var(--accent-ink); box-shadow: inset 0 -3px 0 var(--sun), 0 1px 2px rgba(0,0,0,.08); }
}
/* Số tổng (chuông, đầu ô) giữ ĐỎ như trước — anh 15/11 20:33 bỏ bản xám ("thông báo hết đỏ, dễ không để ý") */
.blv-cho-duyet .viec-dong > .btn:not(.primary) { color: var(--accent); border-color: var(--accent-line); }

/* ---------- Bộ màu tự chọn (phiếu 17n, anh Cường chốt 15/11/2026): Thiết lập › Giao diện, lưu theo máy (lib/giao-dien.ts — mã màu phải khớp).
   Chỉ đổi biến màu thương hiệu; màu báo việc, ô ứng dụng (800d), logo giữ nguyên. Mặc định "Xanh Hugo" = các biến ở đầu file + khối "Màu theo logo — bản 2". */
html[data-giao-dien="go"] { --brand: #A8743F; --accent: #8A5A2B; --accent-soft: #A8743F17; --accent-ink: #4A2E12; --accent-line: #E3D2BF;
  --stage: #4A2E12; --side-on: #F6EEE6; --side-on-ink: #4A2E12; --thanh-tren: rgba(246,238,230,.94); --thanh-tren-vien: #E3D2BF; --tab-nen: #EBDCCB; }
html[data-giao-dien="xam"] { --brand: #6B7782; --accent: #4F5B66; --accent-soft: #6B778217; --accent-ink: #1F2933; --accent-line: #D3D8DD;
  --stage: #1F2933; --side-on: #EEF0F2; --side-on-ink: #1F2933; --thanh-tren: rgba(238,240,242,.94); --thanh-tren-vien: #D3D8DD; --tab-nen: #DDE1E5; }
.gd-chon { display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.them-ds .gd-chon > button { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); text-align: left; }
.them-ds .gd-chon > button[aria-checked="true"] { border-color: var(--gd-accent); background: var(--gd-nhat); }
.gd-xem { width: 64px; height: 44px; flex: none; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #F5F6F7; position: relative; }
.gd-xem i { position: absolute; left: 0; right: 0; top: 0; height: 12px; background: var(--gd-nhat); border-bottom: 1px solid var(--gd-vien); }
.gd-xem b { position: absolute; right: 7px; bottom: 7px; width: 22px; height: 8px; border-radius: 3px; background: var(--gd-accent); }
.gd-ten { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; } .gd-ten small { color: var(--muted); font-size: 13px; font-weight: 400; }
.gd-tich { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid #C9CDD2; display: flex; align-items: center; justify-content: center; color: #fff; }
.gd-chon > button[aria-checked="true"] .gd-tich { background: var(--gd-accent); border-color: var(--gd-accent); }


/* 400m — Nhân sự dạng Bảng · Chia đôi · Nhắc việc (mẫu e9ef44bb) */
.ns-kieu, .ns-xem { display: flex; gap: 6px; flex-wrap: wrap; }
.ns-kieu { background: var(--line2); border-radius: 10px; padding: 3px; align-self: flex-start; }
.ns-kieu button { min-height: 36px; padding: 0 14px; border: 0; background: transparent; border-radius: 8px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.ns-kieu button.on { background: var(--card); color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px #0000001a; }
.ns-xem button { min-height: 38px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.ns-xem button span { color: var(--muted); margin-left: 6px; }
.ns-xem button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.ns-xem button.tu { border-style: dashed; }
.ns-bang-the { padding: 0; overflow: hidden; }
.ns-bang-thanh { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px; border-bottom: 1px solid var(--line); }
.ns-bang-thanh input[type=search] { flex: 1; min-width: 220px; }
.ns-bang-thanh .btn.on { border-color: var(--accent); color: var(--accent); }
.ns-dk-chip { font-size: 13px; background: var(--accent-soft); color: var(--accent); border-radius: 16px; padding: 4px 6px 4px 10px; font-weight: 600; }
.ns-dk-chip button { border: 0; background: transparent; color: inherit; min-width: 28px; min-height: 28px; cursor: pointer; }
.ns-bang-cuon { overflow: auto; max-height: calc(100vh - 150px); min-height: 360px; }   /* 400o: giãn gần hết màn khi cuộn tới bảng */
.ns-bang { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 14px; }
.ns-bang th, .ns-bang td { padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; text-align: left; background: var(--card); }
.ns-bang th { position: sticky; top: 0; z-index: 2; background: var(--line2); font-size: 13px; color: var(--muted); }
.ns-bang th button { border: 0; background: transparent; font: inherit; font-weight: 600; color: inherit; cursor: pointer; padding: 0; min-height: 28px; }
.ns-bang th:nth-child(1), .ns-bang td:nth-child(1) { position: sticky; left: 0; z-index: 1; }
.ns-bang th:nth-child(2), .ns-bang td:nth-child(2) { position: sticky; left: 92px; z-index: 1; box-shadow: 2px 0 0 var(--line); }
.ns-bang th:nth-child(1), .ns-bang th:nth-child(2) { z-index: 3; }
.ns-bang td:nth-child(1) { min-width: 68px; }
/* 19/11: Họ và tên đứng đầu (trước Mã NV) → chỉ ghim cột Họ và tên; Mã NV cuộn theo bảng */
.ns-bang.ten-truoc th:nth-child(1), .ns-bang.ten-truoc td:nth-child(1) { box-shadow: 2px 0 0 var(--line); }
.ns-bang.ten-truoc th:nth-child(2), .ns-bang.ten-truoc td:nth-child(2) { position: static; left: auto; box-shadow: none; }
.ns-bang.ten-truoc th:nth-child(2) { position: sticky; top: 0; z-index: 2; }
/* 400u: bảng Hợp đồng theo thứ tự cột AMIS — ghim cột thứ 3 (Họ và tên NLĐ) thay cho 2 cột đầu */
.ns-bang.hd th:nth-child(1), .ns-bang.hd th:nth-child(2) { left: auto; z-index: 2; box-shadow: none; }
.ns-bang.hd td:nth-child(1), .ns-bang.hd td:nth-child(2) { position: static; box-shadow: none; }
/* 400u a2: cột chọn / xếp lại được nên ghim theo lớp .ghim (cột Họ và tên) thay vì theo vị trí thứ 3 */
.ns-bang.hd th.ghim, .ns-bang.hd td.ghim { position: sticky; left: 0; z-index: 1; box-shadow: 2px 0 0 var(--line); }
.ns-bang.hd th.ghim { z-index: 3; }
/* 400u a3: Hợp đồng dạng Chia đôi (khung phải), HĐ đang chọn tô nền; menu … ở 3 dòng cuối bảng dài mở lên trên */
.ns-hd-ct { display: flex; flex-direction: column; gap: 12px; }
.ns-hd-ct-dau h2 { margin: 0; font-size: 18px; }
.hr-hd-dong.chon { background: var(--accent-soft); border-radius: 10px; box-shadow: inset 3px 0 0 var(--accent); }
.ns-chia-dong .hr-co { margin-top: 3px; }
.ns-bang tr.ns-menu-len .menu-nut-ds { top: auto; bottom: calc(100% + 4px); }
/* 400u (c): màn Duyệt — bảng ô · cũ → mới dưới mỗi đề nghị sửa hồ sơ */
.ns-cu-moi { display: grid; gap: 3px; margin-top: 4px; font-size: 13px; }
.ns-cu-moi > div { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ns-cu-moi .muted { min-width: 150px; }
.ns-cu-moi .cu { text-decoration: line-through; color: var(--muted); }
.ns-cu-moi .khong-doi { opacity: .6; }
/* 400u (c): màn Nhân sự › Tổng quan */
.ns-tq-o.ns-tq-nam { grid-template-columns: repeat(5, minmax(110px, 1fr)); min-width: 0; }
a.ns-tq-1o { text-decoration: none; }
.ns-tq-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.ns-tq-dip { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ns-tq-dip li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; }
@media (max-width: 760px) { .ns-tq-hai { grid-template-columns: 1fr; } .ns-tq-o.ns-tq-nam { grid-template-columns: repeat(2, 1fr); } .hr-tong-quan .ns-tq-o { min-width: 0; } }
/* 400u a2: dải tổng quan đầu Danh sách / Hợp đồng (số lớn · vòng + chú giải · ô số · nút Ẩn) */
.ns-tq { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; padding: 12px 16px; position: relative; }
.ns-tq-so { display: flex; flex-direction: column; gap: 2px; min-width: 120px; }
.ns-tq-so b { font-family: var(--display); font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ns-tq-giua-khoi { display: flex; flex-direction: column; gap: 4px; }
.ns-tq-vong-khoi { display: flex; align-items: center; gap: 12px; }
.ns-tq-vong { flex-shrink: 0; }
.ns-tq-giua { font-size: 17px; font-weight: 700; fill: var(--ink); font-variant-numeric: tabular-nums; }
.ns-tq-chu { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13px; }
.ns-tq-chu li { display: flex; align-items: center; gap: 6px; }
.ns-tq-chu i { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }
.ns-tq-chu b { margin-left: auto; padding-left: 12px; font-variant-numeric: tabular-nums; }
.ns-tq-o { display: grid; grid-template-columns: repeat(4, minmax(96px, 1fr)); gap: 8px; flex: 1; min-width: 320px; }
.ns-tq-1o { display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-align: left; font: inherit; color: inherit; }
.ns-tq-1o b { font-size: 20px; font-variant-numeric: tabular-nums; }
.ns-tq-1o span { font-size: 12px; color: var(--muted); line-height: 1.25; }
.ns-tq-1o.bam { cursor: pointer; min-height: 44px; }
.ns-tq-1o.bam:hover, .ns-tq-1o.bam.on { border-color: var(--accent); background: var(--accent-soft); }
.ns-tq-an { position: absolute; top: 6px; right: 8px; }
@media (max-width: 760px) { .ns-tq { display: none; } }
.ns-bang tbody tr:hover td { background: var(--accent-soft); }
.ns-bang-nhom td { background: var(--line2) !important; }
.ns-bang a { color: var(--ink); text-decoration: none; } .ns-bang a:hover { color: var(--accent); }
.ns-mua-vu { margin-left: 6px; font-size: 12px; font-weight: 700; color: #7A3E00; background: #FDEBD8; border-radius: 6px; padding: 2px 6px; }
.ns-cot-dong, .ns-dk-dong { display: flex; gap: 6px; align-items: center; min-height: 40px; }
.ns-cot-dong label { display: flex; gap: 8px; align-items: center; }
.ns-dk-dong select, .ns-dk-dong input { flex: 1; min-width: 0; }
.ns-chia { display: grid; grid-template-columns: 320px 1fr; gap: 16px; align-items: start; }
.ns-chia-trai { padding: 8px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 260px); overflow: auto; position: sticky; top: 12px; }
.ns-chia-dong { display: flex; flex-direction: column; align-items: flex-start; text-align: left; padding: 9px 10px; border: 0; border-left: 3px solid transparent; border-radius: 10px; background: transparent; font: inherit; color: var(--ink); cursor: pointer; min-height: 44px; }
.ns-chia-dong.on { background: var(--accent-soft); border-left-color: var(--accent); }
.ns-chia-phai { padding: 0; min-width: 0; overflow: hidden; }
.ns-chia-phai > .page { padding: 16px 20px; max-width: none; }
.ns-nhac { display: grid; grid-template-columns: 1fr 320px; gap: 16px; align-items: start; }
.ns-nhac-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.ns-nhac-the { border-top: 4px solid var(--line); }
.ns-nhac-the.red { border-top-color: var(--late); } .ns-nhac-the.yellow { border-top-color: #B26A00; } .ns-nhac-the.green { border-top-color: var(--accent); }
.ns-nhac-the h2, .ns-nhac-thieu h2 { margin: 0; font-size: 15px; font-weight: 700; }
.ns-nhac-so { font-size: 20px; }
.ns-nhac-the ul { list-style: none; margin: 8px 0 0; padding: 0; }
.ns-nhac-the li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.ns-nhac-the li a { color: var(--ink); text-decoration: none; }
.ns-nhac-thieu-dong { padding: 10px 0; border-bottom: 1px solid var(--line2); color: var(--ink); text-decoration: none; font-size: 14px; min-height: 44px; }
@media (max-width: 1100px) { .ns-chia, .ns-nhac { grid-template-columns: 1fr; } .ns-chia-trai { position: static; max-height: 320px; } }

/* 400n — hàng Thẻ · Bảng · Chia đôi + nút Nhắc việc */
.ns-kieu-hang { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ns-kieu-hang .ns-kieu { align-self: auto; }

/* 400o — Nhân sự gọn: một nút Sửa, sửa tại ô, chọn nhiều người */
.ns-chon-thanh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--accent); color: #fff; border-radius: 12px; padding: 8px 12px; position: sticky; top: 8px; z-index: 5; }
.ns-chon-thanh .btn { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); }
.ns-hoan-tac { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: 14px; }
.ns-o-chon { width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: middle; }
.ns-bang td.ns-o-sua-duoc { cursor: text; }
.ns-bang td.ns-o-sua-duoc:hover { box-shadow: inset 0 0 0 1px var(--accent); }
.ns-bang tr.chon td { background: var(--accent-soft); }
.ns-trong { color: #B45309; font-size: 13px; }
.ns-bang td.ns-o-nut { text-align: right; }
.ns-o-nhap, .ns-bang td select { min-height: 32px; font-size: 14px; padding: 4px 8px; max-width: 170px; }
.ns-bang-nho th, .ns-bang-nho td { padding: 8px; position: static !important; box-shadow: none !important; }
.ns-ly-do { border: 1px solid var(--line); background: var(--accent-soft); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.ns-chon { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.ns-chon input { width: 20px; height: 20px; min-height: 0; padding: 0; margin: 2px 0 0; flex: none; }
.ns-chon > span { flex: 1; min-width: 0; }
.ns-xt { display: flex; flex-direction: column; gap: 4px; border-top: 1px dashed var(--line); padding-top: 8px; }
.ns-sua-nhom { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }
.ns-sua-hang > * { flex: 1 1 160px; }
.ns-thieu { border-color: #E8A33D !important; background: #FFF8EC; }

/* 3100k — Lớp học › Tin phụ huynh (luồng ba mẹ ↔ cô lớp) */
.tph-khung { display: grid; grid-template-columns: minmax(240px, 320px) 1fr; gap: 12px; align-items: start; }
.tph-ds { padding: 4px 0; max-height: calc(100vh - 170px); overflow: auto; }
.tph-dong { display: flex; gap: 8px; align-items: center; padding: 10px 14px; color: inherit; text-decoration: none; border-bottom: 1px solid var(--line, #eee); }
.tph-dong:hover, .tph-dong.on { background: var(--hover, #f4f6f8); }
.tph-cuoi { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 210px; }
.tph-phai { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tph-luong { display: flex; flex-direction: column; height: calc(100vh - 170px); min-height: 360px; }
.tph-dau { padding: 10px 14px; border-bottom: 1px solid var(--line, #eee); }
.tph-tin { flex: 1; overflow: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.tph-cu { align-self: center; }
.tph-ngay { align-self: center; margin: 6px 0; }
.tph-bong { align-self: flex-start; max-width: 75%; background: var(--hover, #f1f3f4); border-radius: 14px 14px 14px 4px; padding: 8px 12px; display: flex; flex-direction: column; gap: 4px; }
.tph-bong.toi { align-self: flex-end; background: #e3f4f2; border-radius: 14px 14px 4px 14px; }
.tph-chu { white-space: pre-wrap; word-break: break-word; }
.tph-gio { align-self: flex-end; }
.tph-xem { align-self: flex-end; }
.tph-anh { display: block; width: 220px; max-width: 100%; height: 160px; object-fit: cover; border-radius: 10px; }
.tph-anh-cho { background: #e3f4f2; }
.tph-soan { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line, #eee); align-items: flex-end; }
.tph-soan textarea { flex: 1; resize: none; }
.tph-trong { min-height: 200px; display: flex; align-items: center; justify-content: center; }
.tph-hang { display: flex; align-items: center; gap: 4px; align-self: flex-start; max-width: 85%; }
.tph-hang.toi { align-self: flex-end; flex-direction: row-reverse; }
.tph-hang .tph-bong { max-width: 100%; align-self: auto; }
.tph-thao { display: flex; gap: 2px; opacity: 0; position: relative; transition: opacity .15s; }
.tph-hang:hover .tph-thao, .tph-hang:focus-within .tph-thao { opacity: 1; }
@media (hover: none) { .tph-thao { opacity: 1; } }
.tph-cx-chon { position: absolute; bottom: 100%; left: 0; z-index: 5; display: flex; gap: 2px; background: #fff; border: 1px solid var(--line, #e5e7eb); border-radius: 22px; padding: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.tph-hang.toi .tph-cx-chon { left: auto; right: 0; }
.tph-cx-chon button { border: 0; background: none; font-size: 20px; width: 36px; height: 36px; border-radius: 18px; cursor: pointer; }
.tph-cx-chon button:hover, .tph-cx-chon button.on { background: #e3f4f2; }
.tph-cx { align-self: flex-start; font-size: 13px; background: #fff; border: 1px solid var(--line, #eee); border-radius: 12px; padding: 0 8px; margin-top: -4px; }
.tph-cx.toi { align-self: flex-end; }
.tph-trich { border-left: 3px solid #006E69; padding-left: 8px; color: #3b4048; white-space: pre-wrap; }
.tph-bong.thu-hoi { opacity: .75; border: 1px dashed #c9cfd3; }
.tph-tep { display: block; background: rgba(0,0,0,.05); border-radius: 8px; padding: 6px 10px; color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.tph-go { align-self: flex-start; color: #006E69; font-style: italic; }
.tph-soan-khung { border-top: 1px solid var(--line, #eee); position: relative; }
/* 1600z — ô soạn kiểu Zalo như app phụ huynh */
.tph-soan { align-items: flex-end; gap: 2px; padding: 6px; }
.tph-nut { width: 40px; height: 40px; flex: none; border: 0; background: none; border-radius: 20px; font-size: 22px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tph-nut:hover, .tph-nut.on { background: #e3f4f2; }
.tph-o { flex: 1; min-height: 40px; max-height: 120px; resize: none; border: 0; outline: none; background: transparent; font: inherit; font-size: 16px; line-height: 22px; padding: 9px 6px; }
.tph-gui { width: 40px; height: 40px; flex: none; border: 0; border-radius: 20px; background: #008F89; color: #fff; font-size: 18px; cursor: pointer; }
.tph-bong.dang-gui { opacity: .6; }
.tph-soan-khung .tph-soan { border-top: 0; }
.tph-dang-tra { padding: 6px 10px; background: #e3f4f2; align-items: center; }
.tph-chon { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 10px 0; }
.tph-chon-o { display: inline-flex; align-items: center; gap: 4px; background: var(--hover, #f1f3f4); border-radius: 8px; padding: 2px 4px 2px 8px; max-width: 240px; overflow: hidden; }
.tph-nhac { width: 100%; }
@media (max-width: 760px) {
  .tph-khung { grid-template-columns: 1fr; }
  .tph-khung.mo .tph-ds, .tph-khung:not(.mo) .tph-trong { display: none; }
  .tph-ds { max-height: none; }
  .tph-luong { height: calc(100vh - 150px); height: calc(100dvh - 150px); }
  /* 1600z4: bàn phím mở → luồng đè lên cả trang (che thanh dưới), vừa khít phần màn còn thấy; ô soạn sát bàn phím (biến do lib/chatGestures đặt) */
  html.kb-open .tph-khung.mo .tph-luong { position: fixed; left: 0; right: 0; top: var(--vvtop, 0px); height: var(--vvh, 100dvh); min-height: 0; z-index: 60; margin: 0; border-radius: 0; border: 0; }
}
.hs-don-anh { display: block; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
/* 2900q — kế toán chỉ kéo file EMIS vào một ô */
.nap-o{border:2px dashed #17a673;background:#f0faf6;border-radius:14px;padding:28px 16px;display:flex;flex-direction:column;align-items:center;gap:8px;margin-bottom:12px;text-align:center}
.nap-o.keo{background:#dff4ea;border-style:solid}
.nap-o-mui{font-size:34px;line-height:1}
.nap-o-ten{font-size:18px;color:#0b7a57}
.nap-o-lam{display:flex;align-items:center;gap:8px;font-size:14px}
.nap-kq{margin-bottom:12px;display:flex;flex-direction:column;gap:4px;font-size:14px}
.nap-ok{color:#0b5f43}.nap-loi{color:#9b1c1c}
.nap-ds,.kt-kiem{margin-bottom:12px;overflow:hidden}
.nap-ds-dau{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--line,#edf1ef)}
.nap-dong{display:flex;align-items:center;gap:12px;padding:10px 16px;border-bottom:1px solid var(--line,#edf1ef)}
.nap-dong.thieu{background:#fffaf2}
.nap-dau{width:26px;height:26px;border-radius:999px;border:2px solid #b45309;color:#b45309;display:flex;align-items:center;justify-content:center;font-weight:700;flex:none}
.nap-dau.co{background:#17a673;border-color:#17a673;color:#fff}
.nap-dong-ten{flex:1}.nap-dong.thieu .nap-dong-ten .sm{color:#9a5b00}
.nap-duong{text-align:right;max-width:340px}
.nap-chu{padding:10px 16px}
.kt-nang-cao{margin-bottom:12px}.kt-nang-cao>summary{cursor:pointer;padding:8px 2px;font-weight:600}
@media (max-width:700px){.nap-duong{display:none}}

/* 2900k — lịch sử lớp, chuyển lớp, bảng giá chương trình × khối */
.hs-ls-lop { margin-bottom: 12px; }
.hs-can-xn td { background: #fffaf2; }
.hs-chon.on { border-color: var(--brand, #17a673); background: #e9f8f1; font-weight: 600; }
.hs-bao { border-radius: 10px; padding: 10px 12px; margin-top: 8px; background: #f3f6f5; }
.hs-bao.xanh { background: #e9f8f1; color: #0b5f43; }
.hs-bao.vang { background: #fff7e6; color: #7a4b00; }
.hp-thieu { color: #9a5b00; }
.hp-mot-gia { text-align: center; }
/* ===== 1600y — Lớp học của cô: Trang chủ kiểu EMIS, Tính năng ô màu (anh chốt 17/11/2026) ===== */
.lhn-tc { gap: 14px; }
.lhn-dau { margin: -16px -16px 0; padding: 14px 18px 46px; border-radius: 0 0 28px 28px; background: linear-gradient(175deg, #A8EDD3 0%, #CFF5E6 60%, #EEF9F4 100%); color: #10313A; }
.lhn-dau-hang { display: flex; align-items: center; gap: 10px; }
.lhn-tron { width: 44px; height: 44px; border-radius: 22px; border: 0; background: #fff; display: inline-flex; align-items: center; justify-content: center; color: #10313A; cursor: pointer; }
.lhn-dau .lhn-chon-lop { min-height: 36px; border-radius: 18px; background: #fff; border: 0; color: #0B7C64; font-weight: 700; padding: 0 16px; }
.lhn-ten { margin: 14px 0 0; font-size: 22px; font-weight: 600; }
.lhn-ngay { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; }
.lhn-nhanh { display: flex; margin: -40px 0 0; padding: 0; position: relative; overflow: hidden; }
.lhn-nhanh a { flex: 1 1 0; min-height: 58px; display: flex; align-items: center; justify-content: center; gap: 8px; color: inherit; font-weight: 600; text-decoration: none; }
.lhn-nhanh a + a { border-left: 1px solid var(--line, #EEF0F2); }
.lhn-hai-o { display: flex; gap: 12px; flex-direction: row; }
.lhn-o-mau { flex: 1 1 0; min-width: 0; min-height: 160px; border-radius: 20px; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; color: #fff; text-decoration: none; }
.lhn-o-mau.don { background: #C9553E; } .lhn-o-mau.thuoc { background: #5560C9; }
.lhn-o-mau:hover { color: #fff; filter: brightness(1.05); }
.lhn-o-dau { display: flex; align-items: flex-start; gap: 6px; } .lhn-o-dau b { flex: 1 1 0; font-size: 17px; line-height: 1.25; }
.lhn-vong { flex-shrink: 0; width: 40px; height: 40px; border-radius: 20px; border: 3px solid #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
.lhn-o-chan { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.lhn-chu-cai { width: 38px; height: 38px; border-radius: 19px; background: #FCE3D6; color: #9A4B1E; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.lhn-lieu { display: flex; flex-direction: column; gap: 5px; font-size: 14px; font-weight: 600; }
.lhn-lieu > span { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .lhn-lieu > span.xong { opacity: .75; }
.lhn-lieu i { font-style: normal; font-size: 11px; font-weight: 800; border-radius: 8px; padding: 2px 7px; }
.lhn-nhan-toi { background: #F4A13B; color: #3A2205; } .lhn-nhan-tre { background: #E5484D; color: #fff; }
.lhn-the-dau { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .lhn-the-dau h2 { margin: 0; font-size: 19px; }
.lhn-the-dau svg { color: #2FA58E; }
.lhn-4o { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lhn-4o .o { min-height: 92px; border-radius: 18px; background: #E3F4EE; padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: inherit; }
.lhn-4o .o b { font-size: 28px; line-height: 1; } .lhn-4o .di b { color: #1F8A6E; } .lhn-4o .chua b { color: #C2701A; } .lhn-4o .cp b { color: #4E57C8; } .lhn-4o .kp b { color: #D64545; }
.lhn-thanh-dd { display: flex; height: 12px; border-radius: 6px; overflow: hidden; background: #E3E7EA; }
.lhn-thanh-dd .di { background: #2FA58E; } .lhn-thanh-dd .cp { background: #8E86E0; } .lhn-thanh-dd .kp { background: #E5484D; } .lhn-thanh-dd .chua { background: #E8B064; }
.lhn-dong-nho { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.lhn-di-ung { border-radius: 14px; background: #FDECEA; border: 1.5px solid #F2B8B0; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: #5A1C14; }
.lhn-di-ung b { color: #A3281C; }
.lhn-lien { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #0B7C64; font-weight: 600; text-decoration: none; }
.lhn-thanh { height: 10px; border-radius: 5px; background: #E3E7EA; overflow: hidden; } .lhn-thanh span { display: block; height: 10px; background: #2FA58E; }
.lhn-nhom-khac { font-size: 15px; color: var(--muted); margin-top: 4px; }
html.dark .lhn-dau { background: linear-gradient(175deg, #1F4A40 0%, #18342F 100%); color: inherit; }
html.dark .lhn-4o .o { background: rgba(47,165,142,.14); } html.dark .lhn-di-ung { background: rgba(229,72,77,.12); color: inherit; }
.tn-lop h2 { font-size: 19px; margin: 18px 0 10px; }
.tn-luoi { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tn-o { position: relative; min-height: 108px; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-decoration: none; color: #003A45; font-size: 16px; text-align: center; padding: 8px; }
.tn-o svg { color: #D9622B; }
.tn-xanh { background: #D9F0EC; } .tn-la { background: #E4EFD9; } .tn-kem { background: #F6E8D2; } .tn-troi { background: #DCEEF7; } .tn-vang { background: #FFF8DC; } .tn-hong { background: #FBE0DC; }
.tn-sap { opacity: .55; } .tn-nhan { position: absolute; top: 9px; right: 10px; font-size: 11px; font-weight: 700; color: #45525A; }
@media (min-width: 900px) { .tn-luoi { grid-template-columns: repeat(4, 1fr); } .lhn-dau { margin: 0; border-radius: 24px; } }

/* 1600y2 (anh chốt 17/11/2026 16:35): Trang chủ Lớp học — thẻ luôn hiện; ngày mai + ảnh bữa ăn trong Bán trú; nhóm sinh nhật */
.lhn-mai { margin-top: 10px; padding-top: 10px; border-top: 1px solid #EEF0F2; font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
.lhn-mai .lhn-lien { flex-basis: 100%; }
.lhn-sap { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.lhn-nhan-sap { font-style: normal; font-size: 11px; font-weight: 700; color: #45525A; background: #EEF0F2; border-radius: 10px; padding: 2px 8px; margin-left: 4px; }
.lhn-sn-nhom { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 8px; }
.lhn-sn-nhom > span { padding: 6px 12px; border-radius: 16px; background: #EEF0F2; font-size: 13px; font-weight: 600; color: #45525A; }
.lhn-sn-nhom > span.on { background: #2FA58E; color: #fff; }

/* 1600y3 (anh Cường 17/11/2026 17:09): đầu Trang chủ Lớp học cao như EMIS — chừa chỗ bên phải cho hình minh hoạ sau này
   (đặt ảnh bằng background-image của .lhn-dau, không đổi mã); hai ô Đơn xin nghỉ · Dặn thuốc đứng thẳng trên nền, không bọc thẻ trắng,
   chữ không xuống dòng chồng lên vòng số (điện thoại cỡ chữ lớn). */
.lhn-dau { min-height: 230px; padding-bottom: 64px; padding-right: 42%; position: relative; background-repeat: no-repeat; background-position: right 12px bottom 52px; background-size: auto 62%; }
.lhn-dau .lhn-ten { font-size: 26px; font-weight: 700; margin-top: 18px; overflow-wrap: anywhere; }
.lhn-dau .lhn-ngay { margin-top: 6px; white-space: nowrap; }
.lhn-dau .lhn-dau-hang { margin-right: -72%; }
.lhn-hai-o { gap: 10px; }
.lhn-o-mau { min-height: 116px; padding: 12px 12px 14px; border-radius: 18px; }
.lhn-o-dau { align-items: center; }
.lhn-o-dau b { font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.lhn-vong { width: 32px; height: 32px; border-width: 2px; font-size: 15px; }
.lhn-o-chan { font-size: 13px; }
@media (min-width: 900px) { .lhn-dau { min-height: 0; padding-right: 18px; } .lhn-dau .lhn-dau-hang { margin-right: 0; } }

/* 1600y4 (anh Cường chốt 17/11/2026 17:42 — bản vẽ 5A + 6): Trang chủ Lớp học trên điện thoại bỏ dải đầu trang (? vào khoảng xanh, ngang ☰);
   khoảng xanh là KHUNG HÌNH cả khối như EMIS — sau này đặt ảnh phủ kín bằng biến --lhn-dau-anh (url(...)), chữ đè lên ảnh; chưa có ảnh thì nền xanh.
   Hai ô Đơn xin nghỉ · Dặn thuốc nằm trong một thẻ trắng; Tính năng mỗi nhóm một thẻ trắng, ô cùng cỡ (cao 124, bo 18). */
.shell.lhn-khong-dau .topbar { display: none; }
.shell.lhn-khong-dau .lhn-dau { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.lhn-dau { min-height: 240px; padding-right: 18px; background-image: var(--lhn-dau-anh, none), linear-gradient(175deg, #A8EDD3 0%, #CFF5E6 60%, #EEF9F4 100%); background-size: cover, auto; background-position: center, 0 0; }
.lhn-dau .lhn-dau-hang { margin-right: 0; }
.lhn-dau .lhn-tron { flex-shrink: 0; }
.lhn-hai-o.card { padding: 12px; gap: 10px; border-radius: 18px; }
.lhn-o-mau { min-height: 124px; border-radius: 18px; }
.tn-lop .tn-nhom { padding: 12px; border-radius: 18px; margin-top: 14px; }
.tn-lop .tn-nhom h2 { margin: 2px 0 10px; }
.tn-o { min-height: 124px; border-radius: 18px; }
html.dark .lhn-dau { background-image: var(--lhn-dau-anh, none), linear-gradient(175deg, #1F4A40 0%, #18342F 100%); }
@media (min-width: 900px) { .lhn-dau { min-height: 0; } }

/* 1600y5 (anh Cường 17/11/2026 18:37–18:42): ô Đơn xin nghỉ · Dặn thuốc rộng ĐÚNG bằng ô Đi học (thẻ cùng lề 16px 20px như thẻ Điểm danh, khe 10),
   thấp xuống còn 112 (ô Điểm danh 92); Tính năng cùng lề, cùng cỡ ô — một cỡ ô cho cả hai màn. */
.lhn-hai-o.card.pad { padding: 16px 20px; gap: 10px; }
.lhn-o-mau { min-height: 112px; padding: 12px 14px; gap: 6px; }
.tn-lop .tn-nhom { padding: 16px 20px; }
.tn-o { min-height: 112px; }


/* ---------- 1600y6 (anh Cường CHỐT 17/11/2026 19:06 — bản vẽ A–D "phong cách Hugo House", theo màn đăng nhập app phụ huynh):
   CHỈ trong .shell.ben-lop-hoc. Nền kem; đầu trang xanh ngọc nhạt có lá xanh / vàng, chấm trắng, sóng mềm; tiêu đề Baloo đậm xanh logo #0F6E68;
   thẻ trắng bo 26 bóng mềm; nút chính xanh ngọc #029089 bo tròn; Đơn xin nghỉ cam #D9622B, Dặn thuốc xanh ngọc đậm #0F7F78. Ảnh đầu trang sau này: --lhn-dau-anh. */
.shell.ben-lop-hoc .main-col { background: #F6F4EE; }
.shell.ben-lop-hoc .page.lhn { background-image: none; }
.shell.ben-lop-hoc .lhn-dau { border-radius: 0; padding-bottom: 72px; color: #1E4D4A;
  background-image: var(--lhn-dau-anh, none), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='390' height='44' viewBox='0 0 390 44' preserveAspectRatio='none'%3E%3Cpath d='M0 18 C90 -6 170 34 260 14 S360 0 390 10 V44 H0Z' fill='%23CFEDE7'/%3E%3Cpath d='M0 32 C110 10 220 42 390 22 V44 H0Z' fill='%23F6F4EE'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='390' height='240' viewBox='0 0 390 240'%3E%3Cellipse cx='28' cy='120' rx='13' ry='28' transform='rotate(-35 28 120)' fill='%239AD6CF'/%3E%3Cellipse cx='66' cy='160' rx='7' ry='18' transform='rotate(25 66 160)' fill='%23E3DD7C'/%3E%3Cellipse cx='362' cy='96' rx='13' ry='30' transform='rotate(40 362 96)' fill='%239AD6CF'/%3E%3Cellipse cx='334' cy='146' rx='7' ry='17' transform='rotate(-20 334 146)' fill='%23E3DD7C'/%3E%3Ccircle cx='96' cy='70' r='5' fill='%23fff'/%3E%3Ccircle cx='300' cy='58' r='6' fill='%23fff'/%3E%3Ccircle cx='214' cy='34' r='3' fill='%23fff'/%3E%3C/svg%3E"), linear-gradient(180deg, #BDE6E0 0%, #D4EFEA 55%, #E7F4F0 100%);
  background-size: cover, 100% 44px, 390px 240px, auto; background-position: center, left bottom, center top, 0 0; background-repeat: no-repeat; }
.shell.ben-lop-hoc .lhn-dau .lhn-ten { font-family: var(--display); font-size: 32px; font-weight: 800; color: #0F6E68; letter-spacing: .3px; line-height: 1.1; }
.shell.ben-lop-hoc .lhn-dau .lhn-ngay { font-size: 18px; color: #1E4D4A; }
.shell.ben-lop-hoc .lhn-tron { width: 46px; height: 46px; border-radius: 23px; color: #0F6E68; box-shadow: 0 2px 8px rgba(15,110,104,.14); }
.shell.ben-lop-hoc .lhn-dau .lhn-chon-lop { color: #029089; box-shadow: 0 2px 8px rgba(15,110,104,.10); }
.shell.ben-lop-hoc .card { border: 0; border-radius: 26px; box-shadow: 0 6px 18px rgba(15,110,104,.08); }
.shell.ben-lop-hoc .lhn-nhanh { border-radius: 22px; box-shadow: 0 6px 18px rgba(15,110,104,.12); }
.shell.ben-lop-hoc .lhn-nhanh a { color: #0F6E68; font-weight: 700; }
.shell.ben-lop-hoc .lhn-the-dau h2, .shell.ben-lop-hoc .lhn h2.kit-ten-lop, .shell.ben-lop-hoc .tn-lop .tn-nhom h2 { font-family: var(--display); font-weight: 800; color: #0F6E68; }
.shell.ben-lop-hoc .lhn-o-mau { border-radius: 20px; }
.shell.ben-lop-hoc .lhn-o-mau.don { background: #D9622B; } .shell.ben-lop-hoc .lhn-o-mau.thuoc { background: #0F7F78; }
.shell.ben-lop-hoc .lhn-vong { background: rgba(255,255,255,.22); }
.shell.ben-lop-hoc .lhn-4o .o { background: #EAF6F3; border-radius: 20px; }
.shell.ben-lop-hoc .lhn-thanh span, .shell.ben-lop-hoc .lhn-thanh-dd .di { background: #029089; }
.shell.ben-lop-hoc .lhn-lien { color: #029089; font-weight: 700; }
.shell.ben-lop-hoc .btn.primary { background: #029089; border-color: #029089; border-radius: 25px; min-height: 48px; }
.shell.ben-lop-hoc .lhn-sn-nhom > span.on { background: #029089; }
/* Các màn khác của Lớp học (Tính năng, Bảng tin, Điểm danh, Đơn nghỉ…): đầu trang cùng kiểu dải xanh ngọc có lá */
.shell.ben-lop-hoc .page > .page-head { border-radius: 24px; padding: 18px 16px 16px; margin-bottom: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='390' height='240' viewBox='0 0 390 240'%3E%3Cellipse cx='28' cy='120' rx='13' ry='28' transform='rotate(-35 28 120)' fill='%239AD6CF'/%3E%3Cellipse cx='66' cy='160' rx='7' ry='18' transform='rotate(25 66 160)' fill='%23E3DD7C'/%3E%3Cellipse cx='362' cy='96' rx='13' ry='30' transform='rotate(40 362 96)' fill='%239AD6CF'/%3E%3Cellipse cx='334' cy='146' rx='7' ry='17' transform='rotate(-20 334 146)' fill='%23E3DD7C'/%3E%3Ccircle cx='96' cy='70' r='5' fill='%23fff'/%3E%3Ccircle cx='300' cy='58' r='6' fill='%23fff'/%3E%3Ccircle cx='214' cy='34' r='3' fill='%23fff'/%3E%3C/svg%3E"), linear-gradient(180deg, #BDE6E0 0%, #D4EFEA 60%, #E7F4F0 100%); background-size: 390px 240px, auto; background-position: center top, 0 0; background-repeat: no-repeat; }
.shell.ben-lop-hoc .page > .page-head h1 { font-family: var(--display); font-weight: 800; color: #0F6E68; }
.shell.ben-lop-hoc .tn-o { border-radius: 20px; color: #0F6E68; font-weight: 600; }
.shell.ben-lop-hoc .tn-xanh { background: #DCF1EE; } .shell.ben-lop-hoc .tn-la { background: #E6F2DA; } .shell.ben-lop-hoc .tn-kem { background: #FBEFD8; }
.shell.ben-lop-hoc .tn-troi { background: #E0F0F6; } .shell.ben-lop-hoc .tn-vang { background: #FFF6CF; } .shell.ben-lop-hoc .tn-hong { background: #FCE6DF; }
.shell.ben-lop-hoc .lhn-lop-sheet { border-radius: 30px 30px 0 0; }
.shell.ben-lop-hoc .lhn-lop-sheet h2 { font-family: var(--display); font-weight: 800; color: #0F6E68; font-size: 20px; }
.shell.ben-lop-hoc .lhn-lop-sheet button[role="radio"] { border-radius: 20px; background: #F4F8F7; min-height: 56px; }
.shell.ben-lop-hoc .lhn-lop-sheet button[aria-checked="true"] { background: #DCF1EE; color: #0F6E68; box-shadow: inset 0 0 0 1.5px #029089; }
html.dark .shell.ben-lop-hoc .main-col { background: var(--bg); }
html.dark .shell.ben-lop-hoc .lhn-dau { background-image: var(--lhn-dau-anh, none), linear-gradient(175deg, #1F4A40 0%, #18342F 100%); background-size: cover, auto; }
html.dark .shell.ben-lop-hoc .page > .page-head { background-image: linear-gradient(175deg, #1F4A40 0%, #18342F 100%); }
html.dark .shell.ben-lop-hoc .lhn-dau .lhn-ten, html.dark .shell.ben-lop-hoc .page > .page-head h1, html.dark .shell.ben-lop-hoc .lhn-the-dau h2 { color: #9FE3D8; }
html.dark .shell.ben-lop-hoc .lhn-4o .o { background: rgba(47,165,142,.14); }
@media (min-width: 900px) { .shell.ben-lop-hoc .lhn-dau { border-radius: 24px; padding-bottom: 56px; } }

/* ---------- 1600y7 (anh Cường CHỐT 17/11/2026 19:20 — bản vẽ A–C, phương án B): thanh dưới Lớp học kiểu Facebook trên điện thoại.
   Viên thuôn trắng mờ nổi (cách mép 14, đáy 10 + vạch iPhone), nội dung trượt sau thấy nhoè; 5 ô BẰNG NHAU, biểu tượng đứng yên;
   chữ chỉ hiện dưới ô đang mở (các ô khác giữ chỗ chữ nhưng ẩn → biểu tượng không nhảy); Bảng tin = vòng xanh ngọc đặc nằm TRONG thanh.
   Đặt position: absolute trong .shell (cao đúng 100dvh, chỉ .main-col cuộn — 200ac) chứ không fixed, để iPhone không kẹt thanh giữa màn.
   Chỉ bên Lớp học; Nội bộ giữ thanh cũ. App phụ huynh (Expo) làm ở phiếu riêng 3100o. */
@media (max-width: 760px) {
  .shell.ben-lop-hoc { position: relative; }
  .shell.ben-lop-hoc .content { padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)); }
  .bottombar.ben-lop-hoc { position: absolute; left: 14px; right: 14px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); height: 70px; padding: 0 6px;
    border: 1px solid rgba(255,255,255,.9); border-radius: 35px; background: rgba(255,255,255,.80);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 8px 28px rgba(15,60,58,.18); align-items: center; }
  .shell.bar-compact .bottombar.ben-lop-hoc { padding: 0 6px; }
  .bottombar.ben-lop-hoc > a, .bottombar.ben-lop-hoc > span { flex: 1 1 0; min-width: 0; min-height: 0; height: 100%; gap: 3px; }
  .bottombar.ben-lop-hoc .tb-nhan { visibility: hidden; font-size: 11px; line-height: 1; }
  .bottombar.ben-lop-hoc a.on .tb-nhan { visibility: visible; font-weight: 800; color: #0F6E68; }
  .bottombar.ben-lop-hoc a { color: #2B3A40; }
  .bottombar.ben-lop-hoc a.on { color: #0F6E68; }
  .shell.ben-lop-hoc .bottombar a.on svg { background: #DCF1EE; border-radius: 16px; padding: 5px 15px; }
  .bottombar.ben-lop-hoc .tb-sap { opacity: .4; }
  .bottombar.ben-lop-hoc .badge { top: 6px; left: 56%; }
  .bottombar.ben-lop-hoc .tb-giua-tron, .shell.bar-compact .bottombar.ben-lop-hoc .tb-giua-tron { width: 46px; height: 46px; margin: 0; transform: none;
    background: #029089; color: #fff; box-shadow: 0 4px 12px rgba(2,144,137,.35); }
  .bottombar.ben-lop-hoc a.tb-giua.on .tb-giua-tron { background: #0F6E68; }
  .bottombar.ben-lop-hoc a.tb-giua .badge { top: 0; left: 60%; }
  .bottombar.ben-lop-hoc a.tb-giua .tb-cham { top: 2px; left: 64%; }
  html.dark .bottombar.ben-lop-hoc { background: rgba(28,40,40,.82); border-color: rgba(255,255,255,.08); }
  html.dark .bottombar.ben-lop-hoc a { color: var(--ink); }
}

/* ---------- 1600y8 (anh Cường CHỐT 17/11/2026 19:48–19:52, phương án A): thanh dưới Lớp học NHẸ kiểu Facebook trên điện thoại.
   Bỏ chữ; cao 58, cách đáy 8, viền mảnh, bóng rất nhẹ; 5 ô như nhau (Bảng tin không còn vòng xanh nổi); ô đang mở = viên xanh nhạt 58×40 + biểu tượng xanh ngọc;
   KÉO XUỐNG THÌ THANH ẨN, kéo lên / về đầu / chạm cuối trang / đổi màn thì hiện (dùng lại cờ bar-compact sẵn có của Shell). Nội bộ giữ thanh cũ. */
@media (max-width: 760px) {
  .shell.ben-lop-hoc .content { padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px)); }
  .bottombar.ben-lop-hoc { left: 12px; right: 12px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); height: 58px; padding: 0 4px; border-radius: 29px;
    background: rgba(255,255,255,.86); border: 1px solid rgba(0,0,0,.06); box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .25s ease, opacity .25s ease; will-change: transform; }
  .shell.bar-compact .bottombar.ben-lop-hoc { transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom, 0px))); opacity: 0; pointer-events: none; }
  .bottombar.ben-lop-hoc .tb-nhan { display: none; }
  .bottombar.ben-lop-hoc > a, .bottombar.ben-lop-hoc > span { gap: 0; }
  .bottombar.ben-lop-hoc svg { width: 24px; height: 24px; stroke-width: 1.75; }
  .shell.ben-lop-hoc .bottombar a.on svg { padding: 8px 17px; border-radius: 20px; background: #DCF1EE; color: #029089; }
  .bottombar.ben-lop-hoc a.on[href="#/lop-hom-nay"] svg { fill: currentColor; }
  .bottombar.ben-lop-hoc .tb-giua-tron, .shell.bar-compact .bottombar.ben-lop-hoc .tb-giua-tron { width: 58px; height: 40px; border-radius: 20px; background: none; color: #2B3A40; box-shadow: none; }
  .bottombar.ben-lop-hoc a.tb-giua.on .tb-giua-tron { background: #DCF1EE; color: #029089; }
  .shell.ben-lop-hoc .bottombar a.tb-giua.on svg { padding: 0; background: none; }
  .bottombar.ben-lop-hoc .badge, .bottombar.ben-lop-hoc a.tb-giua .badge { top: 4px; left: 54%; }
  html.dark .bottombar.ben-lop-hoc { background: rgba(28,40,40,.86); }
  html.dark .bottombar.ben-lop-hoc .tb-giua-tron { color: var(--ink); }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) { .bottombar.ben-lop-hoc { transition: none; } }

/* 3100m — Tin cho phụ huynh, tương tác phụ huynh + sinh nhật ở Nhật ký lớp */
.ttph-khan { color: #B42318; font-weight: 600; }
.ttph-tin { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.ttph-chu { margin: 0; white-space: pre-wrap; }
.ttph-form { display: flex; flex-direction: column; gap: 10px; }
.ttph-form label.sm { display: flex; flex-direction: column; gap: 4px; }
.ttph-kl { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-chon { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line, #e5e7eb); border-radius: 16px; padding: 4px 10px; font-size: 13px; cursor: pointer; }
.ttph-ds { margin: 0; padding-left: 18px; max-height: 50vh; overflow: auto; }
.nk-tt { display: flex; flex-direction: column; gap: 6px; border-top: 1px dashed var(--line, #eee); padding-top: 6px; }
.nk-tt-ds { display: flex; flex-direction: column; gap: 6px; }
.nk-bl { background: var(--hover, #f4f6f8); border-radius: 10px; padding: 6px 10px; }
.nk-lan-dau .input { min-width: 220px; }
.nk-sn { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; background: #fff7f9; }
.nk-sn-dong { display: flex; align-items: center; gap: 10px; }
.nk-sn-anh { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.nk-sn-ve { display: flex; align-items: center; justify-content: center; background: #ffe3ea; font-size: 22px; }
.nk-o.on { outline: 3px solid var(--accent, #009688); }
/* ---------- 1600y9 (anh Cường đồng ý 17/11/2026 20:30): thanh dưới Lớp học thấp và mượt hơn — sát đáy như Facebook (đè lên vùng vạch vuốt iPhone,
   cách mép ~16), cao 52; ẩn / hiện CHỈ TRƯỢT (bỏ mờ), 0,35 s, nhanh đầu chậm cuối; kéo ngược 40 px mới hiện (Shell). */
@media (max-width: 760px) {
  .shell.ben-lop-hoc .content { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .bottombar.ben-lop-hoc { bottom: max(10px, calc(env(safe-area-inset-bottom, 0px) - 18px)); height: 52px; border-radius: 26px;
    transition: transform .35s cubic-bezier(.22, .8, .24, 1); opacity: 1; }
  .shell.bar-compact .bottombar.ben-lop-hoc { transform: translateY(calc(100% + 40px)); opacity: 1; pointer-events: none; }
  .shell.ben-lop-hoc .bottombar a.on svg { padding: 7px 17px; }
  .bottombar.ben-lop-hoc .tb-giua-tron, .shell.bar-compact .bottombar.ben-lop-hoc .tb-giua-tron { height: 38px; }
}

/* ---------- 1600z (anh Cường CHỐT 17/11/2026 21:10 — "làm cho cô và phụ huynh trước"): CHỮ MỘT KIỂU theo chuẩn Apple, chỉ bên Lớp học (.shell.ben-lop-hoc).
   Một họ chữ Be Vietnam Pro (bỏ Baloo — --display trỏ về Be Vietnam Pro; Baloo chỉ còn chữ thương hiệu màn đăng nhập);
   7 cỡ theo bậc Dynamic Type của Apple: 34 tiêu đề lớn · 28 số lớn · 22 tên thẻ · 17 nội dung / nút · 15 phụ · 13 chú thích · 11 nhãn nhỏ;
   3 độ đậm: 400 thường · 600 nhấn · 700 tiêu đề (bỏ 800 / 900). Màn nào cũng dùng biến --c-* thay vì tự đặt cỡ. Nội bộ chuyển sau theo đợt. */
.shell.ben-lop-hoc {
  --display: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --c-lon: 34px; --c-so: 28px; --c-tieu-de: 22px; --c-noi-dung: 17px; --c-phu: 15px; --c-chu-thich: 13px; --c-nhan: 11px;
}
.shell.ben-lop-hoc :is(h1, h2, .display) { font-weight: 700; letter-spacing: 0; }
.shell.ben-lop-hoc :is(b, strong, .b) { font-weight: 600; }
@media (max-width: 760px) {
  .shell.ben-lop-hoc .content { font-size: var(--c-noi-dung); line-height: 1.35; }
  .shell.ben-lop-hoc .content h1, .shell.ben-lop-hoc .lhn-dau .lhn-ten { font-size: var(--c-lon); line-height: 1.1; font-weight: 700; }
  .shell.ben-lop-hoc .content h2, .shell.ben-lop-hoc .lhn-the-dau h2, .shell.ben-lop-hoc .tn-lop .tn-nhom h2, .shell.ben-lop-hoc .lhn h2.kit-ten-lop,
  .shell.ben-lop-hoc .lhn-lop-sheet h2 { font-size: var(--c-tieu-de); line-height: 1.2; font-weight: 700; }
  .shell.ben-lop-hoc .content h3 { font-size: var(--c-noi-dung); font-weight: 600; }
  .shell.ben-lop-hoc .content .sm, .shell.ben-lop-hoc .content .muted.sm { font-size: var(--c-phu); }
  .shell.ben-lop-hoc .content .xs, .shell.ben-lop-hoc .lhn-dong-nho { font-size: var(--c-chu-thich); }
  .shell.ben-lop-hoc .lhn-dau .lhn-ngay { font-size: var(--c-noi-dung); font-weight: 600; }
  .shell.ben-lop-hoc .lhn-nhanh a, .shell.ben-lop-hoc .content .btn { font-size: var(--c-noi-dung); font-weight: 600; }
  .shell.ben-lop-hoc .content .btn.sm { font-size: var(--c-phu); }
  .shell.ben-lop-hoc .lhn-4o .o b, .shell.ben-lop-hoc .lhn-so3 b { font-size: var(--c-so); font-weight: 700; }
  .shell.ben-lop-hoc .lhn-4o .o span, .shell.ben-lop-hoc .lhn-o-chan, .shell.ben-lop-hoc .lhn-lieu { font-size: var(--c-phu); }
  .shell.ben-lop-hoc .lhn-o-dau b { font-size: var(--c-noi-dung); font-weight: 600; }
  .shell.ben-lop-hoc .lhn-vong { font-size: var(--c-phu); font-weight: 700; }
  .shell.ben-lop-hoc .lhn-lien { font-size: var(--c-noi-dung); font-weight: 600; }
  .shell.ben-lop-hoc .tn-o { font-size: var(--c-phu); font-weight: 600; }
  .shell.ben-lop-hoc :is(.lhn-nhan-sap, .tn-nhan, .badge) { font-size: var(--c-nhan); font-weight: 600; }
  .shell.ben-lop-hoc .tc-nhan { font-size: var(--c-chu-thich); font-weight: 600; }
  .shell.ben-lop-hoc .lhn-nhom-khac { font-size: var(--c-phu); font-weight: 600; }
  /* nút dài (chữ 17) được xuống dòng thay vì tràn ngang; hàng 3 nút Điểm danh dùng cỡ phụ 15 */
  .shell.ben-lop-hoc .content .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.2; }
  .shell.ben-lop-hoc .dd-nut .btn { font-size: var(--c-phu); padding: 4px 8px; white-space: normal; }
}

/* 2900o — Cài đặt Học phí ít chữ */
.hp-cd-khoa td { color: var(--muted, #5e5e63); }
.hp-qc-o { font-weight: 500; }
.hp-soi td { background: #fff7e6; }
@media (max-width: 640px) {
  .hp-cd, .hp-ls { min-width: 0 !important; width: 100%; display: block; }
  .hp-cd tbody, .hp-ls tbody { display: block; }
  .hp-cd thead { display: none; }
  .hp-cd tr { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0 8px; border-bottom: 1px solid #edf1ef; }
  .hp-cd td { border: 0; }
  .hp-cd td:first-child { white-space: normal; }
  .hp-ls thead { display: none; }
  .hp-ls tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; padding: 8px 0; border-bottom: 1px solid #edf1ef; }
  .hp-ls td { border: 0; padding: 0 8px; }
  .hp-ls td.hp-ls-mota { grid-column: 1 / -1; order: -1; font-weight: 500; }
  .hp-ls td[data-n] { font-size: 13px; color: var(--muted, #5e5e63); }
}

/* 3100n — sự kiện / bình chọn, thiệp, Con lớn lên */
.ttph-tabs { padding-bottom: 0; }
.ttph-bc { display: flex; flex-direction: column; gap: 2px; }
.thiep-moi { border-left: 4px solid #b4235a; }
.nk-cl { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.nk-cl-o { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer; padding: 0; }
.nk-cl-o img, .nk-cl-o .nk-sn-ve { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }

/* 3100r — Tin cho phụ huynh › Hình đầu trang */
.hdt-luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.hdt-o { display: flex; flex-direction: column; gap: 4px; }
.hdt-anh { aspect-ratio: 2 / 1; border-radius: 10px; background: #F1F5F4; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; padding: 6px; }
.hdt-anh img { width: 100%; height: 100%; object-fit: cover; }

/* 1600z2 — khung Tin quan trọng ở Bảng tin lớp của cô (giống app phụ huynh) */
.tqt { margin-bottom: 12px; }
.tqt-dau { align-items: center; margin-bottom: 6px; }
.tqt-truot { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
.tqt-the { flex: none; width: min(520px, calc(100% - 28px)); scroll-snap-align: start; text-align: left; background: #fff; border: 1px solid #EAE4D3; border-radius: 18px;
  padding: 14px; display: flex; flex-direction: column; gap: 6px; min-height: 170px; cursor: pointer; font: inherit; color: inherit; }
.tqt-the.rong { width: 100%; min-height: 0; }
.tqt-the.khan { border: 2px solid #D9622B; background: #FFF7F3; }
.tqt-the.het { opacity: .7; }
.tqt-nhan-hang { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.tqt-nhan { font-size: 12px; font-weight: 700; border-radius: 10px; padding: 2px 8px; }
.tqt-tin { background: #E3F4F2; color: #006E69; } .tqt-sk { background: #FFF1D6; color: #7A4A00; } .tqt-bc { background: #EFE8FB; color: #5B3A99; }
.tqt-khan { background: #D9622B; color: #fff; }
.tqt-tieu-de { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tqt-chu { font-size: 13px; color: #3B4048; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tqt-chan { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tqt-xem { color: #006E69; font-weight: 700; }
.tqt-ds { display: flex; flex-direction: column; gap: 10px; }
.tqt-ct { display: flex; flex-direction: column; gap: 8px; }
.tqt-ct h3 { margin: 0; }
.tqt-ct-chu { white-space: pre-wrap; margin: 0; }

/* 1600z3 — Thông báo của lớp (kiểu EMIS như app phụ huynh) */
.tblop { max-width: 720px; display: flex; flex-direction: column; }
.tbl-dau { display: flex; align-items: center; gap: 8px; }
.tbl-dau h1 { flex: 1; margin: 0; color: #006E69; font-size: 28px; }
.tbl-tron { width: 44px; height: 44px; border-radius: 22px; border: 1px solid #EAE4D3; background: #fff; font-weight: 700; letter-spacing: -2px; cursor: pointer; }
.tbl-vien { display: flex; gap: 8px; margin: 12px 0 6px; }
.tbl-vien button { min-height: 40px; padding: 0 16px; border-radius: 20px; border: 0; background: #F1F3F4; color: #5F6368; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: inherit; }
.tbl-vien button.on { background: #008F89; color: #fff; font-weight: 700; }
.tbl-so { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #D9622B; color: #fff; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.tbl-vien button.on .tbl-so { background: #fff; color: #008F89; }
.tbl-trang { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.tbl-trang::-webkit-scrollbar { display: none; }
.tbl-mot { flex: 0 0 100%; scroll-snap-align: start; max-height: calc(100vh - 220px); overflow-y: auto; }
.tbl-loc { margin: 6px 0 8px; min-height: 36px; padding: 0 14px; border-radius: 18px; background: #fff; border: 1px solid #EAE4D3; color: #006E69; font-weight: 600; font-size: 13px; cursor: pointer; }
.tbl-dong { width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; background: #fff; border: 0; border-top: 1px solid #EAE4D3; padding: 12px; cursor: pointer; font: inherit; color: inherit; }
.tbl-dong.moi { background: #E3F4F2; }
.tbl-dong.moi b { font-weight: 700; } .tbl-dong:not(.moi) b { font-weight: 400; }
.tbl-dong.khan b { color: #B4461A; }
.tbl-vong { width: 44px; height: 44px; flex: none; border-radius: 22px; background: #fff; border: 1px solid #E3E8EA; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.tbl-chu { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tbl-nd { font-size: 13px; color: #3B4048; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tbl-trong { padding: 32px 0; text-align: center; }
.tbl-chon { display: flex; flex-direction: column; }
.tbl-chon button { text-align: left; min-height: 48px; padding: 0 12px; border: 0; border-top: 1px solid #EAE4D3; background: #fff; font: inherit; cursor: pointer; }
.tbl-chon button.on { font-weight: 700; color: #006E69; }
/* 2300r — Bé vào lớp */
.vl-canh { background: #fff7e6; border: 1px solid #f3d9a4; border-radius: 10px; padding: 10px 12px; font-size: 14px; color: #7a4b00; }
.vl-ds { display: flex; flex-direction: column; gap: 16px; }
.vl-nut { white-space: nowrap; }
.vl-nut > * + * { margin-left: 6px; }
.vl-the { margin-bottom: 12px; }
.vl-ls { margin: 6px 0 0; padding-left: 18px; }
.vl-nhan { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.vl-nhan.do { background: #fdecea; color: #b42318; }
.vl-nhan.xanh { background: #e3f4ec; color: #1d6b48; }
.vl-qua { color: #b42318; font-weight: 600; }
@media (max-width: 640px) { .vl-nut { white-space: normal; } .vl-nut > * { margin: 4px 0 0 6px; } }
/* 500r — Chấm công kiểu MISA: Bảng chấm công chi tiết (ô đầy đủ, 6 ô hôm nay, gom bộ phận), Bảng tổng hợp, phiếu công, nhật ký, bản in A4 */
.tc-pc-hn { display: flex; flex-direction: column; gap: 6px; }
.tc-pc-dem6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.tc-pc-dem6 .hr-odem { min-height: 50px; padding: 6px 10px; }
.tc-pc-cuon.tc-rong-vua th, .tc-pc-cuon.tc-rong-vua td { height: 54px; min-width: 76px; }
.tc-pc-cuon.tc-rong-rong th, .tc-pc-cuon.tc-rong-rong td { height: 66px; min-width: 104px; }
.tc-pc-cuon.tc-rong-vua thead th, .tc-pc-cuon.tc-rong-rong thead th { height: 44px; }
.tc-pc-cuon.tc-rong-vua .ten, .tc-pc-cuon.tc-rong-rong .ten { min-width: 180px; max-width: 200px; }
.tc-pc-cuon.tc-rong-vua .tong, .tc-pc-cuon.tc-rong-rong .tong { min-width: 44px; }
.tc-pc-cuon .ten .block { display: block; }
.tc-od { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; line-height: 1.2; font-weight: 400; color: var(--ink); }
.tc-od-ca { font-size: 10.5px; font-weight: 700; color: #4B5563; letter-spacing: .02em; }
.tc-od-gio { font-size: 11.5px; font-variant-numeric: tabular-nums; } .tc-od-gio .do { color: #B42318; font-weight: 700; }
.tc-od-nhan { font-size: 10.5px; color: #1F5F8B; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; } .tc-od-nhan.do { color: #B42318; }
.tc-nhan-thang { flex: 1 1 100%; }
.tc-in-ten { font-size: 22px; font-weight: 800; color: #007A75; letter-spacing: .04em; line-height: 1.1; }
.tc-pc-cuon .tc-pc-nhom th, .tc-pc-cuon .tc-pc-nhom td { background: #F1F5F4; font-weight: 600; text-align: left; cursor: default; color: var(--ink); }
.tc-kn-nhan { min-width: 120px; }
.tc-tao-don { position: relative; display: inline-flex; }
.tc-menu-nho { position: absolute; bottom: calc(100% + 6px); left: 0; z-index: 30; display: flex; flex-direction: column; min-width: 180px; background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(16,24,40,.12); padding: 4px; }
.tc-menu-nho a { padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; } .tc-menu-nho a:hover { background: #F1F5F4; }
/* Bảng tổng hợp */
.tc-th-cuon table.tc-th { font-size: 12.5px; width: max-content; min-width: 100%; }
.tc-th th, .tc-th td { height: 36px; min-width: 56px; padding: 0 8px; text-align: right; font-variant-numeric: tabular-nums; cursor: default; }
.tc-th thead th { text-align: center; white-space: normal; line-height: 1.25; height: auto; padding: 6px 8px; }
.tc-th thead th.nhom { background: #EEF6F5; color: #003A45; }
.tc-th thead tr:nth-child(2) th { top: 31px; }
.tc-th .ten-ma { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left; min-width: 82px; }
.tc-th .ten { left: 82px; min-width: 190px; }
.tc-th thead .ten-ma { z-index: 3; background: #F8F9FB; }
.tc-th .trai { text-align: left; } .tc-th .dam { font-weight: 700; } .tc-th .do { color: #B42318; font-weight: 700; background: #FDECEC; }
.tc-th tfoot td, .tc-th tfoot th { position: sticky; bottom: 0; background: #F8F9FB; font-weight: 700; z-index: 1; }
.tc-th tfoot .ten-ma, .tc-th tfoot .ten { z-index: 4; }
.tc-th tbody .ten-ma, .tc-th tbody .ten { z-index: 2; }
.tc-th-ten { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; }
.tc-th-ten:hover { color: var(--accent); text-decoration: underline; }
.tc-th-tm { max-width: 240px; overflow: hidden; text-overflow: ellipsis; }
.tc-cong-tac { display: inline-flex; align-items: center; gap: 6px; } .tc-cong-tac input { width: 18px; height: 18px; accent-color: var(--accent); }
.tc-buoc-phu::before { content: '' !important; margin: 0 0 0 8px !important; }
.tc-ds-gach { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
/* Phiếu công (khối số) */
.tc-ps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.tc-ps-nhom { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 10px; align-content: start; }
.tc-ps-nhom > .xs { grid-column: 1 / -1; color: #4B5563; }
.tc-ps-o { display: flex; flex-direction: column; } .tc-ps-o b { font-size: 15px; font-variant-numeric: tabular-nums; } .tc-ps-o.dam b { color: var(--accent); }
.tc-chon-ngay { display: flex; flex-wrap: wrap; gap: 6px; }
/* Nhật ký */
.tc-nk { display: flex; flex-direction: column; max-height: 60vh; overflow: auto; }
.tc-nk-dong { display: flex; align-items: baseline; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--line2); }
.tc-nk-luc { min-width: 92px; font-variant-numeric: tabular-nums; }
/* Bản in phiếu công A4 */
.tc-in { max-width: 820px; margin: 0 auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.tc-in-thanh { position: sticky; top: 0; background: var(--bg, #fff); padding: 8px 0; z-index: 2; }
.tc-in-trang { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; min-height: 1000px; box-sizing: border-box; }
.tc-in-dau { display: flex; align-items: center; gap: 14px; border-bottom: 3px solid #007A75; padding-bottom: 12px; }
.tc-in-logo { height: 56px; width: auto; }
.tc-in-truong { font-weight: 700; color: #003A45; letter-spacing: .02em; }
.tc-in-tieu { display: flex; flex-direction: column; align-items: flex-end; } .tc-in-tieu b { font-size: 22px; color: #007A75; letter-spacing: .06em; }
.tc-in-ttin { border-collapse: collapse; width: 100%; font-size: 14px; }
.tc-in-ttin th { text-align: left; font-weight: 400; color: #4B5563; padding: 6px 8px; width: 120px; } .tc-in-ttin td { padding: 6px 8px; border-bottom: 1px dotted #C9CED6; }
.tc-in-xn { font-size: 13px; background: #F1F5F4; border-radius: 8px; padding: 8px 12px; }
.tc-in-ky { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; margin-top: 24px; min-height: 120px; }
.tc-in-ky div { display: flex; flex-direction: column; gap: 4px; } .tc-in-ky span { font-size: 12px; color: #6B7280; font-style: italic; }
.tc-in-chan { margin-top: auto; border-top: 1px solid #E5E7EA; padding-top: 8px; color: #6B7280; text-align: center; }
@media print {
  .tc-in { padding: 0; max-width: none; } .tc-in-trang { border: 0; border-radius: 0; page-break-after: always; min-height: 270mm; padding: 12mm 14mm; }
  .tc-in-trang:last-child { page-break-after: auto; } .tc-in-xn { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media print {
  body:has(.tc-in-trang) .side, body:has(.tc-in-trang) .topbar, body:has(.tc-in-trang) .bottombar, body:has(.tc-in-trang) .no-print,
  body:has(.tc-in-trang) .toasts, body:has(.tc-in-trang) .env-badge, body:has(.tc-in-trang) .content > :not(.page) { display: none !important; }
  body:has(.tc-in-trang) .shell, body:has(.tc-in-trang) .main-col, body:has(.tc-in-trang) .content { display: block !important; padding: 0 !important; margin: 0 !important; }
  body:has(.tc-in-trang) { background: #fff; }
}

/* 400t: mục Nghỉ việc — bảng, form 2 cột, phần gập Việc bàn giao */
.hr-dem.nam { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.hr-dem.nam .hr-odem { padding: 8px; min-height: 58px; }
.ns-bang.nghi .lien-ket, button.lien-ket { border: 0; background: transparent; padding: 0; font: inherit; font-weight: 600; color: var(--accent); cursor: pointer; text-align: left; }
button.lien-ket:hover { text-decoration: underline; }
.ns-form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.ns-form-2 .ca-hang { grid-column: 1 / -1; }
.ns-form-2 input:disabled { background: var(--bg2, #F3F4F6); color: var(--ink2); }
.ns-gap { border-top: 1px solid var(--line); padding-top: 8px; display: grid; gap: 8px; }
.ns-gap-dau { display: flex; gap: 6px; align-items: baseline; border: 0; background: transparent; padding: 4px 0; font: inherit; cursor: pointer; text-align: left; min-height: 32px; }
.ns-bg-dong { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 150px 36px; gap: 6px; align-items: center; }
.ns-ban-giao { margin: 0; padding-left: 18px; display: grid; gap: 2px; font-size: 14px; }
@media (max-width: 640px) {
  .hr-dem.nam { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ns-form-2 { grid-template-columns: 1fr; }
  .ns-bg-dong { grid-template-columns: 1fr 36px; } .ns-bg-dong input:nth-child(2), .ns-bg-dong input:nth-child(3) { grid-column: 1; }
}
/* ===== 1600w: xác nhận ngày nghỉ (y tế / hiệu trưởng), giấy viện, ngày không nấu ===== */
.dd-xn { font-size: 12px; line-height: 1.2; color: var(--late); }
.xn-chon { display: flex; flex-wrap: wrap; gap: 6px; }
.xn-ds { list-style: none; margin: 0; padding: 0; }
.xn-ds li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.xn-ds li:last-child { border-bottom: 0; }
.gv-o { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; background: var(--line2); }
.gv-anh { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; background: var(--line); }
.ddt-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ddt-loc .on { background: var(--side-on); border-color: var(--accent); font-weight: 700; }

/* ===== 2900w: Kỳ thu — công tắc chung học phí, gợi ý gạt, theo dõi khớp, lý do Đã xem ===== */
.kt-chung { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border-radius: 8px; background: var(--line2); margin-bottom: 10px; }
.kt-chung label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kt-goi-y { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border-radius: 8px; background: var(--side-on); }
.kt-khop { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.kt-ly-do { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.kt-nut-cb { display: inline-flex; gap: 6px; margin-left: 8px; }

/* 400t (2): Của tôi — ô Đơn xin nghỉ việc */
.ns-don-nghi { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; display: grid; gap: 6px; }

/* 400y: Tổng quan gộp Báo cáo — đầu trang (kỳ · ghim · cơ sở), 3 ô có dòng phụ, lưới 8 biểu đồ, thanh cam (giấy tờ thiếu) */
.ns-tq-dau { flex-wrap: wrap; gap: 8px 12px; }
.ns-tq-ky button { min-height: 32px; }
.ns-tq-ba .hr-odem small { font-size: 11.5px; line-height: 1.3; color: var(--muted); }
a.hr-odem.bam { text-decoration: none; color: inherit; cursor: pointer; }
a.hr-odem.bam:hover { border-color: var(--accent); }
.ns-tq-luoi > section { min-width: 0; }
.hr-ngang-cot.cam { background: #D0712A; }
@media (max-width: 760px) { .ns-tq-ba { grid-template-columns: 1fr; } }

/* 400j2: biểu đồ KPI 6 tháng ở Của tôi — cột chỉ để xem, không bấm */
.ns-kpi-6 .hr-bd-o { cursor: default; }
.ns-kpi-6 .hr-bd-o:hover .hr-bd-cot { filter: none; }

/* 400w — làm hàng loạt: nút tách "+ Hợp đồng ▾", ô tích + thanh thao tác ở bảng Hợp đồng */
.hl-tach { display: inline-flex; }
.hl-tach > .btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.hl-tach .hl-mui { border-top-left-radius: 0; border-bottom-left-radius: 0; border-left: 1px solid rgba(255,255,255,.35); padding-left: 10px; padding-right: 10px; }
.hl-thanh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 12px; background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.hl-thanh .b { color: var(--accent); margin-right: 4px; }
.ns-bang.hd th.hl-o-tich, .ns-bang.hd td.hl-o-tich { position: sticky; left: 0; z-index: 2; width: 36px; min-width: 36px; max-width: 36px; text-align: center; background: var(--card); }
.ns-bang.hd th.hl-o-tich { z-index: 4; }
.ns-bang.hd tr:has(.hl-o-tich) th.ghim, .ns-bang.hd tr:has(.hl-o-tich) td.ghim { left: 36px; }
.ns-bang.hd tr.hl-dang-chon td { background: var(--accent-soft); }
.hl-ds { max-height: 50vh; overflow: auto; }
.hl-bang td { vertical-align: top; }
.hl-bang input, .hl-bang select { min-width: 0; }
/* 400v đợt 2 — mẫu Word ở Cài đặt nhân sự */
.hr-mau-word .row.gap { flex-wrap: wrap; justify-content: flex-end; }
.hl-truong td { padding: 4px 8px; font-size: 13px; }
/* 400vw (thử trên bản thử 21/11): nút chọn trong hộp làm hàng loạt không giãn hết dòng; cột Loại / ngày đủ rộng */
.form .ns-loc-dong input[type=radio], .form .ns-loc-dong input[type=checkbox] { width: auto; flex: none; margin: 0 8px 0 0; }
.hl-bang select { min-width: 150px; }
.hl-bang .ongay[data-kieu=date] { min-width: 132px; }

/* ---------- Phiếu 17s — chuẩn Apple làm gốc (anh Cường chốt 19/11/2026, docs/chot/chot-2026-11-19-chuan-apple.md + chot-2026-11-19-o-phan-he-mau-day.md) ----------
   Đặt CUỐI tệp để thắng các khối cũ (800d, 800k, 15/11 "Màu theo logo — bản 2"). Biến màu thương hiệu / bộ giao diện (17n) không đổi.
   1. Ô ứng dụng màu đầy + hình Phosphor đặc trắng (màu nền đi inline từ lib/mau-phan-he.ts); bo góc theo tỷ lệ; chỉ số đỏ. */
.o-ph.day > span:first-child { border-color: transparent !important; }
.blv-app-bt, .them-bt, .ph-bt { border-radius: 27%; }
/* Trợ lý: hình Phosphor vẽ bằng fill → tô màu chuyển bằng fill (trước đây bằng stroke) trên mọi khổ */
.tro-ly-nut svg:not([width="0"]) path, .tt-sao svg path { fill: url(#hh-ai); }
/* Xem trước bộ giao diện (17n): thanh trên giờ cùng nền trang */
.gd-xem i { background: #F5F6F7; border-bottom-color: transparent; }
.o-ph i.o-ph-so, .o-ph i.o-ph-so.do { background: #D13B3B;   /* DO_QUA_HAN (lib/mau-phan-he.ts) */ color: #fff; border: 2px solid var(--card, #fff); min-width: 22px; height: 22px;
  border-radius: 11px; font-size: 12px; font-weight: 600; line-height: 18px; box-shadow: none; }
.o-ph .o-ph-ten { font-weight: 400; }
/* 2. Thanh trên máy tính cùng nền trang, tab đang chọn nền trắng, không vạch vàng (thay phần thanh trên của chốt 15/11) */
@media (min-width: 761px) {
  .topbar { background: var(--bg); border-bottom-color: transparent; }
  .topbar .blv-tb-ban, .topbar .ktr-tab { background: rgba(16,24,40,.06); }
  .topbar .blv-tb-ban a.on, .topbar .ktr-tab .on { background: var(--card, #fff); color: var(--ink); box-shadow: 0 1px 2px rgba(16,24,40,.1); }
}
/* 3. Điện thoại: thanh trên cùng nền trang; thanh dưới các ô ngang hàng — bỏ nút giữa nổi (dáng của chốt 12/11; chức năng chọn ô giữa giữ) và nút nổi Quét */
@media (max-width: 760px) {
  .shell.o-them:not(.ben-lop-hoc) .topbar { background: var(--bg); }
  .shell.o-them:not(.ben-lop-hoc) .main-col { background: var(--bg); }
  .bottombar { background: rgba(255,255,255,.96); }
  .bottombar a.tb-giua, .bottombar a.tb-noi { color: var(--muted); justify-content: center; }   /* 1000k để tb-noi dồn đỉnh: trả về giữa */
  .bottombar a.tb-giua.on, .bottombar a.tb-noi.on { color: var(--accent); font-weight: 600; }
  .bottombar .tb-giua-tron, .bottombar .tb-noi-tron, .bottombar .tb-sap.tb-noi .tb-noi-tron,
  .bottombar a.tb-giua.toi-lop .tb-giua-tron, .bottombar a.tb-giua.on .tb-giua-tron, .bottombar a.tb-noi.on .tb-noi-tron {
    width: auto; height: auto; margin: 0; border-radius: 0; background: none; color: inherit; box-shadow: none; transform: none; }
  .shell.bar-compact .bottombar .tb-giua-tron, .shell.bar-compact .bottombar .tb-noi-tron { transform: none; margin: 0; }
  .bottombar a.tb-noi .tb-nhan.sr-only { position: static; width: auto; height: auto; margin: 0; clip: auto; overflow: hidden; white-space: nowrap; }
  .bottombar a.tb-giua .badge, .bottombar a.tb-noi .badge { top: 2px; left: 52%; }
  /* nút chuyển thế giới (chốt 12/11) vẫn nhận ra bằng màu hình: sang Nội bộ xanh logo, sang Lớp học vàng ấm — không còn nổi */
  /* chỉ tô hình (≥ 3 : 1); nhãn giữ màu chữ phụ để đạt 4,5 : 1 */
  .bottombar a.tb-giua[data-giua="noi-bo"] svg { color: var(--brand); } .bottombar a.tb-giua[data-giua="lop-hoc"] svg { color: #B7791F; }
  .bottombar a.tb-giua .tb-cham { top: 4px; left: 60%; }
  /* Chữ (điểm 8, chữ nội dung điện thoại 17 px — làm dần từng trang): màn Thêm */
  .them-luoi .o-ph-ten, .loi-tat .o-ph-ten { font-size: 13px; }
  .shell.o-them .them-nhom { font-size: 17px; font-weight: 600; }
}

/* 17s đợt 2: chữ điện thoại to hơn — nút chữ dài trong hàng xuống dòng thay vì tràn ngang */
@media (max-width: 760px) {
  .content .btn { max-width: 100%; }
  .content .row.wrap > .btn { white-space: normal; text-align: left; }
}

/* ---------- Phiếu 1600ab (anh Cường chốt 22/11/2026, bản vẽ bảng 1–5): Lớp học phía quản lý trên máy tính ----------
   Thanh tab con của nhóm menu + Tổng quan bố cục EMIS. Biểu đồ nhiều màu, có xanh ngọc Hugo House (anh 10:24). */
.lh-tab-nhom { display: flex; flex-wrap: wrap; gap: 4px; background: var(--card); border-radius: 12px; padding: 4px; margin: 0 0 12px; width: fit-content; max-width: 100%; }
.lh-tab-nhom a { text-decoration: none; color: var(--ink2); padding: 8px 16px; border-radius: 9px; font-size: 14px; }
.lh-tab-nhom a.on { background: #008F89; color: #FFFFFF; font-weight: 600; }
.lh-tab-nhom a:not(.on):hover { background: var(--line2); }
.tq-loc { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.tq-o { display: inline-flex; align-items: center; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 3px 6px; min-height: 36px; }
.tq-o select, .tq-o input { border: 0; background: transparent; font: inherit; font-weight: 600; min-height: 30px; }
.tq-ngay button { border: 0; background: var(--line2); border-radius: 8px; width: 30px; height: 30px; cursor: pointer; font-size: 16px; }
.tq-ngay button:disabled { opacity: .4; cursor: default; }
.tq-chi-xem { background: #E5F4F3; color: #003A45; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; }
.tq-luoi { display: flex; gap: 14px; align-items: flex-start; }
.tq-trai { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tq-phai { flex: 0 0 340px; display: flex; flex-direction: column; gap: 14px; }
.tq-bon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tq-so { background: var(--card); border-radius: 14px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.tq-so > i { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #FFFFFF; flex: none; }
.tq-so > span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); }
.tq-so b { font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.1; } .tq-so small { font-size: 14px; font-weight: 500; color: var(--muted); }
.tq i.xanh, .tq-thanh .xanh { background: #008F89; } .tq i.cam, .tq-thanh .cam { background: #F5A524; } .tq i.tim, .tq-thanh .tim { background: #6E6AF0; }
.tq i.do, .tq-thanh .do { background: #E5484D; } .tq i.lam, .tq-thanh .lam { background: #3E8EF7; } .tq-thanh .xam { background: #C9CDD2; }
.tq-doi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tq-the { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; border-radius: 16px; }
.tq-the h2, .tq-gap h2 { margin: 0; font-size: 16px; }
.tq-a-lop { text-decoration: none; color: inherit; border-radius: 8px; } .tq-a-lop:hover { background: var(--line2); }
.tq-dong-lop { display: grid; grid-template-columns: 86px minmax(0, 1fr) 52px; gap: 10px; align-items: center; font-size: 13px; }
.tq-ten-lop { text-align: right; color: var(--ink2); line-height: 1.15; } .tq-ten-lop small { display: block; color: #7A5A00; font-size: 11px; }
.tq-thanh { display: flex; height: 16px; border-radius: 8px; overflow: hidden; background: var(--line2); }
.tq-thanh i { display: block; height: 100%; }
.tq-so-lop { color: var(--ink2); white-space: nowrap; }
.tq-chu-giai { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink2); padding-top: 4px; }
.tq-chu-giai i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.tq-chip { display: flex; gap: 6px; flex-wrap: wrap; }
.tq-chip button { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 6px 14px; font: inherit; font-size: 13px; cursor: pointer; }
.tq-chip button.on { background: #008F89; border-color: #008F89; color: #FFFFFF; font-weight: 600; }
.tq-sn { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tq-sn-o { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; min-width: 0; }
.tq-av { width: 40px; height: 40px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center; color: #FFFFFF; font-weight: 700; font-size: 13px; }
.tq-av.m0 { background: #008F89; } .tq-av.m1 { background: #F5A524; } .tq-av.m2 { background: #6E6AF0; } .tq-av.m3 { background: #E5484D; }
.tq-sn-chu { display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; min-width: 0; }
.tq-sn-chu b, .tq-sn-chu span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tq-sn-chu > span { color: var(--muted); }
.tq-sn-chu .tq-sn-ngay { color: #007A75; font-weight: 600; }
.tq-gap { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; border-radius: 16px; border: 1px solid #F3C4C4; }
.tq-gap h2 { color: #8E1B1B; }
.tq-gap-dong { background: #FDECEC; border-radius: 10px; padding: 8px 10px; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.tq-gap-dong .grow { display: flex; flex-direction: column; }
.tq-hang { text-decoration: none; color: var(--ink); border-radius: 10px; padding: 10px 12px; font-size: 14px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tq-hang > span { display: flex; flex-direction: column; } .tq-hang small { font-size: 12px; color: var(--muted); }
.tq-hang > i { width: 22px; height: 22px; border-radius: 6px; background: #008F89; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; font-style: normal; flex: none; }
.tq-hang.xanh { background: #E1F3F1; } .tq-hang.cam { background: #FFF1DC; } .tq-hang.hong { background: #FDE7E8; } .tq-hang.lam { background: #E6EFFD; } .tq-hang.tim { background: #ECEBFD; }
@media (max-width: 1180px) { .tq-luoi { flex-direction: column; } .tq-phai { flex-basis: auto; width: 100%; } .tq-sn { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .tq-doi, .tq-bon { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 1600ab (22/11 17:50): thanh tab + ô Cơ sở chung của Lớp học */
.lh-dau-nhom { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 12px; }
.lh-dau-nhom .lh-tab-nhom { margin: 0; }
.lh-dau-nhom .lh-o-co-so { margin-left: auto; }
@media (max-width: 700px) { .lh-dau-nhom { margin: 8px 12px; } .lh-dau-nhom .lh-o-co-so { margin-left: 0; } }

/* ===== 600m: chuẩn tự vừa mọi bề ngang máy tính (components/BangTuVua.tsx, lib/tu-vua.ts) — NGUYEN-TAC.md mục 7 ===== */
.btv-cuon { position: relative; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  scrollbar-width: auto; scrollbar-color: #B8C0C6 #F0F1F3; overscroll-behavior: contain; }
/* thanh kéo luôn hiện (Mac ẩn thanh cuộn mặc định — khai thanh riêng thì Chrome / Safari luôn vẽ) */
.btv-cuon::-webkit-scrollbar { width: 12px; height: 12px; }
.btv-cuon::-webkit-scrollbar-track { background: #F0F1F3; }
.btv-cuon::-webkit-scrollbar-thumb { background: #B8C0C6; border-radius: 8px; border: 3px solid #F0F1F3; }
.btv-cuon::-webkit-scrollbar-thumb:hover { background: #8E989F; }
table.btv { border-collapse: separate; border-spacing: 0; min-width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
table.btv th, table.btv td { box-sizing: border-box; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line2); padding: 0 8px; background: var(--card); }
table.btv td { height: 40px; white-space: nowrap; text-align: right; color: var(--ink); }
table.btv td.trai, table.btv th.trai { text-align: left; }
table.btv td.btv-chu, table.btv th.btv-hoten { overflow: hidden; text-overflow: ellipsis; }
table.btv td.btv-ngay { text-align: center; }
table.btv thead th { position: sticky; top: 0; z-index: 2; background: #EEF1F2; font-size: 12px; font-weight: 600; color: var(--ink2);
  text-align: right; padding: 7px 8px; line-height: 1.25; vertical-align: bottom; border-bottom: 1px solid #D5DBDE; white-space: normal; }
table.btv thead th.trai { text-align: left; }
table.btv.hai-tang thead tr.btv-t2 th { top: var(--btv-tang1, 33px); }
table.btv thead th.btv-nhom { text-align: center; letter-spacing: .04em; text-transform: uppercase; font-size: 11.5px; vertical-align: middle; white-space: normal; min-width: 132px; }
table.btv .btv-ten { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
table.btv th .btv-keo { position: absolute; top: 0; right: -4px; width: 8px; height: 100%; cursor: col-resize; z-index: 4; touch-action: none; }
table.btv th .btv-keo:hover { background: color-mix(in srgb, var(--brand) 30%, transparent); }
table.btv th.btv-th { position: sticky; }
table.btv .btv-ghim { position: sticky; z-index: 1; }
table.btv thead .btv-ghim { z-index: 3; }
table.btv .btv-mep { box-shadow: 6px 0 6px -4px rgba(0, 58, 69, .22); border-right: 1px solid #D5DBDE; }
table.btv .btv-tick { width: 36px; min-width: 36px; text-align: center; }
table.btv .btv-stt { width: 44px; min-width: 44px; text-align: center; color: var(--muted); }
table.btv .btv-ma { min-width: 84px; }
table.btv th.btv-hoten, table.btv td.btv-hoten { min-width: 160px; max-width: 260px; text-align: left; font-weight: 500; }
table.btv tbody th.btv-hoten { white-space: nowrap; font-size: 13px; color: var(--ink); border-bottom: 1px solid var(--line); }
table.btv .btv-ma-phu { font-weight: 400; line-height: 1.2; }
table.btv tbody tr:hover > * { background: #F6F9F9; }
table.btv tbody tr.vang > * { background: #FFF7D6; }
table.btv tbody tr.on > * { background: #E3F3F2; }
table.btv td.tu { background: #F1F3F4; }
table.btv td.tnk { background: #E6F4F3; color: #005E5A; cursor: pointer; }
table.btv td.tnk:hover { outline: 2px solid var(--accent); outline-offset: -2px; }
table.btv td.tnk .btv-sang { font-size: 11px; margin-left: 3px; opacity: .8; }
table.btv tfoot th, table.btv tfoot td { position: sticky; bottom: 0; z-index: 2; background: #E3F3F2; font-weight: 700; font-size: 12.5px;
  border-top: 2px solid var(--accent); height: 40px; white-space: nowrap; text-align: right; }
table.btv tfoot .btv-ghim { z-index: 3; text-align: left; }
table.btv td.btv-rong { text-align: center; color: var(--muted); height: 80px; white-space: normal; }
table.btv input[type=checkbox] { width: 16px; height: 16px; margin: 0; vertical-align: middle; }
.btv-nut-cot { position: relative; }
.btv-cot-hop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; width: 340px; max-height: min(70vh, 560px); overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .14); padding: 10px; display: grid; gap: 8px; }
.btv-bo { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.btv-cot-ds { display: grid; gap: 2px; }
.btv-cot-dong { display: flex; align-items: center; gap: 4px; }
.btv-cot-dong label { display: flex; align-items: center; gap: 8px; flex: 1; min-height: 32px; cursor: pointer; font-size: 13.5px; }
/* thanh công cụ của bảng: một hàng, tự xuống dòng khi hẹp */
.btv-thanh { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; }
.btv-thanh .btv-tim { min-width: 200px; max-width: 280px; flex: 1 1 200px; }
.btv-thanh .grow { flex: 1 1 0; }
table.btv thead th.btv-th:not(.trai) { min-width: 76px; }   /* cột số chưa có số vẫn đọc được tên cột (tối đa 2 dòng) */
table.btv td.btv-chu .pay-chips { display: inline-flex; flex-wrap: nowrap; gap: 4px; }
/* ===== hết 600m bảng tự vừa ===== */

/* ===== 600m: menu trái có nhóm gập kiểu AMIS (Shell MenuPhanHe, mục khai `cha`) + tự thu theo bề ngang ===== */
@media (min-width: 761px) {
  .side .nl-cha { cursor: pointer; }
  .side .nl-cha .nl-chev { margin-left: auto; opacity: .6; }
  .side .nl-cha.mo { cursor: default; font-weight: 600; color: var(--accent-ink); }
  .side .nl-cha.mo:hover { background: transparent; }
  .side .nl-nhom-mo { display: flex; flex-direction: column; gap: 1px; }
  .side .nl-con-ds > .nl { padding-left: 38px; font-size: 13.5px; min-height: 36px; }
  .side .nl-con-ds > .nl svg { width: 16px; height: 16px; }
  .shell.mini .side .nl-cha.mo { display: none; }
  .shell.mini .side .nl-cha { justify-content: center; padding: 0; gap: 0; }
  .shell.mini .side .nl-cha .nl-label, .shell.mini .side .nl-cha .nl-chev { display: none; }
  .shell.mini .side .nl-con-ds > .nl { justify-content: center; padding: 0; gap: 0; }
  .shell.mini .side .nl-con-ds > .nl .nl-label { display: none; }
  .shell.mini .side .nl-cha .nb, .shell.mini .side .nl-con-ds > .nl .nb { position: absolute; top: 3px; right: 6px; font-size: 10px; padding: 0 5px; line-height: 16px; }
  /* 1024–1439: menu tự thu; bấm « » mở NỔI đè lên nội dung (chỗ trống 80 px giữ nguyên → bảng không bị đẩy) */
  .shell.tu-thu.tu-thu-mo::before { content: ''; flex: 0 0 80px; width: 80px; }
  .shell.tu-thu.tu-thu-mo .side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 70; width: 260px; box-shadow: 8px 0 28px rgba(0, 0, 0, .18); }
}
/* ===== hết 600m menu ===== */

/* ===== 600m: màn Lương máy tính kiểu AMIS (DanhSach / BangLuong / ThuNhapKhac / BangThue) ===== */
.pay-dau-man { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pay-dau-man .pay-ve { min-width: 36px; padding: 0 6px; }
.pay-dau-man h1 { margin: 0; font-size: 20px; line-height: 1.3; }
.pay-dau-man .pay-ten-bang { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay-dau-man.het-cho { flex-wrap: nowrap; } .pay-dau-man.het-cho > * { flex-shrink: 0; } .pay-dau-man.het-cho > .pay-ten-bang { flex-shrink: 1; min-width: 96px; }
.pay-trang-thai { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 12px; margin: 4px 0 8px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); }
.pay-buoc-nho { display: inline-flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12.5px; color: var(--muted); }
.pay-buoc-nho .xong { color: var(--ok); }
.pay-buoc-nho .dang { color: var(--accent-ink); font-weight: 700; }
.pay-tt-o { display: inline-flex; flex-direction: column; gap: 0; line-height: 1.2; padding: 2px 6px; border-radius: 8px; border: 0; background: none; text-align: left; color: inherit; }
.pay-tt-o b { font-size: 15px; font-variant-numeric: tabular-nums; }
.pay-tt-o.nut { cursor: pointer; } .pay-tt-o.nut:hover { background: var(--line2); }
.pay-tt-o b.vang { color: #8A5A00; } .pay-tt-o .do { color: var(--late); }
.pay-600m-than { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: start; }
.pay-600m-man.co-ben .pay-600m-than { grid-template-columns: minmax(0, 1fr) 440px; }
.pay-600m-bang { min-width: 0; }
.pay-ben { position: sticky; top: 8px; max-height: calc(100vh - 24px); overflow: auto; padding: 12px; display: grid; gap: 10px; align-content: start; }
.pay-ben-dau { align-items: center; }
@media (max-width: 1279px) {
  .pay-600m-man.co-ben .pay-600m-than { grid-template-columns: minmax(0, 1fr); }
  .pay-ben { position: fixed; right: 12px; top: 72px; bottom: 12px; width: min(440px, calc(100vw - 24px)); max-height: none; z-index: 50; box-shadow: -8px 0 28px rgba(0, 0, 0, .16); }
}
.pay-the-duoi { display: flex; gap: 2px; margin-top: 8px; border-top: 1px solid var(--line); }
.pay-the-duoi button { border: 0; background: none; padding: 9px 14px; min-height: 40px; font: inherit; font-size: 13.5px; color: var(--ink2); cursor: pointer; border-radius: 0 0 8px 8px; }
.pay-the-duoi button.on { background: #fff; color: var(--accent-ink); font-weight: 600; box-shadow: inset 0 3px 0 var(--sun); }
.pay-menu-khac-ds { min-width: 280px; right: 0; }
.pay-menu-khac-ds a, .pay-menu-khac-ds button { display: block; width: 100%; text-align: left; padding: 9px 14px; min-height: 42px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.pay-menu-khac-ds a:hover { background: var(--line2); }
.pay-menu-khac-ds small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.pay-menu-khac-ds .mo { color: #9AA6AD; cursor: not-allowed; }
.pay-menu-khac-ds .mo small { color: #9AA6AD; }
.pay-menu-khac-ds .nguy { color: var(--late); }
table.btv .btv-o-sang { display: block; width: 100%; height: 100%; color: inherit; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; text-align: right; cursor: pointer; }
table.btv td.tnk-o { cursor: pointer; } table.btv td.tnk-o:hover { outline: 2px solid var(--accent); outline-offset: -2px; background: #F2FAF9; }
table.btv td.pay-o-chi { outline: 2px solid var(--sun); outline-offset: -2px; }
table.btv td.b { font-weight: 700; }
table.btv td.do, table.btv td .do { color: var(--late); }
table.btv td.pay-o-vang { background: #FFF1C2; } table.btv td.pay-o-do { background: #FDECEA; color: #8A1C12; font-weight: 600; }
.pay-o-sua input { width: 100%; min-width: 96px; height: 32px; font-size: 13px !important; text-align: right; border: 2px solid var(--accent); border-radius: 6px; padding: 0 6px; }
.pay-ten { border: 0; background: none; padding: 0; font: inherit; color: var(--accent-ink); cursor: pointer; text-align: left; }
.pay-ten:hover { text-decoration: underline; }
.pay-ten-lk { color: var(--accent-ink); font-weight: 600; } .pay-ten-lk:hover { text-decoration: underline; }
table.btv tbody tr.pay-dang-lam > th:first-of-type { box-shadow: inset 3px 0 0 var(--sun); }
.pay-mau { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; border: 1px solid #D5DBDE; }
.pay-mau.tu { background: #F1F3F4; } .pay-mau.tnk { background: #E6F4F3; } .pay-mau.vang { background: #FFF7D6; }
.pay-tha-tep { border: 1.5px dashed var(--accent-line); border-radius: 10px; padding: 8px 12px; margin-bottom: 8px; font-size: 13px; color: var(--ink2); display: flex; gap: 8px; align-items: center; cursor: pointer; background: #F7FBFB; }
.pay-chon-nv { left: 0; right: auto; max-height: 360px; overflow: auto; min-width: 300px; display: grid; gap: 2px; padding: 8px; }
.pay-chon-nv label, .pay-chon-nguoi label { display: flex; align-items: center; gap: 8px; min-height: 34px; font-size: 13.5px; cursor: pointer; }
.pay-chon-nguoi { max-height: 300px; overflow: auto; display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; }
.pay-sai-cuon { max-height: 52vh; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
table.btv.pay-sai { width: 100%; } table.btv.pay-sai td { height: 44px; }
table.btv.pay-sai td.pay-tinh-lai { color: var(--info); font-weight: 600; }
table.btv.pay-sai td.pay-vi-sao { white-space: normal; min-width: 260px; font-size: 12.5px; color: var(--ink2); }
.pay-ben-tab { display: flex; gap: 4px; } .pay-ben-tab button { border: 0; background: none; padding: 8px 12px; border-radius: 8px; font: inherit; cursor: pointer; }
.pay-ben-tab button.on { background: var(--line2); font-weight: 600; box-shadow: inset 0 -3px 0 var(--sun); }
.pay-ghi-chu-o { display: grid; gap: 6px; } .pay-ghi-chu-o textarea { width: 100%; }
.pay-tab-thue { display: flex; gap: 4px; margin: 4px 0 8px; border-bottom: 1px solid var(--line); }
.pay-tab-thue a { padding: 9px 14px; min-height: 40px; color: var(--ink2); font-weight: 600; font-size: 14px; }
.pay-tab-thue a.on { color: var(--accent-ink); box-shadow: inset 0 -3px 0 var(--sun); }
.pay-nut-phu .tc-so-do { margin-left: 6px; }
/* phóng to: bảng chiếm cả màn (menu trái, thanh trên, đầu màn ẩn — body.pay-phong-to); Esc để thoát */
.pay-600m-man.phong-to .pay-trang-thai, .pay-600m-man.phong-to .pay-the-duoi, .pay-600m-man.phong-to .pay-chu-thich { display: none; }
/* ===== hết 600m màn Lương ===== */

/* Phiếu 200zb mục 7 (khung 4C): Tạo phiếu một màn trên máy tính — form trái, "Phiếu sẽ đi" + Gửi / Lưu nháp phải (dính khi cuộn) */
@media (min-width: 1100px) {
  .wf-buoc.wf-tao-1man { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 28px; align-items: start; }
  .wf-tao-1man > .wf-buoc-dau { grid-column: 1 / -1; }
  .wf-tao-1man > .wf-form { grid-column: 1; min-width: 0; }
  .wf-tao-1man > .wf-tao-di { grid-column: 2; position: sticky; top: 72px; display: flex; flex-direction: column; gap: 12px; }
  .wf-tao-di .wf-chuoi { margin: 8px 0 0; }
  .wf-tao-di-nut { display: flex; flex-direction: column; gap: 8px; }
}

/* ===================== 1000zc — Kho trên MÁY TÍNH bày theo AMIS Kho hàng (anh chốt 23/11/2026, bản vẽ docs/thiet-ke/kho-may-tinh-amis) ==============   ≥ 1024: trang Kho dùng hết bề ngang (bảng tự vừa 600m), tab ngang vạch vàng, bảng phiếu + "Chi tiết hàng hoá" ngay dưới, dòng Cộng. Dưới 1024 giữ giao diện điện thoại. */
@media (min-width: 1024px) {
  .page.kho.kho-nhap-kho, .page.kho.kho-xuat-kho, .page.kho.kho-cap { max-width: none; }
}
.kho-mt-khung { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.kho-mt-tab { display: flex; gap: 4px; padding: 0 8px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.kho-mt-tab > button, .kho-mt-tab > a { font: inherit; font-size: 14px; font-weight: 600; padding: 12px 14px; min-height: 44px; border: 0; background: transparent;
  color: var(--muted); white-space: nowrap; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.kho-mt-tab > button.on { color: var(--accent-ink); box-shadow: inset 0 -3px 0 var(--sun); }
.kho-mt-tab > a { color: var(--accent-ink); font-weight: 500; margin-left: auto; }
.kho-mt-cong-cu { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; }
.kho-mt-tim { width: 260px; max-width: 100%; min-height: 44px; }
.kho-mt-loc { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.kho-mt-loc select { width: auto; max-width: 240px; }
.kho-mt-loc select { min-height: 44px; }
.kho-mt-pad { padding: 12px 14px 0; }
.kho-mt-the { padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.btv tr.btv-dang-chon > td, .btv tr.btv-dang-chon > th { background: var(--accent-soft); }
.kho-mt-chi-tiet { margin-top: 12px; padding: 0; overflow: hidden; }
.kho-mt-chi-tiet-dau { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.kho-mt-cuon { overflow-x: auto; }
.kho-mt-bang { border-collapse: separate; border-spacing: 0; width: 100%; font-variant-numeric: tabular-nums; }
.kho-mt-bang th { font-size: 12px; font-weight: 600; text-align: right; padding: 10px; background: var(--line2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.kho-mt-bang td { font-size: 13px; text-align: right; padding: 0 10px; height: 40px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.kho-mt-bang .trai { text-align: left; }
.kho-mt-bang td.trai { white-space: normal; }
.kho-mt-bang tfoot .kho-mt-cong td { font-weight: 700; background: var(--accent-soft); border-top: 2px solid var(--accent); }
.kho-mt-dot-dau { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.kho-chip-vang { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: #FFF7D6; border: 1px solid #E3C55A; color: #5C4A00; white-space: nowrap; }
.kho-chip-vang.nho { margin-left: 6px; padding: 1px 8px; }
.kho-mt-bang td.kho-o-cho { background: #FFFBEA; }
.kho-chk { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; }
.kho-lich-cap .ongay[data-kieu=time] { min-height: 44px; max-width: 160px; }
/* màn 2/4: phiếu nhập / xuất khác / xem phiếu trên máy tính — bảng dòng hàng 01-VT / 02-VT; dòng nhận lệch / vượt tồn tô vàng */
@media (min-width: 1024px) {
  .page.kho.kho-nhap, .page.kho.kho-phieu, .page.kho.kho-xuat-khac { max-width: 1240px; }
}
.kho-mt-bang tr.kho-mt-thieu > td { background: #FFFBEA; }
.kho-mt-bang td .kho-o-nho { width: 96px; text-align: right; }
.kho-mt-bang td .kho-o-nho.gia { width: 120px; }
.kho-mt-bang td .kho-ly-do { width: 100%; margin: 6px 0; }
.kho-mt-bang td input[type=checkbox] { width: 20px; height: 20px; }
.kho-mt-bang td select { min-height: 36px; width: auto; }
.kho-mt-an-dong:not(:has(> *)) { display: none; }
.kho-mt-bang td .kho-oso { width: 150px; margin-left: auto; }
/* màn 7: bốn ô Tổng quan (2 × 2) */
.kho-mt-o4-luoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.kho-mt-o4 { padding: 0; overflow: hidden; }
@media (min-width: 1024px) { .page:has(.kho-mt-o4-luoi), .page.kho.kho-danh-muc, .page.kho.kho-cai-dat { max-width: 1240px; } }
.kho-tq-bang tfoot tr.dp td { font-weight: 400; background: transparent; border-top: 1px dashed var(--line); }
/* màn 8: thẻ cài đặt theo nhóm */
.kho-cfg-the { padding: 0; overflow: hidden; margin-bottom: 12px; }
.kho-cfg-dong { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 40%); gap: 16px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line2); }
.kho-cfg-dong:last-child { border-bottom: 0; }
.kho-cfg-ten { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kho-cfg-gt { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex-wrap: wrap; text-align: right; }
.kho-cfg-gt input, .kho-cfg-gt select { max-width: 220px; min-height: 40px; }
.kho-cfg-gt input.loi { border-color: #B3261E; }
.kho-o-thang { min-height: 40px; width: auto; }
/* màn 9: Báo cáo — danh sách theo nhóm bên trái, báo cáo bên phải */
@media (min-width: 1024px) { .page.kho.kho-bc:has(.kho-bc-mt) { max-width: none; } }
.kho-bc-mt { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 16px; align-items: start; }
.kho-bc-ds { padding: 0; overflow: hidden; position: sticky; top: 12px; }
.kho-bc-ds .kho-mt-tim { width: 100%; }
.kho-bc-nhom { padding: 4px 0 8px; border-top: 1px solid var(--line2); }
.kho-bc-nhom-ten { padding: 10px 14px 4px; text-transform: uppercase; letter-spacing: .02em; }
.kho-bc-muc { display: flex; align-items: center; gap: 6px; padding: 0 6px 0 14px; min-height: 40px; }
.kho-bc-muc > a, .kho-bc-muc > button.link { flex: 1; text-align: left; font-size: 14px; padding: 8px 0; color: var(--ink); text-decoration: none; }
.kho-bc-muc.on { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.kho-bc-muc.on > button.link { font-weight: 700; color: var(--accent-ink); }
.kho-bc-sao { width: 36px; height: 36px; border: 0; background: transparent; font-size: 18px; color: var(--muted); cursor: pointer; }
.kho-bc-sao.on { color: #C99A00; }
.kho-bc-mt-than { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
=======
/* ---------- 1600ac (anh Cường chốt 23/11/2026): Lớp học phía quản lý trên ĐIỆN THOẠI — khung app của cô (lhn-*), bản vẽ DFTzm869UkGJkFjfcnXavv ---------- */
.tcq .lhn-the-dau h2 { margin: 0; }
.tcq-nut-lien { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; text-align: left; margin-top: 10px; }
.tcq-3o { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.tcq-3o .o { min-height: 92px; border-radius: 20px; background: #EAF6F3; padding: 12px 10px; display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; color: inherit; }
.tcq-3o .o b { font-size: 28px; line-height: 1; color: #C2701A; }
.lhn-4o .o.xam b { color: #6B7780; }
.tcq-gap { background: #FFF4E5; border: 1px solid #F1C27D; border-radius: 26px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.tcq-gap h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 18px; color: #B54708; }
.tcq-gap-dong { display: flex; align-items: center; gap: 10px; }
.tcq-gap-dong .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tcq-gap-dong .btn { background: #B54708; border-color: #B54708; color: #fff; border-radius: 19px; min-height: 40px; }
.tcq-dong-ds { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.tcq-dong-ds > a, .tcq-dong-ds > button { display: flex; align-items: center; gap: 12px; background: #EAF6F3; border: 0; border-radius: 18px; padding: 12px 14px;
  text-decoration: none; color: inherit; font: inherit; text-align: left; cursor: pointer; min-height: 56px; }
.tcq-dong-ds .grow { display: flex; flex-direction: column; gap: 2px; }
.tcq-dong-ds .grow span { font-size: 14px; color: #6B7780; }
.tcq-bua { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.tcq-bua > div { display: flex; align-items: center; gap: 10px; background: #EAF6F3; border-radius: 16px; padding: 12px 14px; }
.tcq-bua i { color: #C7CED1; font-style: normal; }
.tcq-bua .do { color: #D64545; }
.lhn-sn-nhom > a { padding: 6px 12px; border-radius: 16px; background: #EEF0F2; font-size: 13px; font-weight: 600; color: #45525A; text-decoration: none; }
.lhn-sn-nhom > a.on { background: #2FA58E; color: #fff; }
.shell.ben-lop-hoc .lhn-sn-nhom > a.on { background: #029089; }
/* ngăn kéo lên */
.tcq-ngan { max-height: 84vh; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.tcq-keo { align-self: center; width: 44px; height: 5px; border-radius: 3px; background: #D5DCDA; }
.tcq-chon-loai { align-self: center; display: inline-flex; gap: 4px; background: #F1F3F4; border-radius: 22px; padding: 4px; }
.tcq-chon-loai button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 19px; background: none; font: inherit; color: #45525A; cursor: pointer; }
.tcq-chon-loai button[aria-checked="true"] { background: #DCF1EE; color: #0F6E68; font-weight: 700; }
.tcq-chu-thich { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; font-size: 14px; }
.tcq-chu-thich span { display: inline-flex; align-items: center; gap: 6px; }
.tcq-chu-thich i, .tcq-tl i { display: inline-block; }
.tcq-chu-thich i { width: 12px; height: 12px; border-radius: 6px; }
.tcq-tl-ds { display: flex; flex-direction: column; gap: 14px; }
.tcq-tl-dong { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; }
.tcq-tl-dau { display: flex; justify-content: space-between; gap: 8px; }
.tcq-tl { display: flex; height: 24px; border-radius: 12px; overflow: hidden; background: #EEF0F2; }
.tcq-tl i { height: 100%; color: #fff; font-size: 13px; font-weight: 700; font-style: normal; display: flex; align-items: center; justify-content: flex-end; padding-right: 6px; box-sizing: border-box; }
.tcq-chu-thich .di, .tcq-tl .di { background: #029089; } .tcq-chu-thich .chua, .tcq-tl .chua { background: #F2B544; }
.tcq-chu-thich .cp, .tcq-tl .cp { background: #8A8FE0; } .tcq-chu-thich .kp, .tcq-tl .kp { background: #E36A6A; }
.tcq-chu-thich .cho, .tcq-tl .cho { background: #E07A1F; } .tcq-chu-thich .xam, .tcq-tl .xam { background: #A9B2B7; }
.tcq-tk-bai { list-style: none; margin: 0; padding: 0; }
.tcq-tk-bai li { display: flex; gap: 8px; padding: 10px 0; border-top: 1px solid #EEF2F1; }
.tcq-tk-bai .cam { color: #C2701A; }
/* màn bên trong */
.tcq-trong .page-head { align-items: center; }
.tcq-hang { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; }
.tcq-loc { flex: 1; min-width: 0; }
.tcq-loc select { width: 100%; min-height: 46px; border-radius: 23px; border: 0; background: #fff; box-shadow: 0 2px 8px rgba(15,110,104,.10); padding: 0 16px; font: inherit; color: inherit; }
.tcq-tim { flex: 1; min-width: 0; min-height: 46px; border-radius: 23px; }
.tcq-khoang { min-height: 40px; border-radius: 20px; border: 0; background: #fff; padding: 0 12px; font: inherit; color: #029089; font-weight: 700; }
.tcq-chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 0 12px; scrollbar-width: none; }
.tcq-chips::-webkit-scrollbar { display: none; }
.tcq-chips button { flex: none; min-height: 38px; padding: 0 14px; border: 0; border-radius: 19px; background: #EEF0F2; color: #45525A; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.tcq-chips button.on { background: #029089; color: #fff; }
.tcq-chips button.on.chua { background: #C2701A; }
.tcq-be { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.tcq-be-dau { display: flex; align-items: center; gap: 12px; }
.tcq-be-dau .grow, .tcq-be-mo .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tcq-be-mo { flex: 1; display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; min-height: 44px; }
.tcq-anh { width: 44px; height: 44px; border-radius: 22px; background: #DCF1EE; color: #0F6E68; font-weight: 700; display: grid; place-items: center; flex: none; font-size: 14px; }
.tcq-2nut { display: flex; gap: 8px; flex-wrap: wrap; }
.tcq-2nut .btn { flex: 1; min-height: 44px; border-radius: 22px; }
.tcq-h { font-size: 16px; margin: 14px 0 8px; display: flex; align-items: center; gap: 8px; }
.tcq-so { min-width: 22px; height: 22px; border-radius: 11px; background: #D9622B; color: #fff; font-size: 12px; display: inline-grid; place-items: center; padding: 0 6px; }
.tcq-lk { font-weight: 700; color: #029089; text-decoration: none; }
.tcq-tich { width: 22px; height: 22px; accent-color: #029089; flex: none; }
.tcq-tich-het { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 0 0 10px; min-height: 44px; }
.tcq-tich-het input { width: 22px; height: 22px; accent-color: #029089; }
.tcq-day { position: sticky; bottom: calc(80px + env(safe-area-inset-bottom)); padding: 8px 0; }
.tcq-day .btn { width: 100%; min-height: 50px; border-radius: 25px; }
.tcq-sn { list-style: none; margin: 0; padding: 0; }
.tcq-sn li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid #EEF2F1; }
.tcq-sn li:first-child { border-top: 0; }
.tcq-sn .grow { display: flex; flex-direction: column; gap: 2px; }
html.dark .tcq-3o .o, html.dark .tcq-dong-ds > a, html.dark .tcq-dong-ds > button, html.dark .tcq-bua > div { background: rgba(47,165,142,.14); }
html.dark .tcq-gap { background: rgba(181,71,8,.14); border-color: rgba(181,71,8,.4); }
html.dark .tcq-loc select, html.dark .tcq-khoang { background: var(--card); }

/* Phiếu 200zc (anh chốt 23/11/2026) — Quy trình trên điện thoại học AMIS: trang đầu kiểu thẻ, thẻ phiếu có ảnh người đề nghị, khung x/y bước, Việc của bạn */
.wf-the.wf-the-av { flex-direction: row; gap: 12px; align-items: flex-start; }
.wf-the-than { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.wf-the-dau { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; justify-content: space-between; }
.wf-the-dau .wf-the-ten { flex: 1 1 150px; min-width: 0; }
.wf-the-dau .wf-tien { white-space: nowrap; }
.wf-the-buoc { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.wf-qua-han { color: #B42318; font-weight: 600; }
.wf-trang-dau { display: flex; flex-direction: column; gap: 12px; }
.wf-td-muc-khoi { padding: 0; overflow: hidden; }
.wf-td-muc { display: flex; align-items: center; gap: 12px; padding: 14px 16px; min-height: 52px; color: inherit; }
.wf-td-muc + .wf-td-muc { border-top: 1px solid var(--line); }
.wf-td-muc > svg:first-child, .wf-td-muc > i:first-child { color: var(--wf-ngoc, #0F6E6E); flex: none; }
.wf-td-muc-ten { display: block; font-size: 16px; font-weight: 500; }
.wf-td-muc-phu { display: block; }
.wf-td-muc-so { min-width: 28px; text-align: center; padding: 2px 9px; border-radius: 12px; font-weight: 700; font-size: 14px; background: #EEF1F1; }
.wf-td-muc-so.do { background: #FDE2DF; color: #B42318; }
.wf-td-muc-ds { border-top: 1px solid var(--line); padding: 8px; display: flex; flex-direction: column; gap: 12px; background: #F7F9F9; }
.wf-td-muc-ds .wf-qt-viec { margin-bottom: 0; }
.wf-td-muc-het { align-self: center; padding: 6px 10px; font-weight: 600; }
.wf-tt.wf-tt-dt { display: flex; flex-direction: column; gap: 10px; border: 1.5px solid var(--wf-ngoc, #0F6E6E); }
.wf-tt-dau { display: flex; flex-direction: column; gap: 6px; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; width: 100%; }
.wf-tt-thanh { display: block; height: 5px; border-radius: 3px; background: #E3E8E8; overflow: hidden; }
.wf-tt-thanh > i { display: block; height: 5px; border-radius: 3px; background: var(--wf-ngoc, #0F6E6E); }
.wf-tt-nay { font-size: 16px; }
.wf-viec-ban { background: #EAF4F3; border-radius: 14px; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; line-height: 1.45; }
.wf-viec-ban.cho { background: #EEF1F1; }

.wf-td-muc-khac { display: block; padding: 10px 16px; border-top: 1px solid var(--line); font-weight: 600; }

/* ===== 1300as cháo dự trù ===== */
.kit-chao-o { background: none; border: 1px dashed var(--line); border-radius: 8px; padding: 6px 10px; min-height: 36px; cursor: pointer; font: inherit; color: var(--ink); text-align: left; }
.kit-chao-o:hover, .kit-chao-o:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
.kit-chao-cot { white-space: nowrap; }
.kit-chao-so { width: 96px; text-align: right; }
.kit-chao-tong { background: var(--accent-soft); border-radius: 8px; padding: 10px 12px; margin: 4px 0 10px; }
.kit-chao-dong { color: var(--accent-ink); }
.kit-chao-ngay td, .kit-chao-ngay th { vertical-align: top; }
.kit-chao-bep { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin-bottom: 10px; }
.kit-chao-bep-buoi { white-space: nowrap; }
/* ===== hết 1300as ===== */

/* ===== Xác thực hai lớp (phiếu 3300c) ===== */
.lop2-man { width: 100%; max-width: 520px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.lop2-b1 { display: flex; flex-direction: column; gap: 12px; }
.lop2-b1 > .btn { align-self: stretch; justify-content: center; }
.lop2-buoc { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; line-height: 1.45; }
.lop2-buoc .btn { width: 100%; justify-content: center; }
.lop2-buoc a { color: var(--brand-ink, #007A75); font-weight: 600; text-decoration: underline; }
.lop2-qr { width: 200px; height: 200px; align-self: center; background: #fff; padding: 8px; border: 1px solid var(--line); border-radius: 8px; }
.lop2-khoa { font-family: ui-monospace, Menlo, monospace; font-size: 17px; letter-spacing: .06em; word-break: break-all; }
.lop2-luoi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 12px 0; }
.lop2-luoi code { font-family: ui-monospace, Menlo, monospace; font-size: 15px; padding: 8px 0; text-align: center; background: var(--bg); border-radius: 8px; }
.lop2-tick { display: flex; gap: 10px; align-items: center; min-height: 44px; font-size: 15px; }
.lop2-tick input { width: 20px; height: 20px; }
.lop2-cua .lop2-man .card { box-shadow: 0 30px 60px -20px rgba(4,40,38,.45); }
.lop2-cua .lop2-man .page-head h1 { color: #fff; }
.lop2-the { align-items: stretch; }
.lop2-the .lop2-ra { margin-top: 8px; }
.lop2-dai { display: block; margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #FDECEC; color: var(--late); font-weight: 600; font-size: 14px; text-decoration: none; }
.lop2-qt-dau { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.lop2-so { display: flex; flex-direction: column; gap: 4px; }
.lop2-so b { font-size: 17px; }
.lop2-bang { overflow-x: auto; padding: 0 8px 8px; }
.lop2-bang table { width: 100%; border-collapse: collapse; font-size: 14px; }
.lop2-bang th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 8px 12px; }
.lop2-bang td { padding: 10px 12px; border-top: 1px solid var(--line2); vertical-align: top; }
@media print { body:has(#lop2-in) .shell > *:not(main), body:has(#lop2-in) .lop2-tick, body:has(#lop2-in) .btn { display: none !important; } }
.lop2-tren .overlay { z-index: 3000; }
.lop2-qt-tieu { display: flex; align-items: center; gap: 12px; padding: 14px 20px 8px; }
.lop2-qt-tieu select { width: auto; flex: none; }
.lop2-qt-dau .card { gap: 28px; align-items: center; }
/* ===== Kế toán — đợt 1 (phiếu 3200d): khung, danh mục. Máy tính trước; điện thoại dùng lại cùng lớp, bảng cuộn ngang trong khung. ===== */
.kt-so { display: inline-flex; align-items: center; gap: 6px; }
.kt-so select { max-width: 260px; }
.kt-song-song { background: #FFF8E6; color: #7A4A00; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; }
.kt-loc { align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.kt-loc input[type=search] { width: 260px; max-width: 100%; }
.kt-gian { flex: 1; }
.kt-nhom { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.kt-vien { border: 1px solid var(--line); background: #fff; color: var(--ink2); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; white-space: nowrap; }
.kt-vien.on { background: #003A45; border-color: #003A45; color: #fff; font-weight: 600; }
.kt-o-chon { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.kt-bang-khung { overflow-x: auto; padding: 0; margin-bottom: 8px; }
.kt-bang { min-width: 720px; }
.kt-bang .r { text-align: right; white-space: nowrap; }
.kt-bang .kt-ma, .kt-ma { font-variant-numeric: tabular-nums; white-space: nowrap; }
.kt-bang tr.kt-cap1 td { font-weight: 600; }
.kt-bang tr.kt-ngung td { color: var(--muted); }
.kt-so-tien { font-variant-numeric: tabular-nums; }
.kt-nut-dong { justify-content: flex-end; flex-wrap: nowrap; }
.kt-sdd { white-space: nowrap; }
.kt-xem { border: 0; background: none; color: var(--brand-ink, #007A75); font-weight: 600; font-size: 12px; cursor: pointer; padding: 0 0 0 6px; }
.kt-do { color: #B42318; }
.kt-form { display: flex; flex-direction: column; gap: 12px; }
.kt-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.kt-form label input { font-weight: 400; }
.kt-form label .kt-o-chon { font-weight: 400; }
.kt-bang tr.kt-dang-chon td { background: var(--bg2, #F3F6F7); }
.kt-bang tbody tr { cursor: pointer; }
.kt-dong tbody tr, .kt-dong-sua tbody tr { cursor: default; }
.kt-nguon { margin-left: 6px; }
.kt-chi-tiet { margin-top: 12px; }
.kt-them { position: relative; display: inline-block; }
.kt-them-ds { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 180px; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 10px; padding: 4px; box-shadow: 0 8px 24px rgba(0, 0, 0, .12); display: flex; flex-direction: column; }
.kt-them-ds a { padding: 8px 12px; border-radius: 8px; color: inherit; text-decoration: none; white-space: nowrap; }
.kt-them-ds a:hover { background: var(--bg2, #F3F6F7); }
.kt-phieu-ten { margin: 0; font-size: 18px; }
.kt-bao-loi { border: 1px solid #F1B5AE; background: #FDF1EF; color: #8A1C12; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; }
.kt-dau-phieu { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 12px 16px; margin-bottom: 12px; }
.kt-dau-phieu label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.kt-dau-phieu label input { font-weight: 400; }
.kt-dong-sua input { width: 100%; min-width: 0; }
.kt-dong-sua .kt-o-tk { width: 92px; font-variant-numeric: tabular-nums; }
.kt-dong-sua .kt-o-tien { width: 130px; text-align: right; font-variant-numeric: tabular-nums; }
.kt-chon-ds { display: flex; flex-direction: column; max-height: 50vh; overflow-y: auto; }
.kt-chon-dong { text-align: left; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 10px 4px; cursor: pointer; font-size: 14px; }
.kt-chon-dong:hover { background: var(--bg2, #F3F6F7); }
@media (max-width: 760px) { .kt-dau-phieu { grid-template-columns: 1fr 1fr; } .kt-dau-phieu .kt-rong, .kt-dau-phieu > div:first-child { grid-column: 1 / -1; } }
.kt-loc .ongay[data-kieu=month], .kt-loc .ongay[data-kieu=date], .kt-loc select { width: auto; flex: 0 0 auto; }
.kt-dong-sua { table-layout: fixed; min-width: 980px; }
.kt-dong-sua th:nth-child(1) { width: 36px; } .kt-dong-sua th:nth-child(3), .kt-dong-sua th:nth-child(4) { width: 108px; }
.kt-dong-sua th:nth-child(5) { width: 150px; } .kt-dong-sua th:nth-child(6), .kt-dong-sua th:nth-child(7) { width: 21%; } .kt-dong-sua th:nth-child(8) { width: 52px; }
.kt-dong-sua .kt-vien { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.kt-can-doi th.kt-giua { text-align: center; }
.kt-dang-tai { opacity: .5; }
/* Kế toán — Quy trình, Kết chuyển lãi lỗ, hộp Khoá sổ, Việc tháng (phiếu 3200d lần 6) */
.kt-dat { color: #1B7F4B; }
.kt-ll-o { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.kt-ll-o .card { display: flex; flex-direction: column; gap: 2px; }
.kt-ll-o b { font-size: 20px; font-variant-numeric: tabular-nums; }
.kt-ll-chu { margin-bottom: 8px; }
.kt-cd-qd { margin: 8px 0; align-items: center; }
.kt-cd-quyen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 16px; }
.kt-cd-quyen label { display: flex; align-items: center; gap: 6px; }
/* Kế toán › Cài đặt › Quyền: thẻ và hộp "Kế toán hệ thống" (3200d lần 9, màn 21) */
.kt-vai-the { align-items: center; margin-bottom: 12px; }
.kt-vai-ten { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.kt-vai-dong { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line, #EEF0F2); }
.kt-vai-thu { color: #A33A1F; }
.kt-vai-hoi { display: flex; flex-direction: column; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #FDF1EE; color: #8A1C12; }
.kt-vai-giao { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: start; }
.kt-vai-giao > button { margin-top: 24px; }
.kt-vai-chu { flex: 1; }
/* Kế toán › Số dư ban đầu (3200d phần 1, bản vẽ màn 24, 26, 28) */
.kt-sd-dai { display: flex; align-items: center; gap: 10px; background: #FFF8E6; color: #7A4A00; border-radius: 10px; padding: 8px 12px; margin-bottom: 12px; flex-wrap: wrap; }
.kt-sd-dai-chu { flex: 1; min-width: 220px; }
.kt-sd-o-tong { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 12px; }
.kt-sd-the { padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; color: var(--ink, #1D1D1F); }
.kt-sd-the b { font-size: 20px; font-variant-numeric: tabular-nums; }
.kt-sd-bang td { vertical-align: middle; }
.kt-sd-o { width: 150px; max-width: 100%; text-align: right; font-variant-numeric: tabular-nums; padding: 5px 8px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink, #1D1D1F); }
.kt-sd-o:hover, .kt-sd-o:focus { border-color: #C9CED6; background: #FFFFFF; }
.kt-sd-o.sai { border-color: #B42318; background: #FDF1EF; color: #8A1C12; }
.kt-sd-buoc { margin-top: 6px; color: var(--ink, #1D1D1F); }
.kt-sd-ds-loi { margin: 6px 0; padding-left: 18px; max-height: 180px; overflow: auto; }
.kt-sd-tich { display: flex; gap: 8px; align-items: flex-start; margin-top: 6px; color: #8A1C12; }
.kt-sd-tich input { width: auto; margin-top: 3px; }
.kt-sd-de { background: #FFF8E6; color: #7A4A00; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.kt-sd-de input { max-width: 160px; }
.kt-sd-nap-chan { max-width: 420px; }
/* 3200d lần 12: thanh tìm + Lưu ghim ở đầu vùng cuộn khi bảng dài */
.kt-sd-thanh { position: sticky; top: 0; z-index: 6; background: var(--bg, #F5F6F7); padding: 6px 0; margin-bottom: 6px; box-shadow: 0 6px 6px -6px rgba(16,24,40,.12); }
.kt-nut-chu { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--accent-ink, #007A75); cursor: pointer; text-align: left; }
.kt-giua { text-align: center; }
.kt-hop-khoa-o label { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.kt-nhan-bam { border: 0; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; }
@media (max-width: 760px) { .kt-ll-o { grid-template-columns: repeat(2, 1fr); } }
.kt-dk { list-style: none; margin: 10px 0; padding: 0; display: flex; flex-direction: column; }
.kt-dk li { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line, #E4E7EB); }
.kt-dk li:last-child { border-bottom: 0; }
.kt-dk-ten { flex: 1; min-width: 0; }
.kt-dk .tc-nhan { margin-left: 6px; display: inline-block; width: auto; font-size: 11px; vertical-align: 1px; }
.kt-hop-khoa { display: flex; flex-direction: column; gap: 10px; }
.kt-hop-khoa label { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.kt-qt-dau { margin-bottom: 12px; }
.kt-qt-so { display: flex; align-items: stretch; gap: 10px; }
.kt-qt-so > span { align-self: center; color: var(--ink2); }
.kt-qt-o { flex: 1; display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; text-align: center; min-height: 72px; padding: 10px;
  border: 1px solid var(--line, #E4E7EB); border-radius: 12px; background: #fff; color: inherit; text-decoration: none; cursor: pointer; font: inherit; }
.kt-qt-o:hover { border-color: var(--brand-ink, #007A75); }
.kt-qt-tat { margin-top: 16px; }
.kt-buoc-hang { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 12px; }
.kt-buoc { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px; text-align: left; color: inherit; text-decoration: none; cursor: pointer; font: inherit; }
.kt-buoc-dau { display: flex; align-items: center; gap: 8px; }
.kt-buoc-so { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-ink, #007A75); color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.kt-viec-hai { display: grid; grid-template-columns: 3fr 2fr; gap: 12px; margin-bottom: 12px; align-items: start; }
.kt-dai { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 10px; }
.kt-dai button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px; border: 1px solid var(--line, #E4E7EB); border-radius: 10px; background: #fff; cursor: pointer; font: inherit; }
.kt-dai button.on { border-color: var(--brand-ink, #007A75); box-shadow: inset 0 0 0 1px var(--brand-ink, #007A75); }
.kt-dai .tc-nhan { font-size: 11px; white-space: nowrap; }
@media (max-width: 760px) {
  .kt-qt-so { flex-direction: column; } .kt-qt-so > span { transform: rotate(90deg); }
  .kt-buoc-hang { grid-template-columns: repeat(2, 1fr); } .kt-viec-hai { grid-template-columns: 1fr; } .kt-dai { grid-template-columns: repeat(4, 1fr); }
}
.kt-trang { justify-content: center; }
.kt-can-doi .kt-nguon { display: inline-block; white-space: nowrap; }
.kt-dong-sua select { width: 100%; min-width: 0; }
.kt-can-doi thead tr:first-child th { border-bottom: 0; }
.kt-can-doi tfoot td { border-top: 2px solid var(--line); }
.kt-dong-sua th:nth-child(6) { width: 120px; } .kt-dong-sua th:nth-child(7), .kt-dong-sua th:nth-child(8) { width: 18%; } .kt-dong-sua th:nth-child(9) { width: 52px; }
/* ===== hết Kế toán đợt 1 ===== */

/* ---------- 1300az: Sổ 3 bước — bản in ghi tay theo cài đặt cơ sở (So3In.tsx), cài đặt in (So3CaiDat.tsx), tờ sổ đã ký ---------- */
@media print {
  .so3-in { page: so3; }
  @page so3 { size: A4 landscape; margin: 9mm 9mm 12mm; @bottom-right { content: "Trang " counter(page) " / " counter(pages); font-size: 9px; } }
  .so3-in .so3-dau { grid-template-columns: 1fr auto; }
  .so3-in .so3-dau-trai { display: grid; gap: 1px; }
  .so3-in .so3-phu { grid-column: 1 / -1; text-align: center; font-size: 10px; }
  .so3-in .so3-bang { width: calc(100% - 2px); }
  .so3-in .so3-bang th, .so3-in .so3-bang td { font-size: 10px; padding: 3px 4px; }
  .so3-in .so3-bang th { vertical-align: middle; }
  .so3-in .so3-bang td { height: 22px; vertical-align: middle; }
  .so3-in .so3-bang td.c { text-align: center; } .so3-in .so3-bang td.r { text-align: right; }
  .so3-in .so3-bang th.so3-dat { width: 34px; }
  .so3-in .so3-bua { font-weight: 600; text-align: center; vertical-align: middle; }
  .so3-in .so3-gop { vertical-align: middle; text-align: center; }
  .so3-in .so3-nho { font-size: 9.5px; }
  .so3-in .so3-thay { font-style: italic; color: #777; font-size: 9px; }
  .so3-in .so3-goi-y { color: #888; font-size: 8.5px; }
  .so3-in .so3-trong td { height: 24px; }
  .so3-in thead { display: table-header-group; }
}
.so3-cd .so3-cd-kieu { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; max-width: 320px; white-space: normal; }
.so3-cd .so3-cd-nhom { border: 1px solid var(--line, #e3e3e3); border-radius: 10px; padding: 8px 12px; display: grid; gap: 6px; }
.so3-cd .so3-cd-tick { align-items: flex-start; }
.so3-cd .so3-cd-mac .field { min-width: 180px; }
.so3-toky { margin-bottom: 10px; display: grid; gap: 8px; }
.so3-ghi-app { margin: 0 0 6px; }

/* Phiếu 200zf: số lượng × đơn giá theo hoá đơn ở bước đính chứng từ */
.wf-dong-hd { display: grid; gap: 8px; }
.wf-dong-hd-hang { display: grid; gap: 4px; }
.wf-dong-hd-o { display: grid; grid-template-columns: minmax(56px, 72px) auto minmax(90px, 1fr) minmax(56px, 72px) minmax(80px, auto); align-items: center; gap: 6px; }
.wf-dong-hd-o input { min-width: 0; }
.wf-dong-hd-tien { text-align: right; white-space: nowrap; }

/* 3200d lần 11 — Kế toán trên điện thoại (bản vẽ 29–40, chốt 64–69): thẻ xếp dọc thay bảng tràn ngang, thanh thẻ con, nút nổi + Nháp */
@media (max-width: 760px) { .kt .seg { display: flex; flex-wrap: nowrap; width: 100%; box-sizing: border-box; margin-bottom: 12px; } }
.kt .seg a { flex: 1 1 0; min-width: 0; text-align: center; padding: 7px 6px; border-radius: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 13px; font-weight: 500; color: #3B4048; text-decoration: none; }
.kt .seg a.on { background: #fff; box-shadow: 0 1px 2px #0002; color: var(--ink, #1D1D1F); font-weight: 600; }
.kt-the-ds { padding: 0 14px; margin-bottom: 12px; }
.kt-the-dong { display: flex; flex-direction: column; gap: 3px; padding: 10px 0; border-bottom: 1px solid #EEF0F2; color: inherit; text-decoration: none; }
.kt-the-dong:last-child { border-bottom: 0; }
.kt-the-tren, .kt-the-duoi { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.kt-the-tren .tc-nhan { align-self: center; }
.kt-the-chu { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.kt-the-tien { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kt-the-ba { display: flex; gap: 8px; }
.kt-the-ba > span { flex: 1; min-width: 0; display: flex; flex-direction: column; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kt-hai-o { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.kt-hai-o .card { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; min-width: 0; }
.kt-hai-o b { font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kt-ky-chip { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.kt-ky-chip button { border: 1px solid #D5D8DD; background: #fff; color: #3B4048; border-radius: 999px; padding: 6px 12px; font: inherit; cursor: pointer; }
.kt-ky-chip button.on { background: #003A45; border-color: #003A45; color: #fff; font-weight: 600; }
.kt-fab { position: fixed; right: 16px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 20; background: var(--accent, #007A75); color: #fff;
  font-weight: 600; padding: 12px 18px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.18); text-decoration: none; }
.kt-may-tinh { padding: 14px; margin-bottom: 12px; display: flex; flex-direction: column; gap: 6px; }
.kt-nhap-dt { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.kt-nhap-dt label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted, #5E5E63); }
.kt-nhap-dt label input, .kt-nhap-dt label select { color: var(--ink, #1D1D1F); min-height: 44px; }
.kt-nhap-dt .kt-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kt-nhap-dt .kt-o-tien-lon { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kt-nhap-dt .btn.primary { min-height: 48px; }
.kt-cot-sd { font-size: 13px; color: var(--muted, #5E5E63); }
.kt-the-nut { width: 100%; background: none; border: 0; border-bottom: 1px solid #EEF0F2; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.kt-the-nut:last-child { border-bottom: 0; }
.page.kt:has(.kt-fab) { padding-bottom: 72px; }
/* 3200d lần 11b — Tổng quan (biểu đồ 12 tháng), chứng từ gốc */
.kt-canh-bao-nhe { color: #8A5A00; margin-bottom: 10px; }
.kt-cot-ds { display: flex; align-items: stretch; gap: 3px; height: 140px; margin: 10px 0 6px; }
.kt-cot { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 3px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.kt-cot-than { width: 72%; min-height: 2px; background: var(--accent, #007A75); border-radius: 4px 4px 0 0; }
.kt-cot.tam .kt-cot-than { background: repeating-linear-gradient(45deg, var(--accent, #007A75), var(--accent, #007A75) 4px, #8CC9C5 4px, #8CC9C5 8px); }
.kt-cot.am .kt-cot-than { background: #C62828; }
.kt-cot.on .kt-cot-than { outline: 2px solid #003A45; }
.kt-cot-so { font-size: 11px; font-weight: 700; white-space: nowrap; min-height: 14px; }
.kt-cot-ten { font-size: 11px; color: var(--muted, #5E5E63); }
html.dark .kt .seg a { color: inherit; } html.dark .kt .seg a.on { background: #2B3138; color: #fff; }
html.dark .kt-ky-chip button { background: transparent; color: inherit; border-color: #3A4049; } html.dark .kt-ky-chip button.on { background: #2FA58E; border-color: #2FA58E; color: #0F1A17; }
html.dark .kt-the-dong, html.dark .kt-the-nut { border-color: #2B3138; } html.dark .kt-tep-anh { background: #1E2329; border-color: #2B3138; }
.kt-nut-tep { position: relative; display: inline-flex; align-items: center; font-weight: 600; color: var(--accent, #007A75); cursor: pointer; }
.kt-nut-tep input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.kt-tep-ds { display: flex; flex-wrap: wrap; gap: 10px; padding: 10px 0; }
.kt-tep-o { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; width: 92px; }
.kt-tep-anh { width: 92px; height: 92px; border-radius: 10px; border: 1px solid #E3E6EA; background: #F1F3F5; overflow: hidden; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; font: inherit; color: #5E5E63; }
.kt-tep-anh img { width: 100%; height: 100%; object-fit: cover; }
.kt-tep-ten { max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kt-the-nut .tc-nhan { display: inline-block; width: auto; margin-left: 6px; vertical-align: middle; }
@media (max-width: 760px) { .kt .kt-loc > form { flex: 1 1 100%; } .kt .kt-loc > form input { width: 100%; box-sizing: border-box; } }
/* 3200d lần 12 — in phiếu theo mẫu của chế độ sổ, gửi duyệt / trả lại, ghi sổ nhiều, chuyển tiền (bản vẽ 41–45) */
.kt-them-ds button { padding: 8px 12px; border-radius: 8px; color: inherit; background: none; border: 0; font: inherit; text-align: left; white-space: nowrap; cursor: pointer; }
.kt-them-ds button:hover { background: var(--bg2, #F3F6F7); }
.kt-o-tich { width: 28px; } .kt-o-tich input { width: 16px; height: 16px; margin: 0; cursor: pointer; }
.kt-tich-thanh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #003A45; color: #fff; border-radius: 12px; padding: 8px 14px; margin-bottom: 10px; }
.kt-tich-thanh .kt-xem { color: #fff; opacity: .85; }
.kt-tich-thanh .btn { background: #fff; color: #003A45; border-color: #fff; font-weight: 600; }
.kt-chieu { display: flex; flex-direction: column; gap: 6px; }
.kt-chieu-o { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid #D5D8DD; cursor: pointer; }
.kt-chieu-o.on { border-color: var(--accent, #007A75); background: #E5F4F3; }
.kt-form .kt-hai { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kt-cd-in-o { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; margin-top: 10px; align-items: end; }
.kt-cd-in-logo { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.kt-in-thanh { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.kt-in-thanh select { width: auto; margin-left: 6px; }
.kt-in-giay-ds { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.kt-in-trang { width: 186mm; min-height: 130mm; box-sizing: border-box; background: #fff; color: #000; padding: 10mm 12mm; box-shadow: 0 1px 4px rgba(0,0,0,.18);
  font-family: 'Times New Roman', Times, serif; font-size: 12.5pt; line-height: 1.45; }
.kt-in-lien { display: flex; flex-direction: column; gap: 3px; }
.kt-in-hai .kt-in-lien { height: 128mm; overflow: hidden; font-size: 11.5pt; line-height: 1.35; }
.kt-in-cat { border-top: 1px dashed #999; margin: 3mm 0; }
.kt-in-dau { display: flex; gap: 10px; align-items: flex-start; }
.kt-in-logo { height: 15mm; width: auto; }
.kt-in-dv { flex: 1; }
.kt-in-mau { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 72mm; }
.kt-in-mau i { font-size: .82em; }
.kt-in-tieu { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: start; margin: 4px 0 6px; }
.kt-in-ten { display: flex; flex-direction: column; align-items: center; }
.kt-in-ten b { font-size: 1.45em; letter-spacing: .02em; }
.kt-in-so { font-size: .92em; }
.kt-in-ngay { text-align: right; margin-top: 4px; }
.kt-in-ky { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; text-align: center; }
.kt-in-ky > div { display: flex; flex-direction: column; align-items: center; }
.kt-in-ky i { font-size: .8em; } .kt-in-cho { height: 16mm; } .kt-in-hai .kt-in-cho { height: 11mm; }
.kt-in-cuoi { margin-top: 4px; }
.kt-in-khong-in { display: none; page: ktphieu; }
.kt-in-hai .kt-in-than > div:nth-child(3) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }   /* lý do dài: 2 liên chỉ in 2 dòng, không đẩy chữ ký ra ngoài */
@media print {
  body.print-doc .kt-in-goc .no-print { display: none !important; }
  body.print-doc .page.kt { max-width: none; padding: 0 !important; margin: 0 !important; }
  body.print-doc .kt-in-giay-ds { display: block; }
  body.print-doc .kt-in-trang { page: ktphieu; width: auto; min-height: 0; box-shadow: none; padding: 0; break-after: page; page-break-after: always; }
  body.print-doc .kt-in-trang:last-child { break-after: auto; page-break-after: auto; }
  body.print-doc .kt-in-chi-xem .kt-in-giay-ds, body.print-doc .kt-in-chua-ghi .kt-in-giay-ds { display: none !important; }
  body.print-doc .kt-in-chi-xem .kt-in-khong-in, body.print-doc .kt-in-chua-ghi .kt-in-khong-in { display: block; font-size: 14pt; }
  body.print-doc .env-badge, body.print-doc .whats-new, body.print-doc .wn-dong { display: none !important; }
}
@page ktphieu { size: A4 portrait; margin: 12mm; }   /* trang phiếu luôn A4 dọc (khối khác đặt @page ngang chung) */
html.dark .kt-chieu-o { border-color: #3A4049; } html.dark .kt-chieu-o.on { background: #1E2A2A; }
html.dark .kt-tich-thanh { background: #1E3A40; }
@media screen and (max-width: 760px) { .kt-cd-in-o { grid-template-columns: 1fr; } .kt-in-trang { width: 100%; padding: 4mm; font-size: 10pt; } .kt-in-ky { grid-template-columns: repeat(3, 1fr); } }

/* ===== Phiếu 2900ze — Học phí › Tổng quan (từng cơ sở). Tiền tố hptq- (tq- đã dùng ở phân hệ khác) ===== */
.hptq { display: flex; flex-direction: column; gap: 14px; }
.hptq-thang { width: auto; min-width: 150px; }
.hptq-cho { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border: 1px solid #F5B5A8; color: var(--ink); }
.hptq-cho > b { color: #B42318; white-space: nowrap; } .hptq-cho-chu { flex: 1; min-width: 0; font-size: 14px; }
.hptq-dem { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #C62828; color: #fff; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.hptq-so { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.hptq-o { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--ink); }
.hptq-o-so { display: flex; align-items: center; gap: 10px; min-height: 54px; } .hptq-o-so > b { flex: 1; font-size: 22px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hptq-doan { display: flex; gap: 2px; height: 10px; border-radius: 5px; overflow: hidden; }
.hptq-hai { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 14px; align-items: stretch; }
.hptq-dau { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; } .hptq-dau > b:first-child { flex: 1; font-size: 15px; }
.hptq-tong { font-size: 20px; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hptq-lk { color: var(--accent); font-weight: 600; white-space: nowrap; }
.hptq-nam { display: block; width: 100%; height: auto; font-family: inherit; }
.hptq-chu { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; } .hptq-chu i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; vertical-align: -1px; }
.hptq-lop { display: flex; flex-direction: column; gap: 10px; } .hptq-lop .hptq-dau { margin-bottom: 0; }
.hptq-thanh { display: grid; grid-template-columns: 96px minmax(0, 1fr) 70px 38px; align-items: center; gap: 8px; font-size: 14px; }
.hptq-thanh .hptq-ten { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hptq-thanh > b { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; } .hptq-thanh > .xs { text-align: right; white-space: nowrap; }
.hptq-vach { height: 14px; border-radius: 7px; background: var(--line2); overflow: hidden; } .hptq-vach i { display: block; height: 100%; border-radius: 7px; }
.hptq-khoan { grid-template-columns: minmax(120px, 260px) minmax(0, 1fr) 84px; padding: 4px 0; } .hptq-khoan .hptq-ten { font-weight: 400; display: flex; align-items: center; gap: 6px; }
.hptq-the { display: flex; gap: 4px; background: var(--line2); border-radius: 999px; padding: 4px; align-self: flex-start; max-width: 100%; overflow-x: auto; }
.hptq-the button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; min-height: 36px; }
.hptq-the button.on { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(16,24,40,.08); }
.hptq-ky { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line2); } .hptq-ky > div:first-child { flex: 1; min-width: 0; }
.hptq-ky-so { display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; font-variant-numeric: tabular-nums; } .hptq-du { color: var(--ok); font-weight: 600; }
.hptq-thang-ds { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.hptq-th { padding: 0; overflow: hidden; text-align: left; cursor: pointer; font: inherit; color: var(--ink); border: 0; }
.hptq-th-dau { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--accent); color: #fff; } .hptq-th.no .hptq-th-dau { background: #B26A00; }
.hptq-th-dau b { flex: 1; font-size: 17px; } .hptq-th-dau span { font-size: 13px; }
.hptq-th-than { padding: 10px 16px 12px; display: flex; flex-direction: column; gap: 6px; } .hptq-th-than > div { display: flex; gap: 8px; font-size: 15px; } .hptq-th-than span { flex: 1; } .hptq-th-than b { font-variant-numeric: tabular-nums; }
.hptq-be { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line2); color: var(--ink); min-height: 44px; } .hptq-be > div { flex: 1; min-width: 0; } .hptq-be > b { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .hptq-hai { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .hptq-so { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hptq-o-so > b { font-size: 20px; }
  .hptq-cho { flex-wrap: wrap; padding: 10px 14px; } .hptq-cho-chu { flex-basis: 100%; order: 3; } .hptq-cho .btn { display: none; }
  .hptq-khoan { grid-template-columns: minmax(0, 1fr) 84px; } .hptq-khoan .hptq-vach { grid-column: 1 / -1; order: 3; height: 8px; }
  .hptq-dau { flex-wrap: wrap; } .hptq-thang-ds { grid-template-columns: minmax(0, 1fr); }
}

/* ===== 1000zl kiểm kê kho ===== */
.kho-tien-do { height: 6px; background: var(--line, #EEF0F2); border-radius: 999px; overflow: hidden; }
.kho-tien-do span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.kho-bang tr.kho-xanh-nen td { background: #ECF8F0; }
.kho-dong-bam { width: 100%; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; }
.kk-bang .kho-oso { justify-content: flex-end; }
.kk-bang input:not([type=checkbox]) { min-width: 140px; }
@media print { .kho-kiem-ke .kho-oso button { display: none; } .kho-kiem-ke .kho-oso input { border: 0; } }
/* ===== hết 1000zl ===== */

/* 2900zf — Tổng quan đợt 2a: dải Số liệu báo cáo, ô Giảm trừ, theo khoản từ file chi tiết, hộp nạp */
.hptq-sl { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; margin-bottom: 12px; font-size: 14px; }
.hptq-gian { flex: 1; }
.hptq-chip { padding: 5px 10px; border-radius: 999px; font-size: 13px; background: var(--line2); }
.hptq-chip.ok { background: #E8F3EC; color: var(--ok); }
.hptq-so.nam { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hptq-nut2 { display: inline-flex; gap: 2px; background: var(--line2); border-radius: 999px; padding: 3px; }
.hptq-nut2 button { border: 0; background: transparent; padding: 5px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); cursor: pointer; min-height: 32px; }
.hptq-nut2 button.on { background: #fff; color: var(--ink); font-weight: 700; }
.hptq-kc { display: grid; grid-template-columns: minmax(140px, 260px) minmax(0, 1fr) 84px 76px 70px; gap: 10px; align-items: center; font-size: 14px; padding: 4px 0; }
.hptq-kc .hptq-ten { display: flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; }
.hptq-kc .hptq-vach { display: flex; }
.hptq-kc .hptq-vach i { border-radius: 0; } .hptq-kc .hptq-vach i:first-child { border-radius: 7px 0 0 7px; } .hptq-kc .hptq-vach i:last-child { border-radius: 0 7px 7px 0; }
.hptq-kc > b, .hptq-kc > span:nth-child(n+4), .hptq-kn > span { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hptq-kn { display: grid; grid-template-columns: minmax(140px, 220px) 240px minmax(0, 1fr) 76px 70px; gap: 12px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line2); font-size: 14px; }
.hptq-kn-dau { border-top: 0; padding: 0; } .hptq-kn-dau > span { text-align: right; }
.hptq-kn .hptq-ten { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hptq-mini { width: 240px; height: 34px; display: block; }
.hptq-keo { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; border: 2px dashed #C9CDD3; border-radius: 12px; padding: 18px; cursor: pointer; margin: 10px 0; }
.hp-bao.ok { background: #EAF7EE; border-color: #BFE3C9; }
.hptq-keo.on { border-color: var(--accent); background: #E5F4F3; } .hptq-keo b { color: var(--accent); }
.hptq-nap { display: flex; flex-direction: column; gap: 8px; } .hptq-ok { color: var(--ok); }
.hptq-nap-ky { display: grid; grid-template-columns: minmax(0, 1fr) auto 180px; gap: 10px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line2); font-size: 14px; }
.hptq-nap-ky.hoi { background: #FFF4D6; border-radius: 8px; padding: 6px 8px; } .hptq-nap-ky .hptq-ten { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 1100px) { .hptq-so.nam { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .hptq-so.nam { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hptq-kc { grid-template-columns: minmax(0, 1fr) 76px 70px; } .hptq-kc .hptq-vach { grid-column: 1 / -1; order: 5; height: 8px; } .hptq-kc > span:last-child { display: none; }
  .hptq-kn { grid-template-columns: minmax(0, 1fr) 76px 70px; } .hptq-kn .hptq-mini { grid-column: 1 / -1; order: 5; width: 100%; } .hptq-kn > span:last-child { display: none; }
  .hptq-nap-ky { grid-template-columns: minmax(0, 1fr) 150px; } .hptq-nap-ky > .xs { display: none; }
}

/* 03/12/2026: nút Duyệt bổ sung luôn bấm được — chưa chọn lý do phát sinh thì viền đỏ ô lý do */
.sk-ly-do-loi { border: 2px solid #A33A1F; border-radius: 12px; padding: 8px 10px; }
/* 03/12/2026: hộp "Đã nhận tiền tạm ứng chưa?" — ba lựa chọn xếp dọc, đủ rộng trên điện thoại */
.wf-tu-chon { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.wf-tu-chon .btn { width: 100%; justify-content: center; text-align: center; }

/* 1000zm: định mức · vượt định mức · bộ phận dự trù */
.kho-chip-do { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #FDECEA; border: 1px solid #F2B8B5; color: #8C1D18; white-space: nowrap; }
.kho-chip-xanh { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: #E7F4EC; border: 1px solid #A8D5B8; color: #1E5B34; white-space: nowrap; }
.kho-vuot-dm { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kho-vuot-nut { display: inline-flex; gap: 6px; }
.kho-dm-dau { align-items: center; margin: 4px 0 8px; }
.kho-dm-bang-boc { overflow-x: auto; }
.kho-dm-bang { border-collapse: collapse; width: 100%; font-size: 14px; }
.kho-dm-bang th, .kho-dm-bang td { border-bottom: 1px solid var(--line, #E5E7EB); padding: 6px 8px; text-align: left; vertical-align: top; }
.kho-dm-bang th { font-size: 12px; font-weight: 600; color: var(--muted, #6B7280); white-space: nowrap; position: sticky; top: 0; background: var(--card, #fff); }
.kho-dm-bang td:first-child, .kho-dm-bang th:first-child { position: sticky; left: 0; background: var(--card, #fff); min-width: 140px; }
.kho-dm-o { width: 64px; text-align: right; }
.kho-dm-cho { background: #FFF8E1; }

/* ===== Ô ngày giờ chung kiểu Việt Nam (phiếu 17q) — components/ONgay.tsx ===== */
.ongay { position: relative; display: inline-flex; align-items: center; width: 100%; min-width: 0; vertical-align: middle; }
.ongay > .ongay-o { padding-right: 34px; font-variant-numeric: tabular-nums; }
/* class của màn gắn cả khung lẫn ô (ONgay.tsx): khung chỉ giữ bề rộng / vị trí, ô luôn đầy khung */
.ongay[data-kieu=date].kho-o-nho { width: 132px; }   /* hạn dùng trong bảng kho: đủ chỗ dd/mm/yyyy */
.ongay.ongay { border: 0 !important; background: none !important; padding: 0 !important; box-shadow: none !important; min-height: 0 !important; border-radius: 0 !important; outline: 0 !important; }
.ongay > .ongay-o.ongay-o { width: 100% !important; max-width: none !important; min-width: 0 !important; margin: 0 !important; flex: 1 1 auto !important; }
.ongay[data-kieu=time] > .ongay-o { padding-right: 10px; }
.ongay.loi > .ongay-o { border-color: var(--late) !important; outline-color: var(--late); }
.ongay-nut { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; background: none; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted); cursor: pointer; border-radius: 6px; }
.ongay.chi-nut { display: inline-block; }
.ongay-che { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; margin: 0; min-height: 0; background: none; }
.ongay-nut:hover { background: var(--line2); color: var(--ink); }
.ongay-loi, .ongay-soat { position: absolute; left: 0; top: calc(100% + 2px); z-index: 30; white-space: nowrap; font-size: 12px; line-height: 1.3;
  padding: 3px 8px; border-radius: 6px; background: var(--card, #fff); box-shadow: 0 2px 8px rgba(0,0,0,.12); pointer-events: none; }
.ongay-loi { color: var(--late); }
.ongay-soat { color: var(--muted); }
.ongay-bang { z-index: 5000; width: 280px; max-width: calc(100vw - 16px); background: var(--card, #fff); color: var(--ink); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 10px; }
.ongay-dau { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 6px; }
.ongay-dau b { font-size: 15px; }
.ongay-dau .icon-btn { font-size: 20px; line-height: 1; width: 34px; height: 34px; }
.ongay-luoi { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.ongay-thu { text-align: center; font-size: 12px; color: var(--muted); padding: 4px 0; }
.ongay-luoi button, .ongay-luoi-thang button { border: 0; background: none; border-radius: 8px; height: 34px; padding: 0; cursor: pointer;
  font-variant-numeric: tabular-nums; color: var(--ink); min-height: 0; }
.ongay-luoi button:hover:not(:disabled), .ongay-luoi-thang button:hover:not(:disabled) { background: var(--accent-soft); }
.ongay-luoi button.nay, .ongay-luoi-thang button.nay { box-shadow: inset 0 0 0 1px var(--accent); }
.ongay-luoi button.chon, .ongay-luoi-thang button.chon { background: var(--accent); color: #fff; font-weight: 600; }
.ongay-luoi button:disabled, .ongay-luoi-thang button:disabled { color: var(--line); cursor: default; }
.ongay-luoi-thang { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ongay-luoi-thang button { height: 40px; }
.ongay-gio { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.ongay-gio .ongay { width: 110px; }
.ongay-cuoi { display: flex; justify-content: flex-end; gap: 6px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line2); }
@media (pointer: coarse) { .ongay-luoi button { height: 40px; } .ongay-nut { width: 38px; height: 38px; } .ongay > .ongay-o { padding-right: 40px; } }

/* ===== 17s-chu-dien-thoai: SINH TỰ ĐỘNG bằng tools/chu-dien-thoai.mjs — không sửa tay ===== */
@media screen and (min-width: 761px) {
:root:where(:not(:has(.shell.ben-lop-hoc))) { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) h2 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) h3 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sm { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .xs { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.sm { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.lg { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sq { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sq.lg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pill { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .brand-tag { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .brand-name { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) kbd { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crumb { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .num { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .num-lg { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl tr.grp td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .progress .pct { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .barlabel { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .empty-title { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tab-count { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .due { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .h3link { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .meta-row { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mm-root { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mm-leaf { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tl-label { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tl-grid > span:not(.tl-bar):not(.tl-stage):not(.tl-dep) { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tl-bar { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tl-dep { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .drawer-head h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .title-input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hold-banner { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .props { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .person { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .x { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dep { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .file { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .li { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .field-label { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .field-hint { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .input-lg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .toast { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-note { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-foot { font-size: 13px; }
@media (max-height: 599px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card h1 { font-size: 22px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-brand .tag { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card h1,
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-step-head h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card p { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card .btn.method,
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card .btn.lg { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-note { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-foot { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dev-login summary { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-list-head h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cbadge { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-empty .b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-title { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-start .b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .day-sep { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msg-time-s { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msg-quote { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .react { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msg-tools .emoji { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sys-line { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .composer-ctx { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .install-hint { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .prefs th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tags .tag { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pipe-n { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm-av { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .file-ic { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-alerts { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-tiles .fin-tile .num { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-tbl tr.fin-cat td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-flag { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-inst-row { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-ver summary { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-calc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-calc .big { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-diff { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-steps li { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-steps li::before { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-amounts b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-amounts .req-pay b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-props { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-props dt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-bank legend { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tier-range { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-item { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .flow li { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .flow li::before { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-summary { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-sec h3 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-tips { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .att .seg button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .att-matrix .scope-sel { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .att-step-head .step-no { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .att .param-grp legend { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-changes { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ann-title { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ann-h { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ann-big { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md h4 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md h5 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md code { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .acl-role-detail .h2-sm { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .scope-sel { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nl-sub .sq { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nl-mini-toggle { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nl-fly-title { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-or { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .switch-user { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .confirm-text { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.method { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.method .last-tag { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-step-head h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .integ-log ul { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .integ-log summary { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .drive-ups li { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .people-group-head { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .role-chip button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mperms-head { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tag-role,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tag-extra,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tag-denied,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tag-pending { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-conv.embed .chat-title { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-lbl { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-sub { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch.compact .punch-lbl { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-meta { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .queue-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-done b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-done span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .uv-chip { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .uv-day { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-row .dir-dot { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .consent ul { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qr-timer span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mappick .map-ctl button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mappick .attrib { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mappick .map-empty { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .field-note { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-grid b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sum-card span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sum-card b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sum-card small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-wd,
:where(:root:not(:has(.shell.ben-lop-hoc))) .sched-wd { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-n { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-t { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-badge { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-legend { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .grp-chips button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sched-n { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .shift-card { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qp-head b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-auto { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kb-move { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .q-total .big { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dash-lbl { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dash-v { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-co { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-title { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-lbl { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-tbl th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-tbl tfoot tr.sum td { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-cat { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-warn { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-month { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-cal-h { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-cal-n { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-ev { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-ag-date b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-dl { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-date b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-check { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-list { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-total { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ros th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ros input,
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ros select,
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ros textarea { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-grip { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-move .icon-btn { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-time b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-cs .qdoc-co b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-zone { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-result { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-result-icon { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-result-msg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-clock { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-live-label { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-live-who { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-cues { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-next b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-live-foot .btn { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket-kicker { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket-meta { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket-name { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket-hint { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket-map { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-pass-show { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-pass-kind { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-pass-name { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-pass-org { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .env-badge::after { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-head { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-dayname { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-hour { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-ev { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-ev b { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-ev-m { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-money b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-my-d { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-my-time { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-my-title { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-block { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-note summary { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-panel-head { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-q { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-doc-title { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-md { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-md h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-md h4 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-md figcaption { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md-table table { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-related .h4 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .field-note { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kv { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .seg.sm .seg-btn { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .check-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-head { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-name { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-bar { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .asset-label-txt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .asset-label-txt b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vendor-name { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .stars { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-mini { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-pkg { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-client { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-value { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-qty { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-ev { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-doc-title { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-kpis b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-doc-h { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-doc-tbl .chip { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-photo-ph { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-photo figcaption { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pm-sum b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cc-dn { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cc-post { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cc-meta { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cc-list-day { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cc-metrics b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .org-row[data-kind="campus"] .org-name { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .section-title { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.xs { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-tabs button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-menu button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pin-bar { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .seen { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-new-menu small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-back { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-search { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-sec { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-note { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-pill { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chip.kp-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-star { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-tile b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-big { font-size: 44px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-big small { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-chu-head { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-diem-nho .kp-big { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-luoi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-table { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-stat b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-stat b.sm { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-stat span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-kq .kp-table { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-kq .num small { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-nhom-dau th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-chip-td { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-kq-chu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-kq-chu small { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-kq-diem { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-vong-diem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-vong-diem small { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-thieu-dai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-phan-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-phan-diem { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-phan-diem small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-viec-truoc .row-between { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-nhan-thieu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-tt-bang .kp-table { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-in-ky span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-giay-ngang .kp-in-bang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-giay-ngang .kp-in-bang small { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-chu-giai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-so-lon { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-ma { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-na { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-scale button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-scale button small { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-nxm { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-buoc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-luoi-so b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-chart .kp-axis { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-muc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-giay { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-in-dau { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-in-tieu-de { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-in-bang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-in-bang tr.con td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-foot { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-hero h1 { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-field input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-note { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth .errorbox { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-link { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-link.dev { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-head h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-lead { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-row { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-row .auth-link { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-avatar { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-name { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-go { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-email { font-size: 13px; }
@media (max-height: 640px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-hero h1 { font-size: 22px; }
}
@media (min-width: 900px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-slogan { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-side-sub { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-hero h1 { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-sub { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-hints { font-size: 13px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .sheet h2 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sheet p { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sheet-btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sheet-later { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-tabs-in a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-ql { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-dau { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl.pq { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pq-nut { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pq-sua { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pq-tag { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-le .chip { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-vai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-kiem { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .goi-y { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-tabs .kp-tabs-in a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-khoi-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-buoc-ds { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-buoc-ds li > span { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-buoc-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-ban > span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-o-dau h2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-ph { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-o-chan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-trong { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-tag { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-muc { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-loi-tat a { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-so-lon { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-so-lon small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-bieu-cs > div { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-ky { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msgm-react button { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msgm-preview { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msgm-grid button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msgm-back.at .msgm-grid button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-swipe-acts button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ann-banner.gon { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ph-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ph-luoi a { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ph-bt i { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ph-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-dem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-xem-them { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-ho-so b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-bt i { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tkt-dai { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tien { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tien.lon { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-the-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-fab { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-buoc-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-loai-the .b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-truong > span,
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-truong > legend { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-truong input,
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-truong select,
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-truong textarea { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-goiy { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-chan .btn.lg,
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-nut-hang .btn.lg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-luoi { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-chuoi li { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-chuoi li::before { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-ct-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bao { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tt-buoc { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tt-buoc > i { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-5b-o { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-5b-o > i { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tin { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tin b { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tin span { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tin.he { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-hd .btn.lg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-so-sanh table { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-kiem label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-chon-doc label.on::after { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-ma-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-so-lon { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-o-dau li { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-nhom { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-so-luoi .wf-so-lon { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bd-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bd-chu-giai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bd-tip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-cot-dong { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bang td { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tab-han button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-thanh-o > .btn { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-thieu-thanh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ph-tao span { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ghim-o .so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ghim-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wn-mo { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bh-bo { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-seg button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-so { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-nhom-ten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-the-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-the-phu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-bao-lop { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-ct-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-mo-ta { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-buoc-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-buoc-so input { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-dot-ds { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-theo-vai select { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-stepper .btn { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-stepper .b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-ban-giao ul { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .brand-chu { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bc-muc b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-dk-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-dk-dong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-nhan { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-them-nho { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-da-chon { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-tom-dong > button .cv-tom-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-tom-dong > button .cv-tom-gt { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-tom-dong > button .cv-tom-gt small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-doi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-odem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-odem span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-co { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-luoi { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-sua-muc > legend { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-khoi-dau-phang h3 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-dem.bon .hr-odem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-dem.bon .hr-odem span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-tk-quyen { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-buoc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay-dau { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay-tieu-de { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay-than h3,
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay-than h4 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay-nho .hr-giay { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-so span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-bp .cv-td-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) a.cv-td-dem { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-trong { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-dem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-hop h2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-xl { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-gon { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-giao { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-bc-hop h2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-bc-bang { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-kpi-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-chuan-sua label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-dem.ba .hr-odem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-dem.ba .hr-odem span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-bd-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-bd-truc { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-chip-chon button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-o-bc { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-o-bc b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-so-do { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gio-hang b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-nut-cham { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-nut-cham.phu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-o b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-o-ngay b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-o-phu { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dong-y-tieu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc .tc-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dem span { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-the b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-the span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-bang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-misa th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-vt-nho { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-kiem li { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-kiem li span { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-bd-dem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-bd-dem-ky { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-khoa-dai { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-khoa-nhom { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-khoa-tat-ca th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-the-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ghim { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-con b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-mui { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-o-vuong { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-json { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-khoa-may { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-loai button,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-seg-hang button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chan-gui .btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-tab a,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-tab button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-vt { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tuan-nhan { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-canh-bao-lich { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dong-khung { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-nguoi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-them { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chan-lich .btn { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-cs { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-cuon table { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-cuon thead th span { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-chan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-viec { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-buoc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-buoc-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-o-ky { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-lich-luoi table { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-lich-luoi thead th span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-lich-luoi tfoot th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-lich-luoi tfoot td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-thang-loc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-luoi-thang table { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-luoi-thang td button .kt { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-thang-dem { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-thang-nhom th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-thang-nhom td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-luoi-thang td button .ma { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gan-thu label { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gan-lich button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gan-lich button span { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gan-nhom label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-tim input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-loc-menu button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-nhom-dau { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-dem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-o-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-o-so span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-o-qh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-viec-so > span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-viec-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-tieu-de { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-phu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-so-tien { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-lien-ket { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-viec .grow .clamp1:first-child { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-xem-them { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-cua-toi { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chip-cs { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-tong b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-bang { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chip-nho { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-ck-tm button { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-h2 { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-h3 { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-kv { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-so-lon { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-tab-cs button { font-size: 14px; }
@media (max-width: 900px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-bang { font-size: 13px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chip-thang { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-phieu-dau .pay-so-lon { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-so-thang { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-luong-duyet li b { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-dk { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-dk-o { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-hoi-nd { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-in-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-in-bang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-in-khoi h2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-doan-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-phu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-the-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-luoi { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-vai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-bang { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-json { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-email-dc { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-em-ghi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-em-tick { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-em-nut { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-ky button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-ky a { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dai-nhac { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-canh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-oso button { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nguoi-dat label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bang td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-o-nho { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-gom-bang select { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-anh.them { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-don h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tep { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tep-loai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-tep-dong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-mui { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-trang button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-bang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-bang thead th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-bang tbody th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-word h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tach-ds { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-ghim-so b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sap-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sap-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sap-khoa { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dv { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mo-so-dau { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mo-so-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tag-vang { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nhap-dv .kho-dv { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-luoi-cs { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-luoi-cs b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-tag { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-kk-qr-o { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-chk { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-dem { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-nhap-1 .nhap-bang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-nhap-1 .nhap-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-coso select { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-coso.khoa { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-nhom-ten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-so-to { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-tong { font-size: 22px !important; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-hop-do { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-bang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-lich-su summary { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-cong-tac { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-dem3 b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-buoc span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-tem-chu { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-tem-chu b { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-tem-chu small { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-chao { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-goi-y { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-hoi { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-the b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-tab button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-soan select,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-soan textarea { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tt-cau { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-md { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-tim { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-mo { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-chan input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tlq-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tlq-so b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pq-ai-o { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dp-o-mot b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dp-size-nut { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dp-gio-mon { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dp-cot-mot small { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-ten-lop { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-gui { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-h2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-so-lon { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang td,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang .tc-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dl-h2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-mon { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-bo { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-them { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bh-o-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bh-o-so span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang-kp th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang-kp .kit-ncc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-chu-giai .tc-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dd th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dd td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dd th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-tien .kit-kpi { font-size: 14px; }
@media (max-width: 1320px) and (min-width: 1101px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dd th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dd td { font-size: 13px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-tdb-buoi-ten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-mt-chep { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-mon-dt .kit-so-nho { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-kho-mon { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-vanban { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-trang { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-dau h3 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-bang th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-bang td { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-hd th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-hd td { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-nh-bang .input.kit-bv-o { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bv-lydo .btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.kit-bv-nut { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.kit-bv-nut2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bv-hoi li { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-suat-bep .kit-to-bep { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-nh-gt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-buoc-o { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dong-suat { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-trung-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang-nhom td,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang-nhom th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-kp-gap { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-muc-chon .pill { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-cb-ds { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-so-vua { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-so-an b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-nhan-cam { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bl th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bl td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-nhan-xanh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-hk-anh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-hk-anh i { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-cd-dau .kho-dong-ten .b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-lop { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tien { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tien .kho-o-nho.gia { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bc-dukien { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bc-kpi b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-be-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-be-ten .input.xs { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.xs { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-dem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-so3 b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-viec .ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-td { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-loai-ncc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-ma-phieu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-xe-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dk-bang td,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dk-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf .avatar,
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-ct .avatar { font-size: 13px !important; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-nut-co-dinh .btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-loai-the .wf-ghim { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-loi-tat .wf-ghim { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-so-luong button { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-co-so-dong b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-co-so-ds button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-ctn-nhac { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-ct-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-so-o b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-so-o span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tim-o input { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-quet-che-do button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-quet-goi-y { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lq-dau h2 { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lq-nhom-ten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lq-tieu-de { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lq-phu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lq-phai { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .co-so-chung { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-cs-dong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-in-phieu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-in-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-the-viec-dau { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nhom-ten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-o4 > b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-o4-ten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nut-tuy-chinh { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tuy-chinh label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bat-dau-tieu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-buoc-than > b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-hang-2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-o3 > div b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nhan-moi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-fab { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-quet-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chon-mon b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nxt-loc label { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nxt-loc input,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nxt-loc select { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nguoi { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nguoi-chu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-thay { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-toi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-buoc li b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-bang-luong .pay-nhom-cot th { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-cot-o { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dau-toi h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gio-ba b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gio-ba b.tc-ca-gio { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dai-nhac b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-so-tron { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-nhom-tieu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ten-thang { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-man-toi .tc-seg button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tong .n { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tong .l { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tong .s { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-lt-thu span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-oc b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-oc .m { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chu-thich b { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ds-tieu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ds-ngay b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ds-ngay.ngang b { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ds-them { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-so .n { font-size: 40px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep .tc-ba-o b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-fab { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tam-tieu { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-o > b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-o > span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-o > small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-de-mat h2,
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-hai h2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-dong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-cot-1 { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-thanh { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-tong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-nguon-dau { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-nguon-tt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-the-2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-cach-xem button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bang-cheo table { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bang-cheo th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-lan-1 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chon-kho-gon { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tq-ten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tq-so { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tq-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tq-kho-dau b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tq-bang { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-co-so-khac { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-gd-gia { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dp-o4 > div b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-nhom-tieu-2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-phu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-bang-gon { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-bang-gon thead th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-them-dong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tao-dong-o .wf-ghim { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-nhom-ten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-ky button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-chon { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-nam button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-tong b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-tong span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-thang button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-tim input { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-lh-avatar.nho { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-lh-ten b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-goi-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-goi-nut { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-goi-nut i { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-goi-huy { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bl-gui textarea { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bl-at { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bl-bong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bl-bong b { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-dx-o .b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-o16,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-soan-chu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-dang-o { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-loc button,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-loc a { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bo-lo { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ghim-nhan,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-an-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bai-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chu { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-luoi-them { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-luoi-video { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-anh-loi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-tep { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-tep-loai { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-so-cx,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-so-xem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-hang-nut > button,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-hang-nut > a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-chip button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-sheet > button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chon label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chao h2 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chao p { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chao-nho { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-noi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-noi select { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-chu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-gan { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-vid { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-them button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-bong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-chan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-chan button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-o-moi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cam-on-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cam-on-ai { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cam-on-loi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ly-do button,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-goi-y-nguoi button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cam-on-dau-tien > b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ghi-nhan-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ghi-nhan-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ly-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-but { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-chu { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-zoom { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-tieu-de { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-ten-lon { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-ten-vua { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-so { font-size: 36px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-so-moc { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-so-bam { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-dong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-o { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-cot b { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-khen { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-dua-dau { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cai-xem { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cai-xem select { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-khoa { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chao.cd-chao-gon h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-hang-nut .cd-cx-nut { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-em { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-thanh button { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-vo.nho .cd-cx-thanh button { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-chong > span { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-chip button > span[aria-hidden] { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-cx { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-cx .cd-cx-chong > span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-chan .cd-cx-nut { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-emoji-nut .cd-emoji-mat { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-emoji-luoi button { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-gy-tt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-gy-chu { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-gy-tl p { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ql-so { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ql-so-o b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ql-so-o span { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-nhom-dong b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-nhom-moi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-nhom-tt h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-tao-nhom legend { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-rieng-tu label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-vt-o { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ban-moi { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ban-moi .icon-btn { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-tim input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-dem-o b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-the-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-nhom-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-goi-y { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-the .tc-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-khoi h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm-buoc-o { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-ho-so-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-buoc-yc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-dl { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-cot-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-cot .crm-the-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-ngay b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-thang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-o-ngay { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-so-luot { font-size: 13px; }
@media (min-width: 900px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-o-luot { font-size: 13px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-khung-gio { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-o-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bang-so table { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bang-so thead th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-hop-loc .chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-tin-bong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-soan-o textarea { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-hop-ngan button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-hop-tab button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm textarea.crm-soan-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-hop-loai button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-hop-chu { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-cham { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-play { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-av { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-av.trang { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-bong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-lk { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-hd .crm-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-tab button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ai-nut { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ai-dau b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ai-cau { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-o-chu.co-nen .cd-soan-chu { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-aa { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-them-tieu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-them-nut { font-size: 14px; }
@media (min-width: 761px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-them .cd-them-tieu { font-size: 14px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chu-nen { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dtq-h { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dtq-dong-y { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm-nhung { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-bep { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-dau { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-phu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-diung { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-oky { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-oky-hd { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-oky-app { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-oky-chep { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-oky-to { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-oky-to .kit-to-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-suat-tong b { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-suat-2so b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-gia-cho-o { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-loai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-phu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-han { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-hoi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-an { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-pa { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-thang { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-pt { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-them { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-dong { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-kq { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-kq-hoi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-kq-dong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-kq-mo { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-mau button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-nhan-o { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-hoi-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-pa-o input { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-tc-ds label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-dem-so { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-tabs a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bai-moi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-sn-tieu { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-sn-ds button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-chuc button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dp-size-moi-bao { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dm-size-o { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-kho-tag { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-kho-m3 legend { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-kho-chenh { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-gantt-moc-ngay { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-gantt-tieu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chon-cot-o { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-thang.gon .pay-bang-luong th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-thang.gon .pay-bang-luong td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-xep .ongay[data-kieu=date] { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bang { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-luoi th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-the { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-them-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cong-tac-ben button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-gap h2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-so4 b,
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-so3 b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-so4 span,
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-so3 span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-o b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-o small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-xam h3 { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-cs-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-dem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-loc button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-av { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-ten { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-tt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dn-form label { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dt-h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dt-thuoc { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dt-fs legend { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-kh-thang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-kh-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-kh-thanh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc-so .muted { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc-bang table { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc-bang thead th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc-bang td .tc-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bai-link code { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-cd-so { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-hn-g { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-th-tong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-o b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-o span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-loc input[type=search] { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-ai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-tt { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-ten { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-them { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-video { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-x { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cs-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hs-the h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-nhap-dong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-du-kien-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-so-dung-dong input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kh-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kh-luoi th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kh-luoi td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-lop-sheet h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-lop-sheet button[role="radio"] { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-nhom { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-ho-so .them-chuc-vu { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sn-thang b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sn-ngay { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sn-dip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-sn-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-sn-ai b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sn-da-chuc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-tm { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tm-luot li { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tm-k { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tm-k .input { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-nhap label { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-nhap .input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-canh { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-chu { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-bao { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-tbl td .tc-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-tbl tr.hp-con td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-chon { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-cong-thuc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-tl-so { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-qd { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-qd-dau { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-qd-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-qd-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-so .card b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ky-so-sanh figcaption { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-nhan-moi { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-moi-nut { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .poll-card.bc .bc-hoi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-dau a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-dau > span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-cho b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-so { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-so.dau { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-phu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-nut-ky { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-nhac { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-nhanh a { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-tieu b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-tieu a,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-tieu .btn-link { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-t16 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-t17 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ls b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-pdf { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-face b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-face a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-xanh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-qt a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-fab { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-sheet-t { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ba button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-huong > span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-huong b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-them { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-them.tat { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ds-dong > a,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ds-dong > button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-o { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-o input:not([type=range]),
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-o select { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-tien { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-cach { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ng li b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ng select { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-keo { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-stt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-bo { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-vi-tri { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-tab a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-buoc li > span:first-child { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-buoc li b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-nguon label { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-vt-ok span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-vt-ds a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-vt-bon { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .xn-so { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-tb-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-tb-ban a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-3cot .blv-cot-trai .blv-viec-so i { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-tk { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-tk > b:first-child { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-cot-giua .bt-cd-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-cot-giua .bt-cd-mo { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-cot-giua .bt-cd-ghim { font-size: 14px; }
@media (min-width: 761px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .ktr-duong a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ktr-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ktr-tab a,
:where(:root:not(:has(.shell.ben-lop-hoc))) .ktr-tab button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ktr-them-ds button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ktr-o-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ktr-nk li { font-size: 14px; }
}
@media (min-width: 761px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .ktr-hang-dau { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ktr-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ktr-c-nut .btn { font-size: 13px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .ky-bao { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .gd-ten small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-kieu button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-xem button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-dk-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-bang { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-hd-ct-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-cu-moi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-dip li { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-so b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-giua { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-chu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-1o b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-1o span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-mua-vu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-nhac-the h2,
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-nhac-thieu h2 { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-nhac-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-nhac-the li { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-nhac-thieu-dong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-hoan-tac { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-trong { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-o-nhap,
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-bang td select { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-chon { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-sua-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tph-cx-chon button { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tph-cx { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tph-nut { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tph-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tph-gui { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nap-o-mui { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nap-o-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nap-o-lam { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nap-kq { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-ngay { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-o-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-vong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-o-chan { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-lieu { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-lieu i { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-the-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-4o .o b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-dong-nho { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-di-ung { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-nhom-khac { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tn-lop h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tn-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tn-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-mai { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-sap { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-nhan-sap { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-sn-nhom > span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-dau .lhn-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-o-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-vong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-o-chan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .shell.ben-lop-hoc .lhn-dau .lhn-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .shell.ben-lop-hoc .lhn-dau .lhn-ngay { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .shell.ben-lop-hoc .lhn-lop-sheet h2 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chip-chon { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-sn-ve { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tqt-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tqt-chu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl-so { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl-loc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl-vong { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl-nd { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vl-canh { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vl-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-od-ca { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-od-gio { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-od-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-in-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-menu-nho a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-th-cuon table.tc-th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ps-o b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-in-tieu b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-in-ttin { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-in-xn { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-in-ky span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-ban-giao { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-xn { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-khop { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-ba .hr-odem small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hl-truong td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lh-tab-nhom a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-ngay button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-chi-xem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-so > span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-so small { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-the h2,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-gap h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-dong-lop { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-ten-lop small { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-chu-giai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-chip button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-av { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-sn-chu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-gap-dong { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-hang { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-hang small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv thead th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv thead th.btv-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv tbody th.btv-hoten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv td.tnk .btv-sang { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv tfoot th,
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv tfoot td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btv-cot-dong label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-dau-man h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-buoc-nho { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-tt-o b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-the-duoi button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-menu-khac-ds small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-o-sua input { font-size: 13px !important; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-tha-tep { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chon-nv label,
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chon-nguoi label { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv.pay-sai td.pay-vi-sao { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-tab-thue a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mt-tab > button,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mt-tab > a { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mt-loc { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mt-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mt-bang td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-vang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chk { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bc-muc > a,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bc-muc > button.link { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bc-sao { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-3o .o b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-gap h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-dong-ds .grow span { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-sn-nhom > a { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-chu-thich { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-tl i { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-chips button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-anh { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-h { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-td-muc-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-td-muc-so { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tt-nay { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-khoa { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-luoi code { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-tick { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-dai { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-so b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-bang table { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-vien { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-xem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-form label { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-phieu-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-dau-phieu label { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-chon-dong { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-ll-o b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-sd-the b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-nhan-bam { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-dk .tc-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-buoc-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-dai .tc-nhan { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt .seg a { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-the-tien { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-hai-o b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-nhap-dt label { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-nhap-dt .kt-o-tien-lon { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-cot-sd { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-cot-so { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-cot-ten { font-size: 11px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-cd-in-logo { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-cho-chu { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-dem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-o-so > b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-dau > b:first-child { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-tong { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-thanh { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-the button { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-ky-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-th-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-th-dau span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-th-than > div { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-sl { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-nut2 button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-kc { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-kn { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-nap-ky { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-do { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-xanh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dm-bang { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dm-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-loi,
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-soat { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-dau b { font-size: 14px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-dau .icon-btn { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-thu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-gio { font-size: 13px; }
}
@media screen and (max-width: 760px) {
:root:where(:not(:has(.shell.ben-lop-hoc))) { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) h1 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) h2 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sm { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .xs { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.sm { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.lg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sq { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sq.lg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pill { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .brand-tag { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .brand-name { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) kbd { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crumb { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .num { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .num-lg { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl tr.grp td { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .progress .pct { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .barlabel { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .empty-title { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tab-count { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .due { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .h3link { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .meta-row { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mm-root { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mm-leaf { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tl-label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tl-grid > span:not(.tl-bar):not(.tl-stage):not(.tl-dep) { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tl-bar { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tl-dep { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .drawer-head h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .title-input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hold-banner { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .props { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .person { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .x { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dep { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .file { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .li { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .field-label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .field-hint { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .input-lg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .toast { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-note { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-foot { font-size: 13px; }
@media (max-height: 599px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card h1 { font-size: 22px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-brand .tag { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card h1 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card h1,
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-step-head h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card p { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card .btn.method,
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-card .btn.lg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-note { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-foot { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dev-login summary { font-size: 13px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) h1 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .num { font-size: 22px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-list-head h1 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cbadge { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-empty .b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-title { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-start .b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .day-sep { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msg-time-s { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msg-quote { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .react { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msg-tools .emoji { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sys-line { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .composer-ctx { font-size: 15px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .composer textarea { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-head .btn.sm { font-size: 13px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .install-hint { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .prefs th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tags .tag { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pipe-n { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm-av { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .file-ic { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-alerts { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-tiles .fin-tile .num { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-tbl tr.fin-cat td { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-flag { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-inst-row { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-ver summary { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-calc { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-calc .big { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-diff { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-steps li { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-steps li::before { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-amounts b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-amounts .req-pay b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-props { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-props dt { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .req-bank legend { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tier-range { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-item { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .flow li { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .flow li::before { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-summary { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-sec h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-tips { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .att .seg button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .att-matrix .scope-sel { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .att-step-head .step-no { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .att .param-grp legend { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .fin-changes { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ann-title { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ann-h { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ann-big { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md h4 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md h5 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md code { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .acl-role-detail .h2-sm { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .scope-sel { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nl-sub .sq { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nl-mini-toggle { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nl-fly-title { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-or { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .switch-user { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .confirm-text { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.method { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.method .last-tag { font-size: 13px; }
@media (max-width: 380px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.method { font-size: 17px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .login-step-head h1 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .integ-log ul { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .integ-log summary { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .drive-ups li { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .people-group-head { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .role-chip button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mperms-head { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tag-role,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tag-extra,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tag-denied,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tag-pending { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-conv.embed .chat-title { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-lbl { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-sub { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch.compact .punch-lbl { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-meta { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .queue-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-done b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-done span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .uv-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .uv-day { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .punch-row .dir-dot { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .consent ul { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qr-timer span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mappick .map-ctl button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mappick .attrib { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mappick .map-empty { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .field-note { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-grid b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sum-card span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sum-card b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sum-card small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-wd,
:where(:root:not(:has(.shell.ben-lop-hoc))) .sched-wd { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-n { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-t { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-badge { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-legend { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .grp-chips button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sched-n { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .shift-card { font-size: 13px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .sum-card b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-t { font-size: 13px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .qp-head b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-auto { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kb-move { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .q-total .big { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dash-lbl { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dash-v { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-co { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-title { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-lbl { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-tbl th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-tbl tfoot tr.sum td { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-cat { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-warn { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-month { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-cal-h { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-cal-n { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-ev { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-ag-date b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-dl { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-date b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-check { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qdoc-list { font-size: 15px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .t-hero h1 { font-size: 28px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-total { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ros th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ros input,
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ros select,
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ros textarea { font-size: 16px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-grip { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-move .icon-btn { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-time b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-cs .qdoc-co b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-zone { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-result { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-result-icon { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-result-msg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-clock { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-live-label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-live-who { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-cues { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-next b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-live-foot .btn { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket-kicker { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket h1 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket-meta { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket-name { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket-hint { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-ticket-map { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-pass-show { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-pass-kind { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-pass-name { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-pass-org { font-size: 13px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .sd-clock { font-size: 17px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .env-badge::after { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-head { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-dayname { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-hour { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-ev { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-ev b { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-ev-m { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-money b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-my-d { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-my-time { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-my-title { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-block { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .st-note summary { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-panel-head { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-q { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-doc-title { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-md { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-md h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-md h4 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-md figcaption { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .md-table table { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .help-related .h4 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .field-note { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kv { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .seg.sm .seg-btn { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .check-chip { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-head { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-name { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cal-bar { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .asset-label-txt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .asset-label-txt b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vendor-name { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .stars { font-size: 15px; }
@media (max-width: 640px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .kv dt { font-size: 13px; }
}
@media (max-width: 640px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .asset-tbl .c-code { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .asset-tbl .c-qty { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .asset-tbl .c-loc { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .asset-tbl .c-val { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .asset-tbl .c-due { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-mini { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-pkg { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-client { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-value { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-qty { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-ev { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-doc-title { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-kpis b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-doc-h { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-doc-tbl .chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-photo-ph { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sp-photo figcaption { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pm-sum b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cc-dn { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cc-post { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cc-meta { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cc-list-day { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cc-metrics b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .org-row[data-kind="campus"] .org-name { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .section-title { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.xs { font-size: 13px; }
@media (max-width: 640px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .asg-grid td[data-label]::before { font-size: 13px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-tabs button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-menu button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pin-bar { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .seen { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-new-menu small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-back { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-search { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-sec { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-note { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-pill { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chip.kp-chip { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-star { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-tile b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-big { font-size: 44px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-big small { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-chu-head { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-diem-nho .kp-big { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-luoi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-table { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-stat b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-stat b.sm { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-stat span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-kq .kp-table { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-kq .num small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-nhom-dau th { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-chip-td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-kq-chu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-kq-chu small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-kq-diem { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-vong-diem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-vong-diem small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-thieu-dai { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-phan-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-phan-diem { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-phan-diem small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-viec-truoc .row-between { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-nhan-thieu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-tt-bang .kp-table { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-in-ky span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-giay-ngang .kp-in-bang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-giay-ngang .kp-in-bang small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-chu-giai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-so-lon { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-ma { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-na { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-scale button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-scale button small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-nxm { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-buoc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-luoi-so b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-chart .kp-axis { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-muc { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-giay { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-in-dau { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-in-tieu-de { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-in-bang { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-in-bang tr.con td { font-size: 15px; }
@media (max-width: 560px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-big { font-size: 38px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-luoi-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-giay { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-in-dau { font-size: 13px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-foot { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-hero h1 { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-label { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-field input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-note { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth .errorbox { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-link { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-link.dev { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-head h1 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-lead { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-row { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-row .auth-link { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-avatar { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-name { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-go { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-email { font-size: 15px; }
@media (max-height: 640px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .auth-hero h1 { font-size: 28px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .sheet h2 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sheet p { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sheet-btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sheet-later { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-tabs-in a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-ql { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-dau { font-size: 13px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-tabs-in a { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl.pq { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pq-nut { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pq-sua { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pq-tag { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-le .chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-vai { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-kiem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .goi-y { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-tabs .kp-tabs-in a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-khoi-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-buoc-ds { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-buoc-ds li > span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-buoc-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-ban > span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-o-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-ph { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-o-chan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-trong { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-tag { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-muc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-loi-tat a { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-so-lon { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-so-lon small { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-bieu-cs > div { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-ky { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msgm-react button { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msgm-preview { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msgm-grid button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .msgm-back.at .msgm-grid button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chat-swipe-acts button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ann-banner.gon { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ph-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ph-luoi a { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ph-bt i { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ph-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-dem { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kp-xem-them { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-ho-so b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-nhom { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-bt i { font-size: 13px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .composer-more button { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .tkt-dai { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tien { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tien.lon { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-the-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-fab { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-buoc-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-loai-the .b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-truong > span,
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-truong > legend { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-truong input,
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-truong select,
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-truong textarea { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-goiy { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-chan .btn.lg,
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-nut-hang .btn.lg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-luoi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-chuoi li { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-chuoi li::before { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-ct-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bao { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tt-buoc { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tt-buoc > i { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-5b-o { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-5b-o > i { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tin { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tin b { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tin span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tin.he { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-hd .btn.lg { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-so-sanh table { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-kiem label { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-chon-doc label.on::after { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-ma-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-so-lon { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-o-dau li { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-nhom { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-so-luoi .wf-so-lon { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bd-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bd-chu-giai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bd-tip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-cot-dong { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bang td { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tab-han button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-thanh-o > .btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-thieu-thanh { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ph-tao span { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ghim-o .so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ghim-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wn-mo { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bh-bo { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-seg button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-nhom-ten { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-the-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-the-phu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-bao-lop { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-ct-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-mo-ta { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-buoc-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-buoc-so input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-dot-ds { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-theo-vai select { font-size: 16px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-stepper .btn { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-stepper .b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-ban-giao ul { font-size: 15px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-ct-ten { font-size: 17px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) h1 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) h2 { font-size: 17px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) h1 { font-size: 28px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .brand-chu { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bc-muc b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-dk-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-dk-dong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-nhan { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-them-nho { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-da-chon { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-tom-dong > button .cv-tom-nhan { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-tom-dong > button .cv-tom-gt { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-tom-dong > button .cv-tom-gt small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-doi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-odem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-odem span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-co { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-luoi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-sua-muc > legend { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-khoi-dau-phang h3 { font-size: 17px; }
@media (max-width: 480px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-luoi > span.muted { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-dem.bon .hr-odem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-dem.bon .hr-odem span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-tk-quyen { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-buoc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay-dau { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay-tieu-de { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay-than h3,
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay-than h4 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay-nho .hr-giay { font-size: 15px; }
@media (max-width: 480px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-giay { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-so span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-bp .cv-td-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) a.cv-td-dem { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-nhom { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-trong { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-dem { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-hop h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-xl { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-gon { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-td-giao { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-bc-hop h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-bc-bang { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-kpi-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-chuan-sua label { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-dem.ba .hr-odem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-dem.ba .hr-odem span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-bd-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-bd-truc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-chip-chon button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-o-bc { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-o-bc b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-so-do { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gio-hang b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-nut-cham { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-nut-cham.phu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-o b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-o-ngay b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-o-phu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dong-y-tieu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc .tc-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dem span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-the b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-the span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-bang { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-misa th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-vt-nho { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-kiem li { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-kiem li span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-bd-dem b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-bd-dem-ky { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-khoa-dai { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-khoa-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-khoa-tat-ca th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-the-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ghim { font-size: 17px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-the b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-the span { font-size: 13px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-con b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-mui { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-o-vuong { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-json { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-khoa-may { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-loai button,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-seg-hang button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chan-gui .btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-tab a,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-tab button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-vt { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tuan-nhan { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-canh-bao-lich { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dong-khung { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-nguoi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-them { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chan-lich .btn { font-size: 17px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) input,
:where(:root:not(:has(.shell.ben-lop-hoc))) select,
:where(:root:not(:has(.shell.ben-lop-hoc))) textarea { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .page.nhan-su { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-odem b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-odem span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-dong .muted.xs { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-cs { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-cuon table { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-cuon thead th span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-chan { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-viec { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-pc-th { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-buoc { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-buoc-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-o-ky { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-lich-luoi table { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-lich-luoi thead th span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-lich-luoi tfoot th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-lich-luoi tfoot td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-thang-loc { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-luoi-thang table { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-luoi-thang td button .kt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-thang-dem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-thang-nhom th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-thang-nhom td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-luoi-thang td button .ma { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gan-thu label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gan-lich button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gan-lich button span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gan-nhom label { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-chip { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-tim input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-loc-menu button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-nhom-dau { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-dem { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-o-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-o-so span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-o-qh { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-viec-so > span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-viec-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-tieu-de { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-phu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-so-tien { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-lien-ket { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-viec .grow .clamp1:first-child { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-xem-them { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-cua-toi { font-size: 17px; }
@media (max-width: 480px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv .blv-tieu-de h1 { font-size: 22px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chip-cs { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-tong b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-bang { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chip-nho { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-ck-tm button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-h2 { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-h3 { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-kv { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-so-lon { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-tab-cs button { font-size: 15px; }
@media (max-width: 900px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-bang { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chip-thang { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-phieu-dau .pay-so-lon { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-so-thang { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-luong-duyet li b { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-dk { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-dk-o { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-hoi-nd { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-in-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-in-bang { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-in-khoi h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-doan-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-phu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-the-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-luoi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-vai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-bang { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .qt-json { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-email-dc { font-size: 17px; }
@media (max-width: 480px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-email input,
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-email select { font-size: 17px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-em-ghi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-em-tick { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-em-nut { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-ky button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-ky a { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dai-nhac { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-canh { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-oso button { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nguoi-dat label { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bang td { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-o-nho { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-gom-bang select { font-size: 16px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-anh.them { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-don h3 { font-size: 17px; }
@media (max-width: 480px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dau h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-oso input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho input,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho select,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho textarea { font-size: 17px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tep { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tep-loai { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-tep-dong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-mui { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-trang button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-bang { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-bang thead th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-bang tbody th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-xem-word h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tach-ds { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-ghim-so b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sap-nhom { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sap-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sap-khoa { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dv { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mo-so-dau { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mo-so-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tag-vang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nhap-dv .kho-dv { font-size: 15px; }
@media (max-width: 480px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) select.kho-dv.chon,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dv { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-luoi-cs { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-luoi-cs b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-tag { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-kk-qr-o { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-chk { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-dem { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-nhap-1 .nhap-bang { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hr-nhap-1 .nhap-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-coso select { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-coso.khoa { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-nhom-ten { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-so-to { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-tong { font-size: 22px !important; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-hop-do { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-bang { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-lich-su summary { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-cong-tac { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-dem3 b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-buoc span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-tem-chu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-tem-chu b { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-tem-chu small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-chao { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-goi-y { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-hoi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-the b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-tab button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-soan select,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-soan textarea { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-nhan { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tt-cau { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-md { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-tim { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-mo { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tro-ly-chan input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tlq-nhom { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tlq-so b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pq-ai-o { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dp-o-mot b { font-size: 22px; }
@media (max-width: 400px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .dp-o-mot b { font-size: 17px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .dp-size-nut { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dp-gio-mon { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dp-cot-mot small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-ten-lop { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-gui { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-so-lon { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang td,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang th { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang .tc-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dl-h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-mon { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-bo { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-them { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-chip { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bh-o-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bh-o-so span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang-kp th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang-kp .kit-ncc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-chu-giai .tc-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dd th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dd td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dd th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-tien .kit-kpi { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-tdb-buoi-ten { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-mt-chep { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-mon-dt .kit-so-nho { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-kho-mon { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-vanban { font-size: 17px; }
@media (max-width: 600px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dc-bang th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dc-bang td { font-size: 15px; }
}
@media (max-width: 600px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-nh-bang th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-nh-bang td { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-trang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-dau h3 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-bang th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-bang td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-hd th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-hd td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-nh-bang .input.kit-bv-o { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bv-lydo .btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.kit-bv-nut { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.kit-bv-nut2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bv-hoi li { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-suat-bep .kit-to-bep { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-nh-gt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-buoc-o { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dong-suat { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-trung-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang-nhom td,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bang-nhom th { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-kp-gap { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-muc-chon .pill { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-cb-ds { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-so-vua { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-so-an b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-nhan-cam { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bl th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bl td { font-size: 15px; }
@media (max-width: 640px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bl td.so::before { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bl td[data-n="Ghi chú"],
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bl td[data-n="Ai báo"],
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bl tfoot td[data-n=""] { font-size: 13px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-nhan-xanh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-hk-anh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-hk-anh i { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-cd-dau .kho-dong-ten .b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-lop { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tien { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tien .kho-o-nho.gia { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bc-dukien { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-bc-kpi b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-be-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-be-ten .input.xs { font-size: 16px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btn.xs { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-dem { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-so3 b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-viec .ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-td { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-loai-ncc { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-ma-phieu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-xe-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dk-bang td,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-dk-bang th { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf .avatar,
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-ct .avatar { font-size: 15px !important; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-nut-co-dinh .btn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-loai-the .wf-ghim { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-loi-tat .wf-ghim { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-so-luong button { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-co-so-dong b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-co-so-ds button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-ctn-nhac { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-td-ct-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-so-o b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-so-o span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tim-o input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-quet-che-do button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-quet-goi-y { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lq-dau h2 { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lq-nhom-ten { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lq-tieu-de { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lq-phu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lq-phai { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .co-so-chung { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ts-cs-dong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-in-phieu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-in-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-the-viec-dau { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nhom-ten { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-o4 > b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-o4-ten { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nut-tuy-chinh { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tuy-chinh label { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bat-dau-tieu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-buoc-than > b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-hang-2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-o3 > div b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nhan-moi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-fab { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-quet-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chon-mon b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nxt-loc label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nxt-loc input,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nxt-loc select { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nguoi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-nguoi-chu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-thay { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-toi { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-buoc li b { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-bang-luong .pay-nhom-cot th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-cot-o { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dau-toi h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gio-ba b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-gio-ba b.tc-ca-gio { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-dai-nhac b { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-so-tron { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-nhom-tieu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ten-thang { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-man-toi .tc-seg button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tong .n { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tong .l { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tong .s { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-lt-thu span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-oc b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-oc .m { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chu-thich b { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ds-tieu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ds-ngay b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ds-ngay.ngang b { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ds-them { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep-so .n { font-size: 40px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-phep .tc-ba-o b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-fab { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tam-tieu { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-o > b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-o > span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-o > small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-de-mat h2,
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-hai h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-dong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-cot-1 { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-thanh { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-tong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-nguon-dau { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-nguon-tt { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-the-2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-cach-xem button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bang-cheo table { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bang-cheo th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mh-lan-1 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chon-kho-gon { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tq-ten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tq-so { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tq-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tq-kho-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-tq-bang { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .viec-co-so-khac { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-gd-gia { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dp-o4 > div b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-nhom-tieu-2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-chip-phu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-bang-gon { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-bang-gon thead th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-them-dong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-tao-dong-o .wf-ghim { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-nhom-ten { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-ky button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-chon { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-nam button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-tong b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-tong span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-thang button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .td-tim input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-lh-avatar.nho { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-lh-ten b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-goi-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-goi-nut { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-goi-nut i { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-goi-huy { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bl-gui textarea { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bl-at { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bl-bong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-bl-bong b { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-dx-o .b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-o16,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-soan-chu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-dang-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-loc button,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-loc a { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bo-lo { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ghim-nhan,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-an-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bai-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-luoi-them { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-luoi-video { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-anh-loi { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-tep { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-tep-loai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-so { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-so-cx,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-so-xem { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-hang-nut > button,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-hang-nut > a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-chip button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-sheet > button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chon label { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chao h2 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chao p { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chao-nho { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-noi { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-noi select { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-chu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-gan { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-vid { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-them button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-bong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-chan { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-chan button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-o-moi { font-size: 13px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd > .page-head .co-so-chung { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-dang-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-loc button,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-loc a { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cam-on-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cam-on-ai { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cam-on-loi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ly-do button,
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-goi-y-nguoi button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cam-on-dau-tien > b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ghi-nhan-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ghi-nhan-so { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ly-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-but { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-chu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-zoom { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-tieu-de { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-ten-lon { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-ten-vua { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-so { font-size: 36px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-so-moc { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-so-bam { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-dong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-o { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-chip { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-cot b { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-khen { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-dua-dau { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cai-xem { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cai-xem select { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-khoa { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chao.cd-chao-gon h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-hang-nut .cd-cx-nut { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-em { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-thanh button { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-vo.nho .cd-cx-thanh button { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-chong > span { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-cx-chip button > span[aria-hidden] { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-cx { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-cx .cd-cx-chong > span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-chan .cd-cx-nut { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-emoji-nut .cd-emoji-mat { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-emoji-luoi button { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-gy-tt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-gy-chu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-gy-tl p { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ql-so { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ql-so-o b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ql-so-o span { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-nhom-dong b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-nhom-moi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-nhom-tt h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-tao-nhom legend { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-rieng-tu label { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-vt-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ban-moi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ban-moi .icon-btn { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-tim input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-dem-o b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-the-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-nhom-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-goi-y { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-the .tc-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-khoi h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm-buoc-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-ho-so-dau h1 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-buoc-yc { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-dl { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-cot-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-cot .crm-the-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-ngay b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-thang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-o-ngay { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-so-luot { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-khung-gio { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-o-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bang-so table { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bang-so thead th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-hop-loc .chip { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-tin-bong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-soan-o textarea { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-hop-ngan button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-hop-tab button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm textarea.crm-soan-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-hop-loai button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-hop-chu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-cham { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-play { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-av { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-av.trang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-bong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-lk { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-hd .crm-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm .crm-bl-tab button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ai-nut { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ai-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-ai-cau { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-soan-o-chu.co-nen .cd-soan-chu { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-aa { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-them-tieu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-them-nut { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-chu-nen { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dtq-h { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dtq-dong-y { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .crm-nhung { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-bep { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-dau { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-phu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-bang th { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-to-diung { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-oky { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-oky-hd { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-in-oky-app { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-oky-chep { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-oky-to { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-oky-to .kit-to-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-suat-tong b { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-suat-2so b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-gia-cho-o { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-loai { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-phu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-han { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-hoi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-an { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-pa { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-thang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-pt { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-them { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-dong { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-kq { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-kq-hoi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-kq-dong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-kq-mo { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-mau button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-nhan-o { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-hoi-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-pa-o input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bc-tc-ds label { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-dem-so { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-tabs a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bai-moi { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-sn-tieu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-sn-ds button { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cdt-chuc button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dp-size-moi-bao { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dm-size-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-kho-tag { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-kho-m3 legend { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-kho-chenh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-gantt-moc-ngay { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sk-gantt-tieu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chon-cot-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-thang.gon .pay-bang-luong th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-thang.gon .pay-bang-luong td { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-xep .ongay[data-kieu=date] { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bang { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-luoi th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-the { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-them-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cong-tac-ben button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-gap h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-so4 b,
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-so3 b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-so4 span,
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-so3 span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-o b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-o small { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-xam h3 { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-cs-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lht-nhan { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-dem { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-loc button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-av { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-tt { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dn-form label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dt-h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dt-thuoc { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dt-fs legend { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-kh-thang { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-kh-nhan { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-kh-thanh { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc-so .muted { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc-bang table { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc-bang thead th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bc-bang td .tc-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-bai-link code { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-cd-so { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .mkt-hn-g { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-th-tong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-o b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-o span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-loc input[type=search] { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-ai { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-tt { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-ten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-them { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-video { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-x { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cs-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hs-the h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-nhap-dong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-du-kien-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vb .vb-so-dung-dong input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kh-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kh-luoi th,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kh-luoi td { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-lop-sheet h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-lop-sheet button[role="radio"] { font-size: 17px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-tuy-chinh { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop-muc-tieu-de { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .page.blv-dt .cv-td-xl > span:last-child { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bt-cd-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cv-ag-gon { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bt-cd-mo { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .bt-cd-ghim { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .page.blv-dt .blv-tuy-chinh { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-nhom { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .them-ho-so .them-chuc-vu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sn-thang b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sn-ngay { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sn-dip { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-sn-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-sn-ai b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .sn-da-chuc { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-tm { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tm-luot li { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tm-k { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tm-k .input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-nhap label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-nhap .input { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-canh { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd .cd-chu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-bao { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-tbl td .tc-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-tbl tr.hp-con td { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-chon { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-cong-thuc { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-tl-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-qd { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-qd-dau { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-qd-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-qd-nhan { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-so .card b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ky-so-sanh figcaption { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-nhan-moi { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .cd-bl-moi-nut { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .poll-card.bc .bc-hoi { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-dau a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-dau h1 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-dau > span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-cho b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-so { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-so.dau { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-phu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-nut-ky { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-nhac { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-nhanh a { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-tieu b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-tieu a,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-tieu .btn-link { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-t16 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-t17 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ls b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-pdf { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-face b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-face a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-xanh { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-qt a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-fab { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-sheet-t { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ba button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-huong > span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-huong b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-chip { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-them { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-them.tat { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ds-dong > a,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ds-dong > button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-o { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-o input:not([type=range]),
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-o select { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-tien { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-cach { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ng li b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-ng select { font-size: 16px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-keo { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-stt { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-bo { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-vi-tri { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-tab a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-buoc li > span:first-child { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kyb-buoc li b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-nguon label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-vt-ok span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-vt-ds a { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kit-vt-bon { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .xn-so { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-tb-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-tb-ban a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-3cot .blv-cot-trai .blv-viec-so i { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-tk { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-tk > b:first-child { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-cot-giua .bt-cd-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-cot-giua .bt-cd-mo { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .blv-cot-giua .bt-cd-ghim { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ky-bao { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .gd-ten small { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-kieu button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-xem button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-dk-chip { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-bang { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-bang th { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-hd-ct-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-cu-moi { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-dip li { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-so b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-giua { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-chu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-1o b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-1o span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-mua-vu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-nhac-the h2,
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-nhac-thieu h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-nhac-so { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-nhac-the li { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-nhac-thieu-dong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-hoan-tac { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-trong { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-o-nhap,
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-bang td select { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-chon { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-sua-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tph-cx-chon button { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tph-cx { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tph-nut { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tph-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tph-gui { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nap-o-mui { font-size: 34px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nap-o-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nap-o-lam { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nap-kq { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-ngay { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-o-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-vong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-o-chan { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-lieu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-lieu i { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-the-dau h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-4o .o b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-dong-nho { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-di-ung { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-nhom-khac { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tn-lop h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tn-o { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tn-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-mai { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-sap { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-nhan-sap { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-sn-nhom > span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-dau .lhn-ten { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-o-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-vong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-o-chan { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .shell.ben-lop-hoc .lhn-dau .lhn-ten { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .shell.ben-lop-hoc .lhn-dau .lhn-ngay { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .shell.ben-lop-hoc .lhn-lop-sheet h2 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .chip-chon { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .nk-sn-ve { font-size: 22px; }
@media (max-width: 640px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .hp-ls td[data-n] { font-size: 15px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .tqt-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tqt-chu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl-dau h1 { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl-loc { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl-vong { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tbl-nd { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vl-canh { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .vl-nhan { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-od-ca { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-od-gio { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-od-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-in-ten { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-menu-nho a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-th-cuon table.tc-th { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-ps-o b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-in-tieu b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-in-ttin { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-in-xn { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tc-in-ky span { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-ban-giao { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .dd-xn { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-khop { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ns-tq-ba .hr-odem small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hl-truong td { font-size: 15px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .shell.o-them .them-nhom { font-size: 17px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .lh-tab-nhom a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-ngay button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-chi-xem { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-so > span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-so b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-so small { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-the h2,
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-gap h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-dong-lop { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-ten-lop small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-chu-giai { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-chip button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-av { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-sn-chu { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-gap-dong { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-hang { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tq-hang small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv thead th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv thead th.btv-nhom { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv tbody th.btv-hoten { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv td.tnk .btv-sang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv tfoot th,
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv tfoot td { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .btv-cot-dong label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-dau-man h1 { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-buoc-nho { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-tt-o b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-the-duoi button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-menu-khac-ds small { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-o-sua input { font-size: 16px !important; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-tha-tep { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chon-nv label,
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-chon-nguoi label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) table.btv.pay-sai td.pay-vi-sao { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .pay-tab-thue a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mt-tab > button,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mt-tab > a { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mt-loc { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mt-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-mt-bang td { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-vang { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chk { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bc-muc > a,
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bc-muc > button.link { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-bc-sao { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-3o .o b { font-size: 28px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-gap h2 { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-dong-ds .grow span { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lhn-sn-nhom > a { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-chu-thich { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-tl i { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-chips button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-anh { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-h { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .tcq-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-td-muc-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-td-muc-so { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .wf-tt-nay { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-khoa { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-luoi code { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-tick { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-dai { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-so b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-bang table { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .lop2-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-vien { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-xem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-form label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-phieu-ten { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-dau-phieu label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-chon-dong { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-ll-o b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-sd-the b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-nhan-bam { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-dk .tc-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-buoc-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-dai .tc-nhan { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt .seg a { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-the-tien { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-hai-o b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-nhap-dt label { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-nhap-dt .kt-o-tien-lon { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-cot-sd { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-cot-so { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-cot-ten { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kt-cd-in-logo { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-cho-chu { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-dem { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-o-so > b { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-dau > b:first-child { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-tong { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-thanh { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-the button { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-ky-so { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-th-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-th-dau span { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-th-than > div { font-size: 17px; }
@media (max-width: 760px) {
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-o-so > b { font-size: 22px; }
}
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-sl { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-chip { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-nut2 button { font-size: 15px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-kc { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-kn { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .hptq-nap-ky { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-do { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-chip-xanh { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dm-bang { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .kho-dm-bang th { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-loi,
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-soat { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-dau b { font-size: 17px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-dau .icon-btn { font-size: 22px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-thu { font-size: 13px; }
:where(:root:not(:has(.shell.ben-lop-hoc))) .ongay-gio { font-size: 15px; }

/* Ô nhập không ghi cỡ riêng: 17 px (dưới 16 px iPhone tự phóng to khi gõ). :where → thua mọi luật ô nhập riêng. */
:where(:root:not(:has(.shell.ben-lop-hoc))) :where(input:not([type=checkbox]):not([type=radio]), select, textarea) { font-size: 17px; }
}
/* ===== hết 17s-chu-dien-thoai ===== */
