/* Hướng dẫn làm việc (anh chốt mẫu A, 14/11/2026): danh sách theo vai trò, mỗi quy trình là các bước nối nhau có ảnh màn hình thật. */
.hd-sub { margin: 4px 0 0; opacity: .88; font-weight: 700; font-size: 13px; }
.wrap.hd { padding-bottom: 32px; gap: 0; }
.hd-grp { display: flex; align-items: center; gap: 8px; margin: 18px 2px 8px; font-size: 14px; font-weight: 900; color: var(--deep); white-space: nowrap; }
.hd-grp::after { content: ""; flex: 1; height: 1px; background: #E8D6C2; }
.hd-li { display: flex; align-items: center; gap: 12px; margin: 8px 0; padding: 10px 12px; min-height: 58px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.hd-n { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--deep); color: #fff; font-weight: 900; }
.hd-n.ql { background: var(--brand); }
.hd-n.ad { background: #2A190C; }
.hd-x { flex: 1; min-width: 0; }
.hd-x b { display: block; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-x small { color: var(--mut); font-weight: 700; white-space: nowrap; }
.hd-li > svg.i { color: var(--mut); }
.hd-done { flex: none; padding: 3px 8px; border-radius: 99px; background: #DCFCE7; color: var(--green); font-size: 11px; font-weight: 900; white-space: nowrap; }
.hd-print { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 14px; border-radius: 18px; background: var(--peach); color: var(--deep); text-decoration: none; }
.hd-print > svg.i:first-child { width: 24px; height: 24px; padding: 8px; box-sizing: content-box; border-radius: 13px; background: var(--deep); color: #fff; }
.hd-print span { flex: 1; min-width: 0; }
.hd-print b { display: block; font-weight: 900; }
.hd-print small { color: var(--mut); font-weight: 700; }
.hd-upd { margin: 10px 2px 0; color: var(--mut); font-size: 12px; font-weight: 700; }

.hd-steps { margin-top: 16px; }
.hd-st { display: flex; gap: 12px; }
.hd-rail { width: 30px; flex: none; display: flex; flex-direction: column; align-items: center; }
.hd-rail i { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 99px; background: var(--deep); color: #fff; font-style: normal; font-weight: 900; }
.hd-rail::after { content: ""; flex: 1; width: 2px; margin: 4px 0; background: #E3CDB5; }
.hd-st:last-child .hd-rail::after { display: none; }
.hd-bd { flex: 1; min-width: 0; padding: 4px 0 18px; }
.hd-bd b { display: block; font-size: 15px; font-weight: 900; color: var(--ink); }
.hd-bd p { margin: 2px 0 0; color: var(--mut); font-weight: 700; }
.hd-shot { display: block; margin-top: 8px; padding: 0; border: 0; background: none; cursor: zoom-in; }
.hd-shot img { display: block; width: 118px; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hd-cam { margin: 4px 0 16px; padding: 12px 14px; border-radius: 16px; background: var(--red-soft); color: var(--red); font-weight: 800; }
.hd-cam b { display: flex; align-items: center; gap: 6px; font-weight: 900; }
.hd-cam b svg.i { width: 18px; height: 18px; }
.hd-cam ul { margin: 6px 0 0; padding-left: 18px; }
.hd-cam li + li { margin-top: 4px; }
.wrap.hd > .btn { width: 100%; }
.hd-big { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px 16px; background: rgba(30, 18, 8, .82); animation: hdfade .18s ease-out; }
.hd-big img { max-width: 100%; max-height: 100%; border-radius: 18px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.hd-bigx { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 99px; background: #fff; color: var(--deep); }
@keyframes hdfade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hd-big { animation: none; } }
