/* NV-VP-TC-1 (30/11/2026): TRANG CHỦ VĂN PHÒNG SỐ theo mẫu đã duyệt (tc1/mau/home_vps.html) · tiền tố vtc- · chỉ trong #nd.vtc-nd
   Thân trang theo mẫu: thẻ trắng bo mềm, nhiều khoảng thoáng (anh chốt riêng cho trang chủ). Chữ phụ đậm hơn mẫu để đạt tương phản ≥ 4,5:1. */
#nd.vtc-nd{background:#F4F6FA}
.vtc{max-width:1600px;margin:0 auto;padding:24px 32px 56px;box-sizing:border-box;color:#1B2436;font-feature-settings:"tnum" 1}   /* đợt 2: rộng tối đa 1600px, căn giữa (1920px không bỏ trống một bên) */
.vtc *{box-sizing:border-box}
.vtc [hidden]{display:none!important}
.vtc-an-chu{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* lời chào */
.vtc-chao{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:20px}
.vtc-chao h1{font-size:25px;font-weight:700;line-height:1.3;margin:0;color:#1B2436}
.vtc-mo{color:#4B5563;font-size:14.5px;margin:4px 0 0;line-height:1.5;text-wrap:pretty}
.vtc-mo b{color:#2450D8}.vtc-do{color:#A3221A;font-weight:600}
.vtc-hoi{flex:none;width:36px;height:36px;border-radius:10px;border:1px solid #D3DEFB;background:#fff;color:#17306F;display:grid;place-items:center;cursor:pointer}
.vtc-hoi:hover{background:#EEF3FF}
/* 4 ô */
.vtc-k4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:22px}
.vtc-k{border-radius:16px;padding:18px 20px;display:flex;gap:16px;align-items:center;border:1px solid;position:relative;overflow:hidden;text-decoration:none;color:inherit;min-height:104px;transition:transform .15s,box-shadow .15s}
.vtc-k:after{content:"";position:absolute;right:-26px;top:-26px;width:90px;height:90px;border-radius:50%;background:rgba(255,255,255,.45);pointer-events:none}
.vtc-k:hover{transform:translateY(-2px);box-shadow:0 6px 18px rgba(16,24,40,.08)}
.vtc-k:focus-visible{outline:3px solid rgba(42,91,215,.45);outline-offset:2px}
.vtc-ko{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;color:#fff;flex:none}
.vtc-kc{display:flex;flex-direction:column;min-width:0}
.vtc-so{font-size:30px;font-weight:800;line-height:1.1}
.vtc-nh{font-size:14px;font-weight:600;margin-top:4px;color:#1F2937;line-height:1.3}
.vtc-ph{font-size:12.5px;color:#4B5563;line-height:1.35;text-wrap:balance}
.vtc-k1{background:#FFF8E1;border-color:#F3E2A6}.vtc-k1 .vtc-ko{background:#E8B931}.vtc-k1 .vtc-so{color:#8A5A00}
.vtc-k2{background:#FDECEC;border-color:#F5C9C9}.vtc-k2 .vtc-ko{background:#D64545}.vtc-k2 .vtc-so{color:#A3221A}
.vtc-k3{background:#FFF1E6;border-color:#F6D3B5}.vtc-k3 .vtc-ko{background:#E58A1F}.vtc-k3 .vtc-so{color:#9A4A06}
.vtc-k4b{background:#EEF3FF;border-color:#D3DEFB}.vtc-k4b .vtc-ko{background:#2A5BD7}.vtc-k4b .vtc-so{color:#2450D8}
.vtc-cho-so{display:inline-block;width:34px;height:26px;border-radius:6px;background:rgba(0,0,0,.07);animation:vtcNhap 1.2s ease-in-out infinite}
/* vào nhanh */
.vtc-nhanh{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:24px}
.vtc-nh2{height:50px;background:#fff;border:1px solid #E3E8F2;border-radius:12px;display:flex;align-items:center;justify-content:center;gap:9px;font:600 14px Inter,sans-serif;color:#17306F;box-shadow:0 1px 2px rgba(16,24,40,.04);text-decoration:none;cursor:pointer;padding:0 10px}
.vtc-nh2 svg{color:#2A5BD7;flex:none}
.vtc-nh2:hover{border-color:#9DB5F0;background:#F7F9FF}
.vtc-nh2:focus-visible{outline:3px solid rgba(42,91,215,.45);outline-offset:2px}
/* lưới 2 cột */
.vtc-luoi{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:22px;align-items:start}
.vtc-cot{display:flex;flex-direction:column;gap:22px;min-width:0}
.vtc-th{background:#fff;border-radius:16px;box-shadow:0 1px 2px rgba(16,24,40,.04),0 4px 16px rgba(16,24,40,.05);overflow:hidden;min-width:0}
.vtc-dk{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;padding:16px 22px;border-bottom:1px solid #EEF1F6}
.vtc-dk h2{font-size:16.5px;font-weight:700;margin:0;line-height:1.35;color:#1B2436}
.vtc-xem{color:#2450D8;font-size:13px;font-weight:600;text-decoration:none;white-space:nowrap}
.vtc-xem:hover{text-decoration:underline}
.vtc-rong{margin:0;padding:22px;color:#4B5563;font-size:14px;text-align:center}
.vtc-loi{padding:16px 22px;background:#FFF7ED;border-top:1px solid #F6D3B5;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.vtc-loi p{margin:0;flex:1 1 220px;color:#7C2D12;font-size:13.5px;line-height:1.5}
.vtc-xuong{padding:16px 22px;display:flex;flex-direction:column;gap:12px}
.vtc-xuong i{display:block;height:16px;border-radius:6px;background:#EEF1F6;animation:vtcNhap 1.2s ease-in-out infinite}
.vtc-xuong i:nth-child(odd){width:72%}
@keyframes vtcNhap{50%{opacity:.45}}
@media (prefers-reduced-motion:reduce){.vtc-xuong i,.vtc-cho-so{animation:none}.vtc-k{transition:none}}
/* biểu đồ */
.vtc-tab{display:flex;background:#F1F4F9;border-radius:9px;padding:3px}
.vtc-tab button{border:0;background:none;padding:5px 12px;font:500 12.5px Inter,sans-serif;border-radius:7px;color:#4B5563;cursor:pointer;min-height:30px}
.vtc-tab button.c{background:#fff;color:#17306F;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.08)}
.vtc-tab button:focus-visible{outline:2px solid #2A5BD7}
.vtc-chu{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12.5px;color:#4B5563;padding:12px 22px 0}
.vtc-chu i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.vtc-bdw{padding:12px 16px 16px;overflow:hidden}
.vtc-bd{display:block;max-width:100%;height:auto}
.vtc-tk3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #EEF1F6}
.vtc-tk3>div{padding:14px 22px;border-right:1px solid #EEF1F6;min-width:0}
.vtc-tk3>div:last-child{border-right:0}
.vtc-tk3 b{font-size:20px;display:block;line-height:1.3}
.vtc-tk3 small{color:#4B5563;font-size:12.5px;line-height:1.4;display:block}
.vtc-tk3 .vtc-tang{color:#166534}.vtc-tk3 .vtc-giam{color:#A3221A}
/* danh sách hồ sơ */
.vtc-ds{display:flex;flex-direction:column}
.vtc-hs,.vtc-ts{display:flex;align-items:center;gap:16px;padding:14px 22px;border-bottom:1px solid #EEF1F6;min-width:0}
.vtc-hs:last-child,.vtc-ts:last-child{border-bottom:0}
.vtc-ts{text-decoration:none;color:inherit}
.vtc-ts:hover{background:#F7F9FF}
.vtc-loai{width:128px;flex:none;font-size:12px;font-weight:600;color:#2450D8;background:#EEF3FF;border-radius:7px;padding:4px 8px;text-align:center;line-height:1.35;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.vtc-tr{flex:1;min-width:0;display:block}
.vtc-tr b{display:block;font-weight:600;font-size:14.5px;line-height:1.4;color:#1B2436;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vtc-tr small{display:block;color:#4B5563;font-size:12.5px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vtc-tr em{font-style:normal;color:#17306F;font-weight:600}
.vtc-han{font-size:12.5px;color:#4B5563;flex:none;min-width:96px;text-align:right;white-space:nowrap}
.vtc-han-vang{color:#8A5A00;font-weight:600}.vtc-han-do{color:#A3221A;font-weight:700}
.vtc-xl{flex:none;min-width:84px}
.vtc-buoc{display:flex;gap:5px;flex:none;width:160px;justify-content:flex-end}
.vtc-buoc i{flex:0 1 28px;min-width:6px;height:7px;border-radius:9px;background:#E6EAF2}
.vtc-buoc i.x{background:#1F9D6B}.vtc-buoc i.d{background:#E8B931}
.vtc-phan{font-size:12.5px;color:#4B5563;min-width:36px;text-align:right;flex:none}
/* ô Giao việc – KPI */
.vtc-gv{background:linear-gradient(135deg,#17306F,#2450D8);color:#fff;border-radius:16px;padding:20px 22px;position:relative;overflow:hidden}
.vtc-gv:after{content:"";position:absolute;right:-40px;bottom:-50px;width:160px;height:160px;border-radius:50%;border:22px solid rgba(255,255,255,.06);pointer-events:none}
.vtc-gv h3{font-size:16px;font-weight:700;display:flex;align-items:center;gap:8px;margin:0;line-height:1.35}
.vtc-gv h3 svg{color:#F5D46A}
.vtc-s3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.vtc-s3>div{background:rgba(255,255,255,.1);border-radius:12px;padding:10px 12px;min-width:0}
.vtc-s3 b{font-size:22px;display:block;line-height:1.3}
.vtc-s3 small{font-size:12px;color:#DCE5FF;line-height:1.35;display:block}
.vtc-s3 .vtc-cho-so{background:rgba(255,255,255,.18)}
.vtc-s3-phu{display:block;font-style:normal;font-size:12px;line-height:1.35;color:#DCE5FF;margin-top:2px}
.vtc-s3 .vtc-s3-do{color:#fff;background:#C03636;border-radius:6px;padding:1px 6px;display:inline-block;font-weight:600}
.vtc-gv-nut{display:flex;align-items:center;justify-content:center;width:100%;height:40px;border-radius:10px;background:#E8B931;color:#3A2A00;font:700 14px Inter,sans-serif;text-decoration:none;position:relative;z-index:1}
.vtc-gv-nut:hover{background:#F2C94C}.vtc-gv-nut:focus-visible{outline:3px solid #fff;outline-offset:2px}
/* biểu đồ: chú thích tuần không có hồ sơ */
.vtc-ghi{margin:-6px 22px 12px;font-size:12px;color:#4B5563;display:flex;align-items:center;gap:6px}
.vtc-ghi i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#8A94A6}
/* lịch công tác tuần: ô ngày */
.vtc-ngay{width:46px;flex:none;text-align:center;border-radius:10px;background:#EEF3FF;padding:5px 0;color:#2450D8;line-height:1.2}
.vtc-ngay b{display:block;font-size:17px;font-weight:700}.vtc-ngay small{display:block;font-size:12px;font-weight:600}
a.vtc-li{text-decoration:none}
/* cuộc họp, văn bản */
.vtc-li{display:flex;gap:14px;align-items:center;padding:13px 22px;border:0;border-bottom:1px solid #EEF1F6;background:#fff;width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer}
.vtc-li:last-child{border-bottom:0}
.vtc-li:hover{background:#F7F9FF}.vtc-li:focus-visible{outline:2px solid #2A5BD7;outline-offset:-2px}
.vtc-li .vtc-tr b{font-size:14px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.vtc-so-vb{display:block;font-size:12px;font-weight:700;color:#17306F;line-height:1.4}

/* máy tính bảng */
@media (max-width:1180px){.vtc{padding:20px 20px 48px}.vtc-luoi{grid-template-columns:minmax(0,1fr) 330px}.vtc-k{padding:16px}.vtc-so{font-size:26px}}
@media (max-width:1023px){
  .vtc-luoi{grid-template-columns:minmax(0,1fr)}
  .vtc-k4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* điện thoại: lời chào → 4 ô 2×2 → Vào nhanh 3×2 → Hồ sơ chờ → Giao việc → Xu hướng → các khối còn lại */
@media (max-width:767px){
  .vtc{padding:14px 12px 32px}
  .vtc-chao{margin-bottom:14px}.vtc-chao h1{font-size:21px}.vtc-mo{font-size:13.5px}
  .vtc-k4{gap:10px;margin-bottom:14px}
  .vtc-k{padding:12px;gap:10px;min-height:76px;border-radius:14px;border-width:1.5px}
  .vtc-k:after{width:64px;height:64px;right:-20px;top:-20px}
  .vtc-ko{width:34px;height:34px;border-radius:10px}.vtc-ko svg{width:18px;height:18px}
  .vtc-so{font-size:22px}.vtc-nh{font-size:13px;margin-top:2px}.vtc-ph{display:none}
  .vtc-nhanh{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:16px}
  .vtc-nh2{flex-direction:column;height:auto;min-height:68px;gap:4px;padding:8px 4px;font-size:12.5px;text-align:center;line-height:1.25}
  .vtc-luoi{display:flex;flex-direction:column;align-items:stretch;gap:16px}
  .vtc-cot{display:contents}
  .vtc-o-cho{order:1}.vtc-o-gv{order:2}.vtc-o-xh{order:3}.vtc-o-trinh{order:4}.vtc-o-hop{order:5}.vtc-o-vb{order:6}
  .vtc-dk{padding:14px 14px}
  .vtc-hs{flex-wrap:wrap;gap:6px 10px;padding:12px 14px}
  .vtc-hs .vtc-loai{width:auto;max-width:100%;order:0}
  .vtc-hs .vtc-tr{flex:1 1 100%;order:1}
  .vtc-hs .vtc-tr b{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  .vtc-hs .vtc-han{order:2;flex:1;text-align:left;min-width:0}
  .vtc-hs .vtc-xl{order:3}
  .vtc-ts{flex-wrap:wrap;gap:8px 10px;padding:12px 14px}
  .vtc-ts .vtc-tr{flex:1 1 100%}
  .vtc-ts .vtc-buoc{flex:1;width:auto;justify-content:flex-start}
  .vtc-chu{padding:10px 14px 0}.vtc-bdw{padding:8px 8px 12px}
  .vtc-tk3>div{padding:12px 10px}.vtc-tk3 b{font-size:17px}
  .vtc-li{padding:12px 14px}
  .vtc-gv{padding:16px}
  .vtc-tab button{padding:5px 9px;min-height:34px}
}
