/* Task 47: newbie guide on the landing (demo approved 12/11, Demo_Viec47_TanThu_*). Button "?" + guide title in the
   "Xem một phút là hiểu" box (desktop) and under the 13 s clip button (phone); dialog with 3 steps, app screenshots,
   1/3 progress, Back / Next / Done. Phones (≤ 560px): the dialog sits at the bottom of the screen. */
.vx-vtxt .nb-open{margin-top:22px;gap:10px;white-space:normal;text-align:left;line-height:1.25}
.nb-open>span[aria-hidden]{font-weight:700}
.m72-cta.nb-m{margin-top:10px}

.nbdlg{width:min(860px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid var(--line-2);border-radius:16px;background:var(--panel);color:var(--fg);box-shadow:0 24px 80px rgba(0,0,0,.55);overflow:auto;overscroll-behavior:contain;font-family:var(--font)}
.nbdlg::backdrop{background:rgba(5,8,14,.74)}
.nb-in{display:flex;flex-direction:column;min-width:0}
.nb-hd{display:flex;align-items:center;gap:12px;padding:18px 20px 14px;border-bottom:1px solid var(--line)}
.nb-hd h2{margin:0;font-size:18px;line-height:1.3;font-weight:700;letter-spacing:-.01em;flex:1;min-width:0;overflow-wrap:anywhere}
.nb-x{flex:none;width:36px;height:36px;border-radius:8px;border:0;background:var(--panel-2);color:var(--fg);font-size:20px;line-height:1;cursor:pointer;display:grid;place-items:center;font-family:inherit}
.nb-x:hover{background:var(--panel-3)}
.nb-prog{display:flex;align-items:center;gap:12px;padding:14px 20px 0}
.nb-bar{flex:1;display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.nb-bar i{height:6px;border-radius:3px;background:var(--panel-3)}
.nb-bar i.on{background:var(--long)}
.nb-cnt{font-family:var(--mono);font-size:14px;font-weight:700;color:var(--fg)}
.nb-step{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px;padding:18px 20px 8px;align-items:center}
.nb-step[hidden]{display:none}
.nb-fig{margin:0;background:#0b0f17;border:1px solid var(--line);border-radius:12px;padding:10px;display:flex;justify-content:center;min-width:0}
.nb-fig picture{display:contents}
.nb-fig img{display:block;max-width:100%;height:auto;max-height:330px;width:auto;border-radius:8px}
.nb-txt{min-width:0;overflow-wrap:break-word}
.nb-k{display:inline-flex;align-items:center;gap:8px;margin:0 0 8px;font-size:13px;font-weight:600;color:var(--long)}
.nb-k b{width:26px;height:26px;border-radius:50%;background:var(--long);color:#06261A;display:grid;place-items:center;font-family:var(--mono);font-size:14px}
.nb-txt h3{margin:0 0 10px;font-size:22px;line-height:1.25;letter-spacing:-.01em}
.nb-txt p{margin:0 0 10px;font-size:15.5px;line-height:1.55;color:var(--fg)}
.nb-txt p.nb-k{font-size:13px;color:var(--long)}
.nb-txt p.nb-n{font-size:14px;color:var(--muted)}
.nb-ft{display:flex;justify-content:space-between;gap:12px;padding:12px 20px 20px}
.nb-ft .btn{height:46px;font-size:15px;padding:0 22px;white-space:normal;line-height:1.2;text-align:center}
.nb-ft .btn[disabled]{opacity:.45;cursor:default}
.nb-ft .btn[hidden]{display:none}
@media (max-width:560px){
  .nbdlg{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);margin:auto 10px 10px}
  .nb-hd{padding:14px 16px 12px}.nb-hd h2{font-size:16px}
  .nb-prog{padding:12px 16px 0}
  .nb-step{grid-template-columns:1fr;gap:14px;padding:14px 16px 4px}
  .nb-fig img{max-height:300px}
  .nb-txt h3{font-size:19px;margin-bottom:8px}.nb-txt p{font-size:15px}.nb-txt p.nb-n{font-size:13.5px}
  .nb-ft{padding:10px 16px 16px}.nb-ft .btn{flex:1;min-width:0}
}
