/* TD-188C (9.7.0): app điện thoại người lao động – lớp .na, dùng chung nền .tt của app tổ trưởng (css/to-truong.css). Mẫu: docs/tong-dong/TD-188-giao-dien-dien-thoai-nld/thiet-ke/nld-*.png */
.na { --na-du: #e3f4ea; --na-phep: #e5eefb; --na-tre: #fdf3dc; --na-thieu: #fde5e5; --na-vang: #fbe0ef; }
.na-head { position: relative; }
.na-chao { gap: 12px; }
.na-avt { width: 44px; height: 44px; border-radius: 50%; background: #fde7d3; color: var(--tt-c); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.na-chuong { color: #fff; min-width: 44px; min-height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.16); }
.na-doc { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 0; background: rgba(255,255,255,.18); color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
/* Trang chủ: 4 ô số */
.na-o4 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 6px; }
.na-o { display: block; background: #fff; border: 1px solid var(--tt-vien); border-radius: 14px; padding: 10px 12px; color: inherit; text-decoration: none; min-height: 84px; }
.na-o-n { display: block; font-size: 13px; color: #4b5563; }
.na-o b { display: block; font-size: 26px; font-weight: 800; line-height: 1.2; margin: 2px 0; white-space: nowrap; }
.na-o b.dai { font-size: 20px; }
.na-o b small { font-size: 13px; font-weight: 500; color: #6b7280; }
.na-o.m-do b { color: var(--tt-do); }
.na-o-p { display: block; font-size: 12px; color: #6b7280; }
.na-cy { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.na-cy-t { min-width: 0; }
.na-cy-t b { display: block; } .na-cy-t span { display: block; font-size: 13px; color: #4b5563; }
.na-ln a span { text-align: center; line-height: 1.2; }
/* Tháng, lịch công */
.na-thgs { display: flex; gap: 6px; justify-content: space-between; margin-bottom: 8px; }
.na-thg { padding: 8px 12px; border-radius: 18px; border: 1px solid var(--tt-vien); text-decoration: none; color: inherit; font-size: 14px; white-space: nowrap; background: #fff; }
.na-thg.on { background: var(--tt-c); border-color: var(--tt-c); color: #fff; font-weight: 600; }
.na-thg.tat:not(.on) { opacity: .4; }
.na-thg-nho { display: flex; gap: 6px; }
.na-thg-nho a { color: #fff; font-size: 22px; min-width: 40px; min-height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255,255,255,.16); text-decoration: none; }
.na-lich { padding: 10px 8px; }
.na-thu, .na-ngs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.na-thu span { text-align: center; font-size: 12px; color: #6b7280; padding-bottom: 4px; }
.na-ng { min-height: 46px; border-radius: 9px; border: 1px solid transparent; background: #f6f4f1; font: inherit; padding: 3px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: #1f2328; }
.na-ng.trong { background: transparent; cursor: default; }
.na-ng b { font-size: 14px; } .na-ng small { font-size: 10px; color: #4b5563; line-height: 1.1; }
.na-ng.m-du { background: var(--na-du); } .na-ng.m-phep { background: var(--na-phep); } .na-ng.m-tre { background: var(--na-tre); }
.na-ng.m-thieu { background: var(--na-thieu); border: 1.5px dashed var(--tt-do); } .na-ng.m-thieu small { color: var(--tt-do); }
.na-ng.m-vang { background: var(--na-vang); } .na-ng.m-don { background: #fff; border: 1.5px dashed var(--tt-xanh); } .na-ng.m-cn { background: #ece8e3; }
.na-ng.hn { border: 2px solid var(--tt-c); }
.na-ng.chon { outline: 2px solid var(--tt-xanh); }
.na-chu { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12px; color: #4b5563; }
.na-chu i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; background: #ddd; }
.na-chu .m-du i { background: #9ad4b1; } .na-chu .m-phep i { background: #a9c3ee; } .na-chu .m-tre i { background: #efcf86; } .na-chu .m-thieu i { background: #ee9a9a; } .na-chu .m-vang i { background: #ef9ac6; }
.na-kv { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid #f0ebe5; font-size: 15px; }
.na-kv:first-of-type { border-top: 0; }
.na-kv span { color: #4b5563; } .na-kv b { text-align: right; }
.na-phep-con { color: var(--tt-xanh); }
.na-gt { background: #fff8e6; border: 1px solid #f1dfb3; border-radius: 10px; padding: 10px 12px; margin: 8px 0; font-size: 14px; }
.na-txt { width: 100%; box-sizing: border-box; min-height: 44px; margin: 8px 0; font: inherit; padding: 8px 10px; border: 1px solid var(--tt-vien); border-radius: 10px; }
.na-gio, .na-ngay { min-height: 44px; font: inherit; padding: 0 10px; border: 1px solid var(--tt-vien); border-radius: 10px; }
.na-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.na-chip { min-height: 38px; padding: 0 14px; border-radius: 19px; border: 1px solid var(--tt-vien); background: #fff; font: inherit; font-size: 14px; cursor: pointer; text-decoration: none; color: inherit; display: inline-flex; align-items: center; white-space: nowrap; flex: none; }
.na-chip.on { border-color: var(--tt-c); background: var(--tt-c2); color: var(--tt-c); font-weight: 600; }
.na-tu-den { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.na-den { display: flex; align-items: center; gap: 8px; }
.na-phep-tom { background: #eef4fd; border-color: #c9dbf6; }
.tt-chon:disabled { opacity: .45; cursor: default; }
/* Lương, phiếu lương */
.na-to { font-size: 32px; font-weight: 800; line-height: 1.2; }
.na-to small { font-size: 16px; font-weight: 600; }
.na-to.m-ok { color: var(--tt-ok); }
.na-loai { min-width: 36px; height: 36px; border-radius: 10px; background: #e3f4ea; color: var(--tt-ok); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; }
.na-pl { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.na-pl b.m-ok { color: var(--tt-ok); white-space: nowrap; }
.na-khoi summary { display: flex; justify-content: space-between; cursor: pointer; padding: 2px 0 6px; list-style: none; }
.na-khoi summary::-webkit-details-marker { display: none; }
.na-dong-t { width: 100%; display: grid; grid-template-columns: 1fr auto 24px; align-items: center; gap: 8px; min-height: 44px; padding: 4px 0; border: 0; border-top: 1px solid #f0ebe5; background: none; font: inherit; text-align: left; cursor: pointer; color: inherit; }
.na-dong-t:disabled { cursor: default; color: inherit; }
.na-dong.khong .na-dong-t { color: #9ca3af; }
.na-i { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid #9ca3af; color: #6b7280; font-size: 12px; font-style: normal; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.na-i.trong { visibility: hidden; }
.na-da-hoi { color: var(--tt-xanh); font-weight: 600; }
.na-xem-du { width: 100%; min-height: 44px; border: 0; background: none; color: var(--tt-c); font: inherit; font-weight: 600; cursor: pointer; }
.na-bd .na-cot { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; height: 110px; align-items: end; margin: 6px 0; }
.na-cot-o { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 3px; }
.na-cot-o i { width: 100%; max-width: 34px; border-radius: 5px 5px 0 0; background: #ecc9a8; }
.na-cot-o.cuoi i { background: var(--tt-c); } .na-cot-o.trong i { background: repeating-linear-gradient(45deg, #eee, #eee 3px, #f8f8f8 3px, #f8f8f8 6px); }
.na-cot-o span { font-size: 11px; color: #6b7280; }
.na-tin.hcns { background: #f1f7ff; border-color: #c9dbf6; }
/* Đơn từ */
.na-tao { margin-bottom: 10px; }
.na-tao-ds { display: grid; gap: 8px; margin-top: 8px; }
.na-tao-o { display: flex; align-items: center; gap: 12px; margin: 0; color: var(--tt-c); }
.na-tao-o b { color: #1f2328; display: block; }
.na-don { display: block; }
.na-don-t { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.na-buoc { display: flex; flex-wrap: wrap; gap: 4px; font-size: 12px; color: #9ca3af; margin-top: 4px; }
.na-buoc .xong { color: var(--tt-ok); } .na-buoc .dang { color: var(--tt-cam); font-weight: 600; } .na-buoc .tra { color: var(--tt-do); font-weight: 600; }
.na-loc { overflow-x: auto; flex-wrap: nowrap; }
/* Tôi */
.na-nhom summary { display: flex; justify-content: space-between; gap: 8px; cursor: pointer; min-height: 32px; align-items: center; }
.na-nhom summary span { font-size: 13px; color: #6b7280; text-align: right; }
.na-cai { padding: 0; }
.na-cai a, .na-cai button { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 50px; padding: 0 14px; border: 0; border-top: 1px solid #f0ebe5; background: none; font: inherit; color: inherit; text-decoration: none; cursor: pointer; text-align: left; }
.na-cai > :first-child { border-top: 0; }
.na-cai i { color: #9ca3af; font-style: normal; font-size: 20px; }
@media (max-width: 360px) { .na-o b { font-size: 22px; } .na-ng small { display: none; } }
