/* Kiểu dáng màn hình chờ và khung ứng dụng (tách khỏi index.html từ bản 1.11, xem boot.js). */
/* Màn hình chờ khi mở ứng dụng (hiện ngay, không phụ thuộc tệp nào khác) */
#boot-splash { position: fixed; inset: 0; z-index: 80; background: #0f172a; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #94a3b8; font: 600 13px system-ui, sans-serif; }
#boot-splash .bs-logo { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 30px rgba(245,158,11,.25); }
#boot-splash .bs-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
#boot-splash .bs-spin { width: 26px; height: 26px; border: 3px solid rgba(148,163,184,.25); border-top-color: #f59e0b; border-radius: 50%; animation: bs-rot .8s linear infinite; }
@keyframes bs-rot { to { transform: rotate(360deg); } }
html, body { background: #0f172a; }              /* vùng ngoài khung (dưới thanh Home của iPhone) trùng màu thanh menu, không còn dải trắng */
html, body { height: 100%; }
#shell { position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: auto !important; padding-top: env(safe-area-inset-top); background: #f1f5f9; }   /* sát bốn cạnh màn hình, thanh menu dưới nằm trong khung nên không còn khoảng trắng */
@media (max-width: 767px) { #nl-badge-frame, iframe[id^="nl-"] { display: none !important; } }  /* huy hiệu Netlify che thanh menu trên điện thoại */
/* Thanh menu dưới và dòng bản quyền co giãn theo bề rộng màn hình (đơn vị rem, vw, em), vùng an toàn theo từng máy */
.bnav-wrap { padding-bottom: calc(env(safe-area-inset-bottom, 0px) * .5); padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
.bnav-btn { padding: .42em 0 .3em; font-size: clamp(.64rem, 2.7vw, .78rem); line-height: 1.15; }
.bnav-btn i { display: block; font-size: 1.45em; margin: 0 auto .1em; }
.bnav-credit { margin-top: .35em; border-top: 1px solid rgba(148,163,184,.18); font-size: clamp(.52rem, 2.15vw, .62rem); line-height: 1.2; padding: .4em .5em .45em; letter-spacing: .01em; }
.safe-bottom { padding-bottom: max(env(safe-area-inset-bottom), 0px); }
.scroll-thin::-webkit-scrollbar { height: 6px; width: 6px; }
.scroll-thin::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 6px; }
.kanban-col.drag-over { background: #fef3c7; }
input, select, textarea { font-size: 16px; } /* tránh iOS tự phóng to khi bấm vào ô nhập */
@media (min-width: 768px) { input, select, textarea { font-size: 12px; } }
