/* FTUE chrome: bảng bắt đầu nhanh, màn chào, bảng trợ giúp, nhắc màn trống. */

/* Bắt đầu nhanh — rail phải khi chưa chọn phần tử nào */
.qs { padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; border-bottom: 1px solid var(--line-soft); }
.qs-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2);
}
.qs-count { color: var(--accent); letter-spacing: 0; }
.qs-bar { height: 3px; border-radius: 99px; background: var(--bg-3); overflow: hidden; }
.qs-bar i { display: block; height: 100%; background: var(--accent); transition: width .25s ease-out; }

.qs-step { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; }
.qs-tick {
  width: 16px; height: 16px; flex: none; border-radius: 99px; margin-top: 1px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--fg-2); border: 1px solid var(--line);
}
.qs-step.done .qs-tick { background: var(--ok); border-color: var(--ok); color: #08221a; font-weight: 700; }
.qs-label { font-size: 12px; font-weight: 600; }
.qs-step.done .qs-label { color: var(--fg-2); text-decoration: line-through; font-weight: 500; }
.qs-hint { font-size: 11px; line-height: 1.45; margin-top: 2px; }
.qs-cta { margin-top: 6px; }

/* Màn chào lần đầu */
.path-card { align-items: flex-start; }
.path-icon { font-size: 20px; line-height: 1; }

/* Bảng trợ giúp */
.help-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.help-step {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px;
}
.help-step-n {
  width: 20px; height: 20px; flex: none; border-radius: 99px; background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
}
.help-step-t { font-weight: 600; margin-bottom: 3px; }
.help-step .muted { font-size: 11px; line-height: 1.5; }

.help-cols { column-width: 300px; column-gap: 24px; }
.help-group { padding: 6px 0 10px; break-inside: avoid; }
.help-group-t {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--fg-2); margin-bottom: 6px;
}
.help-row { display: flex; gap: 10px; align-items: baseline; padding: 3px 0; font-size: 12px; }
.help-row span { color: var(--fg-1); line-height: 1.45; }
.help-row kbd {
  flex: none; min-width: 96px; font-family: var(--mono); font-size: 11px; color: var(--fg-0);
  background: var(--bg-0); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 4px; padding: 2px 6px; white-space: nowrap;
}

/* Nhắc khi màn hình đang trống */
#stage-empty {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 4;
  width: min(320px, 80%); text-align: center; pointer-events: auto;
  background: rgba(21,26,33,.94); border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 16px; box-shadow: 0 16px 40px rgba(0,0,0,.5); backdrop-filter: blur(6px);
}
#stage-empty .se-title { font-weight: 600; margin-bottom: 5px; }
#stage-empty .muted { font-size: 11px; line-height: 1.5; }
#stage-empty .se-tip { margin-top: 10px; font-size: 10px; }
