/* KHỐI NHIỀU NGƯỜI DÙNG: màn hình đăng nhập, ô "đang đăng nhập", tài khoản, duyệt chi 5 bước, nhật ký. Dùng biến màu của kieu.css. */
input[type=password] { font:inherit; width:100%; padding:9px 10px; border:1px solid #9aa5b1; border-radius:7px; background:#fff; color:var(--chu); }
input[type=password]:focus { outline:3px solid #9cc3e8; border-color:var(--chinh); }
.phu-tt { color:var(--mo); font-size:.9rem; margin-top:3px; min-height:1.2em; }
.phu-tt.tot { color:var(--tot); font-weight:600; }
.dn-hien { display:flex; gap:8px; align-items:center; margin:-4px 0 14px; cursor:pointer; }
.o-nhap .chon input[type=checkbox] { margin-top:4px; }

/* màn hình đăng nhập */
.trang-dn { background:var(--nen); }
.dn-khung { max-width:560px; margin:0 auto; padding:24px 16px 60px; }
.dn-khung h1 { font-size:1.25rem; margin-bottom:16px; }
.dn-khung .the h2 { margin-top:0; }
.dn-khung .giai-thich { margin-bottom:16px; }
.dn-khung .nut { width:100%; margin-top:6px; }
.dn-tong { min-height:1.2em; }

/* ô "đang đăng nhập là ai" trong menu */
.nguoi-dung { background:#0b2740; border:1px solid #2c5a84; border-radius:8px; padding:8px 10px; margin:0 0 10px; font-size:.88rem; line-height:1.35; width:100%; }
.nguoi-dung .nd-nhan { color:#a9c3dc; }
.nguoi-dung .nd-vai { color:#c9dbec; }
.nguoi-dung .nd-nut { display:flex; gap:6px; flex-wrap:wrap; margin-top:6px; }
.nguoi-dung button { font:inherit; font-size:.85rem; color:#fff; background:#1b4a73; border:1px solid #3a6c97; border-radius:6px; padding:4px 9px; cursor:pointer; }
.nguoi-dung button:hover { background:#25608f; }
@media (max-width: 700px) { .nguoi-dung { margin:0 0 6px; padding:6px 8px; } .nguoi-dung .nd-vai { display:inline; } .nguoi-dung .nd-vai + .nd-vai::before { content:" · "; } }
@media print { .nguoi-dung { display:none !important; } }

/* tài khoản */
.ma-to { font-size:1.9rem; font-weight:700; letter-spacing:.08em; text-align:center; padding:14px 8px; margin:10px 0; background:var(--chinh-nhat); border:2px dashed var(--chinh); border-radius:10px; font-family:Consolas, "Courier New", monospace; user-select:all; overflow-wrap:anywhere; }
#f-tk textarea, #f-tl textarea, #f-dn textarea, #f-dc textarea { font:inherit; width:100%; }

/* duyệt chi */
ol.dc-buoc { list-style:none; margin:0 0 14px; padding:0; max-width:760px; counter-reset:buoc; }
ol.dc-buoc li { counter-increment:buoc; position:relative; padding:8px 10px 8px 46px; border:1px solid var(--vien); border-radius:8px; margin-bottom:6px; background:#fff; }
ol.dc-buoc li::before { content:counter(buoc); position:absolute; left:10px; top:9px; width:26px; height:26px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-weight:700; background:#e9edf1; color:#48535f; }
ol.dc-buoc li.xong { border-color:#9fd3b1; background:var(--tot-nen); }
ol.dc-buoc li.xong::before { background:var(--tot); color:#fff; }
ol.dc-buoc li.dang { border:2px solid var(--vang); background:var(--vang-nen); }
ol.dc-buoc li.dang::before { background:var(--vang); color:#fff; }
ol.dc-buoc li.dang .dc-tt { font-weight:700; color:var(--vang); }
ol.dc-buoc li.tra { border:2px solid var(--xau); background:var(--xau-nen); }
ol.dc-buoc li.tra::before { background:var(--xau); color:#fff; }
ol.dc-buoc li.chua .dc-tt { color:var(--mo); }
ul.dc-nk { max-width:760px; padding-left:20px; }
ul.dc-nk li { margin-bottom:6px; }
.hm-the { max-width:760px; }
.hm-the h3 { margin-top:0; }
.tien-lon { font-size:1.2rem; }
#f-dn select[size] { margin-top:6px; }

/* Ẩn nút ghi/sửa ở các trang có sẵn với người chỉ xem (cho gọn; quyền thật do máy chủ chặn ở từng đường API) */
body.khong-quan-tri #f-nt, body.khong-quan-tri [data-nt-doi], body.khong-quan-tri #nt-chot, body.khong-quan-tri #nt-mo-lai, body.khong-quan-tri #nt-xoa,
body.khong-quan-tri #sk-them, body.khong-quan-tri #f-sk, body.khong-quan-tri [data-sk-gan], body.khong-quan-tri [data-sk-go], body.khong-quan-tri [data-sk-sua], body.khong-quan-tri [data-sk-xoa],
body.khong-quan-tri [data-xoa], body.chi-xem [data-sua] { display:none !important; }
td.tk-nut { white-space:nowrap; }
td.tk-nut .nut { margin:2px 0; }
@media (max-width: 700px) { td.tk-nut { white-space:normal; } }
