/* Khay tải lên chạy nền (góc phải dưới) — js/uploader.js */
.up-tray { position: fixed; right: 16px; bottom: 16px; z-index: 950; width: min(420px, calc(100vw - 32px));
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
  padding: 10px 12px; font-size: 13px; }
.up-tray .up-head { display: flex; align-items: center; gap: 8px; cursor: pointer; user-select: none; flex-wrap: wrap; }
.up-tray .up-head .small { flex: 1 1 auto; min-width: 0; }
.up-tray .up-ok { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 12px;
  background: var(--ok-soft); color: var(--ok); font-weight: 700; }
.up-tray .up-chev { color: var(--muted); }
.up-tray .up-x { border: 0; background: none; color: var(--muted); font-size: 16px; cursor: pointer; padding: 0 4px; }
.up-tray .up-bar { margin-top: 8px; height: 6px; }
.up-tray .up-list { margin-top: 8px; max-height: 46vh; overflow: auto; display: grid; gap: 4px; }
.up-tray .up-task { padding: 8px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--panel-2); display: grid; gap: 4px; }
.up-tray .up-task .row { gap: 6px; flex-wrap: wrap; align-items: center; }
.up-tray .up-item { display: flex; gap: 8px; align-items: center; padding: 2px 0; border-bottom: 1px dashed var(--line-2); }
.up-tray .up-item .up-name { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-tray .up-item .up-st { font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }
.up-tray .up-item.error .up-st { color: var(--bad); font-weight: 600; }
.up-tray .up-item.done .up-st { color: var(--ok); }
.up-tray .callout { margin-top: 8px; }
@media (max-width: 600px) { .up-tray { right: 8px; left: 8px; bottom: 8px; width: auto; } }

/* Thông báo có bản cập nhật (js/app.js) */
.upd-banner { position: fixed; left: 50%; top: 12px; transform: translateX(-50%); z-index: 960; display: flex; align-items: center;
  gap: 10px; flex-wrap: wrap; max-width: min(760px, calc(100vw - 24px)); padding: 10px 14px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--brand); box-shadow: 0 8px 28px rgba(0, 0, 0, .18); font-size: 13.5px; }
.upd-banner svg.ico { width: 18px; height: 18px; color: var(--brand); flex: none; }
.upd-banner span { flex: 1 1 260px; }
@media print { .upd-banner { display: none !important; } }

/* Nhập dữ liệu nhanh — khắc phục nhóm chờ xác nhận/lỗi (js/pages/bulk.js) */
.fix-box .row { flex-wrap: wrap; align-items: center; }
.ident-table td.id-diff { background: color-mix(in srgb, var(--warn) 22%, transparent); font-weight: 600; }
